diff --git a/DiscoveryJson/acceleratedmobilepageurl_v1.json b/DiscoveryJson/acceleratedmobilepageurl_v1.json index 54f1bb8cc7..a34540797d 100644 --- a/DiscoveryJson/acceleratedmobilepageurl_v1.json +++ b/DiscoveryJson/acceleratedmobilepageurl_v1.json @@ -1,85 +1,37 @@ { - "basePath": "", - "ownerDomain": "google.com", - "name": "acceleratedmobilepageurl", - "batchPath": "batch", + "revision": "20170329", "documentationLink": "https://developers.google.com/amp/cache/", "id": "acceleratedmobilepageurl:v1", - "revision": "20170329", "title": "Accelerated Mobile Pages (AMP) URL API", - "ownerName": "Google", "discoveryVersion": "v1", + "ownerName": "Google", "version_module": "True", "resources": { "ampUrls": { "methods": { "batchGet": { - "request": { - "$ref": "BatchGetAmpUrlsRequest" - }, - "description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).", - "httpMethod": "POST", - "parameterOrder": [], "response": { "$ref": "BatchGetAmpUrlsResponse" }, + "parameterOrder": [], + "httpMethod": "POST", "parameters": {}, "flatPath": "v1/ampUrls:batchGet", + "path": "v1/ampUrls:batchGet", "id": "acceleratedmobilepageurl.ampUrls.batchGet", - "path": "v1/ampUrls:batchGet" + "description": "Returns AMP URL(s) and equivalent\n[AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).", + "request": { + "$ref": "BatchGetAmpUrlsRequest" + } } } } }, "parameters": { - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string" - }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" - }, - "alt": { - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query" - }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" }, "key": { "location": "query", @@ -92,39 +44,130 @@ "location": "query" }, "pp": { - "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true" + "default": "true", + "location": "query" }, "oauth_token": { - "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string" + "type": "string", + "location": "query" }, "bearer_token": { - "location": "query", "description": "OAuth bearer token.", - "type": "string" + "type": "string", + "location": "query" }, "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { "description": "Returns response with indentations and line breaks.", "type": "boolean", "default": "true", "location": "query" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ] + }, + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" } }, "schemas": { + "BatchGetAmpUrlsResponse": { + "id": "BatchGetAmpUrlsResponse", + "description": "Batch AMP URL response.", + "type": "object", + "properties": { + "ampUrls": { + "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.", + "type": "array", + "items": { + "$ref": "AmpUrl" + } + }, + "urlErrors": { + "description": "The errors for requested URLs that have no AMP URL.", + "type": "array", + "items": { + "$ref": "AmpUrlError" + } + } + } + }, + "AmpUrl": { + "id": "AmpUrl", + "description": "AMP URL response for a requested URL.", + "type": "object", + "properties": { + "cdnAmpUrl": { + "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.", + "type": "string" + }, + "originalUrl": { + "description": "The original non-AMP URL.", + "type": "string" + }, + "ampUrl": { + "description": "The AMP URL pointing to the publisher's web server.", + "type": "string" + } + } + }, "AmpUrlError": { + "id": "AmpUrlError", "description": "AMP URL Error resource for a requested URL that couldn't be found.", "type": "object", "properties": { + "errorMessage": { + "description": "An optional descriptive error message.", + "type": "string" + }, "errorCode": { + "description": "The error code of an API call.", + "type": "string", "enumDescriptions": [ "Not specified error.", "Indicates the requested URL is not found in the index, possibly because\nit's unable to be found, not able to be accessed by Googlebot, or some\nother error.", @@ -140,24 +183,21 @@ "APPLICATION_ERROR", "URL_IS_VALID_AMP", "URL_IS_INVALID_AMP" - ], - "description": "The error code of an API call.", - "type": "string" + ] }, "originalUrl": { "description": "The original non-AMP URL.", "type": "string" - }, - "errorMessage": { - "description": "An optional descriptive error message.", - "type": "string" } - }, - "id": "AmpUrlError" + } }, "BatchGetAmpUrlsRequest": { + "description": "AMP URL request for a batch of URLs.", + "type": "object", "properties": { "lookupStrategy": { + "description": "The lookup_strategy being requested.", + "type": "string", "enumDescriptions": [ "FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in\nthe index. Any request URL not found in the index is crawled in realtime\nto validate if there is a corresponding AMP URL. This strategy has higher\ncoverage but with extra latency introduced by realtime crawling. This is\nthe default strategy. Applications using this strategy should set higher\nHTTP timeouts of the API calls.", "IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended." @@ -165,9 +205,7 @@ "enum": [ "FETCH_LIVE_DOC", "IN_INDEX_DOC" - ], - "description": "The lookup_strategy being requested.", - "type": "string" + ] }, "urls": { "description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).", @@ -177,49 +215,7 @@ } } }, - "id": "BatchGetAmpUrlsRequest", - "description": "AMP URL request for a batch of URLs.", - "type": "object" - }, - "BatchGetAmpUrlsResponse": { - "properties": { - "ampUrls": { - "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.", - "type": "array", - "items": { - "$ref": "AmpUrl" - } - }, - "urlErrors": { - "description": "The errors for requested URLs that have no AMP URL.", - "type": "array", - "items": { - "$ref": "AmpUrlError" - } - } - }, - "id": "BatchGetAmpUrlsResponse", - "description": "Batch AMP URL response.", - "type": "object" - }, - "AmpUrl": { - "description": "AMP URL response for a requested URL.", - "type": "object", - "properties": { - "cdnAmpUrl": { - "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.", - "type": "string" - }, - "originalUrl": { - "description": "The original non-AMP URL.", - "type": "string" - }, - "ampUrl": { - "description": "The AMP URL pointing to the publisher's web server.", - "type": "string" - } - }, - "id": "AmpUrl" + "id": "BatchGetAmpUrlsRequest" } }, "icons": { @@ -229,8 +225,12 @@ "protocol": "rest", "version": "v1", "baseUrl": "https://acceleratedmobilepageurl.googleapis.com/", - "servicePath": "", - "description": "This API contains a single method, batchGet. Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s).\n", "kind": "discovery#restDescription", - "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/" + "description": "This API contains a single method, batchGet. Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s).\n", + "servicePath": "", + "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "acceleratedmobilepageurl", + "batchPath": "batch" } diff --git a/DiscoveryJson/adexchangebuyer2_v2beta1.json b/DiscoveryJson/adexchangebuyer2_v2beta1.json index 361fdf7c41..3fbb434e0e 100644 --- a/DiscoveryJson/adexchangebuyer2_v2beta1.json +++ b/DiscoveryJson/adexchangebuyer2_v2beta1.json @@ -2,9 +2,282 @@ "discoveryVersion": "v1", "version_module": "True", "schemas": { + "AppContext": { + "type": "object", + "properties": { + "appTypes": { + "enumDescriptions": [ + "Native app context.", + "Mobile web app context." + ], + "description": "The app types this restriction applies to.", + "type": "array", + "items": { + "enum": [ + "NATIVE", + "WEB" + ], + "type": "string" + } + } + }, + "id": "AppContext", + "description": "@OutputOnly The app type the restriction applies to for mobile device." + }, + "ListClientsResponse": { + "id": "ListClientsResponse", + "type": "object", + "properties": { + "clients": { + "description": "The returned list of clients.", + "type": "array", + "items": { + "$ref": "Client" + } + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientsRequest.pageToken\nfield in the subsequent call to the\naccounts.clients.list method\nto retrieve the next page of results.", + "type": "string" + } + } + }, + "NativeContent": { + "description": "Native content for a creative.", + "type": "object", + "properties": { + "advertiserName": { + "description": "The name of the advertiser or sponsor, to be displayed in the ad creative.", + "type": "string" + }, + "storeUrl": { + "description": "The URL to the app store to purchase/download the promoted app.", + "type": "string" + }, + "headline": { + "description": "A short title for the ad.", + "type": "string" + }, + "appIcon": { + "$ref": "Image", + "description": "The app icon, for app download ads." + }, + "callToAction": { + "description": "A label for the button that the user is supposed to click.", + "type": "string" + }, + "body": { + "type": "string", + "description": "A long description of the ad." + }, + "starRating": { + "description": "The app rating in the app store. Must be in the range [0-5].", + "format": "double", + "type": "number" + }, + "videoUrl": { + "description": "The URL to fetch a native video ad.", + "type": "string" + }, + "logo": { + "$ref": "Image", + "description": "A smaller image, for the advertiser's logo." + }, + "clickLinkUrl": { + "description": "The URL that the browser/SDK will load when the user clicks the ad.", + "type": "string" + }, + "priceDisplayText": { + "description": "The price of the promoted app including currency info.", + "type": "string" + }, + "clickTrackingUrl": { + "type": "string", + "description": "The URL to use for click tracking." + }, + "image": { + "$ref": "Image", + "description": "A large image." + } + }, + "id": "NativeContent" + }, + "SecurityContext": { + "description": "@OutputOnly A security context.", + "type": "object", + "properties": { + "securities": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "INSECURE", + "SSL" + ] + }, + "enumDescriptions": [ + "Matches impressions that require insecure compatibility.", + "Matches impressions that require SSL compatibility." + ], + "description": "The security types in this context." + } + }, + "id": "SecurityContext" + }, + "HtmlContent": { + "description": "HTML content for a creative.", + "type": "object", + "properties": { + "height": { + "description": "The height of the HTML snippet in pixels.", + "format": "int32", + "type": "integer" + }, + "width": { + "type": "integer", + "description": "The width of the HTML snippet in pixels.", + "format": "int32" + }, + "snippet": { + "description": "The HTML snippet that displays the ad when inserted in the web page.", + "type": "string" + } + }, + "id": "HtmlContent" + }, + "ListCreativesResponse": { + "description": "A response for listing creatives.", + "type": "object", + "properties": { + "creatives": { + "type": "array", + "items": { + "$ref": "Creative" + }, + "description": "The list of creatives." + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativesRequest.page_token\nfield in the subsequent call to `ListCreatives` method to retrieve the next\npage of results.", + "type": "string" + } + }, + "id": "ListCreativesResponse" + }, + "ServingContext": { + "description": "The serving context for this restriction.", + "type": "object", + "properties": { + "all": { + "description": "Matches all contexts.", + "type": "string", + "enumDescriptions": [ + "A simple context." + ], + "enum": [ + "SIMPLE_CONTEXT" + ] + }, + "appType": { + "$ref": "AppContext", + "description": "Matches impressions for a particular app type." + }, + "securityType": { + "$ref": "SecurityContext", + "description": "Matches impressions for a particular security type." + }, + "platform": { + "$ref": "PlatformContext", + "description": "Matches impressions coming from a particular platform." + }, + "location": { + "description": "Matches impressions coming from users *or* publishers in a specific\nlocation.", + "$ref": "LocationContext" + }, + "auctionType": { + "description": "Matches impressions for a particular auction type.", + "$ref": "AuctionContext" + } + }, + "id": "ServingContext" + }, + "Image": { + "type": "object", + "properties": { + "width": { + "description": "Image width in pixels.", + "format": "int32", + "type": "integer" + }, + "url": { + "description": "The URL of the image.", + "type": "string" + }, + "height": { + "description": "Image height in pixels.", + "format": "int32", + "type": "integer" + } + }, + "id": "Image", + "description": "An image resource. You may provide a larger image than was requested,\nso long as the aspect ratio is preserved." + }, + "Reason": { + "description": "A specific filtering status and how many times it occurred.", + "type": "object", + "properties": { + "status": { + "type": "integer", + "description": "The filtering status code. Please refer to the\n[creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-dictionaries/creative-status-codes.txt)\nfile for different statuses.", + "format": "int32" + }, + "count": { + "description": "The number of times the creative was filtered for the status. The\ncount is aggregated across all publishers on the exchange.", + "format": "int64", + "type": "string" + } + }, + "id": "Reason" + }, + "VideoContent": { + "description": "Video content for a creative.", + "type": "object", + "properties": { + "videoUrl": { + "type": "string", + "description": "The URL to fetch a video ad." + } + }, + "id": "VideoContent" + }, + "ClientUserInvitation": { + "type": "object", + "properties": { + "clientAccountId": { + "description": "Numerical account ID of the client buyer\nthat the invited user is associated with.\nThe value of this field is ignored in create operations.", + "format": "int64", + "type": "string" + }, + "invitationId": { + "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.", + "format": "int64", + "type": "string" + }, + "email": { + "description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.", + "type": "string" + } + }, + "id": "ClientUserInvitation", + "description": "An invitation for a new client user to get access to the Ad Exchange\nBuyer UI.\nAll fields are required unless otherwise specified." + }, "AuctionContext": { + "description": "@OutputOnly The auction type the restriction applies to.", + "type": "object", "properties": { "auctionTypes": { + "enumDescriptions": [ + "The restriction applies to open auction.", + "The restriction applies to direct deals." + ], "description": "The auction types this restriction applies to.", "type": "array", "items": { @@ -13,16 +286,10 @@ "DIRECT_DEALS" ], "type": "string" - }, - "enumDescriptions": [ - "The restriction applies to open auction.", - "The restriction applies to direct deals." - ] + } } }, - "id": "AuctionContext", - "description": "@OutputOnly The auction type the restriction applies to.", - "type": "object" + "id": "AuctionContext" }, "ListClientUserInvitationsResponse": { "type": "object", @@ -49,11 +316,11 @@ "type": "string" }, "users": { - "description": "The returned list of client users.", "type": "array", "items": { "$ref": "ClientUser" - } + }, + "description": "The returned list of client users." } }, "id": "ListClientUsersResponse" @@ -74,47 +341,33 @@ "id": "LocationContext" }, "PlatformContext": { - "description": "@OutputOnly The type of platform the restriction applies to.", - "type": "object", "properties": { "platforms": { + "enumDescriptions": [ + "Desktop platform.", + "Android platform.", + "iOS platform." + ], "description": "The platforms this restriction applies to.", "type": "array", "items": { + "type": "string", "enum": [ "DESKTOP", "ANDROID", "IOS" - ], - "type": "string" - }, - "enumDescriptions": [ - "Desktop platform.", - "Android platform.", - "iOS platform." - ] + ] + } } }, - "id": "PlatformContext" + "id": "PlatformContext", + "description": "@OutputOnly The type of platform the restriction applies to.", + "type": "object" }, "ClientUser": { "description": "A client user is created under a client buyer and has restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the associated client buyer.\n\nThe only way a new client user can be created is via accepting an\nemail invitation\n(see the\naccounts.clients.invitations.create\nmethod).\n\nAll fields are required unless otherwise specified.", "type": "object", "properties": { - "userId": { - "description": "The unique numerical ID of the client user\nthat has accepted an invitation.\nThe value of this field is ignored in an update operation.", - "format": "int64", - "type": "string" - }, - "email": { - "description": "User's email address. The value of this field\nis ignored in an update operation.", - "type": "string" - }, - "clientAccountId": { - "description": "Numerical account ID of the client buyer\nwith which the user is associated; the\nbuyer must be a client of the current sponsor buyer.\nThe value of this field is ignored in an update operation.", - "format": "int64", - "type": "string" - }, "status": { "enum": [ "USER_STATUS_UNSPECIFIED", @@ -130,135 +383,59 @@ "A user that is currently active.", "A user that is currently disabled." ] - } - }, - "id": "ClientUser" - }, - "CreativeDealAssociation": { - "description": "The association between a creative and a deal.", - "type": "object", - "properties": { - "creativeId": { - "description": "The ID of the creative associated with the deal.", - "type": "string" }, - "dealsId": { - "description": "The externalDealId for the deal associated with the creative.", - "type": "string" + "userId": { + "type": "string", + "description": "The unique numerical ID of the client user\nthat has accepted an invitation.\nThe value of this field is ignored in an update operation.", + "format": "int64" }, - "accountId": { - "description": "The account the creative belongs to.", + "email": { + "description": "User's email address. The value of this field\nis ignored in an update operation.", "type": "string" - } - }, - "id": "CreativeDealAssociation" - }, - "FilteringStats": { - "properties": { - "reasons": { - "description": "The set of filtering reasons for this date.", - "type": "array", - "items": { - "$ref": "Reason" - } }, - "date": { - "$ref": "Date", - "description": "The day during which the data was collected.\nThe data is collected from 00:00:00 to 23:59:59 PT.\nDuring switches from PST to PDT and back, the day may\ncontain 23 or 25 hours of data instead of the usual 24." + "clientAccountId": { + "description": "Numerical account ID of the client buyer\nwith which the user is associated; the\nbuyer must be a client of the current sponsor buyer.\nThe value of this field is ignored in an update operation.", + "format": "int64", + "type": "string" } }, - "id": "FilteringStats", - "description": "@OutputOnly Filtering reasons for this creative during a period of a single\nday (from midnight to midnight Pacific).", - "type": "object" + "id": "ClientUser" }, - "Creative": { - "description": "A creative and its classification data.", + "CreativeDealAssociation": { + "description": "The association between a creative and a deal.", "type": "object", "properties": { - "version": { - "description": "@OutputOnly The version of this creative.", - "format": "int32", - "type": "integer" - }, - "vendorIds": { - "description": "All vendor IDs for the ads that may be shown from this creative.\nSee https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt\nfor possible values.", - "type": "array", - "items": { - "format": "int32", - "type": "integer" - } - }, - "impressionTrackingUrls": { - "description": "The set of URLs to be called to record an impression.", - "type": "array", - "items": { - "type": "string" - } - }, - "html": { - "$ref": "HtmlContent", - "description": "An HTML creative." - }, - "dealsStatus": { - "enum": [ - "STATUS_UNSPECIFIED", - "NOT_CHECKED", - "CONDITIONALLY_APPROVED", - "APPROVED", - "DISAPPROVED" - ], - "description": "@OutputOnly The top-level deals status of this creative.\nIf disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in\nserving_restrictions will also exist. Note\nthat this may be nuanced with other contextual restrictions, in which case,\nit may be preferable to read from serving_restrictions directly.\nCan be used to filter the response of the\ncreatives.list\nmethod.", - "type": "string", - "enumDescriptions": [ - "The status is unknown.", - "The creative has not been checked.", - "The creative has been conditionally approved.\nSee serving_restrictions for details.", - "The creative has been approved.", - "The creative has been disapproved." - ] - }, - "detectedProductCategories": { - "description": "@OutputOnly Detected product categories, if any.\nSee the ad-product-categories.txt file in the technical documentation\nfor a list of IDs.", - "type": "array", - "items": { - "format": "int32", - "type": "integer" - } - }, - "openAuctionStatus": { - "enum": [ - "STATUS_UNSPECIFIED", - "NOT_CHECKED", - "CONDITIONALLY_APPROVED", - "APPROVED", - "DISAPPROVED" - ], - "description": "@OutputOnly The top-level open auction status of this creative.\nIf disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in\nserving_restrictions will also exist. Note\nthat this may be nuanced with other contextual restrictions, in which case,\nit may be preferable to read from serving_restrictions directly.\nCan be used to filter the response of the\ncreatives.list\nmethod.", + "accountId": { + "description": "The account the creative belongs to.", + "type": "string" + }, + "creativeId": { "type": "string", - "enumDescriptions": [ - "The status is unknown.", - "The creative has not been checked.", - "The creative has been conditionally approved.\nSee serving_restrictions for details.", - "The creative has been approved.", - "The creative has been disapproved." - ] + "description": "The ID of the creative associated with the deal." }, - "advertiserName": { - "description": "The name of the company being advertised in the creative.", + "dealsId": { + "description": "The externalDealId for the deal associated with the creative.", "type": "string" - }, - "detectedAdvertiserIds": { - "description": "@OutputOnly Detected advertiser IDs, if any.", + } + }, + "id": "CreativeDealAssociation" + }, + "Creative": { + "description": "A creative and its classification data.", + "type": "object", + "properties": { + "detectedDomains": { + "description": "@OutputOnly\nThe detected domains for this creative.", "type": "array", "items": { - "format": "int64", "type": "string" } }, - "detectedDomains": { - "description": "@OutputOnly\nThe detected domains for this creative.", + "detectedAdvertiserIds": { + "description": "@OutputOnly Detected advertiser IDs, if any.", "type": "array", "items": { + "format": "int64", "type": "string" } }, @@ -267,9 +444,36 @@ "$ref": "FilteringStats" }, "attributes": { + "enumDescriptions": [ + "Do not use. This is a placeholder value only.", + "The creative is tagged.", + "The creative is cookie targeted.", + "The creative is user interest targeted.", + "The creative does not expand.", + "The creative expands up.", + "The creative expands down.", + "The creative expands left.", + "The creative expands right.", + "The creative expands up and left.", + "The creative expands up and right.", + "The creative expands down and left.", + "The creative expands down and right.", + "The creative expands up or down.", + "The creative expands left or right.", + "The creative expands on any diagonal.", + "The creative expands when rolled over.", + "The instream vast video type is vpaid flash.", + "The creative is MRAID", + "The creative is SSL.", + "The creative is an interstitial.", + "The creative is eligible for native.", + "The creative is not eligible for native.", + "The creative can dynamically resize to fill a variety of slot sizes." + ], "description": "All attributes for the ads that may be shown from this creative.\nCan be used to filter the response of the\ncreatives.list\nmethod.", "type": "array", "items": { + "type": "string", "enum": [ "ATTRIBUTE_UNSPECIFIED", "IS_TAGGED", @@ -295,35 +499,8 @@ "NATIVE_ELIGIBILITY_ELIGIBLE", "NATIVE_ELIGIBILITY_NOT_ELIGIBLE", "RENDERING_SIZELESS_ADX" - ], - "type": "string" - }, - "enumDescriptions": [ - "Do not use. This is a placeholder value only.", - "The creative is tagged.", - "The creative is cookie targeted.", - "The creative is user interest targeted.", - "The creative does not expand.", - "The creative expands up.", - "The creative expands down.", - "The creative expands left.", - "The creative expands right.", - "The creative expands up and left.", - "The creative expands up and right.", - "The creative expands down and left.", - "The creative expands down and right.", - "The creative expands up or down.", - "The creative expands left or right.", - "The creative expands on any diagonal.", - "The creative expands when rolled over.", - "The instream vast video type is vpaid flash.", - "The creative is MRAID", - "The creative is SSL.", - "The creative is an interstitial.", - "The creative is eligible for native.", - "The creative is not eligible for native.", - "The creative can dynamically resize to fill a variety of slot sizes." - ] + ] + } }, "apiUpdateTime": { "description": "@OutputOnly The last update timestamp of the creative via API.", @@ -346,8 +523,8 @@ "type": "string" }, "native": { - "$ref": "NativeContent", - "description": "A native creative." + "description": "A native creative.", + "$ref": "NativeContent" }, "video": { "$ref": "VideoContent", @@ -372,6 +549,10 @@ "type": "string" } }, + "adChoicesDestinationUrl": { + "description": "The link to AdChoices destination page.", + "type": "string" + }, "detectedSensitiveCategories": { "description": "@OutputOnly Detected sensitive categories, if any.\nSee the ad-sensitive-categories.txt file in the technical documentation for\na list of IDs. You should use these IDs along with the\nexcluded-sensitive-category field in the bid request to filter your bids.", "type": "array", @@ -380,19 +561,15 @@ "type": "integer" } }, - "adChoicesDestinationUrl": { - "description": "The link to AdChoices destination page.", - "type": "string" - }, "restrictedCategories": { "description": "All restricted categories for the ads that may be shown from this creative.", "type": "array", "items": { + "type": "string", "enum": [ "NO_RESTRICTED_CATEGORIES", "ALCOHOL" - ], - "type": "string" + ] }, "enumDescriptions": [ "The ad has no restricted categories", @@ -405,39 +582,116 @@ "items": { "$ref": "Correction" } + }, + "version": { + "description": "@OutputOnly The version of this creative.", + "format": "int32", + "type": "integer" + }, + "vendorIds": { + "description": "All vendor IDs for the ads that may be shown from this creative.\nSee https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt\nfor possible values.", + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "impressionTrackingUrls": { + "description": "The set of URLs to be called to record an impression.", + "type": "array", + "items": { + "type": "string" + } + }, + "html": { + "description": "An HTML creative.", + "$ref": "HtmlContent" + }, + "dealsStatus": { + "enum": [ + "STATUS_UNSPECIFIED", + "NOT_CHECKED", + "CONDITIONALLY_APPROVED", + "APPROVED", + "DISAPPROVED" + ], + "description": "@OutputOnly The top-level deals status of this creative.\nIf disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in\nserving_restrictions will also exist. Note\nthat this may be nuanced with other contextual restrictions, in which case,\nit may be preferable to read from serving_restrictions directly.\nCan be used to filter the response of the\ncreatives.list\nmethod.", + "type": "string", + "enumDescriptions": [ + "The status is unknown.", + "The creative has not been checked.", + "The creative has been conditionally approved.\nSee serving_restrictions for details.", + "The creative has been approved.", + "The creative has been disapproved." + ] + }, + "detectedProductCategories": { + "description": "@OutputOnly Detected product categories, if any.\nSee the ad-product-categories.txt file in the technical documentation\nfor a list of IDs.", + "type": "array", + "items": { + "format": "int32", + "type": "integer" + } + }, + "openAuctionStatus": { + "enumDescriptions": [ + "The status is unknown.", + "The creative has not been checked.", + "The creative has been conditionally approved.\nSee serving_restrictions for details.", + "The creative has been approved.", + "The creative has been disapproved." + ], + "enum": [ + "STATUS_UNSPECIFIED", + "NOT_CHECKED", + "CONDITIONALLY_APPROVED", + "APPROVED", + "DISAPPROVED" + ], + "description": "@OutputOnly The top-level open auction status of this creative.\nIf disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in\nserving_restrictions will also exist. Note\nthat this may be nuanced with other contextual restrictions, in which case,\nit may be preferable to read from serving_restrictions directly.\nCan be used to filter the response of the\ncreatives.list\nmethod.", + "type": "string" + }, + "advertiserName": { + "description": "The name of the company being advertised in the creative.", + "type": "string" } }, "id": "Creative" }, + "FilteringStats": { + "description": "@OutputOnly Filtering reasons for this creative during a period of a single\nday (from midnight to midnight Pacific).", + "type": "object", + "properties": { + "reasons": { + "description": "The set of filtering reasons for this date.", + "type": "array", + "items": { + "$ref": "Reason" + } + }, + "date": { + "$ref": "Date", + "description": "The day during which the data was collected.\nThe data is collected from 00:00:00 to 23:59:59 PT.\nDuring switches from PST to PDT and back, the day may\ncontain 23 or 25 hours of data instead of the usual 24." + } + }, + "id": "FilteringStats" + }, "RemoveDealAssociationRequest": { + "description": "A request for removing the association between a deal and a creative.", + "type": "object", "properties": { "association": { "description": "The association between a creative and a deal that should be removed.", "$ref": "CreativeDealAssociation" } }, - "id": "RemoveDealAssociationRequest", - "description": "A request for removing the association between a deal and a creative.", - "type": "object" + "id": "RemoveDealAssociationRequest" }, "Client": { + "id": "Client", "description": "A client resource represents a client buyer—an agency,\na brand, or an advertiser customer of the sponsor buyer.\nUsers associated with the client buyer have restricted access to\nthe Ad Exchange Marketplace and certain other sections\nof the Ad Exchange Buyer UI based on the role\ngranted to the client buyer.\nAll fields are required unless otherwise specified.", "type": "object", "properties": { - "visibleToSeller": { - "description": "Whether the client buyer will be visible to sellers.", - "type": "boolean" - }, - "entityId": { - "description": "Numerical identifier of the client entity.\nThe entity can be an advertiser, a brand, or an agency.\nThis identifier is unique among all the entities with the same type.\n\nA list of all known advertisers with their identifiers is available in the\n[advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt)\nfile.\n\nA list of all known brands with their identifiers is available in the\n[brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)\nfile.\n\nA list of all known agencies with their identifiers is available in the\n[agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt)\nfile.", - "format": "int64", - "type": "string" - }, - "clientAccountId": { - "description": "The globally-unique numerical ID of the client.\nThe value of this field is ignored in create and update operations.", - "format": "int64", - "type": "string" - }, "entityName": { "description": "The name of the entity. This field is automatically fetched based on\nthe type and ID.\nThe value of this field is ignored in create and update operations.", "type": "string" @@ -477,6 +731,12 @@ "type": "string" }, "role": { + "enumDescriptions": [ + "A placeholder for an undefined client role.", + "Users associated with this client can see publisher deal offers\nin the Marketplace.\nThey can neither negotiate proposals nor approve deals.\nIf this client is visible to publishers, they can send deal proposals\nto this client.", + "Users associated with this client can respond to deal proposals\nsent to them by publishers. They can also initiate deal proposals\nof their own.", + "Users associated with this client can approve eligible deals\non your behalf. Some deals may still explicitly require publisher\nfinalization. If this role is not selected, the sponsor buyer\nwill need to manually approve each of their deals." + ], "enum": [ "CLIENT_ROLE_UNSPECIFIED", "CLIENT_DEAL_VIEWER", @@ -484,41 +744,28 @@ "CLIENT_DEAL_APPROVER" ], "description": "The role which is assigned to the client buyer. Each role implies a set of\npermissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,\n`CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.", - "type": "string", - "enumDescriptions": [ - "A placeholder for an undefined client role.", - "Users associated with this client can see publisher deal offers\nin the Marketplace.\nThey can neither negotiate proposals nor approve deals.\nIf this client is visible to publishers, they can send deal proposals\nto this client.", - "Users associated with this client can respond to deal proposals\nsent to them by publishers. They can also initiate deal proposals\nof their own.", - "Users associated with this client can approve eligible deals\non your behalf. Some deals may still explicitly require publisher\nfinalization. If this role is not selected, the sponsor buyer\nwill need to manually approve each of their deals." - ] + "type": "string" + }, + "visibleToSeller": { + "description": "Whether the client buyer will be visible to sellers.", + "type": "boolean" + }, + "entityId": { + "description": "Numerical identifier of the client entity.\nThe entity can be an advertiser, a brand, or an agency.\nThis identifier is unique among all the entities with the same type.\n\nA list of all known advertisers with their identifiers is available in the\n[advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt)\nfile.\n\nA list of all known brands with their identifiers is available in the\n[brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)\nfile.\n\nA list of all known agencies with their identifiers is available in the\n[agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.txt)\nfile.", + "format": "int64", + "type": "string" + }, + "clientAccountId": { + "description": "The globally-unique numerical ID of the client.\nThe value of this field is ignored in create and update operations.", + "format": "int64", + "type": "string" } - }, - "id": "Client" + } }, "Correction": { + "type": "object", "properties": { - "details": { - "description": "Additional details about what was corrected.", - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "enumDescriptions": [ - "The correction type is unknown. Refer to the details for more information.", - "The ad's declared vendors did not match the vendors that were detected.\nThe detected vendors were added.", - "The ad had the SSL attribute declared but was not SSL-compliant.\nThe SSL attribute was removed.", - "The ad was declared as Flash-free but contained Flash, so the Flash-free\nattribute was removed.", - "The ad was not declared as Flash-free but it did not reference any flash\ncontent, so the Flash-free attribute was added.", - "The ad did not declare a required creative attribute.\nThe attribute was added.", - "The ad did not declare a required technology vendor.\nThe technology vendor was added.", - "The ad did not declare the SSL attribute but was SSL-compliant, so the\nSSL attribute was added.", - "Properties consistent with In-banner video were found, so an\nIn-Banner Video attribute was added.", - "The ad makes calls to the MRAID API so the MRAID attribute was added.", - "The ad unnecessarily declared the Flash attribute, so the Flash attribute\nwas removed.", - "The ad contains video content." - ], + "type": { "enum": [ "CORRECTION_TYPE_UNSPECIFIED", "VENDOR_IDS_ADDED", @@ -534,50 +781,72 @@ "VIDEO_IN_SNIPPET_ATTRIBUTE_ADDED" ], "description": "The type of correction that was applied to the creative.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "The correction type is unknown. Refer to the details for more information.", + "The ad's declared vendors did not match the vendors that were detected.\nThe detected vendors were added.", + "The ad had the SSL attribute declared but was not SSL-compliant.\nThe SSL attribute was removed.", + "The ad was declared as Flash-free but contained Flash, so the Flash-free\nattribute was removed.", + "The ad was not declared as Flash-free but it did not reference any flash\ncontent, so the Flash-free attribute was added.", + "The ad did not declare a required creative attribute.\nThe attribute was added.", + "The ad did not declare a required technology vendor.\nThe technology vendor was added.", + "The ad did not declare the SSL attribute but was SSL-compliant, so the\nSSL attribute was added.", + "Properties consistent with In-banner video were found, so an\nIn-Banner Video attribute was added.", + "The ad makes calls to the MRAID API so the MRAID attribute was added.", + "The ad unnecessarily declared the Flash attribute, so the Flash attribute\nwas removed.", + "The ad contains video content." + ] }, "contexts": { - "description": "The contexts for the correction.", "type": "array", "items": { "$ref": "ServingContext" - } + }, + "description": "The contexts for the correction." + }, + "details": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Additional details about what was corrected." } }, "id": "Correction", - "description": "@OutputOnly Shows any corrections that were applied to this creative.", - "type": "object" + "description": "@OutputOnly Shows any corrections that were applied to this creative." }, "ListDealAssociationsResponse": { + "id": "ListDealAssociationsResponse", "description": "A response for listing creative and deal associations", "type": "object", "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results.\nPass this value in the\nListDealAssociationsRequest.page_token\nfield in the subsequent call to 'ListDealAssociation' method to retrieve\nthe next page of results.", - "type": "string" - }, "associations": { - "description": "The list of associations.", "type": "array", "items": { "$ref": "CreativeDealAssociation" - } + }, + "description": "The list of associations." + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results.\nPass this value in the\nListDealAssociationsRequest.page_token\nfield in the subsequent call to 'ListDealAssociation' method to retrieve\nthe next page of results.", + "type": "string" } - }, - "id": "ListDealAssociationsResponse" + } }, "AddDealAssociationRequest": { + "id": "AddDealAssociationRequest", + "description": "A request for associating a deal and a creative.", + "type": "object", "properties": { "association": { "$ref": "CreativeDealAssociation", "description": "The association between a creative and a deal that should be added." } - }, - "id": "AddDealAssociationRequest", - "description": "A request for associating a deal and a creative.", - "type": "object" + } }, "Disapproval": { + "description": "@OutputOnly The reason and details for a disapproval.", + "type": "object", "properties": { "details": { "description": "Additional details about the reason for disapproval.", @@ -741,404 +1010,135 @@ "Violation of the remarketing list policy.", "The destination site's robot.txt file prevents it from being crawled.", "Click to download must link to an app.", - "A review extension must be an accurate review.", - "Sexually explicit content.", - "The ad tries to gain an unfair traffic advantage.", - "The ad tries to circumvent Google's advertising systems.", - "The ad promotes dangerous knives.", - "The ad promotes explosives.", - "The ad promotes guns & parts.", - "The ad promotes recreational drugs/services & related equipment.", - "The ad promotes tobacco products/services & related equipment.", - "The ad promotes weapons.", - "The ad is unclear or irrelevant to the destination site.", - "The ad does not meet professional standards.", - "The promotion is unnecessarily difficult to navigate.", - "Violation of Google's policy for interest-based ads.", - "Misuse of personal information.", - "Omission of relevant information.", - "Unavailable promotions.", - "Misleading or unrealistic promotions.", - "Offensive or inappropriate content.", - "Capitalizing on sensitive events.", - "Shocking content.", - "Products & Services that enable dishonest behavior.", - "The ad does not meet technical requirements.", - "Restricted political content.", - "Unsupported content.", - "Invalid bidding method.", - "Video length exceeds limits.", - "Unacceptable content: Japanese healthcare.", - "Online pharmacy ID required.", - "Unacceptable content: Abortion.", - "Unacceptable content: Birth control.", - "Restricted in China.", - "Unacceptable content: Korean healthcare.", - "Non-family safe or adult content.", - "Clinical trial recruitment.", - "Maximum number of HTTP calls exceeded.", - "Maximum number of cookies exceeded.", - "Financial service ad does not adhere to specifications.", - "Flash content was found in an unsupported context." - ] - } - }, - "id": "Disapproval", - "description": "@OutputOnly The reason and details for a disapproval.", - "type": "object" - }, - "StopWatchingCreativeRequest": { - "properties": {}, - "id": "StopWatchingCreativeRequest", - "description": "A request for stopping notifications for changes to creative Status.", - "type": "object" - }, - "ServingRestriction": { - "properties": { - "disapprovalReasons": { - "description": "Any disapprovals bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod.", - "type": "array", - "items": { - "$ref": "Disapproval" - } - }, - "contexts": { - "description": "The contexts for the restriction.", - "type": "array", - "items": { - "$ref": "ServingContext" - } - }, - "status": { - "enum": [ - "STATUS_UNSPECIFIED", - "DISAPPROVAL", - "PENDING_REVIEW" - ], - "description": "The status of the creative in this context (for example, it has been\nexplicitly disapproved or is pending review).", - "type": "string", - "enumDescriptions": [ - "The status is not known.", - "The ad was disapproved in this context.", - "The ad is pending review in this context." - ] - } - }, - "id": "ServingRestriction", - "description": "@OutputOnly A representation of the status of an ad in a\nspecific context. A context here relates to where something ultimately serves\n(for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,\nor the type of auction).", - "type": "object" - }, - "Date": { - "properties": { - "month": { - "description": "Month of year. Must be from 1 to 12.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.", - "format": "int32", - "type": "integer" - }, - "day": { - "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.", - "format": "int32", - "type": "integer" - } - }, - "id": "Date", - "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", - "type": "object" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object" - }, - "WatchCreativeRequest": { - "properties": { - "topic": { - "description": "The Pub/Sub topic to publish notifications to.\nThis topic must already exist and must give permission to\nad-exchange-buyside-reports@google.com to write to the topic.\nThis should be the full resource name in\n\"projects/{project_id}/topics/{topic_id}\" format.", - "type": "string" - } - }, - "id": "WatchCreativeRequest", - "description": "A request for watching changes to creative Status.", - "type": "object" - }, - "AppContext": { - "properties": { - "appTypes": { - "enumDescriptions": [ - "Native app context.", - "Mobile web app context." - ], - "description": "The app types this restriction applies to.", - "type": "array", - "items": { - "enum": [ - "NATIVE", - "WEB" - ], - "type": "string" - } - } - }, - "id": "AppContext", - "description": "@OutputOnly The app type the restriction applies to for mobile device.", - "type": "object" - }, - "ListClientsResponse": { - "type": "object", - "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results.\nPass this value in the\nListClientsRequest.pageToken\nfield in the subsequent call to the\naccounts.clients.list method\nto retrieve the next page of results.", - "type": "string" - }, - "clients": { - "description": "The returned list of clients.", - "type": "array", - "items": { - "$ref": "Client" - } - } - }, - "id": "ListClientsResponse" - }, - "NativeContent": { - "properties": { - "videoUrl": { - "description": "The URL to fetch a native video ad.", - "type": "string" - }, - "clickLinkUrl": { - "description": "The URL that the browser/SDK will load when the user clicks the ad.", - "type": "string" - }, - "logo": { - "$ref": "Image", - "description": "A smaller image, for the advertiser's logo." - }, - "priceDisplayText": { - "description": "The price of the promoted app including currency info.", - "type": "string" - }, - "image": { - "$ref": "Image", - "description": "A large image." - }, - "clickTrackingUrl": { - "description": "The URL to use for click tracking.", - "type": "string" - }, - "advertiserName": { - "description": "The name of the advertiser or sponsor, to be displayed in the ad creative.", - "type": "string" - }, - "storeUrl": { - "description": "The URL to the app store to purchase/download the promoted app.", - "type": "string" - }, - "headline": { - "description": "A short title for the ad.", - "type": "string" - }, - "appIcon": { - "$ref": "Image", - "description": "The app icon, for app download ads." - }, - "callToAction": { - "description": "A label for the button that the user is supposed to click.", - "type": "string" - }, - "body": { - "description": "A long description of the ad.", - "type": "string" - }, - "starRating": { - "description": "The app rating in the app store. Must be in the range [0-5].", - "format": "double", - "type": "number" + "A review extension must be an accurate review.", + "Sexually explicit content.", + "The ad tries to gain an unfair traffic advantage.", + "The ad tries to circumvent Google's advertising systems.", + "The ad promotes dangerous knives.", + "The ad promotes explosives.", + "The ad promotes guns & parts.", + "The ad promotes recreational drugs/services & related equipment.", + "The ad promotes tobacco products/services & related equipment.", + "The ad promotes weapons.", + "The ad is unclear or irrelevant to the destination site.", + "The ad does not meet professional standards.", + "The promotion is unnecessarily difficult to navigate.", + "Violation of Google's policy for interest-based ads.", + "Misuse of personal information.", + "Omission of relevant information.", + "Unavailable promotions.", + "Misleading or unrealistic promotions.", + "Offensive or inappropriate content.", + "Capitalizing on sensitive events.", + "Shocking content.", + "Products & Services that enable dishonest behavior.", + "The ad does not meet technical requirements.", + "Restricted political content.", + "Unsupported content.", + "Invalid bidding method.", + "Video length exceeds limits.", + "Unacceptable content: Japanese healthcare.", + "Online pharmacy ID required.", + "Unacceptable content: Abortion.", + "Unacceptable content: Birth control.", + "Restricted in China.", + "Unacceptable content: Korean healthcare.", + "Non-family safe or adult content.", + "Clinical trial recruitment.", + "Maximum number of HTTP calls exceeded.", + "Maximum number of cookies exceeded.", + "Financial service ad does not adhere to specifications.", + "Flash content was found in an unsupported context." + ] } }, - "id": "NativeContent", - "description": "Native content for a creative.", - "type": "object" + "id": "Disapproval" }, - "SecurityContext": { - "description": "@OutputOnly A security context.", + "StopWatchingCreativeRequest": { + "description": "A request for stopping notifications for changes to creative Status.", "type": "object", - "properties": { - "securities": { - "description": "The security types in this context.", - "type": "array", - "items": { - "enum": [ - "INSECURE", - "SSL" - ], - "type": "string" - }, - "enumDescriptions": [ - "Matches impressions that require insecure compatibility.", - "Matches impressions that require SSL compatibility." - ] - } - }, - "id": "SecurityContext" + "properties": {}, + "id": "StopWatchingCreativeRequest" }, - "ListCreativesResponse": { - "description": "A response for listing creatives.", + "ServingRestriction": { + "description": "@OutputOnly A representation of the status of an ad in a\nspecific context. A context here relates to where something ultimately serves\n(for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,\nor the type of auction).", "type": "object", "properties": { - "nextPageToken": { - "description": "A token to retrieve the next page of results.\nPass this value in the\nListCreativesRequest.page_token\nfield in the subsequent call to `ListCreatives` method to retrieve the next\npage of results.", - "type": "string" - }, - "creatives": { - "description": "The list of creatives.", + "disapprovalReasons": { + "description": "Any disapprovals bound to this restriction.\nOnly present if status=DISAPPROVED.\nCan be used to filter the response of the\ncreatives.list\nmethod.", "type": "array", "items": { - "$ref": "Creative" + "$ref": "Disapproval" } - } - }, - "id": "ListCreativesResponse" - }, - "HtmlContent": { - "properties": { - "width": { - "description": "The width of the HTML snippet in pixels.", - "format": "int32", - "type": "integer" }, - "snippet": { - "description": "The HTML snippet that displays the ad when inserted in the web page.", - "type": "string" + "contexts": { + "type": "array", + "items": { + "$ref": "ServingContext" + }, + "description": "The contexts for the restriction." }, - "height": { - "description": "The height of the HTML snippet in pixels.", - "format": "int32", - "type": "integer" - } - }, - "id": "HtmlContent", - "description": "HTML content for a creative.", - "type": "object" - }, - "ServingContext": { - "properties": { - "all": { + "status": { "enumDescriptions": [ - "A simple context." + "The status is not known.", + "The ad was disapproved in this context.", + "The ad is pending review in this context." ], "enum": [ - "SIMPLE_CONTEXT" + "STATUS_UNSPECIFIED", + "DISAPPROVAL", + "PENDING_REVIEW" ], - "description": "Matches all contexts.", + "description": "The status of the creative in this context (for example, it has been\nexplicitly disapproved or is pending review).", "type": "string" - }, - "appType": { - "$ref": "AppContext", - "description": "Matches impressions for a particular app type." - }, - "securityType": { - "$ref": "SecurityContext", - "description": "Matches impressions for a particular security type." - }, - "platform": { - "description": "Matches impressions coming from a particular platform.", - "$ref": "PlatformContext" - }, - "location": { - "description": "Matches impressions coming from users *or* publishers in a specific\nlocation.", - "$ref": "LocationContext" - }, - "auctionType": { - "description": "Matches impressions for a particular auction type.", - "$ref": "AuctionContext" } }, - "id": "ServingContext", - "description": "The serving context for this restriction.", - "type": "object" + "id": "ServingRestriction" }, - "Image": { - "description": "An image resource. You may provide a larger image than was requested,\nso long as the aspect ratio is preserved.", + "Date": { "type": "object", "properties": { - "height": { - "description": "Image height in pixels.", + "month": { + "description": "Month of year. Must be from 1 to 12.", "format": "int32", "type": "integer" }, - "width": { - "description": "Image width in pixels.", + "year": { + "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.", "format": "int32", "type": "integer" }, - "url": { - "description": "The URL of the image.", - "type": "string" - } - }, - "id": "Image" - }, - "Reason": { - "description": "A specific filtering status and how many times it occurred.", - "type": "object", - "properties": { - "status": { - "description": "The filtering status code. Please refer to the\n[creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-dictionaries/creative-status-codes.txt)\nfile for different statuses.", + "day": { + "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.", "format": "int32", "type": "integer" - }, - "count": { - "description": "The number of times the creative was filtered for the status. The\ncount is aggregated across all publishers on the exchange.", - "format": "int64", - "type": "string" } }, - "id": "Reason" + "id": "Date", + "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`." }, - "VideoContent": { - "properties": { - "videoUrl": { - "description": "The URL to fetch a video ad.", - "type": "string" - } - }, - "id": "VideoContent", - "description": "Video content for a creative.", - "type": "object" + "Empty": { + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {} }, - "ClientUserInvitation": { - "description": "An invitation for a new client user to get access to the Ad Exchange\nBuyer UI.\nAll fields are required unless otherwise specified.", + "WatchCreativeRequest": { "type": "object", "properties": { - "email": { - "description": "The email address to which the invitation is sent. Email\naddresses should be unique among all client users under each sponsor\nbuyer.", - "type": "string" - }, - "clientAccountId": { - "description": "Numerical account ID of the client buyer\nthat the invited user is associated with.\nThe value of this field is ignored in create operations.", - "format": "int64", - "type": "string" - }, - "invitationId": { - "description": "The unique numerical ID of the invitation that is sent to the user.\nThe value of this field is ignored in create operations.", - "format": "int64", - "type": "string" + "topic": { + "type": "string", + "description": "The Pub/Sub topic to publish notifications to.\nThis topic must already exist and must give permission to\nad-exchange-buyside-reports@google.com to write to the topic.\nThis should be the full resource name in\n\"projects/{project_id}/topics/{topic_id}\" format." } }, - "id": "ClientUserInvitation" + "id": "WatchCreativeRequest", + "description": "A request for watching changes to creative Status." } }, "protocol": "rest", "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "canonicalName": "AdExchangeBuyerII", "auth": { @@ -1170,13 +1170,16 @@ "clientAccountId" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "parameters": { "accountId": { - "location": "path", "description": "Numerical account ID of the client's sponsor buyer. (required)", "format": "int64", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "clientAccountId": { "description": "Numerical account ID of the client buyer to retrieve. (required)", @@ -1186,93 +1189,88 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}", "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}", "id": "adexchangebuyer2.accounts.clients.get", "description": "Gets a client buyer with a given client account ID." }, "list": { - "path": "v2beta1/accounts/{accountId}/clients", - "id": "adexchangebuyer2.accounts.clients.list", "description": "Lists all the clients for the current sponsor buyer.", + "httpMethod": "GET", "response": { "$ref": "ListClientsResponse" }, "parameterOrder": [ "accountId" ], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/adexchange.buyer" ], "parameters": { "pageToken": { + "location": "query", "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientsResponse.nextPageToken\nreturned from the previous call to the\naccounts.clients.list method.", - "type": "string", - "location": "query" + "type": "string" }, "accountId": { - "location": "path", "description": "Unique numerical account ID of the sponsor buyer to list the clients for.", "format": "int64", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "pageSize": { + "location": "query", "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.", "format": "int32", - "type": "integer", - "location": "query" + "type": "integer" } }, - "flatPath": "v2beta1/accounts/{accountId}/clients" + "flatPath": "v2beta1/accounts/{accountId}/clients", + "id": "adexchangebuyer2.accounts.clients.list", + "path": "v2beta1/accounts/{accountId}/clients" }, "update": { - "httpMethod": "PUT", - "parameterOrder": [ - "accountId", - "clientAccountId" - ], "response": { "$ref": "Client" }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" + "parameterOrder": [ + "accountId", + "clientAccountId" ], + "httpMethod": "PUT", "parameters": { - "accountId": { - "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to update a client for. (required)", - "format": "int64", + "clientAccountId": { "required": true, "type": "string", - "location": "path" - }, - "clientAccountId": { + "location": "path", "description": "Unique numerical account ID of the client to update. (required)", + "format": "int64" + }, + "accountId": { + "location": "path", + "description": "Unique numerical account ID for the buyer of which the client buyer\nis a customer; the sponsor buyer to update a client for. (required)", "format": "int64", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}", - "id": "adexchangebuyer2.accounts.clients.update", "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}", - "description": "Updates an existing client buyer.", + "id": "adexchangebuyer2.accounts.clients.update", "request": { "$ref": "Client" - } + }, + "description": "Updates an existing client buyer." }, "create": { - "path": "v2beta1/accounts/{accountId}/clients", - "id": "adexchangebuyer2.accounts.clients.create", + "description": "Creates a new client buyer.", "request": { "$ref": "Client" }, - "description": "Creates a new client buyer.", "response": { "$ref": "Client" }, @@ -1280,6 +1278,9 @@ "accountId" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "parameters": { "accountId": { "location": "path", @@ -1289,24 +1290,20 @@ "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], - "flatPath": "v2beta1/accounts/{accountId}/clients" + "flatPath": "v2beta1/accounts/{accountId}/clients", + "path": "v2beta1/accounts/{accountId}/clients", + "id": "adexchangebuyer2.accounts.clients.create" } }, "resources": { "invitations": { "methods": { - "create": { - "request": { - "$ref": "ClientUserInvitation" - }, - "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.", - "httpMethod": "POST", + "get": { + "httpMethod": "GET", "parameterOrder": [ "accountId", - "clientAccountId" + "clientAccountId", + "invitationId" ], "response": { "$ref": "ClientUserInvitation" @@ -1320,47 +1317,11 @@ "type": "string" }, "clientAccountId": { - "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)", - "format": "int64", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], - "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations", - "id": "adexchangebuyer2.accounts.clients.invitations.create", - "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations" - }, - "get": { - "id": "adexchangebuyer2.accounts.clients.invitations.get", - "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}", - "description": "Retrieves an existing client user invitation.", - "httpMethod": "GET", - "response": { - "$ref": "ClientUserInvitation" - }, - "parameterOrder": [ - "accountId", - "clientAccountId", - "invitationId" - ], - "parameters": { - "accountId": { - "description": "Numerical account ID of the client's sponsor buyer. (required)", - "format": "int64", - "required": true, - "type": "string", - "location": "path" - }, - "clientAccountId": { + "location": "path", "description": "Numerical account ID of the client buyer that the user invitation\nto be retrieved is associated with. (required)", "format": "int64", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "invitationId": { "description": "Numerical identifier of the user invitation to retrieve. (required)", @@ -1373,103 +1334,95 @@ "scopes": [ "https://www.googleapis.com/auth/adexchange.buyer" ], - "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}" + "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}", + "id": "adexchangebuyer2.accounts.clients.invitations.get", + "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}", + "description": "Retrieves an existing client user invitation." }, "list": { - "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations", - "id": "adexchangebuyer2.accounts.clients.invitations.list", "description": "Lists all the client users invitations for a client\nwith a given account ID.", "response": { "$ref": "ListClientUserInvitationsResponse" }, - "httpMethod": "GET", "parameterOrder": [ "accountId", "clientAccountId" ], - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], + "httpMethod": "GET", "parameters": { + "clientAccountId": { + "description": "Numerical account ID of the client buyer to list invitations for.\n(required)\nYou must either specify a string representation of a\nnumerical account identifier or the `-` character\nto list all the invitations for all the clients\nof a given sponsor buyer.", + "required": true, + "type": "string", + "location": "path" + }, "pageToken": { - "location": "query", "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListClientUserInvitationsResponse.nextPageToken\nreturned from the previous call to the\nclients.invitations.list\nmethod.", - "type": "string" + "type": "string", + "location": "query" }, "accountId": { + "required": true, + "type": "string", "location": "path", "description": "Numerical account ID of the client's sponsor buyer. (required)", - "format": "int64", - "required": true, - "type": "string" + "format": "int64" }, "pageSize": { + "location": "query", "description": "Requested page size. Server may return fewer clients than requested.\nIf unspecified, server will pick an appropriate default.", "format": "int32", - "type": "integer", - "location": "query" - }, - "clientAccountId": { - "description": "Numerical account ID of the client buyer to list invitations for.\n(required)\nYou must either specify a string representation of a\nnumerical account identifier or the `-` character\nto list all the invitations for all the clients\nof a given sponsor buyer.", - "required": true, - "type": "string", - "location": "path" + "type": "integer" } }, - "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations" - } - } - }, - "users": { - "methods": { - "update": { - "request": { - "$ref": "ClientUser" - }, - "description": "Updates an existing client user.\nOnly the user status can be changed on update.", - "response": { - "$ref": "ClientUser" - }, - "parameterOrder": [ - "accountId", - "clientAccountId", - "userId" + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" ], - "httpMethod": "PUT", + "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations", + "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations", + "id": "adexchangebuyer2.accounts.clients.invitations.list" + }, + "create": { "parameters": { - "userId": { - "description": "Numerical identifier of the user to retrieve. (required)", - "format": "int64", - "required": true, - "type": "string", - "location": "path" - }, "accountId": { - "location": "path", "description": "Numerical account ID of the client's sponsor buyer. (required)", "format": "int64", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "clientAccountId": { - "location": "path", - "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)", + "description": "Numerical account ID of the client buyer that the user\nshould be associated with. (required)", "format": "int64", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/adexchange.buyer" ], - "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}", - "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}", - "id": "adexchangebuyer2.accounts.clients.users.update" - }, + "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations", + "id": "adexchangebuyer2.accounts.clients.invitations.create", + "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations", + "request": { + "$ref": "ClientUserInvitation" + }, + "description": "Creates and sends out an email invitation to access\nan Ad Exchange client buyer account.", + "httpMethod": "POST", + "parameterOrder": [ + "accountId", + "clientAccountId" + ], + "response": { + "$ref": "ClientUserInvitation" + } + } + } + }, + "users": { + "methods": { "list": { - "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users", - "id": "adexchangebuyer2.accounts.clients.users.list", - "description": "Lists all the known client users for a specified\nsponsor buyer account ID.", "response": { "$ref": "ListClientUsersResponse" }, @@ -1495,10 +1448,10 @@ "location": "path" }, "pageSize": { + "type": "integer", "location": "query", "description": "Requested page size. The server may return fewer clients than requested.\nIf unspecified, the server will pick an appropriate default.", - "format": "int32", - "type": "integer" + "format": "int32" }, "clientAccountId": { "description": "The account ID of the client buyer to list users for. (required)\nYou must specify either a string representation of a\nnumerical account identifier or the `-` character\nto list all the client users for all the clients\nof a given sponsor buyer.", @@ -1507,21 +1460,22 @@ "location": "path" } }, - "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users" + "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users", + "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users", + "id": "adexchangebuyer2.accounts.clients.users.list", + "description": "Lists all the known client users for a specified\nsponsor buyer account ID." }, "get": { - "httpMethod": "GET", + "description": "Retrieves an existing client user.", + "response": { + "$ref": "ClientUser" + }, "parameterOrder": [ "accountId", "clientAccountId", "userId" ], - "response": { - "$ref": "ClientUser" - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], + "httpMethod": "GET", "parameters": { "userId": { "location": "path", @@ -1531,11 +1485,11 @@ "type": "string" }, "accountId": { + "required": true, + "type": "string", "location": "path", "description": "Numerical account ID of the client's sponsor buyer. (required)", - "format": "int64", - "required": true, - "type": "string" + "format": "int64" }, "clientAccountId": { "location": "path", @@ -1545,10 +1499,56 @@ "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}", - "id": "adexchangebuyer2.accounts.clients.users.get", "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}", - "description": "Retrieves an existing client user." + "id": "adexchangebuyer2.accounts.clients.users.get" + }, + "update": { + "id": "adexchangebuyer2.accounts.clients.users.update", + "path": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}", + "description": "Updates an existing client user.\nOnly the user status can be changed on update.", + "request": { + "$ref": "ClientUser" + }, + "httpMethod": "PUT", + "parameterOrder": [ + "accountId", + "clientAccountId", + "userId" + ], + "response": { + "$ref": "ClientUser" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], + "parameters": { + "clientAccountId": { + "description": "Numerical account ID of the client buyer that the user to be retrieved\nis associated with. (required)", + "format": "int64", + "required": true, + "type": "string", + "location": "path" + }, + "userId": { + "description": "Numerical identifier of the user to retrieve. (required)", + "format": "int64", + "required": true, + "type": "string", + "location": "path" + }, + "accountId": { + "required": true, + "type": "string", + "location": "path", + "description": "Numerical account ID of the client's sponsor buyer. (required)", + "format": "int64" + } + }, + "flatPath": "v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}" } } } @@ -1556,41 +1556,10 @@ }, "creatives": { "methods": { - "watch": { - "httpMethod": "POST", - "parameterOrder": [ - "accountId", - "creativeId" - ], - "response": { - "$ref": "Empty" - }, - "parameters": { - "creativeId": { - "location": "path", - "description": "The creative ID to watch for status changes.\nSpecify \"-\" to watch all creatives under the above account.\nIf both creative-level and account-level notifications are\nsent, only a single notification will be sent to the\ncreative-level notification topic.", - "required": true, - "type": "string" - }, - "accountId": { - "location": "path", - "description": "The account of the creative to watch.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], - "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch", - "id": "adexchangebuyer2.accounts.creatives.watch", - "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch", - "request": { - "$ref": "WatchCreativeRequest" - }, - "description": "Watches a creative. Will result in push notifications being sent to the\ntopic when the creative changes status." - }, "get": { + "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}", + "id": "adexchangebuyer2.accounts.creatives.get", + "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}", "description": "Gets a creative.", "httpMethod": "GET", "parameterOrder": [ @@ -1600,6 +1569,9 @@ "response": { "$ref": "Creative" }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "parameters": { "accountId": { "location": "path", @@ -1608,18 +1580,46 @@ "type": "string" }, "creativeId": { - "description": "The ID of the creative to retrieve.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the creative to retrieve." + } + } + }, + "watch": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "accountId", + "creativeId" + ], + "httpMethod": "POST", + "parameters": { + "accountId": { + "location": "path", + "description": "The account of the creative to watch.", + "required": true, + "type": "string" + }, + "creativeId": { + "location": "path", + "description": "The creative ID to watch for status changes.\nSpecify \"-\" to watch all creatives under the above account.\nIf both creative-level and account-level notifications are\nsent, only a single notification will be sent to the\ncreative-level notification topic.", + "required": true, + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/adexchange.buyer" ], - "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}", - "id": "adexchangebuyer2.accounts.creatives.get", - "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}" + "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch", + "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:watch", + "id": "adexchangebuyer2.accounts.creatives.watch", + "request": { + "$ref": "WatchCreativeRequest" + }, + "description": "Watches a creative. Will result in push notifications being sent to the\ntopic when the creative changes status." }, "update": { "description": "Updates a creative.", @@ -1639,10 +1639,10 @@ ], "parameters": { "accountId": { + "location": "path", "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "creativeId": { "location": "path", @@ -1656,18 +1656,18 @@ "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}" }, "list": { - "httpMethod": "GET", - "parameterOrder": [ - "accountId" - ], "response": { "$ref": "ListCreativesResponse" }, + "parameterOrder": [ + "accountId" + ], + "httpMethod": "GET", "parameters": { "pageToken": { + "location": "query", "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListCreativesResponse.next_page_token\nreturned from the previous call to 'ListCreatives' method.", - "type": "string", - "location": "query" + "type": "string" }, "accountId": { "location": "path", @@ -1676,23 +1676,23 @@ "type": "string" }, "pageSize": { + "location": "query", "description": "Requested page size. The server may return fewer creatives than requested\n(due to timeout constraint) even if more are available via another call.\nIf unspecified, server will pick an appropriate default.\nAcceptable values are 1 to 1000, inclusive.", "format": "int32", - "type": "integer", - "location": "query" + "type": "integer" }, "query": { - "description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from DisapprovalReason\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47'", "type": "string", - "location": "query" + "location": "query", + "description": "An optional query string to filter creatives. If no filter is specified,\nall active creatives will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus: {approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eattribute: {a numeric attribute from the list of attributes}\n\u003cli\u003edisapprovalReason: {a reason from DisapprovalReason\n\u003c/ul\u003e\nExample: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47'" } }, "scopes": [ "https://www.googleapis.com/auth/adexchange.buyer" ], "flatPath": "v2beta1/accounts/{accountId}/creatives", - "id": "adexchangebuyer2.accounts.creatives.list", "path": "v2beta1/accounts/{accountId}/creatives", + "id": "adexchangebuyer2.accounts.creatives.list", "description": "Lists creatives." }, "create": { @@ -1707,20 +1707,20 @@ "https://www.googleapis.com/auth/adexchange.buyer" ], "parameters": { - "accountId": { - "location": "path", - "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.", - "required": true, - "type": "string" - }, "duplicateIdMode": { + "description": "Indicates if multiple creatives can share an ID or not. Default is\nNO_DUPLICATES (one ID per creative).", + "type": "string", "location": "query", "enum": [ "NO_DUPLICATES", "FORCE_ENABLE_DUPLICATE_IDS" - ], - "description": "Indicates if multiple creatives can share an ID or not. Default is\nNO_DUPLICATES (one ID per creative).", - "type": "string" + ] + }, + "accountId": { + "description": "The account that this creative belongs to.\nCan be used to filter the response of the\ncreatives.list\nmethod.", + "required": true, + "type": "string", + "location": "path" } }, "flatPath": "v2beta1/accounts/{accountId}/creatives", @@ -1732,58 +1732,52 @@ } }, "stopWatching": { - "id": "adexchangebuyer2.accounts.creatives.stopWatching", - "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching", - "request": { - "$ref": "StopWatchingCreativeRequest" + "response": { + "$ref": "Empty" }, - "description": "Stops watching a creative. Will stop push notifications being sent to the\ntopics when the creative changes status.", - "httpMethod": "POST", "parameterOrder": [ "accountId", "creativeId" ], - "response": { - "$ref": "Empty" - }, + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "parameters": { "accountId": { + "location": "path", "description": "The account of the creative to stop notifications for.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "creativeId": { + "location": "path", "description": "The creative ID of the creative to stop notifications for.\nSpecify \"-\" to specify stopping account level notifications.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], - "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching" + "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching", + "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching", + "id": "adexchangebuyer2.accounts.creatives.stopWatching", + "description": "Stops watching a creative. Will stop push notifications being sent to the\ntopics when the creative changes status.", + "request": { + "$ref": "StopWatchingCreativeRequest" + } } }, "resources": { "dealAssociations": { "methods": { "list": { - "description": "List all creative-deal associations.", - "response": { - "$ref": "ListDealAssociationsResponse" - }, - "parameterOrder": [ - "accountId", - "creativeId" + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" ], - "httpMethod": "GET", "parameters": { "pageToken": { + "location": "query", "description": "A token identifying a page of results the server should return.\nTypically, this is the value of\nListDealAssociationsResponse.next_page_token\nreturned from the previous call to 'ListDealAssociations' method.", - "type": "string", - "location": "query" + "type": "string" }, "accountId": { "location": "path", @@ -1798,9 +1792,9 @@ "type": "integer" }, "query": { + "type": "string", "location": "query", - "description": "An optional query string to filter deal associations. If no filter is\nspecified, all associations will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsId=\u003ci\u003edeals_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus:{approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus:{approved, conditionally_approved, disapproved,\n not_checked}\n\u003c/ul\u003e\nExample: 'dealsId=12345 AND dealsStatus:disapproved'", - "type": "string" + "description": "An optional query string to filter deal associations. If no filter is\nspecified, all associations will be returned.\nSupported queries are:\n\u003cul\u003e\n\u003cli\u003eaccountId=\u003ci\u003eaccount_id_string\u003c/i\u003e\n\u003cli\u003ecreativeId=\u003ci\u003ecreative_id_string\u003c/i\u003e\n\u003cli\u003edealsId=\u003ci\u003edeals_id_string\u003c/i\u003e\n\u003cli\u003edealsStatus:{approved, conditionally_approved, disapproved,\n not_checked}\n\u003cli\u003eopenAuctionStatus:{approved, conditionally_approved, disapproved,\n not_checked}\n\u003c/ul\u003e\nExample: 'dealsId=12345 AND dealsStatus:disapproved'" }, "creativeId": { "description": "The creative ID to list the associations from.\nSpecify \"-\" to list all creatives under the above account.", @@ -1809,52 +1803,58 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations", "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations", - "id": "adexchangebuyer2.accounts.creatives.dealAssociations.list" - }, - "add": { - "id": "adexchangebuyer2.accounts.creatives.dealAssociations.add", - "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add", - "description": "Associate an existing deal with a creative.", - "request": { - "$ref": "AddDealAssociationRequest" + "id": "adexchangebuyer2.accounts.creatives.dealAssociations.list", + "description": "List all creative-deal associations.", + "response": { + "$ref": "ListDealAssociationsResponse" }, - "httpMethod": "POST", "parameterOrder": [ "accountId", "creativeId" ], + "httpMethod": "GET" + }, + "add": { "response": { "$ref": "Empty" }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" + "parameterOrder": [ + "accountId", + "creativeId" ], + "httpMethod": "POST", "parameters": { - "creativeId": { - "location": "path", - "description": "The ID of the creative associated with the deal.", - "required": true, - "type": "string" - }, "accountId": { "description": "The account the creative belongs to.", "required": true, "type": "string", "location": "path" + }, + "creativeId": { + "description": "The ID of the creative associated with the deal.", + "required": true, + "type": "string", + "location": "path" } }, - "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add" + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], + "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add", + "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add", + "id": "adexchangebuyer2.accounts.creatives.dealAssociations.add", + "request": { + "$ref": "AddDealAssociationRequest" + }, + "description": "Associate an existing deal with a creative." }, "remove": { + "description": "Remove the association between a deal and a creative.", "request": { "$ref": "RemoveDealAssociationRequest" }, - "description": "Remove the association between a deal and a creative.", "response": { "$ref": "Empty" }, @@ -1863,23 +1863,23 @@ "creativeId" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ], "parameters": { - "creativeId": { - "description": "The ID of the creative associated with the deal.", - "required": true, - "type": "string", - "location": "path" - }, "accountId": { "location": "path", "description": "The account the creative belongs to.", "required": true, "type": "string" + }, + "creativeId": { + "description": "The ID of the creative associated with the deal.", + "required": true, + "type": "string", + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/adexchange.buyer" - ], "flatPath": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove", "path": "v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove", "id": "adexchangebuyer2.accounts.creatives.dealAssociations.remove" @@ -1892,37 +1892,16 @@ } }, "parameters": { - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, "upload_protocol": { + "type": "string", "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, "prettyPrint": { - "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true" + "default": "true", + "location": "query" }, "uploadType": { "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", @@ -1930,13 +1909,8 @@ "location": "query" }, "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "callback": { "location": "query", - "description": "JSONP", + "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, "$.xgafv": { @@ -1952,12 +1926,12 @@ "description": "V1 error format.", "type": "string" }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, "alt": { - "enum": [ - "json", - "media", - "proto" - ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -1966,7 +1940,12 @@ ], "location": "query", "description": "Data format for response.", - "default": "json" + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] }, "key": { "location": "query", @@ -1974,18 +1953,39 @@ "type": "string" }, "access_token": { - "location": "query", "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "quotaUser": { + "location": "query", + "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.", "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "oauth_token": { + "type": "string", + "location": "query", + "description": "OAuth 2.0 token for the current user." + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" } }, "version": "v2beta1", "baseUrl": "https://adexchangebuyer.googleapis.com/", - "kind": "discovery#restDescription", "description": "Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.", + "kind": "discovery#restDescription", "servicePath": "", "basePath": "", - "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/", "id": "adexchangebuyer2:v2beta1", - "revision": "20170328" + "revision": "20170329", + "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/" } diff --git a/DiscoveryJson/analyticsreporting_v4.json b/DiscoveryJson/analyticsreporting_v4.json index da102453bb..3afa49260d 100644 --- a/DiscoveryJson/analyticsreporting_v4.json +++ b/DiscoveryJson/analyticsreporting_v4.json @@ -1,17 +1,8 @@ { - "ownerDomain": "google.com", - "name": "analyticsreporting", - "batchPath": "batch", - "title": "Google Analytics Reporting API", - "ownerName": "Google", "resources": { "reports": { "methods": { "batchGet": { - "description": "Returns the Analytics data.", - "request": { - "$ref": "GetReportsRequest" - }, "response": { "$ref": "GetReportsResponse" }, @@ -24,34 +15,56 @@ "parameters": {}, "flatPath": "v4/reports:batchGet", "path": "v4/reports:batchGet", - "id": "analyticsreporting.reports.batchGet" + "id": "analyticsreporting.reports.batchGet", + "description": "Returns the Analytics data.", + "request": { + "$ref": "GetReportsRequest" + } } } } }, "parameters": { + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, "upload_protocol": { "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" }, "prettyPrint": { + "description": "Returns response with indentations and line breaks.", "type": "boolean", "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "location": "query" }, "uploadType": { "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, "$.xgafv": { + "description": "V1 error format.", + "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" @@ -60,17 +73,14 @@ "enum": [ "1", "2" - ], - "description": "V1 error format.", - "type": "string" + ] }, "callback": { + "description": "JSONP", "type": "string", - "location": "query", - "description": "JSONP" + "location": "query" }, "alt": { - "default": "json", "enum": [ "json", "media", @@ -83,7 +93,8 @@ "Responses with Content-Type of application/x-protobuf" ], "location": "query", - "description": "Data format for response." + "description": "Data format for response.", + "default": "json" }, "key": { "location": "query", @@ -96,56 +107,148 @@ "type": "string" }, "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", "type": "string", - "location": "query" - }, - "bearer_token": { "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "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." } }, "version": "v4", "baseUrl": "https://analyticsreporting.googleapis.com/", - "kind": "discovery#restDescription", "description": "Accesses Analytics report data.", "servicePath": "", + "kind": "discovery#restDescription", "basePath": "", - "id": "analyticsreporting:v4", "revision": "20170309", "documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/", + "id": "analyticsreporting:v4", "discoveryVersion": "v1", "version_module": "True", "schemas": { - "CohortGroup": { - "id": "CohortGroup", - "description": "Defines a cohort group.\nFor example:\n\n \"cohortGroup\": {\n \"cohorts\": [{\n \"name\": \"cohort 1\",\n \"type\": \"FIRST_VISIT_DATE\",\n \"dateRange\": { \"startDate\": \"2015-08-01\", \"endDate\": \"2015-08-01\" }\n },{\n \"name\": \"cohort 2\"\n \"type\": \"FIRST_VISIT_DATE\"\n \"dateRange\": { \"startDate\": \"2015-07-01\", \"endDate\": \"2015-07-01\" }\n }]\n }", + "GetReportsResponse": { + "description": "The main response class which holds the reports from the Reporting API\n`batchGet` call.", "type": "object", "properties": { - "lifetimeValue": { - "description": "Enable Life Time Value (LTV). LTV measures lifetime value for users\nacquired through different channels.\nPlease see:\n[Cohort Analysis](https://support.google.com/analytics/answer/6074676) and\n[Lifetime Value](https://support.google.com/analytics/answer/6182550)\nIf the value of lifetimeValue is false:\n\n- The metric values are similar to the values in the web interface cohort\n report.\n- The cohort definition date ranges must be aligned to the calendar week\n and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in\n the cohort definition should be a Sunday and the `endDate` should be the\n following Saturday, and for `ga:cohortNthMonth`, the `startDate`\n should be the 1st of the month and `endDate` should be the last day\n of the month.\n\nWhen the lifetimeValue is true:\n\n- The metric values will correspond to the values in the web interface\n LifeTime value report.\n- The Lifetime Value report shows you how user value (Revenue) and\n engagement (Appviews, Goal Completions, Sessions, and Session Duration)\n grow during the 90 days after a user is acquired.\n- The metrics are calculated as a cumulative average per user per the time\n increment.\n- The cohort definition date ranges need not be aligned to the calendar\n week and month boundaries.\n- The `viewId` must be an\n [app view ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews)", + "reports": { + "description": "Responses corresponding to each of the request.", + "type": "array", + "items": { + "$ref": "Report" + } + } + }, + "id": "GetReportsResponse" + }, + "SequenceSegment": { + "description": "Sequence conditions consist of one or more steps, where each step is defined\nby one or more dimension/metric conditions. Multiple steps can be combined\nwith special sequence operators.", + "type": "object", + "properties": { + "segmentSequenceSteps": { + "description": "The list of steps in the sequence.", + "type": "array", + "items": { + "$ref": "SegmentSequenceStep" + } + }, + "firstStepShouldMatchFirstHit": { + "description": "If set, first step condition must match the first hit of the visitor (in\nthe date range).", "type": "boolean" + } + }, + "id": "SequenceSegment" + }, + "SegmentMetricFilter": { + "description": "Metric filter to be used in a segment filter clause.", + "type": "object", + "properties": { + "metricName": { + "description": "The metric that will be filtered on. A `metricFilter` must contain a\nmetric name.", + "type": "string" + }, + "scope": { + "enumDescriptions": [ + "If the scope is unspecified, it defaults to the condition scope,\n`USER` or `SESSION` depending on if the segment is trying to choose\nusers or sessions.", + "Product scope.", + "Hit scope.", + "Session scope.", + "User scope." + ], + "enum": [ + "UNSPECIFIED_SCOPE", + "PRODUCT", + "HIT", + "SESSION", + "USER" + ], + "description": "Scope for a metric defines the level at which that metric is defined. The\nspecified metric scope must be equal to or greater than its primary scope\nas defined in the data model. The primary scope is defined by if the\nsegment is selecting users or sessions.", + "type": "string" + }, + "maxComparisonValue": { + "description": "Max comparison value is only used for `BETWEEN` operator.", + "type": "string" }, + "comparisonValue": { + "description": "The value to compare against. If the operator is `BETWEEN`, this value is\ntreated as minimum comparison value.", + "type": "string" + }, + "operator": { + "enum": [ + "UNSPECIFIED_OPERATOR", + "LESS_THAN", + "GREATER_THAN", + "EQUAL", + "BETWEEN" + ], + "description": "Specifies is the operation to perform to compare the metric. The default\nis `EQUAL`.", + "type": "string", + "enumDescriptions": [ + "Unspecified operator is treated as `LESS_THAN` operator.", + "Checks if the metric value is less than comparison value.", + "Checks if the metric value is greater than comparison value.", + "Equals operator.", + "For between operator, both the minimum and maximum are exclusive.\nWe will use `LT` and `GT` for comparison." + ] + } + }, + "id": "SegmentMetricFilter" + }, + "DateRangeValues": { + "description": "Used to return a list of metrics for a single DateRange / dimension\ncombination", + "type": "object", + "properties": { + "values": { + "description": "Each value corresponds to each Metric in the request.", + "type": "array", + "items": { + "type": "string" + } + }, + "pivotValueRegions": { + "description": "The values of each pivot region.", + "type": "array", + "items": { + "$ref": "PivotValueRegion" + } + } + }, + "id": "DateRangeValues" + }, + "CohortGroup": { + "properties": { "cohorts": { "description": "The definition for the cohort.", "type": "array", "items": { "$ref": "Cohort" } + }, + "lifetimeValue": { + "description": "Enable Life Time Value (LTV). LTV measures lifetime value for users\nacquired through different channels.\nPlease see:\n[Cohort Analysis](https://support.google.com/analytics/answer/6074676) and\n[Lifetime Value](https://support.google.com/analytics/answer/6182550)\nIf the value of lifetimeValue is false:\n\n- The metric values are similar to the values in the web interface cohort\n report.\n- The cohort definition date ranges must be aligned to the calendar week\n and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in\n the cohort definition should be a Sunday and the `endDate` should be the\n following Saturday, and for `ga:cohortNthMonth`, the `startDate`\n should be the 1st of the month and `endDate` should be the last day\n of the month.\n\nWhen the lifetimeValue is true:\n\n- The metric values will correspond to the values in the web interface\n LifeTime value report.\n- The Lifetime Value report shows you how user value (Revenue) and\n engagement (Appviews, Goal Completions, Sessions, and Session Duration)\n grow during the 90 days after a user is acquired.\n- The metrics are calculated as a cumulative average per user per the time\n increment.\n- The cohort definition date ranges need not be aligned to the calendar\n week and month boundaries.\n- The `viewId` must be an\n [app view ID](https://support.google.com/analytics/answer/2649553#WebVersusAppViews)", + "type": "boolean" } - } + }, + "id": "CohortGroup", + "description": "Defines a cohort group.\nFor example:\n\n \"cohortGroup\": {\n \"cohorts\": [{\n \"name\": \"cohort 1\",\n \"type\": \"FIRST_VISIT_DATE\",\n \"dateRange\": { \"startDate\": \"2015-08-01\", \"endDate\": \"2015-08-01\" }\n },{\n \"name\": \"cohort 2\"\n \"type\": \"FIRST_VISIT_DATE\"\n \"dateRange\": { \"startDate\": \"2015-07-01\", \"endDate\": \"2015-07-01\" }\n }]\n }", + "type": "object" }, "GetReportsRequest": { "description": "The batch request containing multiple report request.", @@ -162,17 +265,9 @@ "id": "GetReportsRequest" }, "Pivot": { - "id": "Pivot", "description": "The Pivot describes the pivot section in the request.\nThe Pivot helps rearrange the information in the table for certain reports\nby pivoting your data on a second dimension.", "type": "object", "properties": { - "metrics": { - "description": "The pivot metrics. Pivot metrics are part of the\nrestriction on total number of metrics allowed in the request.", - "type": "array", - "items": { - "$ref": "Metric" - } - }, "dimensions": { "description": "A list of dimensions to show as pivot columns. A Pivot can have a maximum\nof 4 dimensions. Pivot dimensions are part of the restriction on the\ntotal number of dimensions allowed in the request.", "type": "array", @@ -196,19 +291,27 @@ "description": "If k metrics were requested, then the response will contain some\ndata-dependent multiple of k columns in the report. E.g., if you pivoted\non the dimension `ga:browser` then you'd get k columns for \"Firefox\", k\ncolumns for \"IE\", k columns for \"Chrome\", etc. The ordering of the groups\nof columns is determined by descending order of \"total\" for the first of\nthe k values. Ties are broken by lexicographic ordering of the first\npivot dimension, then lexicographic ordering of the second pivot\ndimension, and so on. E.g., if the totals for the first value for\nFirefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns\nwould be Chrome, Firefox, IE.\n\nThe following let you choose which of the groups of k columns are\nincluded in the response.", "format": "int32", "type": "integer" + }, + "metrics": { + "type": "array", + "items": { + "$ref": "Metric" + }, + "description": "The pivot metrics. Pivot metrics are part of the\nrestriction on total number of metrics allowed in the request." } - } + }, + "id": "Pivot" }, "PivotHeaderEntry": { "description": "The headers for the each of the metric column corresponding to the metrics\nrequested in the pivots section of the response.", "type": "object", "properties": { "dimensionNames": { + "description": "The name of the dimensions in the pivot response.", "type": "array", "items": { "type": "string" - }, - "description": "The name of the dimensions in the pivot response." + } }, "metric": { "$ref": "MetricHeaderEntry", @@ -225,23 +328,23 @@ "id": "PivotHeaderEntry" }, "SegmentFilter": { - "description": "SegmentFilter defines the segment to be either a simple or a sequence\nsegment. A simple segment condition contains dimension and metric conditions\nto select the sessions or users. A sequence segment condition can be used to\nselect users or sessions based on sequential conditions.", "type": "object", "properties": { - "simpleSegment": { - "$ref": "SimpleSegment", - "description": "A Simple segment conditions consist of one or more dimension/metric\nconditions that can be combined" - }, "sequenceSegment": { - "description": "Sequence conditions consist of one or more steps, where each step is\ndefined by one or more dimension/metric conditions. Multiple steps can\nbe combined with special sequence operators.", - "$ref": "SequenceSegment" + "$ref": "SequenceSegment", + "description": "Sequence conditions consist of one or more steps, where each step is\ndefined by one or more dimension/metric conditions. Multiple steps can\nbe combined with special sequence operators." }, "not": { "description": "If true, match the complement of simple or sequence segment.\nFor example, to match all visits not from \"New York\", we can define the\nsegment as follows:\n\n \"sessionSegment\": {\n \"segmentFilters\": [{\n \"simpleSegment\" :{\n \"orFiltersForSegment\": [{\n \"segmentFilterClauses\":[{\n \"dimensionFilter\": {\n \"dimensionName\": \"ga:city\",\n \"expressions\": [\"New York\"]\n }\n }]\n }]\n },\n \"not\": \"True\"\n }]\n },", "type": "boolean" + }, + "simpleSegment": { + "$ref": "SimpleSegment", + "description": "A Simple segment conditions consist of one or more dimension/metric\nconditions that can be combined" } }, - "id": "SegmentFilter" + "id": "SegmentFilter", + "description": "SegmentFilter defines the segment to be either a simple or a sequence\nsegment. A simple segment condition contains dimension and metric conditions\nto select the sessions or users. A sequence segment condition can be used to\nselect users or sessions based on sequential conditions." }, "SegmentDefinition": { "description": "SegmentDefinition defines the segment to be a set of SegmentFilters which\nare combined together with a logical `AND` operation.", @@ -258,16 +361,11 @@ "id": "SegmentDefinition" }, "MetricHeaderEntry": { + "id": "MetricHeaderEntry", + "description": "Header for the metrics.", + "type": "object", "properties": { "type": { - "enumDescriptions": [ - "Metric type is unspecified.", - "Integer metric.", - "Float metric.", - "Currency metric.", - "Percentage metric.", - "Time metric in `HH:MM:SS` format." - ], "enum": [ "METRIC_TYPE_UNSPECIFIED", "INTEGER", @@ -277,96 +375,110 @@ "TIME" ], "description": "The type of the metric, for example `INTEGER`.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Metric type is unspecified.", + "Integer metric.", + "Float metric.", + "Currency metric.", + "Percentage metric.", + "Time metric in `HH:MM:SS` format." + ] }, "name": { "description": "The name of the header.", "type": "string" } - }, - "id": "MetricHeaderEntry", - "description": "Header for the metrics.", - "type": "object" + } }, "ReportData": { + "description": "The data part of the report.", "type": "object", "properties": { - "minimums": { - "description": "Minimum and maximum values seen over all matching rows. These are both\nempty when `hideValueRanges` in the request is false, or when\nrowCount is zero.", + "isDataGolden": { + "description": "Indicates if response to this request is golden or not. Data is\ngolden when the exact same request will not produce any new results if\nasked at a later point in time.", + "type": "boolean" + }, + "rows": { + "description": "There's one ReportRow for every unique combination of dimensions.", "type": "array", "items": { - "$ref": "DateRangeValues" + "$ref": "ReportRow" } }, - "samplingSpaceSizes": { - "description": "If the results are\n[sampled](https://support.google.com/analytics/answer/2637192),\nthis returns the total number of\nsamples present, one entry per date range. If the results are not sampled\nthis field will not be defined. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\nfor details.", + "rowCount": { + "type": "integer", + "description": "Total number of matching rows for this query.", + "format": "int32" + }, + "dataLastRefreshed": { + "type": "string", + "description": "The last time the data in the report was refreshed. All the hits received\nbefore this timestamp are included in the calculation of the report.", + "format": "google-datetime" + }, + "maximums": { + "description": "Minimum and maximum values seen over all matching rows. These are both\nempty when `hideValueRanges` in the request is false, or when\nrowCount is zero.", "type": "array", "items": { - "format": "int64", - "type": "string" + "$ref": "DateRangeValues" } }, - "totals": { - "description": "For each requested date range, for the set of all rows that match\nthe query, every requested value format gets a total. The total\nfor a value format is computed by first totaling the metrics\nmentioned in the value format and then evaluating the value\nformat as a scalar expression. E.g., The \"totals\" for\n`3 / (ga:sessions + 2)` we compute\n`3 / ((sum of all relevant ga:sessions) + 2)`.\nTotals are computed before pagination.", + "minimums": { + "description": "Minimum and maximum values seen over all matching rows. These are both\nempty when `hideValueRanges` in the request is false, or when\nrowCount is zero.", "type": "array", "items": { "$ref": "DateRangeValues" } }, - "samplesReadCounts": { - "description": "If the results are\n[sampled](https://support.google.com/analytics/answer/2637192),\nthis returns the total number of samples read, one entry per date range.\nIf the results are not sampled this field will not be defined. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\nfor details.", + "samplingSpaceSizes": { + "description": "If the results are\n[sampled](https://support.google.com/analytics/answer/2637192),\nthis returns the total number of\nsamples present, one entry per date range. If the results are not sampled\nthis field will not be defined. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\nfor details.", "type": "array", "items": { "format": "int64", "type": "string" } }, - "isDataGolden": { - "description": "Indicates if response to this request is golden or not. Data is\ngolden when the exact same request will not produce any new results if\nasked at a later point in time.", - "type": "boolean" - }, - "rows": { - "description": "There's one ReportRow for every unique combination of dimensions.", + "totals": { + "description": "For each requested date range, for the set of all rows that match\nthe query, every requested value format gets a total. The total\nfor a value format is computed by first totaling the metrics\nmentioned in the value format and then evaluating the value\nformat as a scalar expression. E.g., The \"totals\" for\n`3 / (ga:sessions + 2)` we compute\n`3 / ((sum of all relevant ga:sessions) + 2)`.\nTotals are computed before pagination.", "type": "array", "items": { - "$ref": "ReportRow" + "$ref": "DateRangeValues" } }, - "rowCount": { - "description": "Total number of matching rows for this query.", - "format": "int32", - "type": "integer" - }, - "dataLastRefreshed": { - "description": "The last time the data in the report was refreshed. All the hits received\nbefore this timestamp are included in the calculation of the report.", - "format": "google-datetime", - "type": "string" - }, - "maximums": { - "description": "Minimum and maximum values seen over all matching rows. These are both\nempty when `hideValueRanges` in the request is false, or when\nrowCount is zero.", + "samplesReadCounts": { + "description": "If the results are\n[sampled](https://support.google.com/analytics/answer/2637192),\nthis returns the total number of samples read, one entry per date range.\nIf the results are not sampled this field will not be defined. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\nfor details.", "type": "array", "items": { - "$ref": "DateRangeValues" + "type": "string", + "format": "int64" } } }, - "id": "ReportData", - "description": "The data part of the report." + "id": "ReportData" }, "DimensionFilter": { - "id": "DimensionFilter", "description": "Dimension filter specifies the filtering options on a dimension.", "type": "object", "properties": { - "caseSensitive": { - "description": "Should the match be case sensitive? Default is false.", - "type": "boolean" - }, "dimensionName": { - "description": "The dimension to filter on. A DimensionFilter must contain a dimension.", - "type": "string" + "type": "string", + "description": "The dimension to filter on. A DimensionFilter must contain a dimension." }, "operator": { + "enum": [ + "OPERATOR_UNSPECIFIED", + "REGEXP", + "BEGINS_WITH", + "ENDS_WITH", + "PARTIAL", + "EXACT", + "NUMERIC_EQUAL", + "NUMERIC_GREATER_THAN", + "NUMERIC_LESS_THAN", + "IN_LIST" + ], + "description": "How to match the dimension to the expression. The default is REGEXP.", + "type": "string", "enumDescriptions": [ "If the match type is unspecified, it is treated as a `REGEXP`.", "The match expression is treated as a regular expression. All match types\nare not treated as regular expressions.", @@ -378,6 +490,46 @@ "Checks if the dimension is numerically greater than the match\nexpression. Read the description for `NUMERIC_EQUALS` for restrictions.", "Checks if the dimension is numerically less than the match expression.\nRead the description for `NUMERIC_EQUALS` for restrictions.", "This option is used to specify a dimension filter whose expression can\ntake any value from a selected list of values. This helps avoiding\nevaluating multiple exact match dimension filters which are OR'ed for\nevery single response row. For example:\n\n expressions: [\"A\", \"B\", \"C\"]\n\nAny response row whose dimension has it is value as A, B or C, matches\nthis DimensionFilter." + ] + }, + "not": { + "type": "boolean", + "description": "Logical `NOT` operator. If this boolean is set to true, then the matching\ndimension values will be excluded in the report. The default is false." + }, + "expressions": { + "description": "Strings or regular expression to match against. Only the first value of\nthe list is used for comparison unless the operator is `IN_LIST`.\nIf `IN_LIST` operator, then the entire list is used to filter the\ndimensions as explained in the description of the `IN_LIST` operator.", + "type": "array", + "items": { + "type": "string" + } + }, + "caseSensitive": { + "description": "Should the match be case sensitive? Default is false.", + "type": "boolean" + } + }, + "id": "DimensionFilter" + }, + "SegmentDimensionFilter": { + "description": "Dimension filter specifies the filtering options on a dimension.", + "type": "object", + "properties": { + "maxComparisonValue": { + "description": "Maximum comparison values for `BETWEEN` match type.", + "type": "string" + }, + "operator": { + "enumDescriptions": [ + "If the match type is unspecified, it is treated as a REGEXP.", + "The match expression is treated as a regular expression. All other match\ntypes are not treated as regular expressions.", + "Matches the values which begin with the match expression provided.", + "Matches the values which end with the match expression provided.", + "Substring match.", + "The value should match the match expression entirely.", + "This option is used to specify a dimension filter whose expression can\ntake any value from a selected list of values. This helps avoiding\nevaluating multiple exact match dimension filters which are OR'ed for\nevery single response row. For example:\n\n expressions: [\"A\", \"B\", \"C\"]\n\nAny response row whose dimension has it is value as A, B or C, matches\nthis DimensionFilter.", + "Integer comparison filters.\ncase sensitivity is ignored for these and the expression\nis assumed to be a string representing an integer.\nFailure conditions:\n\n- if expression is not a valid int64, the client should expect\n an error.\n- input dimensions that are not valid int64 values will never match the\n filter.\n\nChecks if the dimension is numerically less than the match expression.", + "Checks if the dimension is numerically greater than the match\nexpression.", + "Checks if the dimension is numerically between the minimum and maximum\nof the match expression, boundaries excluded." ], "enum": [ "OPERATOR_UNSPECIFIED", @@ -386,48 +538,39 @@ "ENDS_WITH", "PARTIAL", "EXACT", - "NUMERIC_EQUAL", - "NUMERIC_GREATER_THAN", + "IN_LIST", "NUMERIC_LESS_THAN", - "IN_LIST" + "NUMERIC_GREATER_THAN", + "NUMERIC_BETWEEN" ], - "description": "How to match the dimension to the expression. The default is REGEXP.", + "description": "The operator to use to match the dimension with the expressions.", "type": "string" }, - "not": { - "description": "Logical `NOT` operator. If this boolean is set to true, then the matching\ndimension values will be excluded in the report. The default is false.", - "type": "boolean" + "dimensionName": { + "description": "Name of the dimension for which the filter is being applied.", + "type": "string" }, "expressions": { - "description": "Strings or regular expression to match against. Only the first value of\nthe list is used for comparison unless the operator is `IN_LIST`.\nIf `IN_LIST` operator, then the entire list is used to filter the\ndimensions as explained in the description of the `IN_LIST` operator.", + "description": "The list of expressions, only the first element is used for all operators", "type": "array", "items": { "type": "string" } - } - } - }, - "Segment": { - "description": "The segment definition, if the report needs to be segmented.\nA Segment is a subset of the Analytics data. For example, of the entire\nset of users, one Segment might be users from a particular country or city.", - "type": "object", - "properties": { - "segmentId": { - "description": "The segment ID of a built-in or custom segment, for example `gaid::-3`.", - "type": "string" }, - "dynamicSegment": { - "$ref": "DynamicSegment", - "description": "A dynamic segment definition in the request." + "caseSensitive": { + "description": "Should the match be case sensitive, ignored for `IN_LIST` operator.", + "type": "boolean" + }, + "minComparisonValue": { + "description": "Minimum comparison values for `BETWEEN` match type.", + "type": "string" } }, - "id": "Segment" + "id": "SegmentDimensionFilter" }, "OrderBy": { - "description": "Specifies the sorting options.", - "type": "object", "properties": { "sortOrder": { - "type": "string", "enumDescriptions": [ "If the sort order is unspecified, the default is ascending.", "Ascending sort. The field will be sorted in an ascending manner.", @@ -438,7 +581,8 @@ "ASCENDING", "DESCENDING" ], - "description": "The sorting order for the field." + "description": "The sorting order for the field.", + "type": "string" }, "fieldName": { "description": "The field which to sort by. The default sort order is ascending. Example:\n`ga:browser`.\nNote, that you can only specify one field for sort here. For example,\n`ga:browser, ga:city` is not valid.", @@ -465,67 +609,27 @@ ] } }, - "id": "OrderBy" + "id": "OrderBy", + "description": "Specifies the sorting options.", + "type": "object" }, - "SegmentDimensionFilter": { - "description": "Dimension filter specifies the filtering options on a dimension.", + "Segment": { + "id": "Segment", + "description": "The segment definition, if the report needs to be segmented.\nA Segment is a subset of the Analytics data. For example, of the entire\nset of users, one Segment might be users from a particular country or city.", "type": "object", "properties": { - "minComparisonValue": { - "description": "Minimum comparison values for `BETWEEN` match type.", - "type": "string" - }, - "maxComparisonValue": { - "description": "Maximum comparison values for `BETWEEN` match type.", - "type": "string" - }, - "dimensionName": { - "description": "Name of the dimension for which the filter is being applied.", - "type": "string" + "dynamicSegment": { + "description": "A dynamic segment definition in the request.", + "$ref": "DynamicSegment" }, - "operator": { - "enum": [ - "OPERATOR_UNSPECIFIED", - "REGEXP", - "BEGINS_WITH", - "ENDS_WITH", - "PARTIAL", - "EXACT", - "IN_LIST", - "NUMERIC_LESS_THAN", - "NUMERIC_GREATER_THAN", - "NUMERIC_BETWEEN" - ], - "description": "The operator to use to match the dimension with the expressions.", + "segmentId": { "type": "string", - "enumDescriptions": [ - "If the match type is unspecified, it is treated as a REGEXP.", - "The match expression is treated as a regular expression. All other match\ntypes are not treated as regular expressions.", - "Matches the values which begin with the match expression provided.", - "Matches the values which end with the match expression provided.", - "Substring match.", - "The value should match the match expression entirely.", - "This option is used to specify a dimension filter whose expression can\ntake any value from a selected list of values. This helps avoiding\nevaluating multiple exact match dimension filters which are OR'ed for\nevery single response row. For example:\n\n expressions: [\"A\", \"B\", \"C\"]\n\nAny response row whose dimension has it is value as A, B or C, matches\nthis DimensionFilter.", - "Integer comparison filters.\ncase sensitivity is ignored for these and the expression\nis assumed to be a string representing an integer.\nFailure conditions:\n\n- if expression is not a valid int64, the client should expect\n an error.\n- input dimensions that are not valid int64 values will never match the\n filter.\n\nChecks if the dimension is numerically less than the match expression.", - "Checks if the dimension is numerically greater than the match\nexpression.", - "Checks if the dimension is numerically between the minimum and maximum\nof the match expression, boundaries excluded." - ] - }, - "expressions": { - "description": "The list of expressions, only the first element is used for all operators", - "type": "array", - "items": { - "type": "string" - } - }, - "caseSensitive": { - "description": "Should the match be case sensitive, ignored for `IN_LIST` operator.", - "type": "boolean" + "description": "The segment ID of a built-in or custom segment, for example `gaid::-3`." } - }, - "id": "SegmentDimensionFilter" + } }, "SegmentSequenceStep": { + "description": "A segment sequence definition.", "type": "object", "properties": { "orFiltersForSegment": { @@ -536,27 +640,29 @@ } }, "matchType": { + "enum": [ + "UNSPECIFIED_MATCH_TYPE", + "PRECEDES", + "IMMEDIATELY_PRECEDES" + ], "description": "Specifies if the step immediately precedes or can be any time before the\nnext step.", "type": "string", "enumDescriptions": [ "Unspecified match type is treated as precedes.", "Operator indicates that the previous step precedes the next step.", "Operator indicates that the previous step immediately precedes the next\nstep." - ], - "enum": [ - "UNSPECIFIED_MATCH_TYPE", - "PRECEDES", - "IMMEDIATELY_PRECEDES" ] } }, - "id": "SegmentSequenceStep", - "description": "A segment sequence definition." + "id": "SegmentSequenceStep" }, "Metric": { - "description": "[Metrics](https://support.google.com/analytics/answer/1033861)\nare the quantitative measurements. For example, the metric `ga:users`\nindicates the total number of users for the requested time period.", "type": "object", "properties": { + "alias": { + "description": "An alias for the metric expression is an alternate name for the\nexpression. The alias can be used for filtering and sorting. This field\nis optional and is useful if the expression is not a single metric but\na complex expression which cannot be used in filtering and sorting.\nThe alias is also used in the response column header.", + "type": "string" + }, "expression": { "description": "A metric expression in the request. An expression is constructed from one\nor more metrics and numbers. Accepted operators include: Plus (+), Minus\n(-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis,\nPositive cardinal numbers (0-9), can include decimals and is limited to\n1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the\nmetric expression is just a single metric name like `ga:users`.\nAdding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics\nwill result in unexpected results.", "type": "string" @@ -580,16 +686,12 @@ "PERCENT", "TIME" ] - }, - "alias": { - "description": "An alias for the metric expression is an alternate name for the\nexpression. The alias can be used for filtering and sorting. This field\nis optional and is useful if the expression is not a single metric but\na complex expression which cannot be used in filtering and sorting.\nThe alias is also used in the response column header.", - "type": "string" } }, - "id": "Metric" + "id": "Metric", + "description": "[Metrics](https://support.google.com/analytics/answer/1033861)\nare the quantitative measurements. For example, the metric `ga:users`\nindicates the total number of users for the requested time period." }, "PivotValueRegion": { - "id": "PivotValueRegion", "description": "The metric values in the pivot region.", "type": "object", "properties": { @@ -600,26 +702,27 @@ "type": "string" } } - } + }, + "id": "PivotValueRegion" }, "Report": { + "description": "The data response corresponding to the request.", "type": "object", "properties": { - "columnHeader": { - "description": "The column headers.", - "$ref": "ColumnHeader" - }, "data": { - "$ref": "ReportData", - "description": "Response data." + "description": "Response data.", + "$ref": "ReportData" }, "nextPageToken": { "description": "Page token to retrieve the next page of results in the list.", "type": "string" + }, + "columnHeader": { + "description": "The column headers.", + "$ref": "ColumnHeader" } }, - "id": "Report", - "description": "The data response corresponding to the request." + "id": "Report" }, "PivotHeader": { "description": "The headers for each of the pivot sections defined in the request.", @@ -633,70 +736,49 @@ } }, "totalPivotGroupsCount": { + "type": "integer", "description": "The total number of groups for this pivot.", - "format": "int32", - "type": "integer" + "format": "int32" } }, "id": "PivotHeader" }, "DateRange": { - "description": "A contiguous set of days: startDate, startDate + 1 day, ..., endDate.\nThe start and end dates are specified in\n[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.", "type": "object", "properties": { "startDate": { - "description": "The start date for the query in the format `YYYY-MM-DD`.", - "type": "string" + "type": "string", + "description": "The start date for the query in the format `YYYY-MM-DD`." }, "endDate": { "description": "The end date for the query in the format `YYYY-MM-DD`.", "type": "string" } }, - "id": "DateRange" + "id": "DateRange", + "description": "A contiguous set of days: startDate, startDate + 1 day, ..., endDate.\nThe start and end dates are specified in\n[ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`." }, - "MetricFilter": { - "description": "MetricFilter specifies the filter on a metric.", + "ReportRequest": { "type": "object", "properties": { - "metricName": { - "description": "The metric that will be filtered on. A metricFilter must contain a metric\nname. A metric name can be an alias earlier defined as a metric or it can\nalso be a metric expression.", - "type": "string" - }, - "comparisonValue": { - "description": "The value to compare against.", - "type": "string" + "dimensions": { + "description": "The dimensions requested.\nRequests can have a total of 7 dimensions.", + "type": "array", + "items": { + "$ref": "Dimension" + } }, - "operator": { - "enum": [ - "OPERATOR_UNSPECIFIED", - "EQUAL", - "LESS_THAN", - "GREATER_THAN", - "IS_MISSING" - ], - "description": "Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the\ncomparisonValue, the default is `EQUAL`. If the operator is\n`IS_MISSING`, checks if the metric is missing and would ignore the\ncomparisonValue.", - "type": "string", - "enumDescriptions": [ - "If the operator is not specified, it is treated as `EQUAL`.", - "Should the value of the metric be exactly equal to the comparison value.", - "Should the value of the metric be less than to the comparison value.", - "Should the value of the metric be greater than to the comparison value.", - "Validates if the metric is missing.\nDoesn't take comparisonValue into account." - ] + "dateRanges": { + "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric values for each\ncombination of the dimensions for each date range in the request. So, if\nthere are two date ranges, there will be two set of metric values, one for\nthe original date range and one for the second date range.\nThe `reportRequest.dateRanges` field should not be specified for cohorts\nor Lifetime value requests.\nIf a date range is not provided, the default date range is (startDate:\ncurrent date - 7 days, endDate: current date - 1 day). Every\n[ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `dateRanges` definition.", + "type": "array", + "items": { + "$ref": "DateRange" + } + }, + "pageToken": { + "description": "A continuation token to get the next page of the results. Adding this to\nthe request will return the rows after the pageToken. The pageToken should\nbe the value returned in the nextPageToken parameter in the response to\nthe GetReports request.", + "type": "string" }, - "not": { - "description": "Logical `NOT` operator. If this boolean is set to true, then the matching\nmetric values will be excluded in the report. The default is false.", - "type": "boolean" - } - }, - "id": "MetricFilter" - }, - "ReportRequest": { - "id": "ReportRequest", - "description": "The main request class which specifies the Reporting API request.", - "type": "object", - "properties": { "pivots": { "description": "The pivot definitions. Requests can have a maximum of 2 pivots.", "type": "array", @@ -716,26 +798,26 @@ } }, "pageSize": { - "type": "integer", "description": "Page size is for paging and specifies the maximum number of returned rows.\nPage size should be \u003e= 0. A query returns the default of 1,000 rows.\nThe Analytics Core Reporting API returns a maximum of 10,000 rows per\nrequest, no matter how many you ask for. It can also return fewer rows\nthan requested, if there aren't as many dimension segments as you expect.\nFor instance, there are fewer than 300 possible values for `ga:country`,\nso when segmenting only by country, you can't get more than 300 rows,\neven if you set `pageSize` to a higher value.", - "format": "int32" + "format": "int32", + "type": "integer" + }, + "hideValueRanges": { + "type": "boolean", + "description": "If set to true, hides the minimum and maximum across all matching rows.\nThe default is false and the value ranges are returned." }, "hideTotals": { "description": "If set to true, hides the total of all metrics for all the matching rows,\nfor every date range. The default false and will return the totals.", "type": "boolean" }, - "hideValueRanges": { - "description": "If set to true, hides the minimum and maximum across all matching rows.\nThe default is false and the value ranges are returned.", - "type": "boolean" + "filtersExpression": { + "description": "Dimension or metric filters that restrict the data returned for your\nrequest. To use the `filtersExpression`, supply a dimension or metric on\nwhich to filter, followed by the filter expression. For example, the\nfollowing expression selects `ga:browser` dimension which starts with\nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).", + "type": "string" }, "cohortGroup": { "$ref": "CohortGroup", "description": "Cohort group associated with this request. If there is a cohort group\nin the request the `ga:cohort` dimension must be present.\nEvery [ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `cohortGroup` definition." }, - "filtersExpression": { - "description": "Dimension or metric filters that restrict the data returned for your\nrequest. To use the `filtersExpression`, supply a dimension or metric on\nwhich to filter, followed by the filter expression. For example, the\nfollowing expression selects `ga:browser` dimension which starts with\nFirefox; `ga:browser=~^Firefox`. For more information on dimensions\nand metric filters, see\n[Filters reference](https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters).", - "type": "string" - }, "viewId": { "description": "The Analytics\n[view ID](https://support.google.com/analytics/answer/1009618)\nfrom which to retrieve data. Every [ReportRequest](#ReportRequest)\nwithin a `batchGet` method must contain the same `viewId`.", "type": "string" @@ -762,14 +844,13 @@ } }, "segments": { - "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request can contain up to four\nsegments. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `segments` definition. Requests\nwith segments must have the `ga:segment` dimension.", "type": "array", "items": { "$ref": "Segment" - } + }, + "description": "Segment the data returned for the request. A segment definition helps look\nat a subset of the segment request. A request can contain up to four\nsegments. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `segments` definition. Requests\nwith segments must have the `ga:segment` dimension." }, "samplingLevel": { - "description": "The desired report\n[sample](https://support.google.com/analytics/answer/2637192) size.\nIf the the `samplingLevel` field is unspecified the `DEFAULT` sampling\nlevel is used. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `samplingLevel` definition. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\n for details.", "type": "string", "enumDescriptions": [ "If the `samplingLevel` field is unspecified the `DEFAULT` sampling level\nis used.", @@ -782,27 +863,49 @@ "DEFAULT", "SMALL", "LARGE" - ] + ], + "description": "The desired report\n[sample](https://support.google.com/analytics/answer/2637192) size.\nIf the the `samplingLevel` field is unspecified the `DEFAULT` sampling\nlevel is used. Every [ReportRequest](#ReportRequest) within a\n`batchGet` method must contain the same `samplingLevel` definition. See\n[developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)\n for details." + } + }, + "id": "ReportRequest", + "description": "The main request class which specifies the Reporting API request." + }, + "MetricFilter": { + "type": "object", + "properties": { + "operator": { + "type": "string", + "enumDescriptions": [ + "If the operator is not specified, it is treated as `EQUAL`.", + "Should the value of the metric be exactly equal to the comparison value.", + "Should the value of the metric be less than to the comparison value.", + "Should the value of the metric be greater than to the comparison value.", + "Validates if the metric is missing.\nDoesn't take comparisonValue into account." + ], + "enum": [ + "OPERATOR_UNSPECIFIED", + "EQUAL", + "LESS_THAN", + "GREATER_THAN", + "IS_MISSING" + ], + "description": "Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the\ncomparisonValue, the default is `EQUAL`. If the operator is\n`IS_MISSING`, checks if the metric is missing and would ignore the\ncomparisonValue." }, - "dimensions": { - "description": "The dimensions requested.\nRequests can have a total of 7 dimensions.", - "type": "array", - "items": { - "$ref": "Dimension" - } + "not": { + "description": "Logical `NOT` operator. If this boolean is set to true, then the matching\nmetric values will be excluded in the report. The default is false.", + "type": "boolean" }, - "pageToken": { - "description": "A continuation token to get the next page of the results. Adding this to\nthe request will return the rows after the pageToken. The pageToken should\nbe the value returned in the nextPageToken parameter in the response to\nthe GetReports request.", + "metricName": { + "description": "The metric that will be filtered on. A metricFilter must contain a metric\nname. A metric name can be an alias earlier defined as a metric or it can\nalso be a metric expression.", "type": "string" }, - "dateRanges": { - "description": "Date ranges in the request. The request can have a maximum of 2 date\nranges. The response will contain a set of metric values for each\ncombination of the dimensions for each date range in the request. So, if\nthere are two date ranges, there will be two set of metric values, one for\nthe original date range and one for the second date range.\nThe `reportRequest.dateRanges` field should not be specified for cohorts\nor Lifetime value requests.\nIf a date range is not provided, the default date range is (startDate:\ncurrent date - 7 days, endDate: current date - 1 day). Every\n[ReportRequest](#ReportRequest) within a `batchGet` method must\ncontain the same `dateRanges` definition.", - "type": "array", - "items": { - "$ref": "DateRange" - } + "comparisonValue": { + "description": "The value to compare against.", + "type": "string" } - } + }, + "id": "MetricFilter", + "description": "MetricFilter specifies the filter on a metric." }, "Dimension": { "description": "[Dimensions](https://support.google.com/analytics/answer/1033861)\nare attributes of your data. For example, the dimension `ga:city`\nindicates the city, for example, \"Paris\" or \"New York\", from which\na session originates.", @@ -817,30 +920,20 @@ } }, "name": { - "description": "Name of the dimension to fetch, for example `ga:browser`.", - "type": "string" + "type": "string", + "description": "Name of the dimension to fetch, for example `ga:browser`." } }, "id": "Dimension" }, - "SimpleSegment": { - "type": "object", - "properties": { - "orFiltersForSegment": { - "description": "A list of segment filters groups which are combined with logical `AND`\noperator.", - "type": "array", - "items": { - "$ref": "OrFiltersForSegment" - } - } - }, - "id": "SimpleSegment", - "description": "A Simple segment conditions consist of one or more dimension/metric\nconditions that can be combined." - }, "DynamicSegment": { "description": "Dynamic segment definition for defining the segment within the request.\nA segment can select users, sessions or both.", "type": "object", "properties": { + "sessionSegment": { + "$ref": "SegmentDefinition", + "description": "Session Segment to select sessions to include in the segment." + }, "name": { "description": "The name of the dynamic segment.", "type": "string" @@ -848,39 +941,49 @@ "userSegment": { "$ref": "SegmentDefinition", "description": "User Segment to select users to include in the segment." - }, - "sessionSegment": { - "$ref": "SegmentDefinition", - "description": "Session Segment to select sessions to include in the segment." } }, "id": "DynamicSegment" }, + "SimpleSegment": { + "description": "A Simple segment conditions consist of one or more dimension/metric\nconditions that can be combined.", + "type": "object", + "properties": { + "orFiltersForSegment": { + "description": "A list of segment filters groups which are combined with logical `AND`\noperator.", + "type": "array", + "items": { + "$ref": "OrFiltersForSegment" + } + } + }, + "id": "SimpleSegment" + }, "ColumnHeader": { - "description": "Column headers.", "type": "object", "properties": { + "metricHeader": { + "description": "Metric headers for the metrics in the response.", + "$ref": "MetricHeader" + }, "dimensions": { "description": "The dimension names in the response.", "type": "array", "items": { "type": "string" } - }, - "metricHeader": { - "description": "Metric headers for the metrics in the response.", - "$ref": "MetricHeader" } }, - "id": "ColumnHeader" + "id": "ColumnHeader", + "description": "Column headers." }, "SegmentFilterClause": { "description": "Filter Clause to be used in a segment definition, can be wither a metric or\na dimension filter.", "type": "object", "properties": { "metricFilter": { - "description": "Metric Filter for the segment definition.", - "$ref": "SegmentMetricFilter" + "$ref": "SegmentMetricFilter", + "description": "Metric Filter for the segment definition." }, "not": { "description": "Matches the complement (`!`) of the filter.", @@ -918,34 +1021,34 @@ "description": "Defines a cohort. A cohort is a group of users who share a common\ncharacteristic. For example, all users with the same acquisition date\nbelong to the same cohort.", "type": "object", "properties": { - "name": { - "type": "string", - "description": "A unique name for the cohort. If not defined name will be auto-generated\nwith values cohort_[1234...]." - }, - "dateRange": { - "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users\nwhose first visit date is between start date and end date defined in the\nDateRange. The date ranges should be aligned for cohort requests. If the\nrequest contains `ga:cohortNthDay` it should be exactly one day long,\nif `ga:cohortNthWeek` it should be aligned to the week boundary (starting\nat Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range\nshould be aligned to the month (starting at the first and ending on the\nlast day of the month).\nFor LTV requests there are no such restrictions.\nYou do not need to supply a date range for the\n`reportsRequest.dateRanges` field.", - "$ref": "DateRange" - }, "type": { - "enum": [ - "UNSPECIFIED_COHORT_TYPE", - "FIRST_VISIT_DATE" - ], "description": "Type of the cohort. The only supported type as of now is\n`FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated\nas `FIRST_VISIT_DATE` type cohort.", "type": "string", "enumDescriptions": [ "If unspecified it's treated as `FIRST_VISIT_DATE`.", "Cohorts that are selected based on first visit date." + ], + "enum": [ + "UNSPECIFIED_COHORT_TYPE", + "FIRST_VISIT_DATE" ] + }, + "name": { + "description": "A unique name for the cohort. If not defined name will be auto-generated\nwith values cohort_[1234...].", + "type": "string" + }, + "dateRange": { + "$ref": "DateRange", + "description": "This is used for `FIRST_VISIT_DATE` cohort, the cohort selects users\nwhose first visit date is between start date and end date defined in the\nDateRange. The date ranges should be aligned for cohort requests. If the\nrequest contains `ga:cohortNthDay` it should be exactly one day long,\nif `ga:cohortNthWeek` it should be aligned to the week boundary (starting\nat Sunday and ending Saturday), and for `ga:cohortNthMonth` the date range\nshould be aligned to the month (starting at the first and ending on the\nlast day of the month).\nFor LTV requests there are no such restrictions.\nYou do not need to supply a date range for the\n`reportsRequest.dateRanges` field." } }, "id": "Cohort" }, "MetricFilterClause": { - "description": "Represents a group of metric filters.\nSet the operator value to specify how the filters are logically combined.", - "type": "object", "properties": { "operator": { + "description": "The operator for combining multiple metric filters. If unspecified, it is\ntreated as an `OR`.", + "type": "string", "enumDescriptions": [ "Unspecified operator. It is treated as an `OR`.", "The logical `OR` operator.", @@ -955,22 +1058,21 @@ "OPERATOR_UNSPECIFIED", "OR", "AND" - ], - "description": "The operator for combining multiple metric filters. If unspecified, it is\ntreated as an `OR`.", - "type": "string" + ] }, "filters": { - "description": "The repeated set of filters. They are logically combined based on the\noperator specified.", "type": "array", "items": { "$ref": "MetricFilter" - } + }, + "description": "The repeated set of filters. They are logically combined based on the\noperator specified." } }, - "id": "MetricFilterClause" + "id": "MetricFilterClause", + "description": "Represents a group of metric filters.\nSet the operator value to specify how the filters are logically combined.", + "type": "object" }, "OrFiltersForSegment": { - "description": "A list of segment filters in the `OR` group are combined with the logical OR\noperator.", "type": "object", "properties": { "segmentFilterClauses": { @@ -981,10 +1083,10 @@ } } }, - "id": "OrFiltersForSegment" + "id": "OrFiltersForSegment", + "description": "A list of segment filters in the `OR` group are combined with the logical OR\noperator." }, "MetricHeader": { - "description": "The headers for the metrics.", "type": "object", "properties": { "metricHeaderEntries": { @@ -995,20 +1097,22 @@ } }, "pivotHeaders": { - "description": "Headers for the pivots in the response.", "type": "array", "items": { "$ref": "PivotHeader" - } + }, + "description": "Headers for the pivots in the response." } }, - "id": "MetricHeader" + "id": "MetricHeader", + "description": "The headers for the metrics." }, "DimensionFilterClause": { "description": "A group of dimension filters. Set the operator value to specify how\nthe filters are logically combined.", "type": "object", "properties": { "operator": { + "description": "The operator for combining multiple dimension filters. If unspecified, it\nis treated as an `OR`.", "type": "string", "enumDescriptions": [ "Unspecified operator. It is treated as an `OR`.", @@ -1019,8 +1123,7 @@ "OPERATOR_UNSPECIFIED", "OR", "AND" - ], - "description": "The operator for combining multiple dimension filters. If unspecified, it\nis treated as an `OR`." + ] }, "filters": { "description": "The repeated set of filters. They are logically combined based on the\noperator specified.", @@ -1031,121 +1134,13 @@ } }, "id": "DimensionFilterClause" - }, - "GetReportsResponse": { - "description": "The main response class which holds the reports from the Reporting API\n`batchGet` call.", - "type": "object", - "properties": { - "reports": { - "description": "Responses corresponding to each of the request.", - "type": "array", - "items": { - "$ref": "Report" - } - } - }, - "id": "GetReportsResponse" - }, - "SequenceSegment": { - "id": "SequenceSegment", - "description": "Sequence conditions consist of one or more steps, where each step is defined\nby one or more dimension/metric conditions. Multiple steps can be combined\nwith special sequence operators.", - "type": "object", - "properties": { - "segmentSequenceSteps": { - "description": "The list of steps in the sequence.", - "type": "array", - "items": { - "$ref": "SegmentSequenceStep" - } - }, - "firstStepShouldMatchFirstHit": { - "description": "If set, first step condition must match the first hit of the visitor (in\nthe date range).", - "type": "boolean" - } - } - }, - "SegmentMetricFilter": { - "description": "Metric filter to be used in a segment filter clause.", - "type": "object", - "properties": { - "metricName": { - "description": "The metric that will be filtered on. A `metricFilter` must contain a\nmetric name.", - "type": "string" - }, - "scope": { - "enumDescriptions": [ - "If the scope is unspecified, it defaults to the condition scope,\n`USER` or `SESSION` depending on if the segment is trying to choose\nusers or sessions.", - "Product scope.", - "Hit scope.", - "Session scope.", - "User scope." - ], - "enum": [ - "UNSPECIFIED_SCOPE", - "PRODUCT", - "HIT", - "SESSION", - "USER" - ], - "description": "Scope for a metric defines the level at which that metric is defined. The\nspecified metric scope must be equal to or greater than its primary scope\nas defined in the data model. The primary scope is defined by if the\nsegment is selecting users or sessions.", - "type": "string" - }, - "maxComparisonValue": { - "description": "Max comparison value is only used for `BETWEEN` operator.", - "type": "string" - }, - "comparisonValue": { - "description": "The value to compare against. If the operator is `BETWEEN`, this value is\ntreated as minimum comparison value.", - "type": "string" - }, - "operator": { - "enum": [ - "UNSPECIFIED_OPERATOR", - "LESS_THAN", - "GREATER_THAN", - "EQUAL", - "BETWEEN" - ], - "description": "Specifies is the operation to perform to compare the metric. The default\nis `EQUAL`.", - "type": "string", - "enumDescriptions": [ - "Unspecified operator is treated as `LESS_THAN` operator.", - "Checks if the metric value is less than comparison value.", - "Checks if the metric value is greater than comparison value.", - "Equals operator.", - "For between operator, both the minimum and maximum are exclusive.\nWe will use `LT` and `GT` for comparison." - ] - } - }, - "id": "SegmentMetricFilter" - }, - "DateRangeValues": { - "type": "object", - "properties": { - "pivotValueRegions": { - "description": "The values of each pivot region.", - "type": "array", - "items": { - "$ref": "PivotValueRegion" - } - }, - "values": { - "description": "Each value corresponds to each Metric in the request.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "DateRangeValues", - "description": "Used to return a list of metrics for a single DateRange / dimension\ncombination" } }, + "protocol": "rest", "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, - "protocol": "rest", "canonicalName": "AnalyticsReporting", "auth": { "oauth2": { @@ -1159,5 +1154,10 @@ } } }, - "rootUrl": "https://analyticsreporting.googleapis.com/" + "rootUrl": "https://analyticsreporting.googleapis.com/", + "ownerDomain": "google.com", + "name": "analyticsreporting", + "batchPath": "batch", + "title": "Google Analytics Reporting API", + "ownerName": "Google" } diff --git a/DiscoveryJson/cloudbuild_v1.json b/DiscoveryJson/cloudbuild_v1.json index 109d669776..e94437fe31 100644 --- a/DiscoveryJson/cloudbuild_v1.json +++ b/DiscoveryJson/cloudbuild_v1.json @@ -1,120 +1,200 @@ { + "protocol": "rest", + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "canonicalName": "Cloud Build", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "rootUrl": "https://cloudbuild.googleapis.com/", + "ownerDomain": "google.com", + "name": "cloudbuild", + "batchPath": "batch", + "title": "Google Cloud Container Builder API", "ownerName": "Google", "resources": { + "operations": { + "methods": { + "cancel": { + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^operations/.+$", + "location": "path", + "description": "The name of the operation resource to be cancelled." + } + }, + "flatPath": "v1/operations/{operationsId}:cancel", + "id": "cloudbuild.operations.cancel", + "path": "v1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "request": { + "$ref": "CancelOperationRequest" + } + }, + "list": { + "response": { + "$ref": "ListOperationsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "filter": { + "type": "string", + "location": "query", + "description": "The standard list filter." + }, + "name": { + "location": "path", + "description": "The name of the operation collection.", + "required": true, + "type": "string", + "pattern": "^operations$" + }, + "pageToken": { + "type": "string", + "location": "query", + "description": "The standard list page token." + }, + "pageSize": { + "location": "query", + "description": "The standard list page size.", + "format": "int32", + "type": "integer" + } + }, + "flatPath": "v1/operations", + "path": "v1/{+name}", + "id": "cloudbuild.operations.list", + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`." + }, + "get": { + "flatPath": "v1/operations/{operationsId}", + "path": "v1/{+name}", + "id": "cloudbuild.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^operations/.+$", + "location": "path", + "description": "The name of the operation resource." + } + } + } + } + }, "projects": { "resources": { "builds": { "methods": { - "cancel": { - "request": { - "$ref": "CancelBuildRequest" + "get": { + "description": "Returns information about a previously requested build.\n\nThe Build that is returned includes its status (e.g., success or failure,\nor in-progress), and timing information.", + "response": { + "$ref": "Build" }, - "description": "Cancels a requested build in progress.", - "httpMethod": "POST", "parameterOrder": [ "projectId", "id" ], - "response": { - "$ref": "Build" - }, - "parameters": { - "projectId": { - "description": "ID of the project.", - "required": true, - "type": "string", - "location": "path" - }, - "id": { - "location": "path", - "description": "ID of the build.", - "required": true, - "type": "string" - } - }, + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectId}/builds/{id}:cancel", - "id": "cloudbuild.projects.builds.cancel", - "path": "v1/projects/{projectId}/builds/{id}:cancel" - }, - "get": { - "flatPath": "v1/projects/{projectId}/builds/{id}", - "id": "cloudbuild.projects.builds.get", - "path": "v1/projects/{projectId}/builds/{id}", - "description": "Returns information about a previously requested build.\n\nThe Build that is returned includes its status (e.g., success or failure,\nor in-progress), and timing information.", - "httpMethod": "GET", - "parameterOrder": [ - "projectId", - "id" - ], - "response": { - "$ref": "Build" - }, "parameters": { "projectId": { - "description": "ID of the project.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "ID of the project." }, "id": { - "location": "path", - "description": "ID of the build.", "required": true, - "type": "string" + "type": "string", + "location": "path", + "description": "ID of the build." } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "flatPath": "v1/projects/{projectId}/builds/{id}", + "path": "v1/projects/{projectId}/builds/{id}", + "id": "cloudbuild.projects.builds.get" }, "list": { - "description": "Lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.", - "response": { - "$ref": "ListBuildsResponse" - }, + "httpMethod": "GET", "parameterOrder": [ "projectId" ], - "httpMethod": "GET", + "response": { + "$ref": "ListBuildsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { + "pageToken": { + "location": "query", + "description": "Token to provide to skip to a particular spot in the list.", + "type": "string" + }, "pageSize": { + "type": "integer", "location": "query", "description": "Number of results to return in the list.", - "format": "int32", - "type": "integer" + "format": "int32" }, "projectId": { + "location": "path", "description": "ID of the project.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "filter": { "location": "query", "description": "The raw filter text to constrain the results.", "type": "string" - }, - "pageToken": { - "location": "query", - "description": "Token to provide to skip to a particular spot in the list.", - "type": "string" } }, "flatPath": "v1/projects/{projectId}/builds", + "id": "cloudbuild.projects.builds.list", "path": "v1/projects/{projectId}/builds", - "id": "cloudbuild.projects.builds.list" + "description": "Lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully." }, "create": { - "description": "Starts a build with the specified configuration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e.g.,\nsuccess or failure).", - "request": { - "$ref": "Build" - }, "response": { "$ref": "Operation" }, @@ -127,293 +207,260 @@ ], "parameters": { "projectId": { + "location": "path", "description": "ID of the project.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "flatPath": "v1/projects/{projectId}/builds", "path": "v1/projects/{projectId}/builds", - "id": "cloudbuild.projects.builds.create" + "id": "cloudbuild.projects.builds.create", + "description": "Starts a build with the specified configuration.\n\nThe long-running Operation returned by this method will include the ID of\nthe build, which can be passed to GetBuild to determine its status (e.g.,\nsuccess or failure).", + "request": { + "$ref": "Build" + } + }, + "cancel": { + "flatPath": "v1/projects/{projectId}/builds/{id}:cancel", + "path": "v1/projects/{projectId}/builds/{id}:cancel", + "id": "cloudbuild.projects.builds.cancel", + "request": { + "$ref": "CancelBuildRequest" + }, + "description": "Cancels a requested build in progress.", + "response": { + "$ref": "Build" + }, + "parameterOrder": [ + "projectId", + "id" + ], + "httpMethod": "POST", + "parameters": { + "projectId": { + "required": true, + "type": "string", + "location": "path", + "description": "ID of the project." + }, + "id": { + "location": "path", + "description": "ID of the build.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, "triggers": { "methods": { - "get": { + "delete": { + "httpMethod": "DELETE", "response": { - "$ref": "BuildTrigger" + "$ref": "Empty" }, "parameterOrder": [ "projectId", "triggerId" ], - "httpMethod": "GET", "parameters": { - "triggerId": { - "location": "path", - "description": "ID of the BuildTrigger to get.", - "required": true, - "type": "string" - }, "projectId": { "location": "path", "description": "ID of the project that owns the trigger.", "required": true, "type": "string" + }, + "triggerId": { + "required": true, + "type": "string", + "location": "path", + "description": "ID of the BuildTrigger to delete." } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectId}/triggers/{triggerId}", + "id": "cloudbuild.projects.triggers.delete", "path": "v1/projects/{projectId}/triggers/{triggerId}", - "id": "cloudbuild.projects.triggers.get", - "description": "Gets information about a BuildTrigger.\n\nThis API is experimental." + "description": "Deletes an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental." }, - "list": { + "get": { + "httpMethod": "GET", "parameterOrder": [ - "projectId" + "projectId", + "triggerId" ], "response": { - "$ref": "ListBuildTriggersResponse" + "$ref": "BuildTrigger" }, - "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "projectId": { "location": "path", - "description": "ID of the project for which to list BuildTriggers.", + "description": "ID of the project that owns the trigger.", + "required": true, + "type": "string" + }, + "triggerId": { + "location": "path", + "description": "ID of the BuildTrigger to get.", "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectId}/triggers", - "path": "v1/projects/{projectId}/triggers", - "id": "cloudbuild.projects.triggers.list", - "description": "Lists existing BuildTrigger.\n\nThis API is experimental." - }, - "patch": { "flatPath": "v1/projects/{projectId}/triggers/{triggerId}", - "id": "cloudbuild.projects.triggers.patch", + "id": "cloudbuild.projects.triggers.get", "path": "v1/projects/{projectId}/triggers/{triggerId}", - "request": { - "$ref": "BuildTrigger" - }, - "description": "Updates an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental.", - "httpMethod": "PATCH", + "description": "Gets information about a BuildTrigger.\n\nThis API is experimental." + }, + "list": { "parameterOrder": [ - "projectId", - "triggerId" + "projectId" ], "response": { - "$ref": "BuildTrigger" + "$ref": "ListBuildTriggersResponse" }, + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { - "triggerId": { - "description": "ID of the BuildTrigger to update.", - "required": true, - "type": "string", - "location": "path" - }, "projectId": { "location": "path", - "description": "ID of the project that owns the trigger.", + "description": "ID of the project for which to list BuildTriggers.", "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "create": { - "description": "Creates a new BuildTrigger.\n\nThis API is experimental.", - "request": { - "$ref": "BuildTrigger" - }, - "httpMethod": "POST", + "flatPath": "v1/projects/{projectId}/triggers", + "path": "v1/projects/{projectId}/triggers", + "id": "cloudbuild.projects.triggers.list", + "description": "Lists existing BuildTrigger.\n\nThis API is experimental." + }, + "patch": { + "httpMethod": "PATCH", "parameterOrder": [ - "projectId" + "projectId", + "triggerId" ], "response": { "$ref": "BuildTrigger" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { + "triggerId": { + "location": "path", + "description": "ID of the BuildTrigger to update.", + "required": true, + "type": "string" + }, "projectId": { - "description": "ID of the project for which to configure automatic builds.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "ID of the project that owns the trigger." } }, - "flatPath": "v1/projects/{projectId}/triggers", - "id": "cloudbuild.projects.triggers.create", - "path": "v1/projects/{projectId}/triggers" - }, - "delete": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1/projects/{projectId}/triggers/{triggerId}", - "id": "cloudbuild.projects.triggers.delete", + "id": "cloudbuild.projects.triggers.patch", "path": "v1/projects/{projectId}/triggers/{triggerId}", - "description": "Deletes an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental.", - "httpMethod": "DELETE", + "request": { + "$ref": "BuildTrigger" + }, + "description": "Updates an BuildTrigger by its project ID and trigger ID.\n\nThis API is experimental." + }, + "create": { "response": { - "$ref": "Empty" + "$ref": "BuildTrigger" }, "parameterOrder": [ - "projectId", - "triggerId" + "projectId" ], + "httpMethod": "POST", "parameters": { - "triggerId": { - "description": "ID of the BuildTrigger to delete.", - "required": true, - "type": "string", - "location": "path" - }, "projectId": { "location": "path", - "description": "ID of the project that owns the trigger.", + "description": "ID of the project for which to configure automatic builds.", "required": true, "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - } - }, - "operations": { - "methods": { - "cancel": { - "flatPath": "v1/operations/{operationsId}:cancel", - "id": "cloudbuild.operations.cancel", - "path": "v1/{+name}:cancel", - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", - "request": { - "$ref": "CancelOperationRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", - "pattern": "^operations/.+$", - "location": "path" + ], + "flatPath": "v1/projects/{projectId}/triggers", + "path": "v1/projects/{projectId}/triggers", + "id": "cloudbuild.projects.triggers.create", + "request": { + "$ref": "BuildTrigger" + }, + "description": "Creates a new BuildTrigger.\n\nThis API is experimental." } } - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "ListOperationsResponse" - }, - "parameters": { - "pageSize": { - "location": "query", - "description": "The standard list page size.", - "format": "int32", - "type": "integer" - }, - "filter": { - "location": "query", - "description": "The standard list filter.", - "type": "string" - }, - "name": { - "description": "The name of the operation collection.", - "required": true, - "type": "string", - "pattern": "^operations$", - "location": "path" - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/operations", - "id": "cloudbuild.operations.list", - "path": "v1/{+name}" - }, - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "required": true, - "type": "string", - "pattern": "^operations/.+$", - "location": "path" - } - }, - "flatPath": "v1/operations/{operationsId}", - "id": "cloudbuild.operations.get", - "path": "v1/{+name}", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." } } } }, "parameters": { + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "oauth_token": { + "type": "string", + "location": "query", + "description": "OAuth 2.0 token for the current user." + }, + "bearer_token": { + "type": "string", + "location": "query", + "description": "OAuth bearer token." + }, + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." + }, "fields": { "location": "query", "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, "uploadType": { + "type": "string", "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." }, "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], "location": "query", "enum": [ "1", "2" ], "description": "V1 error format.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ] }, "callback": { "location": "query", @@ -421,6 +468,12 @@ "type": "string" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -428,18 +481,12 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" + "default": "json" }, "access_token": { + "type": "string", "location": "query", - "description": "OAuth access token.", - "type": "string" + "description": "OAuth access token." }, "key": { "location": "query", @@ -447,36 +494,9 @@ "type": "string" }, "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "upload_protocol": { "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "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.", "type": "string" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" } }, "version": "v1", @@ -486,8 +506,8 @@ "servicePath": "", "basePath": "", "revision": "20170329", - "documentationLink": "https://cloud.google.com/container-builder/docs/", "id": "cloudbuild:v1", + "documentationLink": "https://cloud.google.com/container-builder/docs/", "discoveryVersion": "v1", "version_module": "True", "schemas": { @@ -501,10 +521,6 @@ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, "metadata": { "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", @@ -514,49 +530,53 @@ "type": "object" }, "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" + "type": "boolean", + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable." }, "response": { + "type": "object", "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`." }, "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", - "type": "string" + "type": "string", + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`." + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." } }, "id": "Operation" }, "ListBuildTriggersResponse": { - "description": "Response containing existing BuildTriggers.", "type": "object", "properties": { "triggers": { - "description": "BuildTriggers for the project, sorted by create_time descending.", "type": "array", "items": { "$ref": "BuildTrigger" - } + }, + "description": "BuildTriggers for the project, sorted by create_time descending." } }, - "id": "ListBuildTriggersResponse" + "id": "ListBuildTriggersResponse", + "description": "Response containing existing BuildTriggers." }, "BuiltImage": { "description": "BuiltImage describes an image built by the pipeline.", "type": "object", "properties": { + "name": { + "type": "string", + "description": "Name used to push the container image to Google Container Registry, as\npresented to `docker push`." + }, "digest": { "description": "Docker Registry 2.0 digest.", "type": "string" - }, - "name": { - "description": "Name used to push the container image to Google Container Registry, as\npresented to `docker push`.", - "type": "string" } }, "id": "BuiltImage" @@ -566,95 +586,95 @@ "type": "object", "properties": { "type": { - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash." - ], "enum": [ "NONE", "SHA256" ], "description": "The type of hash that was performed.", + "type": "string", + "enumDescriptions": [ + "No hash requested.", + "Use a sha256 hash." + ] + }, + "value": { + "description": "The hash value.", + "format": "byte", + "type": "string" + } + }, + "id": "Hash" + }, + "RepoSource": { + "type": "object", + "properties": { + "projectId": { + "type": "string", + "description": "ID of the project that owns the repo. If omitted, the project ID requesting\nthe build is assumed." + }, + "repoName": { + "description": "Name of the repo. If omitted, the name \"default\" is assumed.", "type": "string" }, - "value": { - "description": "The hash value.", - "format": "byte", + "branchName": { + "type": "string", + "description": "Name of the branch to build." + }, + "tagName": { + "description": "Name of the tag to build.", "type": "string" + }, + "commitSha": { + "type": "string", + "description": "Explicit commit SHA to build." } }, - "id": "Hash" + "id": "RepoSource", + "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository." }, "BuildStep": { - "description": "BuildStep describes a step to perform in the build pipeline.", "type": "object", "properties": { + "entrypoint": { + "description": "Optional entrypoint to be used instead of the build step image's default\nIf unset, the image's default will be used.", + "type": "string" + }, + "id": { + "description": "Optional unique identifier for this build step, used in wait_for to\nreference this build step as a dependency.", + "type": "string" + }, "dir": { "description": "Working directory (relative to project source root) to use when running\nthis operation's container.", "type": "string" }, "waitFor": { - "description": "The ID(s) of the step(s) that this build step depends on.\nThis build step will not start until all the build steps in wait_for\nhave completed successfully. If wait_for is empty, this build step will\nstart when all previous build steps in the Build.Steps list have completed\nsuccessfully.", "type": "array", "items": { "type": "string" - } + }, + "description": "The ID(s) of the step(s) that this build step depends on.\nThis build step will not start until all the build steps in wait_for\nhave completed successfully. If wait_for is empty, this build step will\nstart when all previous build steps in the Build.Steps list have completed\nsuccessfully." }, "env": { - "description": "A list of environment variable definitions to be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".", "type": "array", "items": { "type": "string" - } + }, + "description": "A list of environment variable definitions to be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\"." }, "args": { - "description": "A list of arguments that will be presented to the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.", "type": "array", "items": { "type": "string" - } + }, + "description": "A list of arguments that will be presented to the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments." }, "name": { "description": "The name of the container image that will run this particular build step.\n\nIf the image is already available in the host's Docker daemon's cache, it\nwill be run directly. If not, the host will attempt to pull the image\nfirst, using the builder service account's credentials if necessary.\n\nThe Docker daemon's cache will already have the latest versions of all of\nthe officially supported build steps\n([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)).\nThe Docker daemon will also have cached many of the layers for some popular\nimages, like \"ubuntu\", \"debian\", but they will be refreshed at the time you\nattempt to use them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is available to use as the name for a\nlater build step.", "type": "string" - }, - "entrypoint": { - "description": "Optional entrypoint to be used instead of the build step image's default\nIf unset, the image's default will be used.", - "type": "string" - }, - "id": { - "description": "Optional unique identifier for this build step, used in wait_for to\nreference this build step as a dependency.", - "type": "string" - } - }, - "id": "BuildStep" - }, - "RepoSource": { - "description": "RepoSource describes the location of the source in a Google Cloud Source\nRepository.", - "type": "object", - "properties": { - "projectId": { - "description": "ID of the project that owns the repo. If omitted, the project ID requesting\nthe build is assumed.", - "type": "string" - }, - "repoName": { - "description": "Name of the repo. If omitted, the name \"default\" is assumed.", - "type": "string" - }, - "branchName": { - "description": "Name of the branch to build.", - "type": "string" - }, - "tagName": { - "description": "Name of the tag to build.", - "type": "string" - }, - "commitSha": { - "description": "Explicit commit SHA to build.", - "type": "string" } }, - "id": "RepoSource" + "id": "BuildStep", + "description": "BuildStep describes a step to perform in the build pipeline." }, "FileHashes": { "description": "Container message for hashes of byte content of files, used in\nSourceProvenance messages to verify integrity of source input to the build.", @@ -674,124 +694,97 @@ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - }, "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." }, "type": "object" - } + }, + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use." + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "type": "string", + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client." } }, "id": "Status" }, "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", "properties": {}, - "id": "Empty" + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." }, "BuildTrigger": { "description": "Configuration for an automated build in response to source repository\nchanges.", "type": "object", "properties": { + "id": { + "description": "Unique identifier of the trigger.\n\n@OutputOnly", + "type": "string" + }, "build": { - "description": "Contents of the build template.", - "$ref": "Build" + "$ref": "Build", + "description": "Contents of the build template." }, "substitutions": { + "type": "object", "additionalProperties": { "type": "string" }, - "description": "Substitutions data for Build resource.", - "type": "object" + "description": "Substitutions data for Build resource." }, "description": { - "description": "Human-readable description of this trigger.", - "type": "string" - }, - "disabled": { - "description": "If true, the trigger will never result in a build.", - "type": "boolean" + "type": "string", + "description": "Human-readable description of this trigger." }, "createTime": { "description": "Time when the trigger was created.\n\n@OutputOnly", "format": "google-datetime", "type": "string" }, + "disabled": { + "type": "boolean", + "description": "If true, the trigger will never result in a build." + }, "filename": { "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.", "type": "string" }, "triggerTemplate": { - "description": "Template describing the types of source changes to trigger a build.\n\nBranch and tag names in trigger templates are interpreted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build.", - "$ref": "RepoSource" - }, - "id": { - "description": "Unique identifier of the trigger.\n\n@OutputOnly", - "type": "string" + "$ref": "RepoSource", + "description": "Template describing the types of source changes to trigger a build.\n\nBranch and tag names in trigger templates are interpreted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build." } }, "id": "BuildTrigger" }, "Build": { - "description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (for example, the builder image to run on the source), and what tag to\napply to the built image when it is pushed to Google Container Registry.\n\nFields can include the following variables which will be expanded when the\nbuild is created:\n\n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource.\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the tag name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or\n resolved from the specified branch or tag.", "type": "object", "properties": { - "createTime": { - "description": "Time at which the request to create the build was received.\n@OutputOnly", - "format": "google-datetime", - "type": "string" - }, - "sourceProvenance": { - "$ref": "SourceProvenance", - "description": "A permanent fixed identifier for source.\n@OutputOnly" - }, - "images": { - "description": "A list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.", - "type": "array", - "items": { - "type": "string" - } - }, - "projectId": { - "description": "ID of the project.\n@OutputOnly.", - "type": "string" - }, - "finishTime": { - "description": "Time at which execution of the build was finished.\n\nThe difference between finish_time and start_time is the duration of the\nbuild's execution.\n@OutputOnly", - "format": "google-datetime", - "type": "string" - }, - "logUrl": { - "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly", - "type": "string" - }, - "options": { - "$ref": "BuildOptions", - "description": "Special options for this build." - }, - "source": { - "$ref": "Source", - "description": "Describes where to find the source files to build." - }, - "statusDetail": { - "description": "Customer-readable message about the current status.\n@OutputOnly", + "timeout": { + "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.", + "format": "google-duration", "type": "string" }, "status": { + "enum": [ + "STATUS_UNKNOWN", + "QUEUED", + "WORKING", + "SUCCESS", + "FAILURE", + "INTERNAL_ERROR", + "TIMEOUT", + "CANCELLED" + ], "description": "Status of the build.\n@OutputOnly", "type": "string", "enumDescriptions": [ @@ -803,37 +796,26 @@ "Build failed due to an internal cause.", "Build took longer than was allowed.", "Build was canceled by a user." - ], - "enum": [ - "STATUS_UNKNOWN", - "QUEUED", - "WORKING", - "SUCCESS", - "FAILURE", - "INTERNAL_ERROR", - "TIMEOUT", - "CANCELLED" ] }, - "timeout": { - "description": "Amount of time that this build should be allowed to run, to second\ngranularity. If this amount of time elapses, work on the build will cease\nand the build status will be TIMEOUT.\n\nDefault time is ten minutes.", - "format": "google-duration", + "statusDetail": { + "description": "Customer-readable message about the current status.\n@OutputOnly", "type": "string" }, "logsBucket": { - "description": "Google Cloud Storage bucket where logs should be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).\nLogs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", - "type": "string" + "type": "string", + "description": "Google Cloud Storage bucket where logs should be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).\nLogs file names will be of the format `${logs_bucket}/log-${build_id}.txt`." }, "results": { - "description": "Results of the build.\n@OutputOnly", - "$ref": "Results" + "$ref": "Results", + "description": "Results of the build.\n@OutputOnly" }, "steps": { - "description": "Describes the operations to be performed on the workspace.", "type": "array", "items": { "$ref": "BuildStep" - } + }, + "description": "Describes the operations to be performed on the workspace." }, "buildTriggerId": { "description": "The ID of the BuildTrigger that triggered this build, if it was\ntriggered automatically.\n@OutputOnly", @@ -849,14 +831,52 @@ "type": "string" }, "substitutions": { - "description": "Substitutions data for Build resource.", "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Substitutions data for Build resource." + }, + "createTime": { + "type": "string", + "description": "Time at which the request to create the build was received.\n@OutputOnly", + "format": "google-datetime" + }, + "sourceProvenance": { + "$ref": "SourceProvenance", + "description": "A permanent fixed identifier for source.\n@OutputOnly" + }, + "images": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE." + }, + "projectId": { + "type": "string", + "description": "ID of the project.\n@OutputOnly." + }, + "finishTime": { + "description": "Time at which execution of the build was finished.\n\nThe difference between finish_time and start_time is the duration of the\nbuild's execution.\n@OutputOnly", + "format": "google-datetime", + "type": "string" + }, + "logUrl": { + "type": "string", + "description": "URL to logs for this build in Google Cloud Logging.\n@OutputOnly" + }, + "options": { + "$ref": "BuildOptions", + "description": "Special options for this build." + }, + "source": { + "$ref": "Source", + "description": "Describes where to find the source files to build." } }, - "id": "Build" + "id": "Build", + "description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (for example, the builder image to run on the source), and what tag to\napply to the built image when it is pushed to Google Container Registry.\n\nFields can include the following variables which will be expanded when the\nbuild is created:\n\n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource.\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the tag name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or\n resolved from the specified branch or tag." }, "CancelBuildRequest": { "description": "Request to cancel an ongoing build.", @@ -873,11 +893,11 @@ "type": "string" }, "builds": { - "description": "Builds will be sorted by create_time, descending.", "type": "array", "items": { "$ref": "Build" - } + }, + "description": "Builds will be sorted by create_time, descending." } }, "id": "ListBuildsResponse" @@ -886,16 +906,16 @@ "description": "The response message for Operations.ListOperations.", "type": "object", "properties": { + "nextPageToken": { + "type": "string", + "description": "The standard List next-page token." + }, "operations": { - "description": "A list of operations that matches the specified filter in the request.", "type": "array", "items": { "$ref": "Operation" - } - }, - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" + }, + "description": "A list of operations that matches the specified filter in the request." } }, "id": "ListOperationsResponse" @@ -905,21 +925,21 @@ "type": "object", "properties": { "storageSource": { - "description": "If provided, get the source from this location in in Google Cloud\nStorage.", - "$ref": "StorageSource" + "$ref": "StorageSource", + "description": "If provided, get the source from this location in in Google Cloud\nStorage." }, "repoSource": { - "description": "If provided, get source from this location in a Cloud Repo.", - "$ref": "RepoSource" + "$ref": "RepoSource", + "description": "If provided, get source from this location in a Cloud Repo." } }, "id": "Source" }, "BuildOptions": { - "description": "Optional arguments to enable specific features of builds.", "type": "object", "properties": { "requestedVerifyOption": { + "type": "string", "enumDescriptions": [ "Not a verifiable build. (default)", "Verified build." @@ -928,43 +948,43 @@ "NOT_VERIFIED", "VERIFIED" ], - "description": "Requested verifiability options.", - "type": "string" + "description": "Requested verifiability options." }, "sourceProvenanceHash": { - "enumDescriptions": [ - "No hash requested.", - "Use a sha256 hash." - ], "description": "Requested hash for SourceProvenance.", "type": "array", "items": { - "type": "string", "enum": [ "NONE", "SHA256" - ] - } + ], + "type": "string" + }, + "enumDescriptions": [ + "No hash requested.", + "Use a sha256 hash." + ] } }, - "id": "BuildOptions" + "id": "BuildOptions", + "description": "Optional arguments to enable specific features of builds." }, "StorageSource": { "description": "StorageSource describes the location of the source in an archive file in\nGoogle Cloud Storage.", "type": "object", "properties": { + "generation": { + "type": "string", + "description": "Google Cloud Storage generation for the object. If the generation is\nomitted, the latest generation will be used.", + "format": "int64" + }, "bucket": { - "description": "Google Cloud Storage bucket containing source (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", - "type": "string" + "type": "string", + "description": "Google Cloud Storage bucket containing source (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/docs/bucket-naming#requirements))." }, "object": { - "description": "Google Cloud Storage object containing source.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\nbuild.", - "type": "string" - }, - "generation": { - "description": "Google Cloud Storage generation for the object. If the generation is\nomitted, the latest generation will be used.", - "format": "int64", - "type": "string" + "type": "string", + "description": "Google Cloud Storage object containing source.\n\nThis object must be a gzipped archive file (.tar.gz) containing source to\nbuild." } }, "id": "StorageSource" @@ -981,25 +1001,25 @@ } }, "images": { - "description": "Images that were built as a part of the build.", "type": "array", "items": { "$ref": "BuiltImage" - } + }, + "description": "Images that were built as a part of the build." } }, "id": "Results" }, "BuildOperationMetadata": { - "description": "Metadata for build operations.", "type": "object", "properties": { "build": { - "description": "The build that the operation is tracking.", - "$ref": "Build" + "$ref": "Build", + "description": "The build that the operation is tracking." } }, - "id": "BuildOperationMetadata" + "id": "BuildOperationMetadata", + "description": "Metadata for build operations." }, "SourceProvenance": { "description": "Provenance of the source. Ways to find the original source, or verify that\nsome source was used for this build.", @@ -1013,8 +1033,8 @@ "type": "object" }, "resolvedRepoSource": { - "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved.", - "$ref": "RepoSource" + "$ref": "RepoSource", + "description": "A copy of the build's source.repo_source, if exists, with any\nrevisions resolved." }, "resolvedStorageSource": { "$ref": "StorageSource", @@ -1023,25 +1043,5 @@ }, "id": "SourceProvenance" } - }, - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "protocol": "rest", - "canonicalName": "Cloud Build", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "rootUrl": "https://cloudbuild.googleapis.com/", - "ownerDomain": "google.com", - "name": "cloudbuild", - "batchPath": "batch", - "title": "Google Cloud Container Builder API" + } } diff --git a/DiscoveryJson/clouddebugger_v2.json b/DiscoveryJson/clouddebugger_v2.json index 60d39d4020..f6df690d30 100644 --- a/DiscoveryJson/clouddebugger_v2.json +++ b/DiscoveryJson/clouddebugger_v2.json @@ -1,145 +1,268 @@ { - "canonicalName": "Cloud Debugger", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud_debugger": { - "description": "Manage cloud debugger" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "rootUrl": "https://clouddebugger.googleapis.com/", - "ownerDomain": "google.com", - "name": "clouddebugger", - "batchPath": "batch", - "title": "Stackdriver Debugger API", "ownerName": "Google", "resources": { - "debugger": { + "controller": { "resources": { "debuggees": { + "methods": { + "register": { + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "RegisterDebuggeeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud_debugger" + ], + "parameters": {}, + "flatPath": "v2/controller/debuggees/register", + "id": "clouddebugger.controller.debuggees.register", + "path": "v2/controller/debuggees/register", + "description": "Registers the debuggee with the controller service.\n\nAll agents attached to the same application should call this method with\nthe same request content to get back the same stable `debuggee_id`. Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\nreturned from any controller method.\n\nThis allows the controller service to disable the agent or recover from any\ndata loss. If the debuggee is disabled by the server, the response will\nhave `is_disabled` set to `true`.", + "request": { + "$ref": "RegisterDebuggeeRequest" + } + } + }, "resources": { "breakpoints": { "methods": { - "set": { - "httpMethod": "POST", + "list": { + "response": { + "$ref": "ListActiveBreakpointsResponse" + }, "parameterOrder": [ "debuggeeId" ], - "response": { - "$ref": "SetBreakpointResponse" - }, + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud_debugger" + ], "parameters": { - "clientVersion": { + "waitToken": { "location": "query", - "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", + "description": "A wait token that, if specified, blocks the method call until the list\nof active breakpoints has changed, or a server selected timeout has\nexpired. The value should be set from the last returned response.", "type": "string" }, "debuggeeId": { + "description": "Identifies the debuggee.", + "required": true, + "type": "string", + "location": "path" + }, + "successOnTimeout": { + "description": "If set to `true`, returns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set to `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected timeout has expired (deprecated).", + "type": "boolean", + "location": "query" + } + }, + "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints", + "path": "v2/controller/debuggees/{debuggeeId}/breakpoints", + "id": "clouddebugger.controller.debuggees.breakpoints.list", + "description": "Returns the list of all active breakpoints for the debuggee.\n\nThe breakpoint specification (location, condition, and expression\nfields) is semantically immutable, although the field values may\nchange. For example, an agent may update the location line number\nto reflect the actual line where the breakpoint was set, but this\ndoesn't change the breakpoint semantics.\n\nThis means that an agent does not need to check if a breakpoint has changed\nwhen it encounters the same breakpoint on a successive call.\nMoreover, an agent should remember the breakpoints that are completed\nuntil the controller removes them from the active list to avoid\nsetting those breakpoints again." + }, + "update": { + "response": { + "$ref": "UpdateActiveBreakpointResponse" + }, + "parameterOrder": [ + "debuggeeId", + "id" + ], + "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud_debugger" + ], + "parameters": { + "debuggeeId": { + "description": "Identifies the debuggee being debugged.", + "required": true, + "type": "string", + "location": "path" + }, + "id": { "location": "path", - "description": "ID of the debuggee where the breakpoint is to be set.", + "description": "Breakpoint identifier, unique in the scope of the debuggee.", "required": true, "type": "string" } }, + "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", + "path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", + "id": "clouddebugger.controller.debuggees.breakpoints.update", + "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the controller\nservice.\n\nUpdates to active breakpoint fields are only allowed if the new value\ndoes not change the breakpoint specification. Updates to the `location`,\n`condition` and `expression` fields should not alter the breakpoint\nsemantics. These may only make changes such as canonicalizing a value\nor snapping the location to the correct line of code.", + "request": { + "$ref": "UpdateActiveBreakpointRequest" + } + } + } + } + } + } + } + }, + "debugger": { + "resources": { + "debuggees": { + "methods": { + "list": { + "description": "Lists all the debuggees that the user can set breakpoints to.", + "response": { + "$ref": "ListDebuggeesResponse" + }, + "parameterOrder": [], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud_debugger" + ], + "parameters": { + "includeInactive": { + "description": "When set to `true`, the result includes all debuggees. Otherwise, the\nresult includes only debuggees that are active.", + "type": "boolean", + "location": "query" + }, + "project": { + "location": "query", + "description": "Project number of a Google Cloud project whose debuggees to list.", + "type": "string" + }, + "clientVersion": { + "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", + "type": "string", + "location": "query" + } + }, + "flatPath": "v2/debugger/debuggees", + "path": "v2/debugger/debuggees", + "id": "clouddebugger.debugger.debuggees.list" + } + }, + "resources": { + "breakpoints": { + "methods": { + "set": { + "response": { + "$ref": "SetBreakpointResponse" + }, + "parameterOrder": [ + "debuggeeId" + ], + "httpMethod": "POST", + "parameters": { + "debuggeeId": { + "description": "ID of the debuggee where the breakpoint is to be set.", + "required": true, + "type": "string", + "location": "path" + }, + "clientVersion": { + "type": "string", + "location": "query", + "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`)." + } + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ], "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", - "id": "clouddebugger.debugger.debuggees.breakpoints.set", "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", + "id": "clouddebugger.debugger.debuggees.breakpoints.set", "request": { "$ref": "Breakpoint" }, "description": "Sets the breakpoint to the debuggee." }, "delete": { - "response": { - "$ref": "Empty" - }, "httpMethod": "DELETE", "parameterOrder": [ "debuggeeId", "breakpointId" ], + "response": { + "$ref": "Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" ], "parameters": { - "clientVersion": { + "debuggeeId": { + "description": "ID of the debuggee whose breakpoint to delete.", + "required": true, "type": "string", + "location": "path" + }, + "clientVersion": { "location": "query", - "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`)." + "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", + "type": "string" }, "breakpointId": { "location": "path", "description": "ID of the breakpoint to delete.", "required": true, "type": "string" - }, - "debuggeeId": { - "location": "path", - "description": "ID of the debuggee whose breakpoint to delete.", - "required": true, - "type": "string" } }, "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", - "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", "id": "clouddebugger.debugger.debuggees.breakpoints.delete", + "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", "description": "Deletes the breakpoint from the debuggee." }, "get": { "description": "Gets breakpoint information.", + "response": { + "$ref": "GetBreakpointResponse" + }, + "httpMethod": "GET", "parameterOrder": [ "debuggeeId", "breakpointId" ], - "httpMethod": "GET", - "response": { - "$ref": "GetBreakpointResponse" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud_debugger" + ], "parameters": { + "breakpointId": { + "description": "ID of the breakpoint to get.", + "required": true, + "type": "string", + "location": "path" + }, "debuggeeId": { - "location": "path", "description": "ID of the debuggee whose breakpoint to get.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "clientVersion": { "location": "query", "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", "type": "string" - }, - "breakpointId": { - "required": true, - "type": "string", - "location": "path", - "description": "ID of the breakpoint to get." } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ], "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", "id": "clouddebugger.debugger.debuggees.breakpoints.get" }, "list": { - "httpMethod": "GET", + "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints", + "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints", + "id": "clouddebugger.debugger.debuggees.breakpoints.list", + "description": "Lists all breakpoints for the debuggee.", "response": { "$ref": "ListBreakpointsResponse" }, "parameterOrder": [ "debuggeeId" ], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud_debugger" @@ -162,205 +285,89 @@ "type": "string" }, "clientVersion": { - "location": "query", "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "type": "string" + "type": "string", + "location": "query" }, "action.value": { - "description": "Only breakpoints with the specified action will pass the filter.", - "type": "string", - "location": "query", "enum": [ "CAPTURE", "LOG" - ] + ], + "description": "Only breakpoints with the specified action will pass the filter.", + "type": "string", + "location": "query" + }, + "includeAllUsers": { + "description": "When set to `true`, the response includes the list of breakpoints set by\nany user. Otherwise, it includes only breakpoints set by the caller.", + "type": "boolean", + "location": "query" }, "includeInactive": { "location": "query", "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes only active breakpoints.", "type": "boolean" - }, - "includeAllUsers": { - "location": "query", - "description": "When set to `true`, the response includes the list of breakpoints set by\nany user. Otherwise, it includes only breakpoints set by the caller.", - "type": "boolean" } - }, - "flatPath": "v2/debugger/debuggees/{debuggeeId}/breakpoints", - "id": "clouddebugger.debugger.debuggees.breakpoints.list", - "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints", - "description": "Lists all breakpoints for the debuggee." + } } } } - }, - "methods": { - "list": { - "id": "clouddebugger.debugger.debuggees.list", - "path": "v2/debugger/debuggees", - "description": "Lists all the debuggees that the user can set breakpoints to.", - "httpMethod": "GET", - "response": { - "$ref": "ListDebuggeesResponse" - }, - "parameterOrder": [], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ], - "parameters": { - "clientVersion": { - "location": "query", - "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", - "type": "string" - }, - "includeInactive": { - "location": "query", - "description": "When set to `true`, the result includes all debuggees. Otherwise, the\nresult includes only debuggees that are active.", - "type": "boolean" - }, - "project": { - "description": "Project number of a Google Cloud project whose debuggees to list.", - "type": "string", - "location": "query" - } - }, - "flatPath": "v2/debugger/debuggees" - } - } - } - } - }, - "controller": { - "resources": { - "debuggees": { - "resources": { - "breakpoints": { - "methods": { - "list": { - "httpMethod": "GET", - "parameterOrder": [ - "debuggeeId" - ], - "response": { - "$ref": "ListActiveBreakpointsResponse" - }, - "parameters": { - "waitToken": { - "location": "query", - "description": "A wait token that, if specified, blocks the method call until the list\nof active breakpoints has changed, or a server selected timeout has\nexpired. The value should be set from the last returned response.", - "type": "string" - }, - "debuggeeId": { - "location": "path", - "description": "Identifies the debuggee.", - "required": true, - "type": "string" - }, - "successOnTimeout": { - "type": "boolean", - "location": "query", - "description": "If set to `true`, returns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set to `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected timeout has expired (deprecated)." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ], - "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints", - "id": "clouddebugger.controller.debuggees.breakpoints.list", - "path": "v2/controller/debuggees/{debuggeeId}/breakpoints", - "description": "Returns the list of all active breakpoints for the debuggee.\n\nThe breakpoint specification (location, condition, and expression\nfields) is semantically immutable, although the field values may\nchange. For example, an agent may update the location line number\nto reflect the actual line where the breakpoint was set, but this\ndoesn't change the breakpoint semantics.\n\nThis means that an agent does not need to check if a breakpoint has changed\nwhen it encounters the same breakpoint on a successive call.\nMoreover, an agent should remember the breakpoints that are completed\nuntil the controller removes them from the active list to avoid\nsetting those breakpoints again." - }, - "update": { - "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", - "id": "clouddebugger.controller.debuggees.breakpoints.update", - "path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", - "request": { - "$ref": "UpdateActiveBreakpointRequest" - }, - "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the controller\nservice.\n\nUpdates to active breakpoint fields are only allowed if the new value\ndoes not change the breakpoint specification. Updates to the `location`,\n`condition` and `expression` fields should not alter the breakpoint\nsemantics. These may only make changes such as canonicalizing a value\nor snapping the location to the correct line of code.", - "httpMethod": "PUT", - "parameterOrder": [ - "debuggeeId", - "id" - ], - "response": { - "$ref": "UpdateActiveBreakpointResponse" - }, - "parameters": { - "id": { - "location": "path", - "description": "Breakpoint identifier, unique in the scope of the debuggee.", - "required": true, - "type": "string" - }, - "debuggeeId": { - "location": "path", - "description": "Identifies the debuggee being debugged.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ] - } - } - } - }, - "methods": { - "register": { - "description": "Registers the debuggee with the controller service.\n\nAll agents attached to the same application should call this method with\nthe same request content to get back the same stable `debuggee_id`. Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\nreturned from any controller method.\n\nThis allows the controller service to disable the agent or recover from any\ndata loss. If the debuggee is disabled by the server, the response will\nhave `is_disabled` set to `true`.", - "request": { - "$ref": "RegisterDebuggeeRequest" - }, - "response": { - "$ref": "RegisterDebuggeeResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_debugger" - ], - "parameters": {}, - "flatPath": "v2/controller/debuggees/register", - "path": "v2/controller/debuggees/register", - "id": "clouddebugger.controller.debuggees.register" - } } } } } }, "parameters": { - "$.xgafv": { + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, + "oauth_token": { + "type": "string", "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", + "description": "OAuth 2.0 token for the current user." + }, + "upload_protocol": { "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" }, "callback": { "type": "string", "location": "query", "description": "JSONP" }, - "alt": { + "$.xgafv": { "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" + "v1 error format", + "v2 error format" ], "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" + }, + "alt": { "description": "Data format for response.", "default": "json", "enum": [ @@ -368,17 +375,23 @@ "media", "proto" ], - "type": "string" - }, - "key": { - "location": "query", - "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.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" + }, + "key": { + "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.", + "type": "string", + "location": "query" }, "quotaUser": { "location": "query", @@ -386,48 +399,17 @@ "type": "string" }, "pp": { - "location": "query", "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "upload_protocol": { - "type": "string", - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." - }, - "prettyPrint": { "type": "boolean", "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" + "location": "query" } }, "version": "v2", "baseUrl": "https://clouddebugger.googleapis.com/", - "kind": "discovery#restDescription", - "description": "Examines the call stack and variables of a running application without stopping or slowing it down.\n", "servicePath": "", + "description": "Examines the call stack and variables of a running application without stopping or slowing it down.\n", + "kind": "discovery#restDescription", "basePath": "", "id": "clouddebugger:v2", "documentationLink": "http://cloud.google.com/debugger", @@ -435,6 +417,246 @@ "discoveryVersion": "v1", "version_module": "True", "schemas": { + "CloudWorkspaceId": { + "type": "object", + "properties": { + "repoId": { + "description": "The ID of the repo containing the workspace.", + "$ref": "RepoId" + }, + "name": { + "description": "The unique name of the workspace within the repo. This is the name\nchosen by the client in the Source API's CreateWorkspace method.", + "type": "string" + } + }, + "id": "CloudWorkspaceId", + "description": "A CloudWorkspaceId is a unique identifier for a cloud workspace.\nA cloud workspace is a place associated with a repo where modified files\ncan be stored before they are committed." + }, + "ListBreakpointsResponse": { + "type": "object", + "properties": { + "breakpoints": { + "description": "List of breakpoints matching the request.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.\nThe fields: `stack_frames`, `evaluated_expressions` and `variable_table`\nare cleared on each breakpoint regardless of it's status.", + "type": "array", + "items": { + "$ref": "Breakpoint" + } + }, + "nextWaitToken": { + "description": "A wait token that can be used in the next call to `list` (REST) or\n`ListBreakpoints` (RPC) to block until the list of breakpoints has changes.", + "type": "string" + } + }, + "id": "ListBreakpointsResponse", + "description": "Response for listing breakpoints." + }, + "Breakpoint": { + "description": "Represents the breakpoint specification, status and results.", + "type": "object", + "properties": { + "finalTime": { + "description": "Time this breakpoint was finalized as seen by the server in seconds\nresolution.", + "format": "google-datetime", + "type": "string" + }, + "variableTable": { + "description": "The `variable_table` exists to aid with computation, memory and network\ntraffic optimization. It enables storing a variable once and reference\nit from multiple variables, including variables stored in the\n`variable_table` itself.\nFor example, the same `this` object, which may appear at many levels of\nthe stack, can have all of its data stored once in this table. The\nstack frame variables then would hold only a reference to it.\n\nThe variable `var_table_index` field is an index into this repeated field.\nThe stored objects are nameless and get their name from the referencing\nvariable. The effective variable is a merge of the referencing variable\nand the referenced variable.", + "type": "array", + "items": { + "$ref": "Variable" + } + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "A set of custom breakpoint properties, populated by the agent, to be\ndisplayed to the user.", + "type": "object" + }, + "logMessageFormat": { + "description": "Only relevant when action is `LOG`. Defines the message to log when\nthe breakpoint hits. The message may include parameter placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluated value\nof the appropriate expression. Expressions not referenced in\n`log_message_format` are not logged.\n\nExample: `Message received, id = $0, count = $1` with\n`expressions` = `[ message.id, message.count ]`.", + "type": "string" + }, + "createTime": { + "type": "string", + "description": "Time this breakpoint was created by the server in seconds resolution.", + "format": "google-datetime" + }, + "expressions": { + "description": "List of read-only expressions to evaluate at the breakpoint location.\nThe expressions are composed using expressions in the programming language\nat the source location. If the breakpoint action is `LOG`, the evaluated\nexpressions are included in log statements.", + "type": "array", + "items": { + "type": "string" + } + }, + "evaluatedExpressions": { + "description": "Values of evaluated expressions at breakpoint time.\nThe evaluated expressions appear in exactly the same order they\nare listed in the `expressions` field.\nThe `name` field holds the original expression text, the `value` or\n`members` field holds the result of the evaluated expression.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\nwill indicate an error and contain the error text.", + "type": "array", + "items": { + "$ref": "Variable" + } + }, + "isFinalState": { + "description": "When true, indicates that this is a final result and the\nbreakpoint state will not change from here on.", + "type": "boolean" + }, + "stackFrames": { + "description": "The stack at breakpoint time.", + "type": "array", + "items": { + "$ref": "StackFrame" + } + }, + "condition": { + "description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a programming language at the source location.", + "type": "string" + }, + "status": { + "description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The message can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates complete failure of the breakpoint.\n\nExample (non-final state): `Still loading symbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition", + "$ref": "StatusMessage" + }, + "userEmail": { + "description": "E-mail address of the user that created this breakpoint", + "type": "string" + }, + "action": { + "type": "string", + "enumDescriptions": [ + "Capture stack frame and variables and update the breakpoint.\nThe data is only captured once. After that the breakpoint is set\nin a final state.", + "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired." + ], + "enum": [ + "CAPTURE", + "LOG" + ], + "description": "Action that the agent should perform when the code at the\nbreakpoint location is hit." + }, + "logLevel": { + "enumDescriptions": [ + "Information log message.", + "Warning log message.", + "Error log message." + ], + "enum": [ + "INFO", + "WARNING", + "ERROR" + ], + "description": "Indicates the severity of the log. Only relevant when action is `LOG`.", + "type": "string" + }, + "id": { + "description": "Breakpoint identifier, unique in the scope of the debuggee.", + "type": "string" + }, + "location": { + "$ref": "SourceLocation", + "description": "Breakpoint source location." + } + }, + "id": "Breakpoint" + }, + "UpdateActiveBreakpointRequest": { + "properties": { + "breakpoint": { + "$ref": "Breakpoint", + "description": "Updated breakpoint information.\nThe field 'id' must be set." + } + }, + "id": "UpdateActiveBreakpointRequest", + "description": "Request to update an active breakpoint.", + "type": "object" + }, + "SetBreakpointResponse": { + "id": "SetBreakpointResponse", + "description": "Response for setting a breakpoint.", + "type": "object", + "properties": { + "breakpoint": { + "description": "Breakpoint resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fileds).", + "$ref": "Breakpoint" + } + } + }, + "SourceContext": { + "description": "A SourceContext is a reference to a tree of files. A SourceContext together\nwith a path point to a unique revision of a single file or directory.", + "type": "object", + "properties": { + "gerrit": { + "description": "A SourceContext referring to a Gerrit project.", + "$ref": "GerritSourceContext" + }, + "cloudRepo": { + "$ref": "CloudRepoSourceContext", + "description": "A SourceContext referring to a revision in a cloud repo." + }, + "cloudWorkspace": { + "description": "A SourceContext referring to a snapshot in a cloud workspace.", + "$ref": "CloudWorkspaceSourceContext" + }, + "git": { + "description": "A SourceContext referring to any third party Git repo (e.g. GitHub).", + "$ref": "GitSourceContext" + } + }, + "id": "SourceContext" + }, + "CloudRepoSourceContext": { + "description": "A CloudRepoSourceContext denotes a particular revision in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", + "type": "object", + "properties": { + "revisionId": { + "description": "A revision ID.", + "type": "string" + }, + "aliasName": { + "description": "The name of an alias (branch, tag, etc.).", + "type": "string" + }, + "repoId": { + "description": "The ID of the repo.", + "$ref": "RepoId" + }, + "aliasContext": { + "description": "An alias, which may be a branch or tag.", + "$ref": "AliasContext" + } + }, + "id": "CloudRepoSourceContext" + }, + "RegisterDebuggeeRequest": { + "description": "Request to register a debuggee.", + "type": "object", + "properties": { + "debuggee": { + "$ref": "Debuggee", + "description": "Debuggee information to register.\nThe fields `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee must be set." + } + }, + "id": "RegisterDebuggeeRequest" + }, + "RegisterDebuggeeResponse": { + "description": "Response for registering a debuggee.", + "type": "object", + "properties": { + "debuggee": { + "$ref": "Debuggee", + "description": "Debuggee resource.\nThe field `id` is guranteed to be set (in addition to the echoed fields)." + } + }, + "id": "RegisterDebuggeeResponse" + }, + "GetBreakpointResponse": { + "description": "Response for getting breakpoint information.", + "type": "object", + "properties": { + "breakpoint": { + "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set.", + "$ref": "Breakpoint" + } + }, + "id": "GetBreakpointResponse" + }, "StatusMessage": { "description": "Represents a contextual status message.\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.", "type": "object", @@ -444,8 +666,8 @@ "type": "boolean" }, "description": { - "description": "Status message text.", - "$ref": "FormatMessage" + "$ref": "FormatMessage", + "description": "Status message text." }, "refersTo": { "enumDescriptions": [ @@ -473,33 +695,24 @@ "id": "StatusMessage" }, "GitSourceContext": { - "description": "A GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub).", "type": "object", "properties": { + "revisionId": { + "description": "Git commit hash.\nrequired.", + "type": "string" + }, "url": { "description": "Git repository URL.", "type": "string" - }, - "revisionId": { - "type": "string", - "description": "Git commit hash.\nrequired." } }, - "id": "GitSourceContext" + "id": "GitSourceContext", + "description": "A GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub)." }, "Variable": { "description": "Represents a variable or an argument possibly of a compound object type.\nNote how the following variables are represented:\n\n1) A simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"int\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured variable\n name: \"x\",\n type: \"T\",\n members { name: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p\",\n type: \"T*\",\n value: \"0x00500500\",\n members { name: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captured:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\n type: \"T*\",\n value: \"0x00400400\"\n status { is_error: true, description { format: \"unavailable\" } }\n }\n\nThe status should describe the reason for the missing value,\nsuch as `\u003coptimized out\u003e`, `\u003cinaccessible\u003e`, `\u003cpointers limit reached\u003e`.\n\nNote that a null pointer should not have members.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captured variable\n name: \"p\",\n value: \"0x00500500\",\n type: \"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed pointer where the pointee was not captured:\n\n int* p = new int(7);\n int** pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value: \"0x00500500\",\n type: \"int**\",\n members {\n value: \"0x00400400\",\n type: \"int*\"\n status {\n is_error: true,\n description: { format: \"unavailable\" } }\n }\n }\n }\n\nTo optimize computation, memory and network traffic, variables that\nrepeat in the output multiple times can be stored once in a shared\nvariable table and be referenced using the `var_table_index` field. The\nvariables stored in the shared table are nameless and are essentially\na partition of the complete variable. To reconstruct the complete\nvariable, merge the referencing variable with the referenced variable.\n\nWhen using the shared variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Captured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // Shared variable table entry #3:\n members { name: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n }\n\nNote that the pointer address is stored with the referencing variable\nand not with the referenced variable. This allows the referenced variable\nto be shared between pointers and references.\n\nThe type field is optional. The debugger agent may or may not support it.", "type": "object", "properties": { - "value": { - "description": "Simple value of the variable.", - "type": "string" - }, - "varTableIndex": { - "description": "Reference to a variable in the shared variable table. More than\none variable can reference the same variable in the table. The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", - "format": "int32", - "type": "integer" - }, "members": { "description": "Members contained or pointed to by the variable.", "type": "array", @@ -512,12 +725,21 @@ "description": "Status associated with the variable. This field will usually stay\nunset. A status of a single variable only applies to that variable or\nexpression. The rest of breakpoint data still remains valid. Variables\nmight be reported in error state even when breakpoint is not in final\nstate.\n\nThe message may refer to variable name with `refers_to` set to\n`VARIABLE_NAME`. Alternatively `refers_to` will be set to `VARIABLE_VALUE`.\nIn either case variable value and members will be unset.\n\nExample of error message applied to name: `Invalid expression syntax`.\n\nExample of information message applied to value: `Not captured`.\n\nExamples of error message applied to value:\n\n* `Malformed string`,\n* `Field f not found in class C`\n* `Null pointer dereference`" }, "name": { - "description": "Name of the variable, if any.", - "type": "string" + "type": "string", + "description": "Name of the variable, if any." }, "type": { "description": "Variable type (e.g. `MyClass`). If the variable is split with\n`var_table_index`, `type` goes next to `value`. The interpretation of\na type is agent specific. It is recommended to include the dynamic type\nrather than a static type of an object.", "type": "string" + }, + "varTableIndex": { + "description": "Reference to a variable in the shared variable table. More than\none variable can reference the same variable in the table. The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", + "format": "int32", + "type": "integer" + }, + "value": { + "description": "Simple value of the variable.", + "type": "string" } }, "id": "Variable" @@ -526,45 +748,45 @@ "description": "Represents a stack frame context.", "type": "object", "properties": { - "arguments": { - "description": "Set of arguments passed to this function.\nNote that this might not be populated for all stack frames.", - "type": "array", - "items": { - "$ref": "Variable" - } - }, "locals": { - "description": "Set of local variables at the stack frame location.\nNote that this might not be populated for all stack frames.", "type": "array", "items": { "$ref": "Variable" - } + }, + "description": "Set of local variables at the stack frame location.\nNote that this might not be populated for all stack frames." }, "location": { - "description": "Source location of the call site.", - "$ref": "SourceLocation" + "$ref": "SourceLocation", + "description": "Source location of the call site." }, "function": { "description": "Demangled function name at the call site.", "type": "string" + }, + "arguments": { + "description": "Set of arguments passed to this function.\nNote that this might not be populated for all stack frames.", + "type": "array", + "items": { + "$ref": "Variable" + } } }, "id": "StackFrame" }, "RepoId": { + "id": "RepoId", "description": "A unique identifier for a cloud repo.", "type": "object", "properties": { - "uid": { - "description": "A server-assigned, globally unique identifier.", - "type": "string" - }, "projectRepoId": { "description": "A combination of a project ID and a repo name.", "$ref": "ProjectRepoId" + }, + "uid": { + "description": "A server-assigned, globally unique identifier.", + "type": "string" } - }, - "id": "RepoId" + } }, "FormatMessage": { "description": "Represents a message with parameters.", @@ -585,49 +807,22 @@ "id": "FormatMessage" }, "ExtendedSourceContext": { - "id": "ExtendedSourceContext", "description": "An ExtendedSourceContext is a SourceContext combined with additional\ndetails describing the context.", "type": "object", "properties": { - "context": { - "description": "Any source context.", - "$ref": "SourceContext" - }, "labels": { - "description": "Labels with user defined metadata.", - "type": "object", "additionalProperties": { "type": "string" - } - } - } - }, - "AliasContext": { - "id": "AliasContext", - "description": "An alias to a repo revision.", - "type": "object", - "properties": { - "name": { - "description": "The alias name.", - "type": "string" + }, + "description": "Labels with user defined metadata.", + "type": "object" }, - "kind": { - "enum": [ - "ANY", - "FIXED", - "MOVABLE", - "OTHER" - ], - "description": "The alias kind.", - "type": "string", - "enumDescriptions": [ - "Do not use.", - "Git tag", - "Git branch", - "OTHER is used to specify non-standard aliases, those not of the kinds\nabove. For example, if a Git repo has a ref named \"refs/foo/bar\", it\nis considered to be of kind OTHER." - ] + "context": { + "$ref": "SourceContext", + "description": "Any source context." } - } + }, + "id": "ExtendedSourceContext" }, "ListDebuggeesResponse": { "description": "Response for listing debuggees.", @@ -643,417 +838,222 @@ }, "id": "ListDebuggeesResponse" }, - "Empty": { - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object", - "properties": {} - }, - "SourceLocation": { - "description": "Represents a location in the source code.", - "type": "object", - "properties": { - "path": { - "description": "Path to the source file within the source context of the target binary.", - "type": "string" - }, - "line": { - "description": "Line inside the file. The first line in the file has the value `1`.", - "format": "int32", - "type": "integer" - } - }, - "id": "SourceLocation" - }, - "Debuggee": { - "description": "Represents the application to debug. The application may include one or more\nreplicated processes executing the same code. Each of these processes is\nattached with a debugger agent, carrying out the debugging commands.\nThe agents attached to the same debuggee are identified by using exactly the\nsame field values when registering.", - "type": "object", - "properties": { - "status": { - "description": "Human readable message to be displayed to the user about this debuggee.\nAbsence of this field indicates no status. The message can be either\ninformational or an error status.", - "$ref": "StatusMessage" - }, - "isInactive": { - "description": "If set to `true`, indicates that the debuggee is considered as inactive by\nthe Controller service.", - "type": "boolean" - }, - "project": { - "type": "string", - "description": "Project the debuggee is associated with.\nUse the project number when registering a Google Cloud Platform project." - }, - "isDisabled": { - "type": "boolean", - "description": "If set to `true`, indicates that the agent should disable itself and\ndetach from the debuggee." - }, - "id": { - "description": "Unique identifier for the debuggee generated by the controller service.", - "type": "string" - }, - "agentVersion": { - "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`google.com/gcp-java/v1.1`).", - "type": "string" - }, - "uniquifier": { - "description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncluding environment and version or build IDs is recommended.", - "type": "string" - }, - "description": { - "description": "Human readable description of the debuggee.\nIncluding a human-readable project name, environment name and version\ninformation is recommended.", - "type": "string" - }, - "sourceContexts": { - "type": "array", - "items": { - "$ref": "SourceContext" - }, - "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nNOTE: This field is deprecated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug agents should populate\nboth this field and `ext_source_contexts`." - }, - "extSourceContexts": { - "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nContexts describing a remote repo related to the source code\nhave a `category` label of `remote_repo`. Source snapshot source\ncontexts have a `category` of `snapshot`.", - "type": "array", - "items": { - "$ref": "ExtendedSourceContext" - } - }, - "labels": { - "description": "A set of custom debuggee properties, populated by the agent, to be\ndisplayed to the user.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "id": "Debuggee" - }, - "ProjectRepoId": { - "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.", - "type": "object", - "properties": { - "projectId": { - "description": "The ID of the project.", - "type": "string" - }, - "repoName": { - "type": "string", - "description": "The name of the repo. Leave empty for the default repo." - } - }, - "id": "ProjectRepoId" - }, - "ListActiveBreakpointsResponse": { - "id": "ListActiveBreakpointsResponse", - "description": "Response for listing active breakpoints.", - "type": "object", - "properties": { - "nextWaitToken": { - "description": "A wait token that can be used in the next method call to block until\nthe list of breakpoints changes.", - "type": "string" - }, - "breakpoints": { - "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.", - "type": "array", - "items": { - "$ref": "Breakpoint" - } - }, - "waitExpired": { - "description": "The `wait_expired` field is set to true by the server when the\nrequest times out and the field `success_on_timeout` is set to true.", - "type": "boolean" - } - } - }, - "CloudWorkspaceSourceContext": { + "AliasContext": { + "description": "An alias to a repo revision.", "type": "object", "properties": { - "workspaceId": { - "$ref": "CloudWorkspaceId", - "description": "The ID of the workspace." - }, - "snapshotId": { + "name": { "type": "string", - "description": "The ID of the snapshot.\nAn empty snapshot_id refers to the most recent snapshot." - } - }, - "id": "CloudWorkspaceSourceContext", - "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot." - }, - "GerritSourceContext": { - "type": "object", - "properties": { - "gerritProject": { - "description": "The full project name within the host. Projects may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"repo name\" is hostURI/project.", - "type": "string" - }, - "aliasContext": { - "description": "An alias, which may be a branch or tag.", - "$ref": "AliasContext" - }, - "hostUri": { - "description": "The URI of a running Gerrit instance.", - "type": "string" - }, - "revisionId": { - "description": "A revision (commit) ID.", - "type": "string" + "description": "The alias name." }, - "aliasName": { + "kind": { + "enum": [ + "ANY", + "FIXED", + "MOVABLE", + "OTHER" + ], + "description": "The alias kind.", "type": "string", - "description": "The name of an alias (branch, tag, etc.)." - } - }, - "id": "GerritSourceContext", - "description": "A SourceContext referring to a Gerrit project." - }, - "UpdateActiveBreakpointResponse": { - "description": "Response for updating an active breakpoint.\nThe message is defined to allow future extensions.", - "type": "object", - "properties": {}, - "id": "UpdateActiveBreakpointResponse" - }, - "CloudWorkspaceId": { - "id": "CloudWorkspaceId", - "description": "A CloudWorkspaceId is a unique identifier for a cloud workspace.\nA cloud workspace is a place associated with a repo where modified files\ncan be stored before they are committed.", - "type": "object", - "properties": { - "repoId": { - "description": "The ID of the repo containing the workspace.", - "$ref": "RepoId" - }, - "name": { - "description": "The unique name of the workspace within the repo. This is the name\nchosen by the client in the Source API's CreateWorkspace method.", - "type": "string" + "enumDescriptions": [ + "Do not use.", + "Git tag", + "Git branch", + "OTHER is used to specify non-standard aliases, those not of the kinds\nabove. For example, if a Git repo has a ref named \"refs/foo/bar\", it\nis considered to be of kind OTHER." + ] } - } + }, + "id": "AliasContext" }, - "ListBreakpointsResponse": { + "Empty": { + "type": "object", + "properties": {}, + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." + }, + "SourceLocation": { + "description": "Represents a location in the source code.", + "type": "object", "properties": { - "nextWaitToken": { - "description": "A wait token that can be used in the next call to `list` (REST) or\n`ListBreakpoints` (RPC) to block until the list of breakpoints has changes.", + "path": { + "description": "Path to the source file within the source context of the target binary.", "type": "string" }, - "breakpoints": { - "description": "List of breakpoints matching the request.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.\nThe fields: `stack_frames`, `evaluated_expressions` and `variable_table`\nare cleared on each breakpoint regardless of it's status.", - "type": "array", - "items": { - "$ref": "Breakpoint" - } + "line": { + "description": "Line inside the file. The first line in the file has the value `1`.", + "format": "int32", + "type": "integer" } }, - "id": "ListBreakpointsResponse", - "description": "Response for listing breakpoints.", - "type": "object" + "id": "SourceLocation" }, - "Breakpoint": { - "id": "Breakpoint", - "description": "Represents the breakpoint specification, status and results.", + "Debuggee": { + "id": "Debuggee", + "description": "Represents the application to debug. The application may include one or more\nreplicated processes executing the same code. Each of these processes is\nattached with a debugger agent, carrying out the debugging commands.\nThe agents attached to the same debuggee are identified by using exactly the\nsame field values when registering.", "type": "object", "properties": { - "action": { - "enumDescriptions": [ - "Capture stack frame and variables and update the breakpoint.\nThe data is only captured once. After that the breakpoint is set\nin a final state.", - "Log each breakpoint hit. The breakpoint remains active until\ndeleted or expired." - ], - "enum": [ - "CAPTURE", - "LOG" - ], - "description": "Action that the agent should perform when the code at the\nbreakpoint location is hit.", - "type": "string" + "isDisabled": { + "type": "boolean", + "description": "If set to `true`, indicates that the agent should disable itself and\ndetach from the debuggee." }, - "logLevel": { - "enumDescriptions": [ - "Information log message.", - "Warning log message.", - "Error log message." - ], - "enum": [ - "INFO", - "WARNING", - "ERROR" - ], - "description": "Indicates the severity of the log. Only relevant when action is `LOG`.", + "agentVersion": { + "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`google.com/gcp-java/v1.1`).", "type": "string" }, "id": { - "description": "Breakpoint identifier, unique in the scope of the debuggee.", + "description": "Unique identifier for the debuggee generated by the controller service.", "type": "string" }, - "location": { - "description": "Breakpoint source location.", - "$ref": "SourceLocation" + "uniquifier": { + "description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncluding environment and version or build IDs is recommended.", + "type": "string" }, - "finalTime": { - "type": "string", - "description": "Time this breakpoint was finalized as seen by the server in seconds\nresolution.", - "format": "google-datetime" + "description": { + "description": "Human readable description of the debuggee.\nIncluding a human-readable project name, environment name and version\ninformation is recommended.", + "type": "string" }, - "variableTable": { - "description": "The `variable_table` exists to aid with computation, memory and network\ntraffic optimization. It enables storing a variable once and reference\nit from multiple variables, including variables stored in the\n`variable_table` itself.\nFor example, the same `this` object, which may appear at many levels of\nthe stack, can have all of its data stored once in this table. The\nstack frame variables then would hold only a reference to it.\n\nThe variable `var_table_index` field is an index into this repeated field.\nThe stored objects are nameless and get their name from the referencing\nvariable. The effective variable is a merge of the referencing variable\nand the referenced variable.", + "sourceContexts": { + "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nNOTE: This field is deprecated. Consumers should use\n`ext_source_contexts` if it is not empty. Debug agents should populate\nboth this field and `ext_source_contexts`.", "type": "array", "items": { - "$ref": "Variable" + "$ref": "SourceContext" } }, - "createTime": { - "description": "Time this breakpoint was created by the server in seconds resolution.", - "format": "google-datetime", - "type": "string" - }, - "logMessageFormat": { - "description": "Only relevant when action is `LOG`. Defines the message to log when\nthe breakpoint hits. The message may include parameter placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluated value\nof the appropriate expression. Expressions not referenced in\n`log_message_format` are not logged.\n\nExample: `Message received, id = $0, count = $1` with\n`expressions` = `[ message.id, message.count ]`.", - "type": "string" + "extSourceContexts": { + "description": "References to the locations and revisions of the source code used in the\ndeployed application.\n\nContexts describing a remote repo related to the source code\nhave a `category` label of `remote_repo`. Source snapshot source\ncontexts have a `category` of `snapshot`.", + "type": "array", + "items": { + "$ref": "ExtendedSourceContext" + } }, "labels": { "additionalProperties": { "type": "string" }, - "description": "A set of custom breakpoint properties, populated by the agent, to be\ndisplayed to the user.", + "description": "A set of custom debuggee properties, populated by the agent, to be\ndisplayed to the user.", "type": "object" }, - "expressions": { - "description": "List of read-only expressions to evaluate at the breakpoint location.\nThe expressions are composed using expressions in the programming language\nat the source location. If the breakpoint action is `LOG`, the evaluated\nexpressions are included in log statements.", - "type": "array", - "items": { - "type": "string" - } - }, - "evaluatedExpressions": { - "description": "Values of evaluated expressions at breakpoint time.\nThe evaluated expressions appear in exactly the same order they\nare listed in the `expressions` field.\nThe `name` field holds the original expression text, the `value` or\n`members` field holds the result of the evaluated expression.\nIf the expression cannot be evaluated, the `status` inside the `Variable`\nwill indicate an error and contain the error text.", - "type": "array", - "items": { - "$ref": "Variable" - } + "status": { + "description": "Human readable message to be displayed to the user about this debuggee.\nAbsence of this field indicates no status. The message can be either\ninformational or an error status.", + "$ref": "StatusMessage" }, - "isFinalState": { - "description": "When true, indicates that this is a final result and the\nbreakpoint state will not change from here on.", + "isInactive": { + "description": "If set to `true`, indicates that the debuggee is considered as inactive by\nthe Controller service.", "type": "boolean" }, - "stackFrames": { - "description": "The stack at breakpoint time.", - "type": "array", - "items": { - "$ref": "StackFrame" - } - }, - "condition": { - "description": "Condition that triggers the breakpoint.\nThe condition is a compound boolean expression composed using expressions\nin a programming language at the source location.", - "type": "string" - }, - "status": { - "$ref": "StatusMessage", - "description": "Breakpoint status.\n\nThe status includes an error flag and a human readable message.\nThis field is usually unset. The message can be either\ninformational or an error message. Regardless, clients should always\ndisplay the text message back to the user.\n\nError status indicates complete failure of the breakpoint.\n\nExample (non-final state): `Still loading symbols...`\n\nExamples (final state):\n\n* `Invalid line number` referring to location\n* `Field f not found in class C` referring to condition" - }, - "userEmail": { - "description": "E-mail address of the user that created this breakpoint", + "project": { + "description": "Project the debuggee is associated with.\nUse the project number when registering a Google Cloud Platform project.", "type": "string" } } }, - "UpdateActiveBreakpointRequest": { - "description": "Request to update an active breakpoint.", + "ListActiveBreakpointsResponse": { + "description": "Response for listing active breakpoints.", "type": "object", "properties": { - "breakpoint": { - "description": "Updated breakpoint information.\nThe field 'id' must be set.", - "$ref": "Breakpoint" + "waitExpired": { + "description": "The `wait_expired` field is set to true by the server when the\nrequest times out and the field `success_on_timeout` is set to true.", + "type": "boolean" + }, + "nextWaitToken": { + "type": "string", + "description": "A wait token that can be used in the next method call to block until\nthe list of breakpoints changes." + }, + "breakpoints": { + "description": "List of all active breakpoints.\nThe fields `id` and `location` are guaranteed to be set on each breakpoint.", + "type": "array", + "items": { + "$ref": "Breakpoint" + } } }, - "id": "UpdateActiveBreakpointRequest" + "id": "ListActiveBreakpointsResponse" }, - "SetBreakpointResponse": { - "description": "Response for setting a breakpoint.", + "ProjectRepoId": { + "description": "Selects a repo using a Google Cloud Platform project ID\n(e.g. winged-cargo-31) and a repo name within that project.", "type": "object", "properties": { - "breakpoint": { - "$ref": "Breakpoint", - "description": "Breakpoint resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fileds)." + "projectId": { + "description": "The ID of the project.", + "type": "string" + }, + "repoName": { + "description": "The name of the repo. Leave empty for the default repo.", + "type": "string" } }, - "id": "SetBreakpointResponse" + "id": "ProjectRepoId" }, - "SourceContext": { - "description": "A SourceContext is a reference to a tree of files. A SourceContext together\nwith a path point to a unique revision of a single file or directory.", - "type": "object", + "CloudWorkspaceSourceContext": { "properties": { - "git": { - "$ref": "GitSourceContext", - "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)." - }, - "gerrit": { - "$ref": "GerritSourceContext", - "description": "A SourceContext referring to a Gerrit project." - }, - "cloudRepo": { - "description": "A SourceContext referring to a revision in a cloud repo.", - "$ref": "CloudRepoSourceContext" + "snapshotId": { + "description": "The ID of the snapshot.\nAn empty snapshot_id refers to the most recent snapshot.", + "type": "string" }, - "cloudWorkspace": { - "$ref": "CloudWorkspaceSourceContext", - "description": "A SourceContext referring to a snapshot in a cloud workspace." + "workspaceId": { + "$ref": "CloudWorkspaceId", + "description": "The ID of the workspace." } }, - "id": "SourceContext" + "id": "CloudWorkspaceSourceContext", + "description": "A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.", + "type": "object" }, - "CloudRepoSourceContext": { - "description": "A CloudRepoSourceContext denotes a particular revision in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", + "GerritSourceContext": { + "description": "A SourceContext referring to a Gerrit project.", "type": "object", "properties": { - "aliasName": { - "description": "The name of an alias (branch, tag, etc.).", - "type": "string" - }, - "repoId": { - "$ref": "RepoId", - "description": "The ID of the repo." + "gerritProject": { + "type": "string", + "description": "The full project name within the host. Projects may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"repo name\" is hostURI/project." }, "aliasContext": { "$ref": "AliasContext", "description": "An alias, which may be a branch or tag." }, + "hostUri": { + "description": "The URI of a running Gerrit instance.", + "type": "string" + }, "revisionId": { - "description": "A revision ID.", + "description": "A revision (commit) ID.", + "type": "string" + }, + "aliasName": { + "description": "The name of an alias (branch, tag, etc.).", "type": "string" } }, - "id": "CloudRepoSourceContext" - }, - "RegisterDebuggeeResponse": { - "description": "Response for registering a debuggee.", - "type": "object", - "properties": { - "debuggee": { - "description": "Debuggee resource.\nThe field `id` is guranteed to be set (in addition to the echoed fields).", - "$ref": "Debuggee" - } - }, - "id": "RegisterDebuggeeResponse" - }, - "RegisterDebuggeeRequest": { - "description": "Request to register a debuggee.", - "type": "object", - "properties": { - "debuggee": { - "$ref": "Debuggee", - "description": "Debuggee information to register.\nThe fields `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee must be set." - } - }, - "id": "RegisterDebuggeeRequest" + "id": "GerritSourceContext" }, - "GetBreakpointResponse": { - "description": "Response for getting breakpoint information.", + "UpdateActiveBreakpointResponse": { + "description": "Response for updating an active breakpoint.\nThe message is defined to allow future extensions.", "type": "object", - "properties": { - "breakpoint": { - "$ref": "Breakpoint", - "description": "Complete breakpoint state.\nThe fields `id` and `location` are guaranteed to be set." - } - }, - "id": "GetBreakpointResponse" + "properties": {}, + "id": "UpdateActiveBreakpointResponse" } }, - "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - } + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest", + "canonicalName": "Cloud Debugger", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud_debugger": { + "description": "Manage cloud debugger" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "rootUrl": "https://clouddebugger.googleapis.com/", + "ownerDomain": "google.com", + "name": "clouddebugger", + "batchPath": "batch", + "title": "Stackdriver Debugger API" } diff --git a/DiscoveryJson/clouderrorreporting_v1beta1.json b/DiscoveryJson/clouderrorreporting_v1beta1.json index 1de82efc39..c79f8987c8 100644 --- a/DiscoveryJson/clouderrorreporting_v1beta1.json +++ b/DiscoveryJson/clouderrorreporting_v1beta1.json @@ -1,132 +1,32 @@ { + "id": "clouderrorreporting:v1beta1", + "documentationLink": "https://cloud.google.com/error-reporting/", + "revision": "20170314", + "discoveryVersion": "v1", + "version_module": "True", "schemas": { - "ListGroupStatsResponse": { - "properties": { - "timeRangeBegin": { - "description": "The timestamp specifies the start time to which the request was restricted.\nThe start time is set based on the requested time range. It may be adjusted\nto a later time if a project has exceeded the storage quota and older data\nhas been deleted.", - "format": "google-datetime", - "type": "string" - }, - "errorGroupStats": { - "description": "The error group stats which match the given request.", - "type": "array", - "items": { - "$ref": "ErrorGroupStats" - } - }, - "nextPageToken": { - "description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.", - "type": "string" - } - }, - "id": "ListGroupStatsResponse", - "description": "Contains a set of requested error group stats.", - "type": "object" - }, - "DeleteEventsResponse": { - "description": "Response message for deleting error events.", - "type": "object", - "properties": {}, - "id": "DeleteEventsResponse" - }, - "ErrorEvent": { - "type": "object", - "properties": { - "context": { - "$ref": "ErrorContext", - "description": "Data about the context in which the error occurred." - }, - "message": { - "type": "string", - "description": "The stack trace that was reported or logged by the service." - }, - "serviceContext": { - "$ref": "ServiceContext", - "description": "The `ServiceContext` for which this error was reported." - }, - "eventTime": { - "description": "Time when the event occurred as provided in the error report.\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "ErrorEvent", - "description": "An error event which is returned by the Error Reporting system." - }, - "ReportedErrorEvent": { - "description": "An error event which is reported to the Error Reporting system.", - "type": "object", - "properties": { - "eventTime": { - "description": "[Optional] Time when the event occurred.\nIf not provided, the time when the event was received by the\nError Reporting system will be used.", - "format": "google-datetime", - "type": "string" - }, - "context": { - "description": "[Optional] A description of the context in which the error occurred.", - "$ref": "ErrorContext" - }, - "message": { - "description": "[Required] The error message.\nIf no `context.reportLocation` is provided, the message must contain a\nheader (typically consisting of the exception type name and an error\nmessage) and an exception stack trace in one of the supported programming\nlanguages and formats.\nSupported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.\nSupported stack trace formats are:\n\n* **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).\n* **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).\n* **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API)\nas returned by V8.\n* **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).\n* **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).\n* **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`\nand contain the result of [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).\n* **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).", - "type": "string" - }, - "serviceContext": { - "description": "[Required] The service context in which this error has occurred.", - "$ref": "ServiceContext" - } - }, - "id": "ReportedErrorEvent" - }, - "ErrorContext": { - "description": "A description of the context in which an error occurred.\nThis data should be provided by the application when reporting an error,\nunless the\nerror report has been generated automatically from Google App Engine logs.", - "type": "object", - "properties": { - "httpRequest": { - "$ref": "HttpRequestContext", - "description": "The HTTP request which was processed when the error was\ntriggered." - }, - "user": { - "description": "The user who caused or was affected by the crash.\nThis can be a user ID, an email address, or an arbitrary token that\nuniquely identifies the user.\nWhen sending an error report, leave this field empty if the user was not\nlogged in. In this case the\nError Reporting system will use other data, such as remote IP address, to\ndistinguish affected users. See `affected_users_count` in\n`ErrorGroupStats`.", - "type": "string" - }, - "reportLocation": { - "$ref": "SourceLocation", - "description": "The location in the source code where the decision was made to\nreport the error, usually the place where it was logged.\nFor a logged exception this would be the source line where the\nexception is logged, usually close to the place where it was\ncaught. This value is in contrast to `Exception.cause_location`,\nwhich describes the source line where the exception was thrown." - } - }, - "id": "ErrorContext" - }, "TrackingIssue": { + "description": "Information related to tracking the progress on resolving the error.", + "type": "object", "properties": { "url": { "description": "A URL pointing to a related entry in an issue tracking system.\nExample: https://github.com/user/project/issues/4", "type": "string" } }, - "id": "TrackingIssue", - "description": "Information related to tracking the progress on resolving the error.", - "type": "object" + "id": "TrackingIssue" }, "ErrorGroupStats": { "description": "Data extracted for a specific group based on certain filter criteria,\nsuch as a given time period and/or service filter.", "type": "object", "properties": { - "group": { - "$ref": "ErrorGroup", - "description": "Group data that is independent of the filter criteria." - }, "firstSeenTime": { "description": "Approximate first occurrence that was ever seen for this group\nand which matches the given filter criteria, ignoring the\ntime_range that was specified in the request.", "format": "google-datetime", "type": "string" }, "count": { - "type": "string", "description": "Approximate total number of events in the given group that match\nthe filter criteria.", - "format": "int64" - }, - "affectedUsersCount": { - "description": "Approximate number of affected users in the given group that\nmatch the filter criteria.\nUsers are distinguished by data in the `ErrorContext` of the\nindividual error events, such as their login name or their remote\nIP address in case of HTTP requests.\nThe number of affected users can be zero even if the number of\nerrors is non-zero if no data was provided from which the\naffected user could be deduced.\nUsers are counted based on data in the request\ncontext that was provided in the error report. If more users are\nimplicitly affected, such as due to a crash of the whole service,\nthis is not reflected here.", "format": "int64", "type": "string" }, @@ -135,6 +35,16 @@ "format": "google-datetime", "type": "string" }, + "affectedUsersCount": { + "description": "Approximate number of affected users in the given group that\nmatch the filter criteria.\nUsers are distinguished by data in the `ErrorContext` of the\nindividual error events, such as their login name or their remote\nIP address in case of HTTP requests.\nThe number of affected users can be zero even if the number of\nerrors is non-zero if no data was provided from which the\naffected user could be deduced.\nUsers are counted based on data in the request\ncontext that was provided in the error report. If more users are\nimplicitly affected, such as due to a crash of the whole service,\nthis is not reflected here.", + "format": "int64", + "type": "string" + }, + "numAffectedServices": { + "description": "The total number of services with a non-zero error count for the given\nfilter criteria.", + "format": "int32", + "type": "integer" + }, "affectedServices": { "description": "Service contexts with a non-zero error count for the given filter\ncriteria. This list can be truncated if multiple services are affected.\nRefer to `num_affected_services` for the total count.", "type": "array", @@ -142,14 +52,9 @@ "$ref": "ServiceContext" } }, - "numAffectedServices": { - "type": "integer", - "description": "The total number of services with a non-zero error count for the given\nfilter criteria.", - "format": "int32" - }, "representative": { - "$ref": "ErrorEvent", - "description": "An arbitrary event that is chosen as representative for the whole group.\nThe representative event is intended to be used as a quick preview for\nthe whole group. Events in the group are usually sufficiently similar\nto each other such that showing an arbitrary representative provides\ninsight into the characteristics of the group as a whole." + "description": "An arbitrary event that is chosen as representative for the whole group.\nThe representative event is intended to be used as a quick preview for\nthe whole group. Events in the group are usually sufficiently similar\nto each other such that showing an arbitrary representative provides\ninsight into the characteristics of the group as a whole.", + "$ref": "ErrorEvent" }, "timedCounts": { "description": "Approximate number of occurrences over time.\nTimed counts returned by ListGroups are guaranteed to be:\n\n- Inside the requested time interval\n- Non-overlapping, and\n- Ordered by ascending time.", @@ -157,11 +62,17 @@ "items": { "$ref": "TimedCount" } + }, + "group": { + "$ref": "ErrorGroup", + "description": "Group data that is independent of the filter criteria." } }, "id": "ErrorGroupStats" }, "ListEventsResponse": { + "description": "Contains a set of requested error events.", + "type": "object", "properties": { "timeRangeBegin": { "description": "The timestamp specifies the start time to which the request was restricted.", @@ -180,18 +91,16 @@ "type": "string" } }, - "id": "ListEventsResponse", - "description": "Contains a set of requested error events.", - "type": "object" + "id": "ListEventsResponse" }, "TimedCount": { "description": "The number of errors in a given time period.\nAll numbers are approximate since the error events are sampled\nbefore counting them.", "type": "object", "properties": { "endTime": { - "type": "string", "description": "End of the time period to which `count` refers (excluded).", - "format": "google-datetime" + "format": "google-datetime", + "type": "string" }, "count": { "description": "Approximate number of occurrences in the given time period.", @@ -207,14 +116,9 @@ "id": "TimedCount" }, "ErrorGroup": { - "id": "ErrorGroup", "description": "Description of a group of similar error events.", "type": "object", "properties": { - "name": { - "description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e", - "type": "string" - }, "groupId": { "description": "Group IDs are unique for a given project. If the same kind of error\noccurs in different service contexts, it will receive the same group ID.", "type": "string" @@ -225,8 +129,13 @@ "items": { "$ref": "TrackingIssue" } + }, + "name": { + "description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e", + "type": "string" } - } + }, + "id": "ErrorGroup" }, "SourceLocation": { "description": "Indicates a location in the source code of the service for which errors are\nreported. `functionName` must be provided by the application when reporting\nan error, unless the error report contains a `message` with a supported\nexception stack trace. All fields are optional for the later case.", @@ -252,6 +161,10 @@ "description": "Describes a running service that sends errors.\nIts version changes over time and multiple versions can run in parallel.", "type": "object", "properties": { + "resourceType": { + "description": "Type of the MonitoredResource. List of possible values:\nhttps://cloud.google.com/monitoring/api/resources\n\nValue is set automatically for incoming errors and must not be set when\nreporting errors.", + "type": "string" + }, "version": { "description": "Represents the source code version that the developer provided,\nwhich could represent a version label or a Git SHA-1 hash, for example.\nFor App Engine standard environment, the version is set to the version of\nthe app.", "type": "string" @@ -259,10 +172,6 @@ "service": { "description": "An identifier of the service, such as the name of the\nexecutable, job, or Google App Engine service name. This field is expected\nto have a low number of values that are relatively stable over time, as\nopposed to `version`, which can be changed whenever new code is deployed.\n\nContains the service name for error reports extracted from Google\nApp Engine logs or `default` if the App Engine default service is used.", "type": "string" - }, - "resourceType": { - "description": "Type of the MonitoredResource. List of possible values:\nhttps://cloud.google.com/monitoring/api/resources\n\nValue is set automatically for incoming errors and must not be set when\nreporting errors.", - "type": "string" } }, "id": "ServiceContext" @@ -277,6 +186,14 @@ "description": "HTTP request data that is related to a reported error.\nThis data should be provided by the application when reporting an error,\nunless the\nerror report has been generated automatically from Google App Engine logs.", "type": "object", "properties": { + "remoteIp": { + "description": "The IP address from which the request originated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report.", + "type": "string" + }, + "referrer": { + "description": "The referrer information that is provided with the request.", + "type": "string" + }, "userAgent": { "description": "The user agent information that is provided with the request.", "type": "string" @@ -293,24 +210,112 @@ "method": { "description": "The type of HTTP request, such as `GET`, `POST`, etc.", "type": "string" + } + }, + "id": "HttpRequestContext" + }, + "ListGroupStatsResponse": { + "description": "Contains a set of requested error group stats.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "If non-empty, more results are available.\nPass this token, along with the same query parameters as the first\nrequest, to view the next page of results.", + "type": "string" }, - "remoteIp": { - "type": "string", - "description": "The IP address from which the request originated.\nThis can be IPv4, IPv6, or a token which is derived from the\nIP address, depending on the data that has been provided\nin the error report." + "timeRangeBegin": { + "description": "The timestamp specifies the start time to which the request was restricted.\nThe start time is set based on the requested time range. It may be adjusted\nto a later time if a project has exceeded the storage quota and older data\nhas been deleted.", + "format": "google-datetime", + "type": "string" }, - "referrer": { - "description": "The referrer information that is provided with the request.", + "errorGroupStats": { + "description": "The error group stats which match the given request.", + "type": "array", + "items": { + "$ref": "ErrorGroupStats" + } + } + }, + "id": "ListGroupStatsResponse" + }, + "DeleteEventsResponse": { + "description": "Response message for deleting error events.", + "type": "object", + "properties": {}, + "id": "DeleteEventsResponse" + }, + "ErrorEvent": { + "description": "An error event which is returned by the Error Reporting system.", + "type": "object", + "properties": { + "eventTime": { + "description": "Time when the event occurred as provided in the error report.\nIf the report did not contain a timestamp, the time the error was received\nby the Error Reporting system is used.", + "format": "google-datetime", + "type": "string" + }, + "context": { + "description": "Data about the context in which the error occurred.", + "$ref": "ErrorContext" + }, + "message": { + "description": "The stack trace that was reported or logged by the service.", "type": "string" + }, + "serviceContext": { + "description": "The `ServiceContext` for which this error was reported.", + "$ref": "ServiceContext" } }, - "id": "HttpRequestContext" + "id": "ErrorEvent" + }, + "ReportedErrorEvent": { + "description": "An error event which is reported to the Error Reporting system.", + "type": "object", + "properties": { + "serviceContext": { + "description": "[Required] The service context in which this error has occurred.", + "$ref": "ServiceContext" + }, + "eventTime": { + "description": "[Optional] Time when the event occurred.\nIf not provided, the time when the event was received by the\nError Reporting system will be used.", + "format": "google-datetime", + "type": "string" + }, + "context": { + "description": "[Optional] A description of the context in which the error occurred.", + "$ref": "ErrorContext" + }, + "message": { + "description": "[Required] The error message.\nIf no `context.reportLocation` is provided, the message must contain a\nheader (typically consisting of the exception type name and an error\nmessage) and an exception stack trace in one of the supported programming\nlanguages and formats.\nSupported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.\nSupported stack trace formats are:\n\n* **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).\n* **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).\n* **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API)\nas returned by V8.\n* **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).\n* **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).\n* **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`\nand contain the result of [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).\n* **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).", + "type": "string" + } + }, + "id": "ReportedErrorEvent" + }, + "ErrorContext": { + "description": "A description of the context in which an error occurred.\nThis data should be provided by the application when reporting an error,\nunless the\nerror report has been generated automatically from Google App Engine logs.", + "type": "object", + "properties": { + "reportLocation": { + "$ref": "SourceLocation", + "description": "The location in the source code where the decision was made to\nreport the error, usually the place where it was logged.\nFor a logged exception this would be the source line where the\nexception is logged, usually close to the place where it was\ncaught. This value is in contrast to `Exception.cause_location`,\nwhich describes the source line where the exception was thrown." + }, + "httpRequest": { + "$ref": "HttpRequestContext", + "description": "The HTTP request which was processed when the error was\ntriggered." + }, + "user": { + "description": "The user who caused or was affected by the crash.\nThis can be a user ID, an email address, or an arbitrary token that\nuniquely identifies the user.\nWhen sending an error report, leave this field empty if the user was not\nlogged in. In this case the\nError Reporting system will use other data, such as remote IP address, to\ndistinguish affected users. See `affected_users_count` in\n`ErrorGroupStats`.", + "type": "string" + } + }, + "id": "ErrorContext" } }, + "protocol": "rest", "icons": { "x32": "http://www.google.com/images/icons/product/search-32.gif", "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "protocol": "rest", "canonicalName": "Clouderrorreporting", "auth": { "oauth2": { @@ -329,68 +334,94 @@ "ownerName": "Google", "resources": { "projects": { - "resources": { - "groups": { - "methods": { - "get": { - "path": "v1beta1/{+groupName}", - "id": "clouderrorreporting.projects.groups.get", - "description": "Get the specified group.", - "response": { - "$ref": "ErrorGroup" - }, - "httpMethod": "GET", - "parameterOrder": [ - "groupName" - ], - "parameters": { - "groupName": { - "pattern": "^projects/[^/]+/groups/[^/]+$", - "location": "path", - "description": "[Required] The group resource name. Written as\n\u003ccode\u003eprojects/\u003cvar\u003eprojectID\u003c/var\u003e/groups/\u003cvar\u003egroup_name\u003c/var\u003e\u003c/code\u003e.\nCall\n\u003ca href=\"/error-reporting/reference/rest/v1beta1/projects.groupStats/list\"\u003e\n\u003ccode\u003egroupStats.list\u003c/code\u003e\u003c/a\u003e to return a list of groups belonging to\nthis project.\n\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-group\u003c/code\u003e", - "required": true, - "type": "string" - } + "methods": { + "deleteEvents": { + "description": "Deletes all error events of a given project.", + "httpMethod": "DELETE", + "response": { + "$ref": "DeleteEventsResponse" + }, + "parameterOrder": [ + "projectName" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectName": { + "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/events", + "id": "clouderrorreporting.projects.deleteEvents", + "path": "v1beta1/{+projectName}/events" + } + }, + "resources": { + "groups": { + "methods": { + "get": { + "flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}", + "path": "v1beta1/{+groupName}", + "id": "clouderrorreporting.projects.groups.get", + "description": "Get the specified group.", + "response": { + "$ref": "ErrorGroup" }, + "parameterOrder": [ + "groupName" + ], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}" + "parameters": { + "groupName": { + "description": "[Required] The group resource name. Written as\n\u003ccode\u003eprojects/\u003cvar\u003eprojectID\u003c/var\u003e/groups/\u003cvar\u003egroup_name\u003c/var\u003e\u003c/code\u003e.\nCall\n\u003ca href=\"/error-reporting/reference/rest/v1beta1/projects.groupStats/list\"\u003e\n\u003ccode\u003egroupStats.list\u003c/code\u003e\u003c/a\u003e to return a list of groups belonging to\nthis project.\n\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-group\u003c/code\u003e", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/groups/[^/]+$", + "location": "path" + } + } }, "update": { - "id": "clouderrorreporting.projects.groups.update", - "path": "v1beta1/{+name}", - "description": "Replace the data for the specified group.\nFails if the group does not exist.", - "request": { + "response": { "$ref": "ErrorGroup" }, - "httpMethod": "PUT", "parameterOrder": [ "name" ], - "response": { - "$ref": "ErrorGroup" - }, + "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { + "description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e", "required": true, "type": "string", "pattern": "^projects/[^/]+/groups/[^/]+$", - "location": "path", - "description": "The group resource name.\nExample: \u003ccode\u003eprojects/my-project-123/groups/my-groupid\u003c/code\u003e" + "location": "path" } }, - "flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}" + "flatPath": "v1beta1/projects/{projectsId}/groups/{groupsId}", + "path": "v1beta1/{+name}", + "id": "clouderrorreporting.projects.groups.update", + "description": "Replace the data for the specified group.\nFails if the group does not exist.", + "request": { + "$ref": "ErrorGroup" + } } } }, "groupStats": { "methods": { "list": { - "description": "Lists the specified groups.", "response": { "$ref": "ListGroupStatsResponse" }, @@ -398,18 +429,26 @@ "projectName" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { - "pageToken": { + "projectName": { + "location": "path", + "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas \u003ccode\u003eprojects/\u003c/code\u003e plus the\n\u003ca href=\"https://support.google.com/cloud/answer/6158840\"\u003eGoogle Cloud\nPlatform project ID\u003c/a\u003e.\n\nExample: \u003ccode\u003eprojects/my-project-123\u003c/code\u003e.", + "required": true, "type": "string", + "pattern": "^projects/[^/]+$" + }, + "timedCountDuration": { "location": "query", - "description": "[Optional] A `next_page_token` provided by a previous response. To view\nadditional results, pass this token along with the identical query\nparameters as the first request." + "description": "[Optional] The preferred duration for a single returned `TimedCount`.\nIf not set, no timed counts are returned.", + "format": "google-duration", + "type": "string" }, - "timeRange.period": { - "description": "Restricts the query to the specified time range.", + "pageToken": { + "description": "[Optional] A `next_page_token` provided by a previous response. To view\nadditional results, pass this token along with the identical query\nparameters as the first request.", "type": "string", + "location": "query" + }, + "timeRange.period": { "location": "query", "enum": [ "PERIOD_UNSPECIFIED", @@ -418,7 +457,9 @@ "PERIOD_1_DAY", "PERIOD_1_WEEK", "PERIOD_30_DAYS" - ] + ], + "description": "Restricts the query to the specified time range.", + "type": "string" }, "alignment": { "location": "query", @@ -437,17 +478,18 @@ "repeated": true }, "serviceFilter.service": { - "location": "query", "description": "[Optional] The exact value to match against\n[`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", - "type": "string" + "type": "string", + "location": "query" }, "pageSize": { + "location": "query", "description": "[Optional] The maximum number of results to return per response.\nDefault is 20.", "format": "int32", - "type": "integer", - "location": "query" + "type": "integer" }, "order": { + "location": "query", "enum": [ "GROUP_ORDER_UNSPECIFIED", "COUNT_DESC", @@ -456,47 +498,65 @@ "AFFECTED_USERS_DESC" ], "description": "[Optional] The sort order in which the results are returned.\nDefault is `COUNT_DESC`.", - "type": "string", - "location": "query" + "type": "string" }, "serviceFilter.version": { "location": "query", "description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", "type": "string" }, - "alignmentTime": { - "location": "query", - "description": "[Optional] Time where the timed counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UTC.", - "format": "google-datetime", - "type": "string" - }, "serviceFilter.resourceType": { - "location": "query", "description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", - "type": "string" - }, - "projectName": { - "required": true, "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas \u003ccode\u003eprojects/\u003c/code\u003e plus the\n\u003ca href=\"https://support.google.com/cloud/answer/6158840\"\u003eGoogle Cloud\nPlatform project ID\u003c/a\u003e.\n\nExample: \u003ccode\u003eprojects/my-project-123\u003c/code\u003e." + "location": "query" }, - "timedCountDuration": { - "type": "string", + "alignmentTime": { "location": "query", - "description": "[Optional] The preferred duration for a single returned `TimedCount`.\nIf not set, no timed counts are returned.", - "format": "google-duration" + "description": "[Optional] Time where the timed counts shall be aligned if rounded\nalignment is chosen. Default is 00:00 UTC.", + "format": "google-datetime", + "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1beta1/projects/{projectsId}/groupStats", "path": "v1beta1/{+projectName}/groupStats", - "id": "clouderrorreporting.projects.groupStats.list" + "id": "clouderrorreporting.projects.groupStats.list", + "description": "Lists the specified groups." } } }, "events": { "methods": { + "report": { + "description": "Report an individual error event.\n\nThis endpoint accepts \u003cstrong\u003eeither\u003c/strong\u003e an OAuth token,\n\u003cstrong\u003eor\u003c/strong\u003e an\n\u003ca href=\"https://support.google.com/cloud/answer/6158862\"\u003eAPI key\u003c/a\u003e\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example:\n\u003cpre\u003ePOST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456\u003c/pre\u003e", + "request": { + "$ref": "ReportedErrorEvent" + }, + "response": { + "$ref": "ReportErrorEventResponse" + }, + "parameterOrder": [ + "projectName" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectName": { + "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/events:report", + "path": "v1beta1/{+projectName}/events:report", + "id": "clouderrorreporting.projects.events.report" + }, "list": { "description": "Lists the specified events.", "response": { @@ -510,24 +570,6 @@ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "serviceFilter.resourceType": { - "description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", - "type": "string", - "location": "query" - }, - "timeRange.period": { - "type": "string", - "location": "query", - "enum": [ - "PERIOD_UNSPECIFIED", - "PERIOD_1_HOUR", - "PERIOD_6_HOURS", - "PERIOD_1_DAY", - "PERIOD_1_WEEK", - "PERIOD_30_DAYS" - ], - "description": "Restricts the query to the specified time range." - }, "projectName": { "location": "path", "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.", @@ -546,124 +588,55 @@ "location": "query" }, "pageToken": { - "location": "query", "description": "[Optional] A `next_page_token` provided by a previous response.", - "type": "string" + "type": "string", + "location": "query" }, "pageSize": { - "type": "integer", - "location": "query", "description": "[Optional] The maximum number of results to return per response.", - "format": "int32" + "format": "int32", + "type": "integer", + "location": "query" }, "serviceFilter.version": { "description": "[Optional] The exact value to match against\n[`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", "type": "string", "location": "query" + }, + "serviceFilter.resourceType": { + "location": "query", + "description": "[Optional] The exact value to match against\n[`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", + "type": "string" + }, + "timeRange.period": { + "location": "query", + "enum": [ + "PERIOD_UNSPECIFIED", + "PERIOD_1_HOUR", + "PERIOD_6_HOURS", + "PERIOD_1_DAY", + "PERIOD_1_WEEK", + "PERIOD_30_DAYS" + ], + "description": "Restricts the query to the specified time range.", + "type": "string" } }, "flatPath": "v1beta1/projects/{projectsId}/events", "path": "v1beta1/{+projectName}/events", "id": "clouderrorreporting.projects.events.list" - }, - "report": { - "httpMethod": "POST", - "parameterOrder": [ - "projectName" - ], - "response": { - "$ref": "ReportErrorEventResponse" - }, - "parameters": { - "projectName": { - "location": "path", - "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectsId}/events:report", - "id": "clouderrorreporting.projects.events.report", - "path": "v1beta1/{+projectName}/events:report", - "request": { - "$ref": "ReportedErrorEvent" - }, - "description": "Report an individual error event.\n\nThis endpoint accepts \u003cstrong\u003eeither\u003c/strong\u003e an OAuth token,\n\u003cstrong\u003eor\u003c/strong\u003e an\n\u003ca href=\"https://support.google.com/cloud/answer/6158862\"\u003eAPI key\u003c/a\u003e\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example:\n\u003cpre\u003ePOST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456\u003c/pre\u003e" } } } - }, - "methods": { - "deleteEvents": { - "flatPath": "v1beta1/projects/{projectsId}/events", - "path": "v1beta1/{+projectName}/events", - "id": "clouderrorreporting.projects.deleteEvents", - "description": "Deletes all error events of a given project.", - "response": { - "$ref": "DeleteEventsResponse" - }, - "parameterOrder": [ - "projectName" - ], - "httpMethod": "DELETE", - "parameters": { - "projectName": { - "description": "[Required] The resource name of the Google Cloud Platform project. Written\nas `projects/` plus the\n[Google Cloud Platform project\nID](https://support.google.com/cloud/answer/6158840).\nExample: `projects/my-project-123`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } } } }, "parameters": { - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" - }, - "uploadType": { + "callback": { "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "description": "JSONP", "type": "string" }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, "$.xgafv": { "description": "V1 error format.", "type": "string", @@ -677,12 +650,9 @@ "2" ] }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "alt": { + "description": "Data format for response.", + "default": "json", "enum": [ "json", "media", @@ -694,35 +664,65 @@ "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], - "location": "query", - "description": "Data format for response.", - "default": "json" - }, - "key": { - "location": "query", - "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.", - "type": "string" + "location": "query" }, "access_token": { "location": "query", "description": "OAuth access token.", "type": "string" }, + "key": { + "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.", + "type": "string", + "location": "query" + }, "quotaUser": { - "location": "query", "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" } }, "version": "v1beta1", "baseUrl": "https://clouderrorreporting.googleapis.com/", "kind": "discovery#restDescription", - "description": "Stackdriver Error Reporting groups and counts similar errors from cloud services. The Stackdriver Error Reporting API provides a way to report new errors and read access to error groups and their associated errors.\n", "servicePath": "", - "basePath": "", - "documentationLink": "https://cloud.google.com/error-reporting/", - "revision": "20170314", - "id": "clouderrorreporting:v1beta1", - "discoveryVersion": "v1", - "version_module": "True" + "description": "Stackdriver Error Reporting groups and counts similar errors from cloud services. The Stackdriver Error Reporting API provides a way to report new errors and read access to error groups and their associated errors.\n", + "basePath": "" } diff --git a/DiscoveryJson/cloudfunctions_v1.json b/DiscoveryJson/cloudfunctions_v1.json index 494cb6e764..397cda49a4 100644 --- a/DiscoveryJson/cloudfunctions_v1.json +++ b/DiscoveryJson/cloudfunctions_v1.json @@ -2,36 +2,6 @@ "discoveryVersion": "v1", "version_module": "True", "schemas": { - "Location": { - "description": "A resource that represents Google Cloud Platform location.", - "type": "object", - "properties": { - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object" - }, - "name": { - "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "id": "Location" - }, "OperationMetadataV1Beta2": { "description": "Metadata describing an Operation", "type": "object", @@ -41,12 +11,12 @@ "type": "string" }, "request": { + "description": "The original request that started the operation.", + "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" - }, - "description": "The original request that started the operation.", - "type": "object" + } }, "type": { "description": "Type of operation.", @@ -66,6 +36,36 @@ } }, "id": "OperationMetadataV1Beta2" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "type": "object", + "properties": { + "labels": { + "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", + "type": "object" + } + }, + "id": "Location" } }, "icons": { @@ -95,29 +95,29 @@ "locations": { "methods": { "get": { + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "id": "cloudfunctions.projects.locations.get", + "path": "v1/{+name}", + "description": "Get information about a location.", + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], "response": { "$ref": "Location" }, - "parameterOrder": [ - "name" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" ], - "httpMethod": "GET", "parameters": { "name": { - "location": "path", "description": "Resource name for the location.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+$" + "pattern": "^projects/[^/]+/locations/[^/]+$", + "location": "path" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", - "path": "v1/{+name}", - "id": "cloudfunctions.projects.locations.get", - "description": "Get information about a location." + } } } } @@ -126,15 +126,15 @@ }, "parameters": { "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { - "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true" + "default": "true", + "location": "query" }, "uploadType": { "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", @@ -142,18 +142,16 @@ "location": "query" }, "fields": { - "location": "query", "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "type": "string", + "location": "query" }, "callback": { + "location": "query", "description": "JSONP", - "type": "string", - "location": "query" + "type": "string" }, "$.xgafv": { - "description": "V1 error format.", - "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" @@ -162,9 +160,16 @@ "enum": [ "1", "2" - ] + ], + "description": "V1 error format.", + "type": "string" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -173,52 +178,47 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" + "default": "json" }, "key": { "location": "query", "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.", "type": "string" }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, "quotaUser": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "pp": { + "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" }, "bearer_token": { - "location": "query", "description": "OAuth bearer token.", - "type": "string" + "type": "string", + "location": "query" }, "oauth_token": { - "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string" + "type": "string", + "location": "query" } }, "version": "v1", "baseUrl": "https://cloudfunctions.googleapis.com/", - "description": "API for managing lightweight user-provided functions executed in response to events.", "kind": "discovery#restDescription", + "description": "API for managing lightweight user-provided functions executed in response to events.", "servicePath": "", "basePath": "", - "revision": "20170328", "documentationLink": "https://cloud.google.com/functions", + "revision": "20170328", "id": "cloudfunctions:v1" } diff --git a/DiscoveryJson/cloudfunctions_v1beta2.json b/DiscoveryJson/cloudfunctions_v1beta2.json index 780c7ba450..4f316db459 100644 --- a/DiscoveryJson/cloudfunctions_v1beta2.json +++ b/DiscoveryJson/cloudfunctions_v1beta2.json @@ -1,427 +1,243 @@ { - "canonicalName": "Cloud Functions", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "rootUrl": "https://cloudfunctions.googleapis.com/", - "ownerDomain": "google.com", - "name": "cloudfunctions", - "batchPath": "batch", - "title": "Google Cloud Functions API", - "ownerName": "Google", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "list": { - "description": "Lists information about the supported locations for this service.", - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "ListLocationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "type": "string", - "location": "query" - }, - "name": { - "location": "path", - "description": "The resource that owns the locations collection, if applicable.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - }, - "pageToken": { - "description": "The standard list page token.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "type": "integer", - "location": "query" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/locations", - "id": "cloudfunctions.projects.locations.list", - "path": "v1beta2/{+name}/locations" - } - }, - "resources": { - "functions": { - "methods": { - "delete": { - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", - "id": "cloudfunctions.projects.locations.functions.delete", - "path": "v1beta2/{+name}", - "description": "Deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", - "httpMethod": "DELETE", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Operation" - }, - "parameters": { - "name": { - "description": "The name of the function which should be deleted.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "response": { - "$ref": "ListFunctionsResponse" - }, - "parameterOrder": [ - "location" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageSize": { - "location": "query", - "description": "Maximum number of functions to return per call.", - "format": "int32", - "type": "integer" - }, - "location": { - "description": "The project and location from which the function should be listed,\nspecified in the format `projects/*/locations/*`\nIf you want to list functions in all locations, use \"-\" in place of a\nlocation.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "location": "path" - }, - "pageToken": { - "description": "The value returned by the last\n`ListFunctionsResponse`; indicates that\nthis is a continuation of a prior `ListFunctions` call, and that the\nsystem should return the next page of data.", - "type": "string", - "location": "query" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions", - "path": "v1beta2/{+location}/functions", - "id": "cloudfunctions.projects.locations.functions.list", - "description": "Returns a list of functions that belong to the requested project." - }, - "create": { - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions", - "path": "v1beta2/{+location}/functions", - "id": "cloudfunctions.projects.locations.functions.create", - "request": { - "$ref": "CloudFunction" - }, - "description": "Creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "location" - ], - "httpMethod": "POST", - "parameters": { - "location": { - "location": "path", - "description": "The project and location in which the function should be created, specified\nin the format `projects/*/locations/*`", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "call": { - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:call", - "id": "cloudfunctions.projects.locations.functions.call", - "path": "v1beta2/{+name}:call", - "request": { - "$ref": "CallFunctionRequest" - }, - "description": "Invokes synchronously deployed function. To be used for testing, very\nlimited traffic allowed.", - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "CallFunctionResponse" - }, - "parameters": { - "name": { - "description": "The name of the function to be called.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "CloudFunction" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The name of the function which details should be obtained.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", - "id": "cloudfunctions.projects.locations.functions.get", - "path": "v1beta2/{+name}", - "description": "Returns a function with the given name from the requested project." - }, - "update": { - "request": { - "$ref": "CloudFunction" - }, - "description": "Updates existing function.", - "httpMethod": "PUT", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Operation" - }, - "parameters": { - "name": { - "description": "The name of the function to be updated.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", - "id": "cloudfunctions.projects.locations.functions.update", - "path": "v1beta2/{+name}" - } - } - } + "schemas": { + "OperationMetadataV1Beta2": { + "description": "Metadata describing an Operation", + "type": "object", + "properties": { + "target": { + "description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1", + "type": "string" + }, + "request": { + "description": "The original request that started the operation.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" } - } - } - }, - "operations": { - "methods": { - "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", - "httpMethod": "GET", - "parameterOrder": [], - "response": { - "$ref": "ListOperationsResponse" - }, - "parameters": { - "filter": { - "location": "query", - "description": "The standard list filter.", - "type": "string" - }, - "name": { - "description": "The name of the operation collection.", - "type": "string", - "location": "query" - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The standard list page size.", - "format": "int32", - "type": "integer" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta2/operations", - "id": "cloudfunctions.operations.list", - "path": "v1beta2/operations" }, - "get": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "name" + "type": { + "enumDescriptions": [ + "Unknown operation type.", + "Triggered by CreateFunction call", + "Triggered by UpdateFunction call", + "Triggered by DeleteFunction call." ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "enum": [ + "OPERATION_UNSPECIFIED", + "CREATE_FUNCTION", + "UPDATE_FUNCTION", + "DELETE_FUNCTION" ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "required": true, - "type": "string", - "pattern": "^operations/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta2/operations/{operationsId}", - "path": "v1beta2/{+name}", - "id": "cloudfunctions.operations.get", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." + "description": "Type of operation.", + "type": "string" } - } - } - }, - "parameters": { - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + }, + "id": "OperationMetadataV1Beta2" }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "id": "Status" }, - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ] + "CallFunctionRequest": { + "description": "Request for the `CallFunction` method.", + "type": "object", + "properties": { + "data": { + "description": "Input to be passed to the function.", + "type": "string" + } + }, + "id": "CallFunctionRequest" }, - "alt": { - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query" + "SourceRepository": { + "description": "Describes the location of the function source in a remote repository.", + "type": "object", + "properties": { + "repositoryUrl": { + "description": "URL to the hosted repository where the function is defined. Only paths in\nhttps://source.developers.google.com domain are supported. The path should\ncontain the name of the repository.", + "type": "string" + }, + "tag": { + "description": "The name of the tag that captures the state of the repository from\nwhich the function should be fetched.", + "type": "string" + }, + "branch": { + "description": "The name of the branch from which the function should be fetched.", + "type": "string" + }, + "sourcePath": { + "description": "The path within the repository where the function is defined. The path\nshould point to the directory where Cloud Functions files are located. Use\n\"/\" if the function is defined directly in the root directory of a\nrepository.", + "type": "string" + }, + "deployedRevision": { + "description": "Output only. The id of the revision that was resolved at the moment of\nfunction creation or update. For example when a user deployed from a\nbranch, it will be the revision id of the latest change on this branch at\nthat time. If user deployed from revision then this value will be always\nequal to the revision specified by the user.", + "type": "string" + }, + "revision": { + "description": "The id of the revision that captures the state of the repository from\nwhich the function should be fetched.", + "type": "string" + } + }, + "id": "SourceRepository" }, - "key": { - "location": "query", - "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.", - "type": "string" + "CloudFunction": { + "description": "Describes a Cloud Function that contains user computation executed in\nresponse to an event. It encapsulate function and triggers configurations.", + "type": "object", + "properties": { + "eventTrigger": { + "description": "A source that fires events in response to a condition in another service.", + "$ref": "EventTrigger" + }, + "status": { + "description": "Output only. Status of the function deployment.", + "type": "string", + "enumDescriptions": [ + "Status not specified.", + "Successfully deployed.", + "Not deployed correctly - behavior is undefined. The item should be updated\nor deleted to move it out of this state.", + "Creation or update in progress.", + "Deletion in progress." + ], + "enum": [ + "STATUS_UNSPECIFIED", + "READY", + "FAILED", + "DEPLOYING", + "DELETING" + ] + }, + "timeout": { + "description": "The function execution timeout. Execution is considered failed and\ncan be terminated if the function is not completed at the end of the\ntimeout period. Defaults to 60 seconds.", + "format": "google-duration", + "type": "string" + }, + "availableMemoryMb": { + "description": "The amount of memory in MB available for a function.\nDefaults to 256MB.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "A user-defined name of the function. Function names must be unique\nglobally and match pattern `projects/*/locations/*/functions/*`", + "type": "string" + }, + "serviceAccount": { + "description": "Output only. The service account of the function.", + "type": "string" + }, + "sourceArchiveUrl": { + "description": "The URL, starting with gs://, pointing to the zip archive which contains\nthe function.", + "type": "string" + }, + "sourceRepository": { + "description": "The hosted repository where the function is defined.", + "$ref": "SourceRepository" + }, + "entryPoint": { + "description": "The name of the function (as defined in source code) that will be\nexecuted. Defaults to the resource name suffix, if not specified. For\nbackward compatibility, if function with given name is not found, then the\nsystem will try to use function named \"function\".\nFor Node.js this is name of a function exported by the module specified\nin `source_location`.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The last update timestamp of a Cloud Function.", + "format": "google-datetime", + "type": "string" + }, + "latestOperation": { + "description": "Output only. Name of the most recent operation modifying the function. If\nthe function status is `DEPLOYING` or `DELETING`, then it points to the\nactive operation.", + "type": "string" + }, + "httpsTrigger": { + "$ref": "HTTPSTrigger", + "description": "An HTTPS endpoint type of source that can be triggered via URL." + } + }, + "id": "CloudFunction" }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "type": "object", + "properties": { + "labels": { + "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } + }, + "id": "Location" }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "type": "object", + "properties": { + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "type": "array", + "items": { + "$ref": "Operation" + } + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "id": "ListOperationsResponse" }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - } - }, - "version": "v1beta2", - "baseUrl": "https://cloudfunctions.googleapis.com/", - "description": "API for managing lightweight user-provided functions executed in response to events.", - "kind": "discovery#restDescription", - "servicePath": "", - "basePath": "", - "documentationLink": "https://cloud.google.com/functions", - "id": "cloudfunctions:v1beta2", - "revision": "20170328", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { "ListFunctionsResponse": { "description": "Response for the `ListFunctions` method.", "type": "object", "properties": { + "nextPageToken": { + "description": "If not empty, indicates that there may be more functions that match\nthe request; this value should be passed in a new\ngoogle.cloud.functions.v1beta2.ListFunctionsRequest\nto get more functions.", + "type": "string" + }, "functions": { "description": "The functions that match the request.", "type": "array", "items": { "$ref": "CloudFunction" } - }, - "nextPageToken": { - "description": "If not empty, indicates that there may be more functions that match\nthe request; this value should be passed in a new\ngoogle.cloud.functions.v1beta2.ListFunctionsRequest\nto get more functions.", - "type": "string" } }, "id": "ListFunctionsResponse" @@ -430,6 +246,10 @@ "description": "Response of `CallFunction` method.", "type": "object", "properties": { + "executionId": { + "description": "Execution id of function invocation.", + "type": "string" + }, "result": { "description": "Result populated for successful execution of synchronous function. Will\nnot be populated if function does not return a result through context.", "type": "string" @@ -437,10 +257,6 @@ "error": { "description": "Either system or user-function generated error. Set if execution\nwas not successful.", "type": "string" - }, - "executionId": { - "description": "Execution id of function invocation.", - "type": "string" } }, "id": "CallFunctionResponse" @@ -467,13 +283,13 @@ "description": "Describes EventTrigger, used to request events be sent from another\nservice.", "type": "object", "properties": { - "resource": { - "description": "Which instance of the source's service should send events. E.g. for Pub/Sub\nthis would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud\nStorage this would be a bucket at `projects/*/buckets/*`. For any source\nthat only supports one instance per-project, this should be the name of the\nproject (`projects/*`)", - "type": "string" - }, "eventType": { "description": "`event_type` names contain the service that is sending an event and the\nkind of event that was fired. Must be of the form\n`providers/*/eventTypes/*` e.g. Directly handle a Message published to\nGoogle Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`\n\n Handle an object changing in Google Cloud Storage\n `providers/cloud.storage/eventTypes/object.change`\n\n Handle a write to the Firebase Realtime Database\n `providers/firebase.database/eventTypes/data.write`", "type": "string" + }, + "resource": { + "description": "Which instance of the source's service should send events. E.g. for Pub/Sub\nthis would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud\nStorage this would be a bucket at `projects/*/buckets/*`. For any source\nthat only supports one instance per-project, this should be the name of the\nproject (`projects/*`)", + "type": "string" } }, "id": "EventTrigger" @@ -493,18 +309,6 @@ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" - }, - "metadata": { - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, "done": { "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", "type": "boolean" @@ -520,238 +324,434 @@ "name": { "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", "type": "string" - } - }, - "id": "Operation" - }, - "OperationMetadataV1Beta2": { - "description": "Metadata describing an Operation", - "type": "object", - "properties": { - "target": { - "description": "Target of the operation - for example\nprojects/project-1/locations/region-1/functions/function-1", - "type": "string" }, - "request": { + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" + } + } + }, + "id": "Operation" + } + }, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "protocol": "rest", + "canonicalName": "Cloud Functions", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "rootUrl": "https://cloudfunctions.googleapis.com/", + "ownerDomain": "google.com", + "name": "cloudfunctions", + "batchPath": "batch", + "title": "Google Cloud Functions API", + "ownerName": "Google", + "resources": { + "operations": { + "methods": { + "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", + "response": { + "$ref": "ListOperationsResponse" }, - "description": "The original request that started the operation.", - "type": "object" - }, - "type": { - "enumDescriptions": [ - "Unknown operation type.", - "Triggered by CreateFunction call", - "Triggered by UpdateFunction call", - "Triggered by DeleteFunction call." + "parameterOrder": [], + "httpMethod": "GET", + "parameters": { + "pageSize": { + "location": "query", + "description": "The standard list page size.", + "format": "int32", + "type": "integer" + }, + "filter": { + "location": "query", + "description": "The standard list filter.", + "type": "string" + }, + "name": { + "location": "query", + "description": "The name of the operation collection.", + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" ], - "enum": [ - "OPERATION_UNSPECIFIED", - "CREATE_FUNCTION", - "UPDATE_FUNCTION", - "DELETE_FUNCTION" + "flatPath": "v1beta2/operations", + "path": "v1beta2/operations", + "id": "cloudfunctions.operations.list" + }, + "get": { + "flatPath": "v1beta2/operations/{operationsId}", + "id": "cloudfunctions.operations.get", + "path": "v1beta2/{+name}", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "httpMethod": "GET", + "parameterOrder": [ + "name" ], - "description": "Type of operation.", - "type": "string" + "response": { + "$ref": "Operation" + }, + "parameters": { + "name": { + "description": "The name of the operation resource.", + "required": true, + "type": "string", + "pattern": "^operations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } - }, - "id": "OperationMetadataV1Beta2" + } }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object", - "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" + "projects": { + "resources": { + "locations": { + "methods": { + "list": { + "response": { + "$ref": "ListLocationsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "The standard list filter.", + "type": "string", + "location": "query" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "The standard list page size.", + "format": "int32", + "type": "integer" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta2/projects/{projectsId}/locations", + "path": "v1beta2/{+name}/locations", + "id": "cloudfunctions.projects.locations.list", + "description": "Lists information about the supported locations for this service." + } + }, + "resources": { + "functions": { + "methods": { + "get": { + "response": { + "$ref": "CloudFunction" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "location": "path", + "description": "The name of the function which details should be obtained.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", + "path": "v1beta2/{+name}", + "id": "cloudfunctions.projects.locations.functions.get", + "description": "Returns a function with the given name from the requested project." + }, + "update": { + "description": "Updates existing function.", + "request": { + "$ref": "CloudFunction" + }, + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "The name of the function to be updated.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", + "path": "v1beta2/{+name}", + "id": "cloudfunctions.projects.locations.functions.update" + }, + "delete": { + "description": "Deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", + "httpMethod": "DELETE", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Operation" + }, + "parameters": { + "name": { + "description": "The name of the function which should be deleted.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}", + "id": "cloudfunctions.projects.locations.functions.delete", + "path": "v1beta2/{+name}" + }, + "list": { + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions", + "path": "v1beta2/{+location}/functions", + "id": "cloudfunctions.projects.locations.functions.list", + "description": "Returns a list of functions that belong to the requested project.", + "response": { + "$ref": "ListFunctionsResponse" + }, + "parameterOrder": [ + "location" + ], + "httpMethod": "GET", + "parameters": { + "pageSize": { + "location": "query", + "description": "Maximum number of functions to return per call.", + "format": "int32", + "type": "integer" + }, + "location": { + "description": "The project and location from which the function should be listed,\nspecified in the format `projects/*/locations/*`\nIf you want to list functions in all locations, use \"-\" in place of a\nlocation.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "location": "path" + }, + "pageToken": { + "description": "The value returned by the last\n`ListFunctionsResponse`; indicates that\nthis is a continuation of a prior `ListFunctions` call, and that the\nsystem should return the next page of data.", + "type": "string", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions", + "id": "cloudfunctions.projects.locations.functions.create", + "path": "v1beta2/{+location}/functions", + "description": "Creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", + "request": { + "$ref": "CloudFunction" + }, + "httpMethod": "POST", + "parameterOrder": [ + "location" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "location": { + "description": "The project and location in which the function should be created, specified\nin the format `projects/*/locations/*`", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "location": "path" + } + } + }, + "call": { + "request": { + "$ref": "CallFunctionRequest" + }, + "description": "Invokes synchronously deployed function. To be used for testing, very\nlimited traffic allowed.", + "response": { + "$ref": "CallFunctionResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "parameters": { + "name": { + "location": "path", + "description": "The name of the function to be called.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:call", + "path": "v1beta2/{+name}:call", + "id": "cloudfunctions.projects.locations.functions.call" + } + } + } + } } - }, - "id": "Status" + } + } + }, + "parameters": { + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" }, - "CallFunctionRequest": { - "description": "Request for the `CallFunction` method.", - "type": "object", - "properties": { - "data": { - "description": "Input to be passed to the function.", - "type": "string" - } - }, - "id": "CallFunctionRequest" + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" }, - "SourceRepository": { - "description": "Describes the location of the function source in a remote repository.", - "type": "object", - "properties": { - "tag": { - "description": "The name of the tag that captures the state of the repository from\nwhich the function should be fetched.", - "type": "string" - }, - "branch": { - "description": "The name of the branch from which the function should be fetched.", - "type": "string" - }, - "deployedRevision": { - "description": "Output only. The id of the revision that was resolved at the moment of\nfunction creation or update. For example when a user deployed from a\nbranch, it will be the revision id of the latest change on this branch at\nthat time. If user deployed from revision then this value will be always\nequal to the revision specified by the user.", - "type": "string" - }, - "sourcePath": { - "description": "The path within the repository where the function is defined. The path\nshould point to the directory where Cloud Functions files are located. Use\n\"/\" if the function is defined directly in the root directory of a\nrepository.", - "type": "string" - }, - "revision": { - "description": "The id of the revision that captures the state of the repository from\nwhich the function should be fetched.", - "type": "string" - }, - "repositoryUrl": { - "description": "URL to the hosted repository where the function is defined. Only paths in\nhttps://source.developers.google.com domain are supported. The path should\ncontain the name of the repository.", - "type": "string" - } - }, - "id": "SourceRepository" + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, - "CloudFunction": { - "description": "Describes a Cloud Function that contains user computation executed in\nresponse to an event. It encapsulate function and triggers configurations.", - "type": "object", - "properties": { - "httpsTrigger": { - "description": "An HTTPS endpoint type of source that can be triggered via URL.", - "$ref": "HTTPSTrigger" - }, - "timeout": { - "description": "The function execution timeout. Execution is considered failed and\ncan be terminated if the function is not completed at the end of the\ntimeout period. Defaults to 60 seconds.", - "format": "google-duration", - "type": "string" - }, - "status": { - "description": "Output only. Status of the function deployment.", - "type": "string", - "enumDescriptions": [ - "Status not specified.", - "Successfully deployed.", - "Not deployed correctly - behavior is undefined. The item should be updated\nor deleted to move it out of this state.", - "Creation or update in progress.", - "Deletion in progress." - ], - "enum": [ - "STATUS_UNSPECIFIED", - "READY", - "FAILED", - "DEPLOYING", - "DELETING" - ] - }, - "eventTrigger": { - "description": "A source that fires events in response to a condition in another service.", - "$ref": "EventTrigger" - }, - "availableMemoryMb": { - "description": "The amount of memory in MB available for a function.\nDefaults to 256MB.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "A user-defined name of the function. Function names must be unique\nglobally and match pattern `projects/*/locations/*/functions/*`", - "type": "string" - }, - "serviceAccount": { - "description": "Output only. The service account of the function.", - "type": "string" - }, - "sourceArchiveUrl": { - "description": "The URL, starting with gs://, pointing to the zip archive which contains\nthe function.", - "type": "string" - }, - "sourceRepository": { - "description": "The hosted repository where the function is defined.", - "$ref": "SourceRepository" - }, - "entryPoint": { - "description": "The name of the function (as defined in source code) that will be\nexecuted. Defaults to the resource name suffix, if not specified. For\nbackward compatibility, if function with given name is not found, then the\nsystem will try to use function named \"function\".\nFor Node.js this is name of a function exported by the module specified\nin `source_location`.", - "type": "string" - }, - "updateTime": { - "description": "Output only. The last update timestamp of a Cloud Function.", - "format": "google-datetime", - "type": "string" - }, - "latestOperation": { - "description": "Output only. Name of the most recent operation modifying the function. If\nthe function status is `DEPLOYING` or `DELETING`, then it points to the\nactive operation.", - "type": "string" - } - }, - "id": "CloudFunction" + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" }, - "Location": { - "description": "A resource that represents Google Cloud Platform location.", - "type": "object", - "properties": { - "locationId": { - "description": "The canonical id for this location. For example: `\"us-east1\"`.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", - "type": "object" - }, - "labels": { - "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "name": { - "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", - "type": "string" - } - }, - "id": "Location" + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } - } - }, - "id": "ListOperationsResponse" + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "$.xgafv": { + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ] + }, + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" } }, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "protocol": "rest" + "version": "v1beta2", + "baseUrl": "https://cloudfunctions.googleapis.com/", + "description": "API for managing lightweight user-provided functions executed in response to events.", + "servicePath": "", + "kind": "discovery#restDescription", + "basePath": "", + "id": "cloudfunctions:v1beta2", + "revision": "20170328", + "documentationLink": "https://cloud.google.com/functions", + "discoveryVersion": "v1", + "version_module": "True" } diff --git a/DiscoveryJson/cloudkms_v1.json b/DiscoveryJson/cloudkms_v1.json index 57c897c2b6..001599130f 100644 --- a/DiscoveryJson/cloudkms_v1.json +++ b/DiscoveryJson/cloudkms_v1.json @@ -1,1098 +1,140 @@ { - "parameters": { - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ] - }, - "alt": { - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ] - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "type": "boolean", - "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." + "canonicalName": "Cloud KMS", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } } }, - "version": "v1", - "baseUrl": "https://cloudkms.googleapis.com/", - "servicePath": "", - "description": "Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.", - "kind": "discovery#restDescription", - "basePath": "", - "revision": "20170320", - "documentationLink": "https://cloud.google.com/kms/", - "id": "cloudkms:v1", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { - "LogConfig": { - "description": "Specifies what kind of log the caller must write", - "type": "object", - "properties": { - "dataAccess": { - "$ref": "DataAccessOptions", - "description": "Data access options." - }, - "cloudAudit": { - "$ref": "CloudAuditOptions", - "description": "Cloud audit options." - }, - "counter": { - "$ref": "CounterOptions", - "description": "Counter options." - } - }, - "id": "LogConfig" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "type": "object", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "SetIamPolicyRequest" - }, - "DecryptRequest": { - "description": "Request message for KeyManagementService.Decrypt.", - "type": "object", - "properties": { - "ciphertext": { - "description": "Required. The encrypted data originally returned in\nEncryptResponse.ciphertext.", - "format": "byte", - "type": "string" - }, - "additionalAuthenticatedData": { - "description": "Optional data that must match the data originally supplied in\nEncryptRequest.additional_authenticated_data.", - "format": "byte", - "type": "string" - } - }, - "id": "DecryptRequest" - }, - "Location": { - "type": "object", - "properties": { - "labels": { - "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "name": { - "type": "string", - "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`" - }, - "locationId": { - "type": "string", - "description": "The canonical id for this location. For example: `\"us-east1\"`." - }, - "metadata": { - "additionalProperties": { - "type": "any", - "description": "Properties of the object. Contains field @type with type URL." - }, - "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", - "type": "object" - } - }, - "id": "Location", - "description": "A resource that represents Google Cloud Platform location." - }, - "ListCryptoKeysResponse": { - "description": "Response message for KeyManagementService.ListCryptoKeys.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "A token to retrieve next page of results. Pass this value in\nListCryptoKeysRequest.page_token to retrieve the next page of results.", - "type": "string" - }, - "cryptoKeys": { - "type": "array", - "items": { - "$ref": "CryptoKey" - }, - "description": "The list of CryptoKeys." - }, - "totalSize": { - "description": "The total number of CryptoKeys that matched the query.", - "format": "int32", - "type": "integer" - } - }, - "id": "ListCryptoKeysResponse" - }, - "Condition": { - "description": "A condition to be met.", - "type": "object", - "properties": { - "values": { - "description": "The objects of the condition. This is mutually exclusive with 'value'.", - "type": "array", - "items": { - "type": "string" - } - }, - "iam": { - "enumDescriptions": [ - "Default non-attribute.", - "Either principal or (if present) authority selector.", - "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", - "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.", - "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported." - ], - "enum": [ - "NO_ATTR", - "AUTHORITY", - "ATTRIBUTION", - "APPROVER", - "JUSTIFICATION_TYPE" - ], - "description": "Trusted attributes supplied by the IAM system.", - "type": "string" - }, - "op": { - "type": "string", - "enumDescriptions": [ - "Default no-op.", - "DEPRECATED. Use IN instead.", - "DEPRECATED. Use NOT_IN instead.", - "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", - "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", - "Subject is discharged" - ], - "enum": [ - "NO_OP", - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "DISCHARGED" - ], - "description": "An operator to apply the subject with." - }, - "svc": { - "description": "Trusted attributes discharged by the service.", - "type": "string" - }, - "sys": { - "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", - "type": "string", - "enumDescriptions": [ - "Default non-attribute type", - "Region of the resource", - "Service name", - "Resource name", - "IP address of the caller" - ], - "enum": [ - "NO_ATTR", - "REGION", - "SERVICE", - "NAME", - "IP" - ] - }, - "value": { - "description": "DEPRECATED. Use 'values' instead.", - "type": "string" - } - }, - "id": "Condition" - }, - "CounterOptions": { - "type": "object", - "properties": { - "metric": { - "description": "The metric to update.", - "type": "string" - }, - "field": { - "description": "The field value to attribute.", - "type": "string" - } - }, - "id": "CounterOptions", - "description": "Options for counters" - }, - "AuditLogConfig": { - "id": "AuditLogConfig", - "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", - "type": "object", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", - "type": "array", - "items": { - "type": "string" - } - }, - "logType": { - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "description": "The log type that this config enables.", - "type": "string", - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ] - } - } - }, - "DecryptResponse": { - "description": "Response message for KeyManagementService.Decrypt.", - "type": "object", - "properties": { - "plaintext": { - "description": "The decrypted data originally supplied in EncryptRequest.plaintext.", - "format": "byte", - "type": "string" - } - }, - "id": "DecryptResponse" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "TestIamPermissionsRequest" - }, - "EncryptResponse": { - "id": "EncryptResponse", - "description": "Response message for KeyManagementService.Encrypt.", - "type": "object", - "properties": { - "ciphertext": { - "description": "The encrypted data.", - "format": "byte", - "type": "string" - }, - "name": { - "description": "The resource name of the CryptoKeyVersion used in encryption.", - "type": "string" - } - } - }, - "KeyRing": { - "description": "A KeyRing is a toplevel logical grouping of CryptoKeys.", - "type": "object", - "properties": { - "createTime": { - "description": "Output only. The time at which this KeyRing was created.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "type": "string", - "description": "Output only. The resource name for the KeyRing in the format\n`projects/*/locations/*/keyRings/*`." - } - }, - "id": "KeyRing" - }, - "ListLocationsResponse": { - "description": "The response message for Locations.ListLocations.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "locations": { - "description": "A list of locations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Location" - } - } - }, - "id": "ListLocationsResponse" - }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", - "type": "object", - "properties": { - "iamOwned": { - "type": "boolean" - }, - "rules": { - "type": "array", - "items": { - "$ref": "Rule" - }, - "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied." - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "auditConfigs": { - "type": "array", - "items": { - "$ref": "AuditConfig" - }, - "description": "Specifies cloud audit logging configuration for this policy." - }, - "bindings": { - "type": "array", - "items": { - "$ref": "Binding" - }, - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error." - }, - "etag": { - "type": "string", - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte" - } - }, - "id": "Policy" - }, - "UpdateCryptoKeyPrimaryVersionRequest": { - "description": "Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.", - "type": "object", - "properties": { - "cryptoKeyVersionId": { - "type": "string", - "description": "The id of the child CryptoKeyVersion to use as primary." - } - }, - "id": "UpdateCryptoKeyPrimaryVersionRequest" - }, - "RestoreCryptoKeyVersionRequest": { - "description": "Request message for KeyManagementService.RestoreCryptoKeyVersion.", - "type": "object", - "properties": {}, - "id": "RestoreCryptoKeyVersionRequest" - }, - "DataAccessOptions": { - "description": "Write a Data Access (Gin) log", - "type": "object", - "properties": {}, - "id": "DataAccessOptions" - }, - "ListKeyRingsResponse": { - "properties": { - "nextPageToken": { - "description": "A token to retrieve next page of results. Pass this value in\nListKeyRingsRequest.page_token to retrieve the next page of results.", - "type": "string" - }, - "totalSize": { - "type": "integer", - "description": "The total number of KeyRings that matched the query.", - "format": "int32" - }, - "keyRings": { - "description": "The list of KeyRings.", - "type": "array", - "items": { - "$ref": "KeyRing" - } - } - }, - "id": "ListKeyRingsResponse", - "description": "Response message for KeyManagementService.ListKeyRings.", - "type": "object" - }, - "AuditConfig": { - "properties": { - "service": { - "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", - "type": "string" - }, - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.\nNext ID: 4", - "type": "array", - "items": { - "$ref": "AuditLogConfig" - } - }, - "exemptedMembers": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "AuditConfig", - "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", - "type": "object" - }, - "CryptoKeyVersion": { - "type": "object", - "properties": { - "destroyTime": { - "description": "Output only. The time this CryptoKeyVersion's key material is scheduled\nfor destruction. Only present if state is\nDESTROY_SCHEDULED.", - "format": "google-datetime", - "type": "string" - }, - "createTime": { - "description": "Output only. The time at which this CryptoKeyVersion was created.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The current state of the CryptoKeyVersion.", - "type": "string", - "enumDescriptions": [ - "Not specified.", - "This version may be used in Encrypt and\nDecrypt requests.", - "This version may not be used, but the key material is still available,\nand the version can be placed back into the ENABLED state.", - "This version is destroyed, and the key material is no longer stored.\nA version may not leave this state once entered.", - "This version is scheduled for destruction, and will be destroyed soon.\nCall\nRestoreCryptoKeyVersion\nto put it back into the DISABLED state." - ], - "enum": [ - "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", - "ENABLED", - "DISABLED", - "DESTROYED", - "DESTROY_SCHEDULED" - ] - }, - "name": { - "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", - "type": "string" - }, - "destroyEventTime": { - "description": "Output only. The time this CryptoKeyVersion's key material was\ndestroyed. Only present if state is\nDESTROYED.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "CryptoKeyVersion", - "description": "A CryptoKeyVersion represents an individual cryptographic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the server will choose the appropriate\nversion for the operation." - }, - "CloudAuditOptions": { - "description": "Write a Cloud Audit log", - "type": "object", - "properties": {}, - "id": "CloudAuditOptions" - }, - "Binding": { - "properties": { - "members": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n" - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" - } - }, - "id": "Binding", - "description": "Associates `members` with a `role`.", - "type": "object" - }, - "EncryptRequest": { - "description": "Request message for KeyManagementService.Encrypt.", - "type": "object", - "properties": { - "plaintext": { - "type": "string", - "description": "Required. The data to encrypt. Must be no larger than 64KiB.", - "format": "byte" - }, - "additionalAuthenticatedData": { - "description": "Optional data that, if specified, must also be provided during decryption\nthrough DecryptRequest.additional_authenticated_data. Must be no\nlarger than 64KiB.", - "format": "byte", - "type": "string" - } - }, - "id": "EncryptRequest" - }, - "ListCryptoKeyVersionsResponse": { - "id": "ListCryptoKeyVersionsResponse", - "description": "Response message for KeyManagementService.ListCryptoKeyVersions.", - "type": "object", - "properties": { - "cryptoKeyVersions": { - "description": "The list of CryptoKeyVersions.", - "type": "array", - "items": { - "$ref": "CryptoKeyVersion" - } - }, - "nextPageToken": { - "description": "A token to retrieve next page of results. Pass this value in\nListCryptoKeyVersionsRequest.page_token to retrieve the next page of\nresults.", - "type": "string" - }, - "totalSize": { - "description": "The total number of CryptoKeyVersions that matched the\nquery.", - "format": "int32", - "type": "integer" - } - } - }, - "TestIamPermissionsResponse": { - "id": "TestIamPermissionsResponse", - "description": "Response message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "DestroyCryptoKeyVersionRequest": { - "description": "Request message for KeyManagementService.DestroyCryptoKeyVersion.", - "type": "object", - "properties": {}, - "id": "DestroyCryptoKeyVersionRequest" - }, - "CryptoKey": { - "description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versions, which\nrepresent the actual key material used in cryptographic operations.", - "type": "object", - "properties": { - "createTime": { - "description": "Output only. The time at which this CryptoKey was created.", - "format": "google-datetime", - "type": "string" - }, - "rotationPeriod": { - "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\n\nIf rotation_period is set, next_rotation_time must also be set.", - "format": "google-duration", - "type": "string" - }, - "primary": { - "description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion.", - "$ref": "CryptoKeyVersion" - }, - "name": { - "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", - "type": "string" - }, - "purpose": { - "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.", - "type": "string", - "enumDescriptions": [ - "Not specified.", - "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt." - ], - "enum": [ - "CRYPTO_KEY_PURPOSE_UNSPECIFIED", - "ENCRYPT_DECRYPT" - ] - }, - "nextRotationTime": { - "description": "At next_rotation_time, the Key Management Service will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryptoKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_time.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "CryptoKey" - }, - "Rule": { - "properties": { - "description": { - "description": "Human-readable description of the rule.", - "type": "string" - }, - "conditions": { - "description": "Additional restrictions that must be met", - "type": "array", - "items": { - "$ref": "Condition" - } - }, - "logConfig": { - "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.", - "type": "array", - "items": { - "$ref": "LogConfig" - } - }, - "in": { - "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", - "type": "array", - "items": { - "type": "string" - } - }, - "permissions": { - "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", - "type": "array", - "items": { - "type": "string" - } - }, - "action": { - "enum": [ - "NO_ACTION", - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG" - ], - "description": "Required", - "type": "string", - "enumDescriptions": [ - "Default no action.", - "Matching 'Entries' grant access.", - "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", - "Matching 'Entries' deny access.", - "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", - "Matching 'Entries' tell IAM.Check callers to generate logs." - ] - }, - "notIn": { - "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "Rule", - "description": "A rule to be applied in a Policy.", - "type": "object" - } - }, - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "protocol": "rest", - "canonicalName": "Cloud KMS", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "rootUrl": "https://cloudkms.googleapis.com/", - "ownerDomain": "google.com", - "name": "cloudkms", - "batchPath": "batch", - "title": "Google Cloud Key Management Service (KMS) API", - "ownerName": "Google", - "resources": { - "projects": { - "resources": { - "locations": { - "methods": { - "list": { - "parameters": { - "filter": { - "location": "query", - "description": "The standard list filter.", - "type": "string" - }, - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The resource that owns the locations collection, if applicable." - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The standard list page size.", - "format": "int32", - "type": "integer" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations", - "id": "cloudkms.projects.locations.list", - "path": "v1/{+name}/locations", - "description": "Lists information about the supported locations for this service.", - "httpMethod": "GET", - "response": { - "$ref": "ListLocationsResponse" - }, - "parameterOrder": [ - "name" - ] - }, - "get": { - "id": "cloudkms.projects.locations.get", - "path": "v1/{+name}", - "description": "Get information about a location.", - "response": { - "$ref": "Location" - }, - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Resource name for the location.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}" - } + "rootUrl": "https://cloudkms.googleapis.com/", + "ownerDomain": "google.com", + "name": "cloudkms", + "batchPath": "batch", + "title": "Google Cloud Key Management Service (KMS) API", + "ownerName": "Google", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "list": { + "httpMethod": "GET", + "response": { + "$ref": "ListLocationsResponse" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "The resource that owns the locations collection, if applicable.", + "required": true, + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "filter": { + "description": "The standard list filter.", + "type": "string", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations", + "id": "cloudkms.projects.locations.list", + "path": "v1/{+name}/locations", + "description": "Lists information about the supported locations for this service." + }, + "get": { + "description": "Get information about a location.", + "response": { + "$ref": "Location" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "description": "Resource name for the location.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "path": "v1/{+name}", + "id": "cloudkms.projects.locations.get" + } }, "resources": { "keyRings": { - "methods": { - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListKeyRingsResponse" - }, - "parameterOrder": [ - "parent" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageToken": { - "location": "query", - "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.", - "type": "string" - }, - "pageSize": { - "description": "Optional limit on the number of KeyRings to include in the\nresponse. Further KeyRings can subsequently be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "parent": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "location": "path", - "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`." - } - }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings", - "id": "cloudkms.projects.locations.keyRings.list", - "path": "v1/{+parent}/keyRings", - "description": "Lists KeyRings." - }, - "setIamPolicy": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:setIamPolicy", - "id": "cloudkms.projects.locations.keyRings.setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy." - }, - "create": { - "description": "Create a new KeyRing in a given Project and Location.", - "request": { - "$ref": "KeyRing" - }, - "response": { - "$ref": "KeyRing" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "parent": { - "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "location": "path" - }, - "keyRingId": { - "description": "Required. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", - "type": "string", - "location": "query" - } - }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings", - "path": "v1/{+parent}/keyRings", - "id": "cloudkms.projects.locations.keyRings.create" - }, - "getIamPolicy": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$" - } - }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "id": "cloudkms.projects.locations.keyRings.getIamPolicy", - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "GET" - }, - "get": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", - "location": "path", - "description": "The name of the KeyRing to get.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}", - "id": "cloudkms.projects.locations.keyRings.get", - "path": "v1/{+name}", - "description": "Returns metadata for a given KeyRing.", - "httpMethod": "GET", - "response": { - "$ref": "KeyRing" - }, - "parameterOrder": [ - "name" - ] - }, - "testIamPermissions": { - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "parameters": { - "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "id": "cloudkms.projects.locations.keyRings.testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning." - } - }, "resources": { "cryptoKeys": { "resources": { "cryptoKeyVersions": { "methods": { "list": { - "path": "v1/{+parent}/cryptoKeyVersions", "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list", + "path": "v1/{+parent}/cryptoKeyVersions", "description": "Lists CryptoKeyVersions.", + "httpMethod": "GET", "response": { "$ref": "ListCryptoKeyVersionsResponse" }, "parameterOrder": [ "parent" ], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "pageSize": { - "description": "Optional limit on the number of CryptoKeyVersions to\ninclude in the response. Further CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoKeyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.", - "format": "int32", - "type": "integer", - "location": "query" - }, "parent": { + "description": "Required. The resource name of the CryptoKey to list, in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", "required": true, "type": "string", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", - "location": "path", - "description": "Required. The resource name of the CryptoKey to list, in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`." + "location": "path" }, "pageToken": { + "location": "query", "description": "Optional pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_page_token.", - "type": "string", - "location": "query" + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "Optional limit on the number of CryptoKeyVersions to\ninclude in the response. Further CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoKeyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.", + "format": "int32", + "type": "integer" } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions" }, - "destroy": { - "path": "v1/{+name}:destroy", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy", - "description": "Schedule a CryptoKeyVersion for destruction.\n\nUpon calling this method, CryptoKeyVersion.state will be set to\nDESTROY_SCHEDULED\nand destroy_time will be set to a time 24\nhours in the future, at which point the state\nwill be changed to\nDESTROYED, and the key\nmaterial will be irrevocably destroyed.\n\nBefore the destroy_time is reached,\nRestoreCryptoKeyVersion may be called to reverse the process.", + "create": { "request": { - "$ref": "DestroyCryptoKeyVersionRequest" - }, - "response": { "$ref": "CryptoKeyVersion" }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The resource name of the CryptoKeyVersion to destroy.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:destroy" - }, - "create": { + "description": "Create a new CryptoKeyVersion in a CryptoKey.\n\nThe server will assign the next sequential id. If unset,\nstate will be set to\nENABLED.", "httpMethod": "POST", "parameterOrder": [ "parent" @@ -1100,31 +142,27 @@ "response": { "$ref": "CryptoKeyVersion" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { "parent": { + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", + "location": "path", "description": "Required. The name of the CryptoKey associated with\nthe CryptoKeyVersions.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", - "location": "path" + "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions", "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create", - "path": "v1/{+parent}/cryptoKeyVersions", - "description": "Create a new CryptoKeyVersion in a CryptoKey.\n\nThe server will assign the next sequential id. If unset,\nstate will be set to\nENABLED.", - "request": { - "$ref": "CryptoKeyVersion" - } + "path": "v1/{+parent}/cryptoKeyVersions" }, - "restore": { + "destroy": { "request": { - "$ref": "RestoreCryptoKeyVersionRequest" + "$ref": "DestroyCryptoKeyVersionRequest" }, - "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.", + "description": "Schedule a CryptoKeyVersion for destruction.\n\nUpon calling this method, CryptoKeyVersion.state will be set to\nDESTROY_SCHEDULED\nand destroy_time will be set to a time 24\nhours in the future, at which point the state\nwill be changed to\nDESTROYED, and the key\nmaterial will be irrevocably destroyed.\n\nBefore the destroy_time is reached,\nRestoreCryptoKeyVersion may be called to reverse the process.", "httpMethod": "POST", "parameterOrder": [ "name" @@ -1134,7 +172,7 @@ }, "parameters": { "name": { - "description": "The resource name of the CryptoKeyVersion to restore.", + "description": "The resource name of the CryptoKeyVersion to destroy.", "required": true, "type": "string", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", @@ -1144,45 +182,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:restore", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore", - "path": "v1/{+name}:restore" + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:destroy", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy", + "path": "v1/{+name}:destroy" }, - "patch": { - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch", - "path": "v1/{+name}", - "request": { - "$ref": "CryptoKeyVersion" - }, - "description": "Update a CryptoKeyVersion's metadata.\n\nstate may be changed between\nENABLED and\nDISABLED using this\nmethod. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to\nmove between other states.", - "httpMethod": "PATCH", + "restore": { + "httpMethod": "POST", "parameterOrder": [ "name" ], "response": { "$ref": "CryptoKeyVersion" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "name": { - "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", + "description": "The resource name of the CryptoKeyVersion to restore.", "required": true, "type": "string", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", "location": "path" - }, - "updateMask": { - "description": "Required list of fields to be updated in this request.", - "format": "google-fieldmask", - "type": "string", - "location": "query" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}" + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:restore", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore", + "path": "v1/{+name}:restore", + "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.", + "request": { + "$ref": "RestoreCryptoKeyVersionRequest" + } }, "get": { + "description": "Returns metadata for a given CryptoKeyVersion.", "response": { "$ref": "CryptoKeyVersion" }, @@ -1190,308 +223,342 @@ "name" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "name": { - "required": true, - "type": "string", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", "location": "path", - "description": "The name of the CryptoKeyVersion to get." + "description": "The name of the CryptoKeyVersion to get.", + "required": true, + "type": "string" } }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}", + "path": "v1/{+name}", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get" + }, + "patch": { + "path": "v1/{+name}", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch", + "description": "Update a CryptoKeyVersion's metadata.\n\nstate may be changed between\nENABLED and\nDISABLED using this\nmethod. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to\nmove between other states.", + "request": { + "$ref": "CryptoKeyVersion" + }, + "response": { + "$ref": "CryptoKeyVersion" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "PATCH", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}", - "path": "v1/{+name}", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get", - "description": "Returns metadata for a given CryptoKeyVersion." + "parameters": { + "updateMask": { + "description": "Required list of fields to be updated in this request.", + "format": "google-fieldmask", + "type": "string", + "location": "query" + }, + "name": { + "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}" } } } }, "methods": { - "get": { + "list": { "response": { - "$ref": "CryptoKey" + "$ref": "ListCryptoKeysResponse" }, "parameterOrder": [ - "name" + "parent" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { - "name": { - "location": "path", - "description": "The name of the CryptoKey to get.", + "pageToken": { + "description": "Optional pagination token, returned earlier via\nListCryptoKeysResponse.next_page_token.", + "type": "string", + "location": "query" + }, + "pageSize": { + "description": "Optional limit on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "parent": { + "description": "Required. The resource name of the KeyRing to list, in the format\n`projects/*/locations/*/keyRings/*`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$" + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", + "location": "path" } }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}", - "path": "v1/{+name}", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.get", - "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion." + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys", + "path": "v1/{+parent}/cryptoKeys", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.list", + "description": "Lists CryptoKeys." }, - "patch": { - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.patch", - "path": "v1/{+name}", + "encrypt": { + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.encrypt", + "path": "v1/{+name}:encrypt", "request": { - "$ref": "CryptoKey" + "$ref": "EncryptRequest" }, - "description": "Update a CryptoKey.", - "httpMethod": "PATCH", + "description": "Encrypt data, so that it can only be recovered by a call to Decrypt.", + "httpMethod": "POST", "parameterOrder": [ "name" ], "response": { - "$ref": "CryptoKey" + "$ref": "EncryptResponse" }, "parameters": { - "updateMask": { - "location": "query", - "description": "Required list of fields to be updated in this request.", - "format": "google-fieldmask", - "type": "string" - }, "name": { - "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/.+$", + "location": "path", + "description": "Required. The resource name of the CryptoKey or CryptoKeyVersion\nto use for encryption.\n\nIf a CryptoKey is specified, the server will use its\nprimary version.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ] + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:encrypt" }, - "testIamPermissions": { - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:testIamPermissions", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "request": { - "$ref": "TestIamPermissionsRequest" - }, + "setIamPolicy": { "httpMethod": "POST", "parameterOrder": [ "resource" ], "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "Policy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "resource": { + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$" + "type": "string" } + }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:setIamPolicy", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "request": { + "$ref": "SetIamPolicyRequest" } }, - "decrypt": { - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:decrypt", - "path": "v1/{+name}:decrypt", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.decrypt", - "request": { - "$ref": "DecryptRequest" - }, - "description": "Decrypt data that was protected by Encrypt.", - "response": { - "$ref": "DecryptResponse" - }, - "parameterOrder": [ - "name" - ], + "create": { "httpMethod": "POST", - "parameters": { - "name": { - "location": "path", - "description": "Required. The resource name of the CryptoKey to use for decryption.\nThe server will choose the appropriate version.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.list", - "path": "v1/{+parent}/cryptoKeys", - "description": "Lists CryptoKeys.", - "httpMethod": "GET", - "response": { - "$ref": "ListCryptoKeysResponse" - }, "parameterOrder": [ "parent" ], + "response": { + "$ref": "CryptoKey" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "pageToken": { - "location": "query", - "description": "Optional pagination token, returned earlier via\nListCryptoKeysResponse.next_page_token.", - "type": "string" - }, - "pageSize": { - "description": "Optional limit on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", - "format": "int32", - "type": "integer", - "location": "query" - }, "parent": { "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", "location": "path", - "description": "Required. The resource name of the KeyRing to list, in the format\n`projects/*/locations/*/keyRings/*`.", + "description": "Required. The name of the KeyRing associated with the\nCryptoKeys.", "required": true, "type": "string" + }, + "cryptoKeyId": { + "location": "query", + "description": "Required. It must be unique within a KeyRing and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", + "type": "string" } + }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.create", + "path": "v1/{+parent}/cryptoKeys", + "description": "Create a new CryptoKey within a KeyRing.\n\nCryptoKey.purpose is required.", + "request": { + "$ref": "CryptoKey" } }, - "encrypt": { - "description": "Encrypt data, so that it can only be recovered by a call to Decrypt.", + "updatePrimaryVersion": { "request": { - "$ref": "EncryptRequest" + "$ref": "UpdateCryptoKeyPrimaryVersionRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], + "description": "Update the version of a CryptoKey that will be used in Encrypt", "response": { - "$ref": "EncryptResponse" + "$ref": "CryptoKey" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "parameterOrder": [ + "name" ], + "httpMethod": "POST", "parameters": { "name": { - "location": "path", - "description": "Required. The resource name of the CryptoKey or CryptoKeyVersion\nto use for encryption.\n\nIf a CryptoKey is specified, the server will use its\nprimary version.", + "description": "The resource name of the CryptoKey to update.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/.+$" + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", + "location": "path" } }, - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:encrypt", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.encrypt", - "path": "v1/{+name}:encrypt" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:updatePrimaryVersion", + "path": "v1/{+name}:updatePrimaryVersion", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion" }, - "setIamPolicy": { + "getIamPolicy": { + "parameterOrder": [ + "resource" + ], + "httpMethod": "GET", "response": { "$ref": "Policy" }, - "parameterOrder": [ - "resource" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" ], - "httpMethod": "POST", "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy." + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:getIamPolicy", + "path": "v1/{+resource}:getIamPolicy", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy", + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset." }, - "create": { + "patch": { "request": { "$ref": "CryptoKey" }, - "description": "Create a new CryptoKey within a KeyRing.\n\nCryptoKey.purpose is required.", + "description": "Update a CryptoKey.", + "httpMethod": "PATCH", + "parameterOrder": [ + "name" + ], "response": { "$ref": "CryptoKey" }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", "parameters": { - "parent": { - "description": "Required. The name of the KeyRing associated with the\nCryptoKeys.", + "name": { + "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", "location": "path" }, - "cryptoKeyId": { - "location": "query", - "description": "Required. It must be unique within a KeyRing and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", - "type": "string" + "updateMask": { + "description": "Required list of fields to be updated in this request.", + "format": "google-fieldmask", + "type": "string", + "location": "query" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys", - "path": "v1/{+parent}/cryptoKeys", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.create" + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.patch", + "path": "v1/{+name}" }, - "updatePrimaryVersion": { - "path": "v1/{+name}:updatePrimaryVersion", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion", - "request": { - "$ref": "UpdateCryptoKeyPrimaryVersionRequest" - }, - "description": "Update the version of a CryptoKey that will be used in Encrypt", + "get": { + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.get", + "path": "v1/{+name}", + "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.", + "httpMethod": "GET", "response": { "$ref": "CryptoKey" }, "parameterOrder": [ "name" ], - "httpMethod": "POST", "parameters": { "name": { - "required": true, - "type": "string", "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", "location": "path", - "description": "The resource name of the CryptoKey to update." + "description": "The name of the CryptoKey to get.", + "required": true, + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:updatePrimaryVersion" + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}" }, - "getIamPolicy": { - "httpMethod": "GET", + "testIamPermissions": { + "response": { + "$ref": "TestIamPermissionsResponse" + }, "parameterOrder": [ "resource" ], + "httpMethod": "POST", + "parameters": { + "resource": { + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", + "location": "path", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning." + }, + "decrypt": { + "request": { + "$ref": "DecryptRequest" + }, + "description": "Decrypt data that was protected by Encrypt.", "response": { - "$ref": "Policy" + "$ref": "DecryptResponse" }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", "parameters": { - "resource": { + "name": { "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "Required. The resource name of the CryptoKey to use for decryption.\nThe server will choose the appropriate version.", "required": true, "type": "string" } @@ -1499,18 +566,951 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:getIamPolicy", - "id": "cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset." + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}:decrypt", + "path": "v1/{+name}:decrypt", + "id": "cloudkms.projects.locations.keyRings.cryptoKeys.decrypt" + } + } + } + }, + "methods": { + "list": { + "path": "v1/{+parent}/keyRings", + "id": "cloudkms.projects.locations.keyRings.list", + "description": "Lists KeyRings.", + "response": { + "$ref": "ListKeyRingsResponse" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", + "parameters": { + "parent": { + "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "location": "path" + }, + "pageToken": { + "location": "query", + "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.", + "type": "string" + }, + "pageSize": { + "description": "Optional limit on the number of KeyRings to include in the\nresponse. Further KeyRings can subsequently be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "type": "integer", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings" + }, + "create": { + "httpMethod": "POST", + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "KeyRing" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "location": "path" + }, + "keyRingId": { + "description": "Required. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", + "type": "string", + "location": "query" + } + }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings", + "id": "cloudkms.projects.locations.keyRings.create", + "path": "v1/{+parent}/keyRings", + "description": "Create a new KeyRing in a given Project and Location.", + "request": { + "$ref": "KeyRing" + } + }, + "setIamPolicy": { + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:setIamPolicy", + "id": "cloudkms.projects.locations.keyRings.setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "request": { + "$ref": "SetIamPolicyRequest" + } + }, + "getIamPolicy": { + "path": "v1/{+resource}:getIamPolicy", + "id": "cloudkms.projects.locations.keyRings.getIamPolicy", + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "parameterOrder": [ + "resource" + ], + "httpMethod": "GET", + "response": { + "$ref": "Policy" + }, + "parameters": { + "resource": { + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", + "location": "path", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:getIamPolicy" + }, + "get": { + "path": "v1/{+name}", + "id": "cloudkms.projects.locations.keyRings.get", + "description": "Returns metadata for a given KeyRing.", + "response": { + "$ref": "KeyRing" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", + "location": "path", + "description": "The name of the KeyRing to get.", + "required": true, + "type": "string" } - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}" + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}:testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "id": "cloudkms.projects.locations.keyRings.testIamPermissions" } } } } } - } + } + } + }, + "parameters": { + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "$.xgafv": { + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "alt": { + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string" + }, + "key": { + "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.", + "type": "string", + "location": "query" + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + } + }, + "version": "v1", + "baseUrl": "https://cloudkms.googleapis.com/", + "servicePath": "", + "description": "Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.", + "kind": "discovery#restDescription", + "basePath": "", + "id": "cloudkms:v1", + "documentationLink": "https://cloud.google.com/kms/", + "revision": "20170320", + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { + "ListCryptoKeyVersionsResponse": { + "properties": { + "cryptoKeyVersions": { + "description": "The list of CryptoKeyVersions.", + "type": "array", + "items": { + "$ref": "CryptoKeyVersion" + } + }, + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this value in\nListCryptoKeyVersionsRequest.page_token to retrieve the next page of\nresults.", + "type": "string" + }, + "totalSize": { + "description": "The total number of CryptoKeyVersions that matched the\nquery.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListCryptoKeyVersionsResponse", + "description": "Response message for KeyManagementService.ListCryptoKeyVersions.", + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "type": "object", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "TestIamPermissionsResponse" + }, + "DestroyCryptoKeyVersionRequest": { + "description": "Request message for KeyManagementService.DestroyCryptoKeyVersion.", + "type": "object", + "properties": {}, + "id": "DestroyCryptoKeyVersionRequest" + }, + "Rule": { + "description": "A rule to be applied in a Policy.", + "type": "object", + "properties": { + "logConfig": { + "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.", + "type": "array", + "items": { + "$ref": "LogConfig" + } + }, + "in": { + "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", + "type": "array", + "items": { + "type": "string" + } + }, + "action": { + "enum": [ + "NO_ACTION", + "ALLOW", + "ALLOW_WITH_LOG", + "DENY", + "DENY_WITH_LOG", + "LOG" + ], + "description": "Required", + "type": "string", + "enumDescriptions": [ + "Default no action.", + "Matching 'Entries' grant access.", + "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", + "Matching 'Entries' deny access.", + "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", + "Matching 'Entries' tell IAM.Check callers to generate logs." + ] + }, + "notIn": { + "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "description": "Human-readable description of the rule.", + "type": "string" + }, + "conditions": { + "description": "Additional restrictions that must be met", + "type": "array", + "items": { + "$ref": "Condition" + } + } + }, + "id": "Rule" + }, + "CryptoKey": { + "description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versions, which\nrepresent the actual key material used in cryptographic operations.", + "type": "object", + "properties": { + "purpose": { + "enum": [ + "CRYPTO_KEY_PURPOSE_UNSPECIFIED", + "ENCRYPT_DECRYPT" + ], + "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.", + "type": "string", + "enumDescriptions": [ + "Not specified.", + "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt." + ] + }, + "nextRotationTime": { + "description": "At next_rotation_time, the Key Management Service will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryptoKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_time.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Output only. The time at which this CryptoKey was created.", + "format": "google-datetime", + "type": "string" + }, + "rotationPeriod": { + "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\n\nIf rotation_period is set, next_rotation_time must also be set.", + "format": "google-duration", + "type": "string" + }, + "primary": { + "$ref": "CryptoKeyVersion", + "description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion." + }, + "name": { + "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", + "type": "string" + } + }, + "id": "CryptoKey" + }, + "LogConfig": { + "properties": { + "counter": { + "$ref": "CounterOptions", + "description": "Counter options." + }, + "dataAccess": { + "description": "Data access options.", + "$ref": "DataAccessOptions" + }, + "cloudAudit": { + "description": "Cloud audit options.", + "$ref": "CloudAuditOptions" + } + }, + "id": "LogConfig", + "description": "Specifies what kind of log the caller must write", + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "type": "object", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + }, + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", + "format": "google-fieldmask", + "type": "string" + } + }, + "id": "SetIamPolicyRequest" + }, + "DecryptRequest": { + "description": "Request message for KeyManagementService.Decrypt.", + "type": "object", + "properties": { + "ciphertext": { + "description": "Required. The encrypted data originally returned in\nEncryptResponse.ciphertext.", + "format": "byte", + "type": "string" + }, + "additionalAuthenticatedData": { + "description": "Optional data that must match the data originally supplied in\nEncryptRequest.additional_authenticated_data.", + "format": "byte", + "type": "string" + } + }, + "id": "DecryptRequest" + }, + "Location": { + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", + "type": "object" + } + }, + "id": "Location", + "description": "A resource that represents Google Cloud Platform location.", + "type": "object" + }, + "ListCryptoKeysResponse": { + "properties": { + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this value in\nListCryptoKeysRequest.page_token to retrieve the next page of results.", + "type": "string" + }, + "cryptoKeys": { + "description": "The list of CryptoKeys.", + "type": "array", + "items": { + "$ref": "CryptoKey" + } + }, + "totalSize": { + "description": "The total number of CryptoKeys that matched the query.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListCryptoKeysResponse", + "description": "Response message for KeyManagementService.ListCryptoKeys.", + "type": "object" + }, + "Condition": { + "description": "A condition to be met.", + "type": "object", + "properties": { + "value": { + "description": "DEPRECATED. Use 'values' instead.", + "type": "string" + }, + "sys": { + "enum": [ + "NO_ATTR", + "REGION", + "SERVICE", + "NAME", + "IP" + ], + "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", + "type": "string", + "enumDescriptions": [ + "Default non-attribute type", + "Region of the resource", + "Service name", + "Resource name", + "IP address of the caller" + ] + }, + "iam": { + "enumDescriptions": [ + "Default non-attribute.", + "Either principal or (if present) authority selector.", + "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", + "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.", + "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported." + ], + "enum": [ + "NO_ATTR", + "AUTHORITY", + "ATTRIBUTION", + "APPROVER", + "JUSTIFICATION_TYPE" + ], + "description": "Trusted attributes supplied by the IAM system.", + "type": "string" + }, + "values": { + "description": "The objects of the condition. This is mutually exclusive with 'value'.", + "type": "array", + "items": { + "type": "string" + } + }, + "op": { + "enumDescriptions": [ + "Default no-op.", + "DEPRECATED. Use IN instead.", + "DEPRECATED. Use NOT_IN instead.", + "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", + "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", + "Subject is discharged" + ], + "enum": [ + "NO_OP", + "EQUALS", + "NOT_EQUALS", + "IN", + "NOT_IN", + "DISCHARGED" + ], + "description": "An operator to apply the subject with.", + "type": "string" + }, + "svc": { + "description": "Trusted attributes discharged by the service.", + "type": "string" + } + }, + "id": "Condition" + }, + "CounterOptions": { + "description": "Options for counters", + "type": "object", + "properties": { + "metric": { + "description": "The metric to update.", + "type": "string" + }, + "field": { + "description": "The field value to attribute.", + "type": "string" + } + }, + "id": "CounterOptions" + }, + "AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", + "type": "object", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", + "type": "array", + "items": { + "type": "string" + } + }, + "logType": { + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "description": "The log type that this config enables.", + "type": "string", + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ] + } + }, + "id": "AuditLogConfig" + }, + "DecryptResponse": { + "properties": { + "plaintext": { + "description": "The decrypted data originally supplied in EncryptRequest.plaintext.", + "format": "byte", + "type": "string" + } + }, + "id": "DecryptResponse", + "description": "Response message for KeyManagementService.Decrypt.", + "type": "object" + }, + "TestIamPermissionsRequest": { + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "TestIamPermissionsRequest", + "description": "Request message for `TestIamPermissions` method.", + "type": "object" + }, + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "type": "object", + "properties": { + "version": { + "description": "Version of the `Policy`. The default version is 0.", + "format": "int32", + "type": "integer" + }, + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "type": "array", + "items": { + "$ref": "AuditConfig" + } + }, + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" + } + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" + }, + "iamOwned": { + "type": "boolean" + }, + "rules": { + "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", + "type": "array", + "items": { + "$ref": "Rule" + } + } + }, + "id": "Policy" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "type": "object", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "type": "array", + "items": { + "$ref": "Location" + } + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "id": "ListLocationsResponse" + }, + "KeyRing": { + "description": "A KeyRing is a toplevel logical grouping of CryptoKeys.", + "type": "object", + "properties": { + "name": { + "description": "Output only. The resource name for the KeyRing in the format\n`projects/*/locations/*/keyRings/*`.", + "type": "string" + }, + "createTime": { + "description": "Output only. The time at which this KeyRing was created.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "KeyRing" + }, + "EncryptResponse": { + "properties": { + "name": { + "description": "The resource name of the CryptoKeyVersion used in encryption.", + "type": "string" + }, + "ciphertext": { + "description": "The encrypted data.", + "format": "byte", + "type": "string" + } + }, + "id": "EncryptResponse", + "description": "Response message for KeyManagementService.Encrypt.", + "type": "object" + }, + "UpdateCryptoKeyPrimaryVersionRequest": { + "properties": { + "cryptoKeyVersionId": { + "description": "The id of the child CryptoKeyVersion to use as primary.", + "type": "string" + } + }, + "id": "UpdateCryptoKeyPrimaryVersionRequest", + "description": "Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.", + "type": "object" + }, + "RestoreCryptoKeyVersionRequest": { + "properties": {}, + "id": "RestoreCryptoKeyVersionRequest", + "description": "Request message for KeyManagementService.RestoreCryptoKeyVersion.", + "type": "object" + }, + "DataAccessOptions": { + "description": "Write a Data Access (Gin) log", + "type": "object", + "properties": {}, + "id": "DataAccessOptions" + }, + "ListKeyRingsResponse": { + "properties": { + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this value in\nListKeyRingsRequest.page_token to retrieve the next page of results.", + "type": "string" + }, + "totalSize": { + "description": "The total number of KeyRings that matched the query.", + "format": "int32", + "type": "integer" + }, + "keyRings": { + "description": "The list of KeyRings.", + "type": "array", + "items": { + "$ref": "KeyRing" + } + } + }, + "id": "ListKeyRingsResponse", + "description": "Response message for KeyManagementService.ListKeyRings.", + "type": "object" + }, + "AuditConfig": { + "properties": { + "service": { + "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", + "type": "string" + }, + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.\nNext ID: 4", + "type": "array", + "items": { + "$ref": "AuditLogConfig" + } + }, + "exemptedMembers": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "AuditConfig", + "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", + "type": "object" + }, + "CryptoKeyVersion": { + "description": "A CryptoKeyVersion represents an individual cryptographic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the server will choose the appropriate\nversion for the operation.", + "type": "object", + "properties": { + "destroyTime": { + "description": "Output only. The time this CryptoKeyVersion's key material is scheduled\nfor destruction. Only present if state is\nDESTROY_SCHEDULED.", + "format": "google-datetime", + "type": "string" + }, + "createTime": { + "description": "Output only. The time at which this CryptoKeyVersion was created.", + "format": "google-datetime", + "type": "string" + }, + "state": { + "enum": [ + "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", + "ENABLED", + "DISABLED", + "DESTROYED", + "DESTROY_SCHEDULED" + ], + "description": "The current state of the CryptoKeyVersion.", + "type": "string", + "enumDescriptions": [ + "Not specified.", + "This version may be used in Encrypt and\nDecrypt requests.", + "This version may not be used, but the key material is still available,\nand the version can be placed back into the ENABLED state.", + "This version is destroyed, and the key material is no longer stored.\nA version may not leave this state once entered.", + "This version is scheduled for destruction, and will be destroyed soon.\nCall\nRestoreCryptoKeyVersion\nto put it back into the DISABLED state." + ] + }, + "name": { + "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", + "type": "string" + }, + "destroyEventTime": { + "description": "Output only. The time this CryptoKeyVersion's key material was\ndestroyed. Only present if state is\nDESTROYED.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "CryptoKeyVersion" + }, + "CloudAuditOptions": { + "properties": {}, + "id": "CloudAuditOptions", + "description": "Write a Cloud Audit log", + "type": "object" + }, + "Binding": { + "properties": { + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" + } + }, + "id": "Binding", + "description": "Associates `members` with a `role`.", + "type": "object" + }, + "EncryptRequest": { + "properties": { + "plaintext": { + "description": "Required. The data to encrypt. Must be no larger than 64KiB.", + "format": "byte", + "type": "string" + }, + "additionalAuthenticatedData": { + "description": "Optional data that, if specified, must also be provided during decryption\nthrough DecryptRequest.additional_authenticated_data. Must be no\nlarger than 64KiB.", + "format": "byte", + "type": "string" + } + }, + "id": "EncryptRequest", + "description": "Request message for KeyManagementService.Encrypt.", + "type": "object" } - } + }, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "protocol": "rest" } diff --git a/DiscoveryJson/cloudresourcemanager_v1.json b/DiscoveryJson/cloudresourcemanager_v1.json index 5ad49b4d99..e0a7deef69 100644 --- a/DiscoveryJson/cloudresourcemanager_v1.json +++ b/DiscoveryJson/cloudresourcemanager_v1.json @@ -1,11 +1,51 @@ { + "rootUrl": "https://cloudresourcemanager.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "cloudresourcemanager", + "batchPath": "batch", + "id": "cloudresourcemanager:v1", + "documentationLink": "https://cloud.google.com/resource-manager", + "revision": "20170327", + "title": "Google Cloud Resource Manager API", + "ownerName": "Google", + "discoveryVersion": "v1", "resources": { "organizations": { "methods": { - "setOrgPolicy": { - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "getOrgPolicy": { + "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", "request": { - "$ref": "SetOrgPolicyRequest" + "$ref": "GetOrgPolicyRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "OrgPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "parameters": { + "resource": { + "description": "Name of the resource the `Policy` is set on.", + "required": true, + "type": "string", + "pattern": "^organizations/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/organizations/{organizationsId}:getOrgPolicy", + "id": "cloudresourcemanager.organizations.getOrgPolicy", + "path": "v1/{+resource}:getOrgPolicy" + }, + "getOrgPolicyV1": { + "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "request": { + "$ref": "GetOrgPolicyRequest" }, "response": { "$ref": "OrgPolicy" @@ -15,22 +55,111 @@ ], "httpMethod": "POST", "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "resource": { + "required": true, + "type": "string", "pattern": "^organizations/[^/]+$", "location": "path", + "description": "Name of the resource the `Policy` is set on." + } + }, + "flatPath": "v1/organizations/{organizationsId}:getOrgPolicyV1", + "path": "v1/{+resource}:getOrgPolicyV1", + "id": "cloudresourcemanager.organizations.getOrgPolicyV1" + }, + "getEffectiveOrgPolicy": { + "request": { + "$ref": "GetEffectiveOrgPolicyRequest" + }, + "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", + "response": { + "$ref": "OrgPolicy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "parameters": { + "resource": { + "location": "path", + "description": "The name of the resource to start computing the effective `Policy`.", + "required": true, + "type": "string", + "pattern": "^organizations/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "flatPath": "v1/organizations/{organizationsId}:getEffectiveOrgPolicy", + "path": "v1/{+resource}:getEffectiveOrgPolicy", + "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy" + }, + "setOrgPolicyV1": { + "request": { + "$ref": "SetOrgPolicyRequest" + }, + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "OrgPolicy" + }, + "parameters": { + "resource": { "description": "Resource name of the resource to attach the `Policy`.", "required": true, - "type": "string" + "type": "string", + "pattern": "^organizations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/organizations/{organizationsId}:setOrgPolicyV1", + "id": "cloudresourcemanager.organizations.setOrgPolicyV1", + "path": "v1/{+resource}:setOrgPolicyV1" + }, + "setOrgPolicy": { + "parameters": { + "resource": { + "description": "Resource name of the resource to attach the `Policy`.", + "required": true, + "type": "string", + "pattern": "^organizations/[^/]+$", + "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1/organizations/{organizationsId}:setOrgPolicy", "path": "v1/{+resource}:setOrgPolicy", - "id": "cloudresourcemanager.organizations.setOrgPolicy" + "id": "cloudresourcemanager.organizations.setOrgPolicy", + "request": { + "$ref": "SetOrgPolicyRequest" + }, + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "response": { + "$ref": "OrgPolicy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST" }, "clearOrgPolicyV1": { + "flatPath": "v1/organizations/{organizationsId}:clearOrgPolicyV1", + "id": "cloudresourcemanager.organizations.clearOrgPolicyV1", + "path": "v1/{+resource}:clearOrgPolicyV1", "request": { "$ref": "ClearOrgPolicyRequest" }, @@ -44,25 +173,18 @@ }, "parameters": { "resource": { - "location": "path", "description": "Name of the resource for the `Policy` to clear.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$" + "pattern": "^organizations/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/organizations/{organizationsId}:clearOrgPolicyV1", - "id": "cloudresourcemanager.organizations.clearOrgPolicyV1", - "path": "v1/{+resource}:clearOrgPolicyV1" + ] }, "listOrgPolicies": { - "request": { - "$ref": "ListOrgPoliciesRequest" - }, - "description": "Lists all the `Policies` set for a particular resource.", "httpMethod": "POST", "parameterOrder": [ "resource" @@ -72,11 +194,11 @@ }, "parameters": { "resource": { + "location": "path", "description": "Name of the resource to list Policies for.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" + "pattern": "^organizations/[^/]+$" } }, "scopes": [ @@ -85,22 +207,26 @@ ], "flatPath": "v1/organizations/{organizationsId}:listOrgPolicies", "id": "cloudresourcemanager.organizations.listOrgPolicies", - "path": "v1/{+resource}:listOrgPolicies" + "path": "v1/{+resource}:listOrgPolicies", + "request": { + "$ref": "ListOrgPoliciesRequest" + }, + "description": "Lists all the `Policies` set for a particular resource." }, "search": { + "httpMethod": "POST", + "parameterOrder": [], "response": { "$ref": "SearchOrganizationsResponse" }, - "parameterOrder": [], - "httpMethod": "POST", "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/organizations:search", - "path": "v1/organizations:search", "id": "cloudresourcemanager.organizations.search", + "path": "v1/organizations:search", "request": { "$ref": "SearchOrganizationsRequest" }, @@ -115,10 +241,6 @@ "name" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "parameters": { "name": { "description": "The resource name of the Organization to fetch, e.g. \"organizations/1234\".", @@ -128,42 +250,50 @@ "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "flatPath": "v1/organizations/{organizationsId}", "path": "v1/{+name}", "id": "cloudresourcemanager.organizations.get" }, - "getEffectiveOrgPolicyV1": { + "testIamPermissions": { + "flatPath": "v1/organizations/{organizationsId}:testIamPermissions", + "id": "cloudresourcemanager.organizations.testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".", "httpMethod": "POST", "parameterOrder": [ "resource" ], "response": { - "$ref": "OrgPolicy" + "$ref": "TestIamPermissionsResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "parameters": { "resource": { - "location": "path", - "description": "The name of the resource to start computing the effective `Policy`.", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$" + "pattern": "^organizations/[^/]+$", + "location": "path" } }, - "flatPath": "v1/organizations/{organizationsId}:getEffectiveOrgPolicyV1", - "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicyV1", - "path": "v1/{+resource}:getEffectiveOrgPolicyV1", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + }, + "getEffectiveOrgPolicyV1": { "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", "request": { "$ref": "GetEffectiveOrgPolicyRequest" - } - }, - "testIamPermissions": { + }, "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "OrgPolicy" }, "parameterOrder": [ "resource" @@ -175,26 +305,22 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "location": "path", + "description": "The name of the resource to start computing the effective `Policy`.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" + "pattern": "^organizations/[^/]+$" } }, - "flatPath": "v1/organizations/{organizationsId}:testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "id": "cloudresourcemanager.organizations.testIamPermissions", - "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".", - "request": { - "$ref": "TestIamPermissionsRequest" - } + "flatPath": "v1/organizations/{organizationsId}:getEffectiveOrgPolicyV1", + "path": "v1/{+resource}:getEffectiveOrgPolicyV1", + "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicyV1" }, "clearOrgPolicy": { + "description": "Clears a `Policy` from a resource.", "request": { "$ref": "ClearOrgPolicyRequest" }, - "description": "Clears a `Policy` from a resource.", "response": { "$ref": "Empty" }, @@ -202,29 +328,23 @@ "resource" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "resource": { + "location": "path", + "description": "Name of the resource for the `Policy` to clear.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "Name of the resource for the `Policy` to clear." + "pattern": "^organizations/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/organizations/{organizationsId}:clearOrgPolicy", "path": "v1/{+resource}:clearOrgPolicy", "id": "cloudresourcemanager.organizations.clearOrgPolicy" }, "setIamPolicy": { - "path": "v1/{+resource}:setIamPolicy", - "id": "cloudresourcemanager.organizations.setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".", "response": { "$ref": "Policy" }, @@ -234,95 +354,71 @@ "httpMethod": "POST", "parameters": { "resource": { - "location": "path", "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$" + "pattern": "^organizations/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/organizations/{organizationsId}:setIamPolicy" + "flatPath": "v1/organizations/{organizationsId}:setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "id": "cloudresourcemanager.organizations.setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\"." }, "listAvailableOrgPolicyConstraints": { - "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", "id": "cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints", + "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", "description": "Lists `Constraints` that could be applied on the specified resource.", "request": { "$ref": "ListAvailableOrgPolicyConstraintsRequest" }, - "response": { - "$ref": "ListAvailableOrgPolicyConstraintsResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "ListAvailableOrgPolicyConstraintsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "resource": { - "description": "Name of the resource to list `Constraints` for.", "required": true, "type": "string", "pattern": "^organizations/[^/]+$", - "location": "path" + "location": "path", + "description": "Name of the resource to list `Constraints` for." } }, "flatPath": "v1/organizations/{organizationsId}:listAvailableOrgPolicyConstraints" }, "getIamPolicy": { - "flatPath": "v1/organizations/{organizationsId}:getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", "id": "cloudresourcemanager.organizations.getIamPolicy", - "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".", + "path": "v1/{+resource}:getIamPolicy", "request": { "$ref": "GetIamPolicyRequest" }, - "response": { - "$ref": "Policy" - }, + "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".", + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" - } - } - }, - "getOrgPolicy": { - "flatPath": "v1/organizations/{organizationsId}:getOrgPolicy", - "path": "v1/{+resource}:getOrgPolicy", - "id": "cloudresourcemanager.organizations.getOrgPolicy", - "request": { - "$ref": "GetOrgPolicyRequest" - }, - "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", "response": { - "$ref": "OrgPolicy" + "$ref": "Policy" }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", "parameters": { "resource": { "location": "path", - "description": "Name of the resource the `Policy` is set on.", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", "pattern": "^organizations/[^/]+$" @@ -331,184 +427,96 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" - ] - }, - "getOrgPolicyV1": { - "path": "v1/{+resource}:getOrgPolicyV1", - "id": "cloudresourcemanager.organizations.getOrgPolicyV1", - "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", - "request": { - "$ref": "GetOrgPolicyRequest" - }, + ], + "flatPath": "v1/organizations/{organizationsId}:getIamPolicy" + } + } + }, + "liens": { + "methods": { + "delete": { + "flatPath": "v1/liens/{liensId}", + "path": "v1/{+name}", + "id": "cloudresourcemanager.liens.delete", + "description": "Delete a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.updateLiens`.", "response": { - "$ref": "OrgPolicy" + "$ref": "Empty" }, "parameterOrder": [ - "resource" + "name" ], - "httpMethod": "POST", + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { - "resource": { - "description": "Name of the resource the `Policy` is set on.", + "name": { + "description": "The name/identifier of the Lien to delete.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", + "pattern": "^liens/.+$", "location": "path" } - }, - "flatPath": "v1/organizations/{organizationsId}:getOrgPolicyV1" - }, - "getEffectiveOrgPolicy": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "OrgPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "parameters": { - "resource": { - "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "The name of the resource to start computing the effective `Policy`." - } - }, - "flatPath": "v1/organizations/{organizationsId}:getEffectiveOrgPolicy", - "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy", - "path": "v1/{+resource}:getEffectiveOrgPolicy", - "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", - "request": { - "$ref": "GetEffectiveOrgPolicyRequest" } }, - "setOrgPolicyV1": { - "flatPath": "v1/organizations/{organizationsId}:setOrgPolicyV1", - "path": "v1/{+resource}:setOrgPolicyV1", - "id": "cloudresourcemanager.organizations.setOrgPolicyV1", - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", - "request": { - "$ref": "SetOrgPolicyRequest" - }, - "response": { - "$ref": "OrgPolicy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "Resource name of the resource to attach the `Policy`.", - "required": true, - "type": "string" - } - } - } - } - }, - "liens": { - "methods": { "list": { - "httpMethod": "GET", "response": { "$ref": "ListLiensResponse" }, "parameterOrder": [], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "parameters": { - "parent": { - "type": "string", - "location": "query", - "description": "The name of the resource to list all attached Liens.\nFor example, `projects/1234`." - }, "pageToken": { - "location": "query", "description": "The `next_page_token` value returned from a previous List request, if any.", - "type": "string" + "type": "string", + "location": "query" }, "pageSize": { + "location": "query", "description": "The maximum number of items to return. This is a suggestion for the server.", "format": "int32", - "type": "integer", + "type": "integer" + }, + "parent": { + "description": "The name of the resource to list all attached Liens.\nFor example, `projects/1234`.", + "type": "string", "location": "query" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "flatPath": "v1/liens", - "id": "cloudresourcemanager.liens.list", "path": "v1/liens", + "id": "cloudresourcemanager.liens.list", "description": "List all Liens applied to the `parent` resource.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.get`." }, "create": { - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "flatPath": "v1/liens", - "id": "cloudresourcemanager.liens.create", - "path": "v1/liens", + "description": "Create a Lien which applies to the resource denoted by the `parent` field.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, applying to `projects/1234` requires permission\n`resourcemanager.projects.updateLiens`.\n\nNOTE: Some resources may limit the number of Liens which may be applied.", "request": { "$ref": "Lien" }, - "description": "Create a Lien which applies to the resource denoted by the `parent` field.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, applying to `projects/1234` requires permission\n`resourcemanager.projects.updateLiens`.\n\nNOTE: Some resources may limit the number of Liens which may be applied.", "httpMethod": "POST", "parameterOrder": [], "response": { "$ref": "Lien" - } - }, - "delete": { - "description": "Delete a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.updateLiens`.", - "response": { - "$ref": "Empty" }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "parameters": { - "name": { - "pattern": "^liens/.+$", - "location": "path", - "description": "The name/identifier of the Lien to delete.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/liens/{liensId}", - "path": "v1/{+name}", - "id": "cloudresourcemanager.liens.delete" + "parameters": {}, + "flatPath": "v1/liens", + "id": "cloudresourcemanager.liens.create", + "path": "v1/liens" } } }, "operations": { "methods": { "get": { - "path": "v1/{+name}", - "id": "cloudresourcemanager.operations.get", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", "response": { "$ref": "Operation" }, @@ -516,169 +524,114 @@ "name" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "parameters": { "name": { + "location": "path", "description": "The name of the operation resource.", "required": true, "type": "string", - "pattern": "^operations/.+$", - "location": "path" + "pattern": "^operations/.+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "flatPath": "v1/operations/{operationsId}" + "flatPath": "v1/operations/{operationsId}", + "path": "v1/{+name}", + "id": "cloudresourcemanager.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." } } }, "folders": { "methods": { - "listOrgPolicies": { - "response": { - "$ref": "ListOrgPoliciesResponse" + "getOrgPolicy": { + "flatPath": "v1/folders/{foldersId}:getOrgPolicy", + "id": "cloudresourcemanager.folders.getOrgPolicy", + "path": "v1/{+resource}:getOrgPolicy", + "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "request": { + "$ref": "GetOrgPolicyRequest" }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "OrgPolicy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "resource": { - "description": "Name of the resource to list Policies for.", + "description": "Name of the resource the `Policy` is set on.", "required": true, "type": "string", "pattern": "^folders/[^/]+$", "location": "path" } - }, - "flatPath": "v1/folders/{foldersId}:listOrgPolicies", - "path": "v1/{+resource}:listOrgPolicies", - "id": "cloudresourcemanager.folders.listOrgPolicies", - "description": "Lists all the `Policies` set for a particular resource.", - "request": { - "$ref": "ListOrgPoliciesRequest" } }, - "listAvailableOrgPolicyConstraints": { - "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", - "id": "cloudresourcemanager.folders.listAvailableOrgPolicyConstraints", - "description": "Lists `Constraints` that could be applied on the specified resource.", - "request": { - "$ref": "ListAvailableOrgPolicyConstraintsRequest" - }, - "response": { - "$ref": "ListAvailableOrgPolicyConstraintsResponse" - }, + "getEffectiveOrgPolicy": { + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "OrgPolicy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "resource": { - "description": "Name of the resource to list `Constraints` for.", "required": true, "type": "string", "pattern": "^folders/[^/]+$", - "location": "path" + "location": "path", + "description": "The name of the resource to start computing the effective `Policy`." } }, - "flatPath": "v1/folders/{foldersId}:listAvailableOrgPolicyConstraints" - }, - "getOrgPolicy": { - "flatPath": "v1/folders/{foldersId}:getOrgPolicy", - "path": "v1/{+resource}:getOrgPolicy", - "id": "cloudresourcemanager.folders.getOrgPolicy", + "flatPath": "v1/folders/{foldersId}:getEffectiveOrgPolicy", + "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy", + "path": "v1/{+resource}:getEffectiveOrgPolicy", + "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", "request": { - "$ref": "GetOrgPolicyRequest" - }, - "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", - "response": { - "$ref": "OrgPolicy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", + "$ref": "GetEffectiveOrgPolicyRequest" + } + }, + "getOrgPolicyV1": { "parameters": { "resource": { - "pattern": "^folders/[^/]+$", "location": "path", "description": "Name of the resource the `Policy` is set on.", "required": true, - "type": "string" + "type": "string", + "pattern": "^folders/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ] - }, - "getEffectiveOrgPolicy": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "OrgPolicy" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "parameters": { - "resource": { - "description": "The name of the resource to start computing the effective `Policy`.", - "required": true, - "type": "string", - "pattern": "^folders/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/folders/{foldersId}:getEffectiveOrgPolicy", - "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy", - "path": "v1/{+resource}:getEffectiveOrgPolicy", - "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", - "request": { - "$ref": "GetEffectiveOrgPolicyRequest" - } - }, - "getOrgPolicyV1": { - "path": "v1/{+resource}:getOrgPolicyV1", + "flatPath": "v1/folders/{foldersId}:getOrgPolicyV1", "id": "cloudresourcemanager.folders.getOrgPolicyV1", - "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "path": "v1/{+resource}:getOrgPolicyV1", "request": { "$ref": "GetOrgPolicyRequest" }, - "response": { - "$ref": "OrgPolicy" - }, + "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "parameters": { - "resource": { - "pattern": "^folders/[^/]+$", - "location": "path", - "description": "Name of the resource the `Policy` is set on.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/folders/{foldersId}:getOrgPolicyV1" + "response": { + "$ref": "OrgPolicy" + } }, "setOrgPolicyV1": { "response": { @@ -688,6 +641,9 @@ "resource" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "resource": { "pattern": "^folders/[^/]+$", @@ -697,58 +653,51 @@ "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/folders/{foldersId}:setOrgPolicyV1", "path": "v1/{+resource}:setOrgPolicyV1", "id": "cloudresourcemanager.folders.setOrgPolicyV1", + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", "request": { "$ref": "SetOrgPolicyRequest" - }, - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`." + } }, "getEffectiveOrgPolicyV1": { - "id": "cloudresourcemanager.folders.getEffectiveOrgPolicyV1", - "path": "v1/{+resource}:getEffectiveOrgPolicyV1", "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", "request": { "$ref": "GetEffectiveOrgPolicyRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], "response": { "$ref": "OrgPolicy" }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "resource": { - "location": "path", "description": "The name of the resource to start computing the effective `Policy`.", "required": true, "type": "string", - "pattern": "^folders/[^/]+$" + "pattern": "^folders/[^/]+$", + "location": "path" } }, - "flatPath": "v1/folders/{foldersId}:getEffectiveOrgPolicyV1" + "flatPath": "v1/folders/{foldersId}:getEffectiveOrgPolicyV1", + "path": "v1/{+resource}:getEffectiveOrgPolicyV1", + "id": "cloudresourcemanager.folders.getEffectiveOrgPolicyV1" }, "clearOrgPolicy": { - "description": "Clears a `Policy` from a resource.", - "request": { - "$ref": "ClearOrgPolicyRequest" - }, - "response": { - "$ref": "Empty" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], @@ -762,8 +711,12 @@ } }, "flatPath": "v1/folders/{foldersId}:clearOrgPolicy", + "id": "cloudresourcemanager.folders.clearOrgPolicy", "path": "v1/{+resource}:clearOrgPolicy", - "id": "cloudresourcemanager.folders.clearOrgPolicy" + "description": "Clears a `Policy` from a resource.", + "request": { + "$ref": "ClearOrgPolicyRequest" + } }, "setOrgPolicy": { "request": { @@ -779,11 +732,11 @@ }, "parameters": { "resource": { - "pattern": "^folders/[^/]+$", "location": "path", "description": "Resource name of the resource to attach the `Policy`.", "required": true, - "type": "string" + "type": "string", + "pattern": "^folders/[^/]+$" } }, "scopes": [ @@ -794,77 +747,98 @@ "path": "v1/{+resource}:setOrgPolicy" }, "clearOrgPolicyV1": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "description": "Name of the resource for the `Policy` to clear.", + "required": true, + "type": "string", + "pattern": "^folders/[^/]+$", + "location": "path" + } + }, "flatPath": "v1/folders/{foldersId}:clearOrgPolicyV1", "path": "v1/{+resource}:clearOrgPolicyV1", "id": "cloudresourcemanager.folders.clearOrgPolicyV1", "description": "Clears a `Policy` from a resource.", "request": { "$ref": "ClearOrgPolicyRequest" + } + }, + "listOrgPolicies": { + "request": { + "$ref": "ListOrgPoliciesRequest" }, + "description": "Lists all the `Policies` set for a particular resource.", "response": { - "$ref": "Empty" + "$ref": "ListOrgPoliciesResponse" }, "parameterOrder": [ "resource" ], "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { "resource": { "pattern": "^folders/[^/]+$", "location": "path", - "description": "Name of the resource for the `Policy` to clear.", + "description": "Name of the resource to list Policies for.", "required": true, "type": "string" } - } - } - } - }, - "projects": { - "methods": { - "list": { - "path": "v1/projects", - "id": "cloudresourcemanager.projects.list", - "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list.", + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "flatPath": "v1/folders/{foldersId}:listOrgPolicies", + "path": "v1/{+resource}:listOrgPolicies", + "id": "cloudresourcemanager.folders.listOrgPolicies" + }, + "listAvailableOrgPolicyConstraints": { + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], "response": { - "$ref": "ListProjectsResponse" + "$ref": "ListAvailableOrgPolicyConstraintsResponse" }, - "parameterOrder": [], - "httpMethod": "GET", "parameters": { - "filter": { - "location": "query", - "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ \u003ccode\u003elabels.\u003cem\u003ekey\u003c/em\u003e\u003c/code\u003e where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red labels.size:big|The project's label `color` has the\nvalue `red` and its label `size` has the value `big`.\n\nOptional.", - "type": "string" - }, - "pageToken": { - "location": "query", - "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.", - "format": "int32", - "type": "integer", - "location": "query" + "resource": { + "description": "Name of the resource to list `Constraints` for.", + "required": true, + "type": "string", + "pattern": "^folders/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "flatPath": "v1/projects" - }, - "setOrgPolicy": { + "flatPath": "v1/folders/{foldersId}:listAvailableOrgPolicyConstraints", + "id": "cloudresourcemanager.folders.listAvailableOrgPolicyConstraints", + "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", "request": { - "$ref": "SetOrgPolicyRequest" + "$ref": "ListAvailableOrgPolicyConstraintsRequest" }, - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "description": "Lists `Constraints` that could be applied on the specified resource." + } + } + }, + "projects": { + "methods": { + "clearOrgPolicyV1": { "response": { - "$ref": "OrgPolicy" + "$ref": "Empty" }, "parameterOrder": [ "resource" @@ -872,53 +846,25 @@ "httpMethod": "POST", "parameters": { "resource": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "Resource name of the resource to attach the `Policy`.", + "description": "Name of the resource for the `Policy` to clear.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}:setOrgPolicy", - "path": "v1/{+resource}:setOrgPolicy", - "id": "cloudresourcemanager.projects.setOrgPolicy" - }, - "clearOrgPolicyV1": { "flatPath": "v1/projects/{projectsId}:clearOrgPolicyV1", - "id": "cloudresourcemanager.projects.clearOrgPolicyV1", "path": "v1/{+resource}:clearOrgPolicyV1", - "description": "Clears a `Policy` from a resource.", + "id": "cloudresourcemanager.projects.clearOrgPolicyV1", "request": { "$ref": "ClearOrgPolicyRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "location": "path", - "description": "Name of the resource for the `Policy` to clear.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - } - } + "description": "Clears a `Policy` from a resource." }, "create": { - "request": { - "$ref": "Project" - }, - "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.", "response": { "$ref": "Operation" }, @@ -930,9 +876,16 @@ ], "flatPath": "v1/projects", "path": "v1/projects", - "id": "cloudresourcemanager.projects.create" + "id": "cloudresourcemanager.projects.create", + "request": { + "$ref": "Project" + }, + "description": "Request that a new Project be created. The result is an Operation which\ncan be used to track the creation process. It is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\npercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff." }, "listOrgPolicies": { + "flatPath": "v1/projects/{projectsId}:listOrgPolicies", + "path": "v1/{+resource}:listOrgPolicies", + "id": "cloudresourcemanager.projects.listOrgPolicies", "description": "Lists all the `Policies` set for a particular resource.", "request": { "$ref": "ListOrgPoliciesRequest" @@ -950,62 +903,59 @@ ], "parameters": { "resource": { + "pattern": "^projects/[^/]+$", + "location": "path", "description": "Name of the resource to list Policies for.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "type": "string" } - }, - "flatPath": "v1/projects/{projectsId}:listOrgPolicies", - "path": "v1/{+resource}:listOrgPolicies", - "id": "cloudresourcemanager.projects.listOrgPolicies" + } }, "get": { + "flatPath": "v1/projects/{projectId}", + "id": "cloudresourcemanager.projects.get", + "path": "v1/projects/{projectId}", "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.", + "httpMethod": "GET", "response": { "$ref": "Project" }, "parameterOrder": [ "projectId" ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "parameters": { "projectId": { - "location": "path", - "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", "required": true, - "type": "string" + "type": "string", + "location": "path", + "description": "The Project ID (for example, `my-project-123`).\n\nRequired." } }, - "flatPath": "v1/projects/{projectId}", - "path": "v1/projects/{projectId}", - "id": "cloudresourcemanager.projects.get" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] }, "getAncestry": { - "id": "cloudresourcemanager.projects.getAncestry", "path": "v1/projects/{projectId}:getAncestry", + "id": "cloudresourcemanager.projects.getAncestry", "request": { "$ref": "GetAncestryRequest" }, "description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.", - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], "response": { "$ref": "GetAncestryResponse" }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "POST", "parameters": { "projectId": { + "location": "path", "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ @@ -1015,48 +965,48 @@ "flatPath": "v1/projects/{projectId}:getAncestry" }, "getEffectiveOrgPolicyV1": { - "path": "v1/{+resource}:getEffectiveOrgPolicyV1", - "id": "cloudresourcemanager.projects.getEffectiveOrgPolicyV1", - "request": { - "$ref": "GetEffectiveOrgPolicyRequest" - }, - "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", - "response": { - "$ref": "OrgPolicy" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "OrgPolicy" + }, "parameters": { "resource": { - "location": "path", "description": "The name of the resource to start computing the effective `Policy`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+$" + "pattern": "^projects/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "flatPath": "v1/projects/{projectsId}:getEffectiveOrgPolicyV1" + "flatPath": "v1/projects/{projectsId}:getEffectiveOrgPolicyV1", + "id": "cloudresourcemanager.projects.getEffectiveOrgPolicyV1", + "path": "v1/{+resource}:getEffectiveOrgPolicyV1", + "request": { + "$ref": "GetEffectiveOrgPolicyRequest" + }, + "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources." }, "testIamPermissions": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], "response": { "$ref": "TestIamPermissionsResponse" }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field." } }, "scopes": [ @@ -1064,14 +1014,15 @@ "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{resource}:testIamPermissions", - "id": "cloudresourcemanager.projects.testIamPermissions", "path": "v1/projects/{resource}:testIamPermissions", + "id": "cloudresourcemanager.projects.testIamPermissions", "request": { "$ref": "TestIamPermissionsRequest" }, "description": "Returns permissions that a caller has on the specified Project." }, "delete": { + "description": "Marks the Project identified by the specified\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle state of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTIVE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time,\nat which point the Project is no longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permissions for this Project.", "response": { "$ref": "Empty" }, @@ -1092,17 +1043,22 @@ }, "flatPath": "v1/projects/{projectId}", "path": "v1/projects/{projectId}", - "id": "cloudresourcemanager.projects.delete", - "description": "Marks the Project identified by the specified\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle state of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTIVE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time,\nat which point the Project is no longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permissions for this Project." + "id": "cloudresourcemanager.projects.delete" }, "clearOrgPolicy": { - "response": { - "$ref": "Empty" + "id": "cloudresourcemanager.projects.clearOrgPolicy", + "path": "v1/{+resource}:clearOrgPolicy", + "description": "Clears a `Policy` from a resource.", + "request": { + "$ref": "ClearOrgPolicyRequest" }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], @@ -1115,13 +1071,7 @@ "location": "path" } }, - "flatPath": "v1/projects/{projectsId}:clearOrgPolicy", - "path": "v1/{+resource}:clearOrgPolicy", - "id": "cloudresourcemanager.projects.clearOrgPolicy", - "description": "Clears a `Policy` from a resource.", - "request": { - "$ref": "ClearOrgPolicyRequest" - } + "flatPath": "v1/projects/{projectsId}:clearOrgPolicy" }, "setIamPolicy": { "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.", @@ -1140,10 +1090,10 @@ ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field." } }, "flatPath": "v1/projects/{resource}:setIamPolicy", @@ -1151,39 +1101,39 @@ "id": "cloudresourcemanager.projects.setIamPolicy" }, "listAvailableOrgPolicyConstraints": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], "response": { "$ref": "ListAvailableOrgPolicyConstraintsResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" + "parameterOrder": [ + "resource" ], + "httpMethod": "POST", "parameters": { "resource": { + "pattern": "^projects/[^/]+$", + "location": "path", "description": "Name of the resource to list `Constraints` for.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "flatPath": "v1/projects/{projectsId}:listAvailableOrgPolicyConstraints", - "id": "cloudresourcemanager.projects.listAvailableOrgPolicyConstraints", "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", - "description": "Lists `Constraints` that could be applied on the specified resource.", + "id": "cloudresourcemanager.projects.listAvailableOrgPolicyConstraints", "request": { "$ref": "ListAvailableOrgPolicyConstraintsRequest" - } + }, + "description": "Lists `Constraints` that could be applied on the specified resource." }, "getIamPolicy": { + "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.", "request": { "$ref": "GetIamPolicyRequest" }, - "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.", "response": { "$ref": "Policy" }, @@ -1191,18 +1141,18 @@ "resource" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "parameters": { "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string" + "type": "string", + "location": "path", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field." } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "flatPath": "v1/projects/{resource}:getIamPolicy", "path": "v1/projects/{resource}:getIamPolicy", "id": "cloudresourcemanager.projects.getIamPolicy" @@ -1212,20 +1162,20 @@ "$ref": "GetOrgPolicyRequest" }, "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", - "response": { - "$ref": "OrgPolicy" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "OrgPolicy" + }, "parameters": { "resource": { + "required": true, + "type": "string", "pattern": "^projects/[^/]+$", "location": "path", - "description": "Name of the resource the `Policy` is set on.", - "required": true, - "type": "string" + "description": "Name of the resource the `Policy` is set on." } }, "scopes": [ @@ -1233,35 +1183,8 @@ "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}:getOrgPolicy", - "path": "v1/{+resource}:getOrgPolicy", - "id": "cloudresourcemanager.projects.getOrgPolicy" - }, - "undelete": { - "request": { - "$ref": "UndeleteProjectRequest" - }, - "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.", - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], - "response": { - "$ref": "Empty" - }, - "parameters": { - "projectId": { - "location": "path", - "description": "The project ID (for example, `foo-bar-123`).\n\nRequired.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectId}:undelete", - "id": "cloudresourcemanager.projects.undelete", - "path": "v1/projects/{projectId}:undelete" + "id": "cloudresourcemanager.projects.getOrgPolicy", + "path": "v1/{+resource}:getOrgPolicy" }, "getEffectiveOrgPolicy": { "response": { @@ -1271,6 +1194,10 @@ "resource" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "parameters": { "resource": { "pattern": "^projects/[^/]+$", @@ -1280,17 +1207,13 @@ "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "flatPath": "v1/projects/{projectsId}:getEffectiveOrgPolicy", "path": "v1/{+resource}:getEffectiveOrgPolicy", "id": "cloudresourcemanager.projects.getEffectiveOrgPolicy", + "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", "request": { "$ref": "GetEffectiveOrgPolicyRequest" - }, - "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources." + } }, "getOrgPolicyV1": { "response": { @@ -1302,11 +1225,11 @@ "httpMethod": "POST", "parameters": { "resource": { - "pattern": "^projects/[^/]+$", - "location": "path", "description": "Name of the resource the `Policy` is set on.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" } }, "scopes": [ @@ -1321,7 +1244,37 @@ }, "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write." }, + "undelete": { + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "required": true, + "type": "string", + "location": "path", + "description": "The project ID (for example, `foo-bar-123`).\n\nRequired." + } + }, + "flatPath": "v1/projects/{projectId}:undelete", + "id": "cloudresourcemanager.projects.undelete", + "path": "v1/projects/{projectId}:undelete", + "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.", + "request": { + "$ref": "UndeleteProjectRequest" + } + }, "update": { + "flatPath": "v1/projects/{projectId}", + "path": "v1/projects/{projectId}", + "id": "cloudresourcemanager.projects.update", "request": { "$ref": "Project" }, @@ -1335,63 +1288,121 @@ "httpMethod": "PUT", "parameters": { "projectId": { - "location": "path", - "description": "The project ID (for example, `my-project-123`).\n\nRequired.", "required": true, - "type": "string" + "type": "string", + "location": "path", + "description": "The project ID (for example, `my-project-123`).\n\nRequired." } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectId}", - "path": "v1/projects/{projectId}", - "id": "cloudresourcemanager.projects.update" + ] }, "setOrgPolicyV1": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], "response": { "$ref": "OrgPolicy" }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "resource": { + "pattern": "^projects/[^/]+$", "location": "path", "description": "Resource name of the resource to attach the `Policy`.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}:setOrgPolicyV1", - "id": "cloudresourcemanager.projects.setOrgPolicyV1", "path": "v1/{+resource}:setOrgPolicyV1", + "id": "cloudresourcemanager.projects.setOrgPolicyV1", + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", "request": { "$ref": "SetOrgPolicyRequest" + } + }, + "list": { + "response": { + "$ref": "ListProjectsResponse" }, - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`." - } - } - } - }, - "parameters": { - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", + "parameterOrder": [], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "parameters": { + "filter": { + "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ \u003ccode\u003elabels.\u003cem\u003ekey\u003c/em\u003e\u003c/code\u003e where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red labels.size:big|The project's label `color` has the\nvalue `red` and its label `size` has the value `big`.\n\nOptional.", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.", + "format": "int32", + "type": "integer" + } + }, + "flatPath": "v1/projects", + "path": "v1/projects", + "id": "cloudresourcemanager.projects.list", + "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list." + }, + "setOrgPolicy": { + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "request": { + "$ref": "SetOrgPolicyRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "OrgPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Resource name of the resource to attach the `Policy`.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}:setOrgPolicy", + "id": "cloudresourcemanager.projects.setOrgPolicy", + "path": "v1/{+resource}:setOrgPolicy" + } + } + } + }, + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", "v2 error format" ], "location": "query", "enum": [ "1", "2" - ], - "description": "V1 error format.", - "type": "string" + ] }, "callback": { "location": "query", @@ -1399,8 +1410,6 @@ "type": "string" }, "alt": { - "description": "Data format for response.", - "default": "json", "enum": [ "json", "media", @@ -1412,38 +1421,40 @@ "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], - "location": "query" + "location": "query", + "description": "Data format for response.", + "default": "json" }, "access_token": { - "description": "OAuth access token.", "type": "string", - "location": "query" + "location": "query", + "description": "OAuth access token." }, "key": { - "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.", "type": "string", - "location": "query" + "location": "query", + "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." }, "quotaUser": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "pp": { - "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true" + "default": "true", + "location": "query" }, "oauth_token": { - "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string" + "type": "string", + "location": "query" }, "bearer_token": { + "type": "string", "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "description": "OAuth bearer token." }, "upload_protocol": { "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", @@ -1451,15 +1462,15 @@ "location": "query" }, "prettyPrint": { - "description": "Returns response with indentations and line breaks.", "type": "boolean", "default": "true", - "location": "query" + "location": "query", + "description": "Returns response with indentations and line breaks." }, "uploadType": { + "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "type": "string" }, "fields": { "description": "Selector specifying which fields to include in a partial response.", @@ -1468,848 +1479,848 @@ } }, "schemas": { - "ListOrgPoliciesRequest": { - "description": "The request sent to the ListOrgPolicies method.", + "GetIamPolicyRequest": { + "description": "Request message for `GetIamPolicy` method.", "type": "object", - "properties": { - "pageToken": { - "type": "string", - "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field." - }, - "pageSize": { - "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", - "format": "int32", - "type": "integer" - } - }, - "id": "ListOrgPoliciesRequest" + "properties": {}, + "id": "GetIamPolicyRequest" }, - "AuditConfig": { - "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { - "service": { - "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", - "type": "string" - }, - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.\nNext ID: 4", + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", "type": "array", "items": { - "$ref": "AuditLogConfig" + "type": "string" } } }, - "id": "AuditConfig" + "id": "TestIamPermissionsResponse" }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "OrganizationOwner": { + "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.", "type": "object", "properties": { - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", + "directoryCustomerId": { + "description": "The Google for Work customer id used in the Directory API.", "type": "string" - }, - "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" - }, - "metadata": { - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + } + }, + "id": "OrganizationOwner" + }, + "ListProjectsResponse": { + "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.", + "type": "object", + "properties": { + "projects": { + "description": "The list of Projects that matched the list filter. This list can\nbe paginated.", + "type": "array", + "items": { + "$ref": "Project" } }, - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" + "nextPageToken": { + "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.", + "type": "string" } }, - "id": "Operation" + "id": "ListProjectsResponse" }, - "Constraint": { + "Project": { + "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.", + "type": "object", "properties": { - "displayName": { - "type": "string", - "description": "The human readable name.\n\nMutable." - }, - "description": { - "description": "Detailed description of what this `Constraint` controls as well as how and\nwhere it is enforced.\n\nMutable.", + "name": { + "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: \u003ccode\u003eMy Project\u003c/code\u003e\nRead-write.", "type": "string" }, - "booleanConstraint": { - "$ref": "BooleanConstraint", - "description": "Defines this constraint as being a BooleanConstraint." + "projectId": { + "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: \u003ccode\u003etokyo-rain-123\u003c/code\u003e\nRead-only after creation.", + "type": "string" }, - "constraintDefault": { + "lifecycleState": { "enumDescriptions": [ - "This is only used for distinguishing unset values and should never be\nused.", - "Indicate that all values are allowed for list constraints.\nIndicate that enforcement is off for boolean constraints.", - "Indicate that all values are denied for list constraints.\nIndicate that enforcement is on for boolean constraints." + "Unspecified state. This is only used/useful for distinguishing\nunset values.", + "The normal and active state.", + "The project has been marked for deletion by the user\n(by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", + "This lifecycle state is no longer used and not returned by the API." ], "enum": [ - "CONSTRAINT_DEFAULT_UNSPECIFIED", - "ALLOW", - "DENY" + "LIFECYCLE_STATE_UNSPECIFIED", + "ACTIVE", + "DELETE_REQUESTED", + "DELETE_IN_PROGRESS" ], - "description": "The evaluation behavior of this constraint in the absense of 'Policy'.", + "description": "The Project lifecycle state.\n\nRead-only.", "type": "string" }, - "name": { - "description": "Immutable value, required to globally be unique. For example,\n`constraints/serviceuser.services`", + "projectNumber": { + "description": "The number uniquely identifying the project.\n\nExample: \u003ccode\u003e415104041262\u003c/code\u003e\nRead-only.", + "format": "int64", "type": "string" }, - "listConstraint": { - "description": "Defines this constraint as being a ListConstraint.", - "$ref": "ListConstraint" + "parent": { + "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write.", + "$ref": "ResourceId" }, - "version": { - "description": "Version of the `Constraint`. Default version is 0;", - "format": "int32", - "type": "integer" + "createTime": { + "type": "string", + "description": "Creation time.\n\nRead-only.", + "format": "google-datetime" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \u003ccode\u003e\"environment\" : \"dev\"\u003c/code\u003e\nRead-write.", + "type": "object" } }, - "id": "Constraint", - "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.", - "type": "object" + "id": "Project" }, - "ListLiensResponse": { - "id": "ListLiensResponse", - "description": "The response message for Liens.ListLiens.", - "type": "object", + "SearchOrganizationsResponse": { "properties": { "nextPageToken": { - "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.", + "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.", "type": "string" }, - "liens": { - "description": "A list of Liens.", + "organizations": { + "description": "The list of Organizations that matched the search query, possibly\npaginated.", "type": "array", "items": { - "$ref": "Lien" + "$ref": "Organization" } } - } + }, + "id": "SearchOrganizationsResponse", + "description": "The response returned from the `SearchOrganizations` method.", + "type": "object" }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object", + "ListOrgPoliciesResponse": { "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "policies": { + "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.", "type": "array", "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" + "$ref": "OrgPolicy" } }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "nextPageToken": { + "description": "Page token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.", "type": "string" } }, - "id": "Status" + "id": "ListOrgPoliciesResponse", + "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.", + "type": "object" }, - "Binding": { - "description": "Associates `members` with a `role`.", - "type": "object", + "FolderOperationError": { "properties": { - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", - "type": "array", - "items": { - "type": "string" - } - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" + "errorMessageId": { + "type": "string", + "enumDescriptions": [ + "The error type was unrecognized or unspecified.", + "The attempted action would violate the max folder depth constraint.", + "The attempted action would violate the max child folders constraint.", + "The attempted action would violate the locally-unique folder\ndisplay_name constraint.", + "The resource being moved has been deleted.", + "The resource a folder was being added to has been deleted.", + "The attempted action would introduce cycle in resource path.", + "The attempted action would move a folder that is already being moved.", + "The folder the caller is trying to delete contains active resources.", + "The attempted action would violate the max deleted folder depth\nconstraint." + ], + "enum": [ + "ERROR_TYPE_UNSPECIFIED", + "FOLDER_HEIGHT_VIOLATION", + "MAX_CHILD_FOLDERS_VIOLATION", + "FOLDER_NAME_UNIQUENESS_VIOLATION", + "RESOURCE_DELETED", + "PARENT_DELETED", + "CYCLE_INTRODUCED_ERROR", + "FOLDER_BEING_MOVED", + "FOLDER_TO_DELETE_NON_EMPTY", + "DELETED_FOLDER_HEIGHT_VIOLATION" + ], + "description": "The type of operation error experienced." } }, - "id": "Binding" - }, - "RestoreDefault": { - "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.", - "type": "object", - "properties": {}, - "id": "RestoreDefault" + "id": "FolderOperationError", + "description": "A classification of the Folder Operation error.", + "type": "object" }, - "GetOrgPolicyRequest": { - "description": "The request sent to the GetOrgPolicy method.", + "BooleanPolicy": { + "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource.", "type": "object", "properties": { - "constraint": { - "description": "Name of the `Constraint` to get the `Policy`.", - "type": "string" + "enforced": { + "type": "boolean", + "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`." } }, - "id": "GetOrgPolicyRequest" - }, - "UndeleteProjectRequest": { - "type": "object", - "properties": {}, - "id": "UndeleteProjectRequest", - "description": "The request sent to the UndeleteProject\nmethod." + "id": "BooleanPolicy" }, - "ClearOrgPolicyRequest": { - "description": "The request sent to the ClearOrgPolicy method.", + "OrgPolicy": { + "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.", "type": "object", "properties": { + "listPolicy": { + "$ref": "ListPolicy", + "description": "List of values either allowed or disallowed." + }, "etag": { - "description": "The current version, for concurrency control. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.", + "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.", "format": "byte", "type": "string" }, "constraint": { - "description": "Name of the `Constraint` of the `Policy` to clear.", + "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.", + "type": "string" + }, + "booleanPolicy": { + "$ref": "BooleanPolicy", + "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." + }, + "updateTime": { + "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.", + "format": "google-datetime", "type": "string" + }, + "version": { + "description": "Version of the `Policy`. Default version is 0;", + "format": "int32", + "type": "integer" + }, + "restoreDefault": { + "$ref": "RestoreDefault", + "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type." } }, - "id": "ClearOrgPolicyRequest" + "id": "OrgPolicy" }, - "ProjectCreationStatus": { - "id": "ProjectCreationStatus", - "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.", + "Lien": { + "description": "A Lien represents an encumbrance on the actions that can be performed on a\nresource.", "type": "object", "properties": { - "ready": { - "description": "True if the project creation process is complete.", - "type": "boolean" + "parent": { + "description": "A reference to the resource this Lien is attached to. The server will\nvalidate the parent against those for which Liens are supported.\n\nExample: `projects/1234`", + "type": "string" }, "createTime": { - "description": "Creation time of the project creation workflow.", + "description": "The creation time of this Lien.", "format": "google-datetime", "type": "string" }, - "gettable": { - "type": "boolean", - "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete." + "name": { + "description": "A system-generated unique identifier for this Lien.\n\nExample: `liens/1234abcd`", + "type": "string" + }, + "reason": { + "description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n\nExample: 'Holds production API key'", + "type": "string" + }, + "origin": { + "description": "A stable, user-visible/meaningful string identifying the origin of the\nLien, intended to be inspected programmatically. Maximum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'", + "type": "string" + }, + "restrictions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The types of operations which should be blocked as a result of this Lien.\nEach value should correspond to an IAM permission. The server will\nvalidate the permissions against those for which Liens are supported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['resourcemanager.projects.delete']" } - } - }, - "BooleanConstraint": { - "description": "A `Constraint` that is either enforced or not.\n\nFor example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that instance.", - "type": "object", - "properties": {}, - "id": "BooleanConstraint" + }, + "id": "Lien" }, - "GetIamPolicyRequest": { - "id": "GetIamPolicyRequest", - "description": "Request message for `GetIamPolicy` method.", + "Ancestor": { "type": "object", - "properties": {} + "properties": { + "resourceId": { + "$ref": "ResourceId", + "description": "Resource id of the ancestor." + } + }, + "id": "Ancestor", + "description": "Identifying information for a single ancestor of a project." }, - "TestIamPermissionsResponse": { - "id": "TestIamPermissionsResponse", - "description": "Response message for `TestIamPermissions` method.", + "ListConstraint": { + "description": "A `Constraint` that allows or disallows a list of string values, which are\nconfigured by an Organization's policy administrator with a `Policy`.", "type": "object", "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", - "type": "array", - "items": { - "type": "string" - } + "suggestedValue": { + "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.", + "type": "string" } - } + }, + "id": "ListConstraint" }, - "OrganizationOwner": { - "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.", + "SetOrgPolicyRequest": { + "description": "The request sent to the SetOrgPolicyRequest method.", "type": "object", "properties": { - "directoryCustomerId": { - "description": "The Google for Work customer id used in the Directory API.", - "type": "string" + "policy": { + "$ref": "OrgPolicy", + "description": "`Policy` to set on the resource." } }, - "id": "OrganizationOwner" + "id": "SetOrgPolicyRequest" }, - "ListProjectsResponse": { - "id": "ListProjectsResponse", - "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.", + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { - "projects": { - "description": "The list of Projects that matched the list filter. This list can\nbe paginated.", - "type": "array", - "items": { - "$ref": "Project" - } + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." }, - "nextPageToken": { - "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.", + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", + "format": "google-fieldmask", "type": "string" } - } + }, + "id": "SetIamPolicyRequest" }, - "Project": { + "Empty": { + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {} + }, + "Organization": { + "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.", + "type": "object", "properties": { + "creationTime": { + "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", + "format": "google-datetime", + "type": "string" + }, + "owner": { + "$ref": "OrganizationOwner", + "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required." + }, "lifecycleState": { + "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", + "type": "string", "enumDescriptions": [ - "Unspecified state. This is only used/useful for distinguishing\nunset values.", + "Unspecified state. This is only useful for distinguishing unset values.", "The normal and active state.", - "The project has been marked for deletion by the user\n(by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", - "This lifecycle state is no longer used and not returned by the API." + "The organization has been marked for deletion by the user." ], "enum": [ "LIFECYCLE_STATE_UNSPECIFIED", "ACTIVE", - "DELETE_REQUESTED", - "DELETE_IN_PROGRESS" - ], - "description": "The Project lifecycle state.\n\nRead-only.", - "type": "string" - }, - "projectNumber": { - "description": "The number uniquely identifying the project.\n\nExample: \u003ccode\u003e415104041262\u003c/code\u003e\nRead-only.", - "format": "int64", - "type": "string" - }, - "parent": { - "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write.", - "$ref": "ResourceId" - }, - "createTime": { - "description": "Creation time.\n\nRead-only.", - "format": "google-datetime", - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \u003ccode\u003e\"environment\" : \"dev\"\u003c/code\u003e\nRead-write.", - "type": "object" + "DELETE_REQUESTED" + ] }, "name": { - "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: \u003ccode\u003eMy Project\u003c/code\u003e\nRead-write.", + "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", "type": "string" }, - "projectId": { - "type": "string", - "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: \u003ccode\u003etokyo-rain-123\u003c/code\u003e\nRead-only after creation." + "displayName": { + "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly", + "type": "string" } }, - "id": "Project", - "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.", - "type": "object" + "id": "Organization" }, - "ListOrgPoliciesResponse": { - "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.", + "ListAvailableOrgPolicyConstraintsResponse": { + "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).", "type": "object", "properties": { - "nextPageToken": { - "description": "Page token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.", - "type": "string" - }, - "policies": { - "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.", + "constraints": { + "description": "The collection of constraints that are settable on the request resource.", "type": "array", "items": { - "$ref": "OrgPolicy" + "$ref": "Constraint" } + }, + "nextPageToken": { + "description": "Page token used to retrieve the next page. This is currently not used.", + "type": "string" } }, - "id": "ListOrgPoliciesResponse" + "id": "ListAvailableOrgPolicyConstraintsResponse" }, - "SearchOrganizationsResponse": { - "description": "The response returned from the `SearchOrganizations` method.", + "ListPolicy": { + "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.", "type": "object", "properties": { - "organizations": { - "description": "The list of Organizations that matched the search query, possibly\npaginated.", + "allValues": { + "enumDescriptions": [ + "Indicates that either allowed_values or denied_values must be set.", + "A policy with this set allows all values.", + "A policy with this set denies all values." + ], + "enum": [ + "ALL_VALUES_UNSPECIFIED", + "ALLOW", + "DENY" + ], + "description": "The policy all_values state.", + "type": "string" + }, + "allowedValues": { + "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", "type": "array", "items": { - "$ref": "Organization" + "type": "string" } }, - "nextPageToken": { - "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.", + "suggestedValue": { + "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.", "type": "string" + }, + "inheritFromParent": { + "type": "boolean", + "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`." + }, + "deniedValues": { + "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "SearchOrganizationsResponse" + "id": "ListPolicy" }, - "FolderOperationError": { - "id": "FolderOperationError", - "description": "A classification of the Folder Operation error.", + "GetAncestryResponse": { + "description": "Response from the GetAncestry method.", "type": "object", "properties": { - "errorMessageId": { + "ancestor": { + "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc.", + "type": "array", + "items": { + "$ref": "Ancestor" + } + } + }, + "id": "GetAncestryResponse" + }, + "AuditLogConfig": { + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", + "type": "array", + "items": { + "type": "string" + } + }, + "logType": { + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], "enum": [ - "ERROR_TYPE_UNSPECIFIED", - "FOLDER_HEIGHT_VIOLATION", - "MAX_CHILD_FOLDERS_VIOLATION", - "FOLDER_NAME_UNIQUENESS_VIOLATION", - "RESOURCE_DELETED", - "PARENT_DELETED", - "CYCLE_INTRODUCED_ERROR", - "FOLDER_BEING_MOVED", - "FOLDER_TO_DELETE_NON_EMPTY", - "DELETED_FOLDER_HEIGHT_VIOLATION" + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" ], - "description": "The type of operation error experienced.", - "type": "string", - "enumDescriptions": [ - "The error type was unrecognized or unspecified.", - "The attempted action would violate the max folder depth constraint.", - "The attempted action would violate the max child folders constraint.", - "The attempted action would violate the locally-unique folder\ndisplay_name constraint.", - "The resource being moved has been deleted.", - "The resource a folder was being added to has been deleted.", - "The attempted action would introduce cycle in resource path.", - "The attempted action would move a folder that is already being moved.", - "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth\nconstraint." - ] + "description": "The log type that this config enables.", + "type": "string" } - } + }, + "id": "AuditLogConfig", + "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", + "type": "object" }, - "OrgPolicy": { - "type": "object", + "SearchOrganizationsRequest": { "properties": { - "updateTime": { - "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.", - "format": "google-datetime", + "filter": { + "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.", "type": "string" }, - "version": { - "description": "Version of the `Policy`. Default version is 0;", + "pageToken": { + "type": "string", + "description": "A pagination token returned from a previous call to `SearchOrganizations`\nthat indicates from where listing should continue.\nThis field is optional." + }, + "pageSize": { + "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", "format": "int32", "type": "integer" - }, - "restoreDefault": { - "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type.", - "$ref": "RestoreDefault" - }, - "listPolicy": { - "$ref": "ListPolicy", - "description": "List of values either allowed or disallowed." - }, - "etag": { - "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.", - "format": "byte", - "type": "string" - }, - "constraint": { - "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.", - "type": "string" - }, - "booleanPolicy": { - "$ref": "BooleanPolicy", - "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." } }, - "id": "OrgPolicy", - "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources." + "id": "SearchOrganizationsRequest", + "description": "The request sent to the `SearchOrganizations` method.", + "type": "object" }, - "BooleanPolicy": { + "GetAncestryRequest": { + "description": "The request sent to the\nGetAncestry\nmethod.", + "type": "object", + "properties": {}, + "id": "GetAncestryRequest" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "type": "object", "properties": { - "enforced": { - "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`.", - "type": "boolean" + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "BooleanPolicy", - "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource.", - "type": "object" + "id": "TestIamPermissionsRequest" }, - "Lien": { - "description": "A Lien represents an encumbrance on the actions that can be performed on a\nresource.", - "type": "object", + "ListAvailableOrgPolicyConstraintsRequest": { "properties": { - "parent": { - "description": "A reference to the resource this Lien is attached to. The server will\nvalidate the parent against those for which Liens are supported.\n\nExample: `projects/1234`", + "pageToken": { + "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.", "type": "string" }, - "createTime": { - "type": "string", - "description": "The creation time of this Lien.", - "format": "google-datetime" - }, - "origin": { - "description": "A stable, user-visible/meaningful string identifying the origin of the\nLien, intended to be inspected programmatically. Maximum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'", + "pageSize": { + "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListAvailableOrgPolicyConstraintsRequest", + "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.", + "type": "object" + }, + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "type": "object", + "properties": { + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", "type": "string" }, - "name": { - "description": "A system-generated unique identifier for this Lien.\n\nExample: `liens/1234abcd`", - "type": "string" + "version": { + "type": "integer", + "description": "Version of the `Policy`. The default version is 0.", + "format": "int32" }, - "reason": { - "description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n\nExample: 'Holds production API key'", - "type": "string" + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "type": "array", + "items": { + "$ref": "AuditConfig" + } }, - "restrictions": { - "description": "The types of operations which should be blocked as a result of this Lien.\nEach value should correspond to an IAM permission. The server will\nvalidate the permissions against those for which Liens are supported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['resourcemanager.projects.delete']", + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", "type": "array", "items": { - "type": "string" + "$ref": "Binding" } } }, - "id": "Lien" + "id": "Policy" }, - "Ancestor": { + "FolderOperation": { + "description": "Metadata describing a long running folder operation", "type": "object", "properties": { - "resourceId": { - "$ref": "ResourceId", - "description": "Resource id of the ancestor." + "displayName": { + "description": "The display name of the folder.", + "type": "string" + }, + "sourceParent": { + "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", + "type": "string" + }, + "destinationParent": { + "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to.", + "type": "string" + }, + "operationType": { + "description": "The type of this operation.", + "type": "string", + "enumDescriptions": [ + "Operation type not specified.", + "A create folder operation.", + "A move folder operation." + ], + "enum": [ + "OPERATION_TYPE_UNSPECIFIED", + "CREATE", + "MOVE" + ] } }, - "id": "Ancestor", - "description": "Identifying information for a single ancestor of a project." + "id": "FolderOperation" }, - "ListConstraint": { - "description": "A `Constraint` that allows or disallows a list of string values, which are\nconfigured by an Organization's policy administrator with a `Policy`.", + "ResourceId": { + "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.", "type": "object", "properties": { - "suggestedValue": { - "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.", + "type": { + "type": "string", + "description": "Required field representing the resource type this id is for.\nAt present, the valid types are: \"organization\"" + }, + "id": { + "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.", "type": "string" } }, - "id": "ListConstraint" + "id": "ResourceId" }, - "SetOrgPolicyRequest": { - "properties": { - "policy": { - "$ref": "OrgPolicy", - "description": "`Policy` to set on the resource." - } - }, - "id": "SetOrgPolicyRequest", - "description": "The request sent to the SetOrgPolicyRequest method.", - "type": "object" - }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", + "GetEffectiveOrgPolicyRequest": { "type": "object", "properties": { - "policy": { - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", - "$ref": "Policy" - }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", - "format": "google-fieldmask", + "constraint": { + "description": "The name of the `Constraint` to compute the effective `Policy`.", "type": "string" } }, - "id": "SetIamPolicyRequest" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object", - "properties": {}, - "id": "Empty" + "id": "GetEffectiveOrgPolicyRequest", + "description": "The request sent to the GetEffectiveOrgPolicy method." }, - "Organization": { - "type": "object", + "ListOrgPoliciesRequest": { "properties": { - "owner": { - "$ref": "OrganizationOwner", - "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required." - }, - "lifecycleState": { - "enumDescriptions": [ - "Unspecified state. This is only useful for distinguishing unset values.", - "The normal and active state.", - "The organization has been marked for deletion by the user." - ], - "enum": [ - "LIFECYCLE_STATE_UNSPECIFIED", - "ACTIVE", - "DELETE_REQUESTED" - ], - "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", - "type": "string" - }, - "name": { - "type": "string", - "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\"." - }, - "displayName": { - "type": "string", - "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly" + "pageSize": { + "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", + "format": "int32", + "type": "integer" }, - "creationTime": { - "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", - "format": "google-datetime", + "pageToken": { + "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.", "type": "string" } }, - "id": "Organization", - "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong." + "id": "ListOrgPoliciesRequest", + "description": "The request sent to the ListOrgPolicies method.", + "type": "object" }, - "ListAvailableOrgPolicyConstraintsResponse": { - "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).", + "AuditConfig": { + "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", "type": "object", "properties": { - "constraints": { - "description": "The collection of constraints that are settable on the request resource.", + "service": { + "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", + "type": "string" + }, + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.\nNext ID: 4", "type": "array", "items": { - "$ref": "Constraint" + "$ref": "AuditLogConfig" } - }, - "nextPageToken": { - "type": "string", - "description": "Page token used to retrieve the next page. This is currently not used." } }, - "id": "ListAvailableOrgPolicyConstraintsResponse" + "id": "AuditConfig" }, - "ListPolicy": { - "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.", + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "deniedValues": { - "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", - "type": "array", - "items": { - "type": "string" - } - }, - "allValues": { - "enumDescriptions": [ - "Indicates that either allowed_values or denied_values must be set.", - "A policy with this set allows all values.", - "A policy with this set denies all values." - ], - "enum": [ - "ALL_VALUES_UNSPECIFIED", - "ALLOW", - "DENY" - ], - "description": "The policy all_values state.", - "type": "string" - }, - "allowedValues": { - "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", - "type": "array", - "items": { - "type": "string" - } - }, - "suggestedValue": { - "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.", + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", "type": "string" }, - "inheritFromParent": { - "type": "boolean", - "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`." - } - }, - "id": "ListPolicy" - }, - "GetAncestryResponse": { - "properties": { - "ancestor": { - "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc.", - "type": "array", - "items": { - "$ref": "Ancestor" - } + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" } }, - "id": "GetAncestryResponse", - "description": "Response from the GetAncestry method.", - "type": "object" + "id": "Operation" }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", + "Constraint": { + "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.", "type": "object", "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", - "type": "array", - "items": { - "type": "string" - } + "booleanConstraint": { + "description": "Defines this constraint as being a BooleanConstraint.", + "$ref": "BooleanConstraint" }, - "logType": { + "constraintDefault": { "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" + "CONSTRAINT_DEFAULT_UNSPECIFIED", + "ALLOW", + "DENY" ], - "description": "The log type that this config enables.", + "description": "The evaluation behavior of this constraint in the absense of 'Policy'.", "type": "string", "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" + "This is only used for distinguishing unset values and should never be\nused.", + "Indicate that all values are allowed for list constraints.\nIndicate that enforcement is off for boolean constraints.", + "Indicate that all values are denied for list constraints.\nIndicate that enforcement is on for boolean constraints." ] - } - }, - "id": "AuditLogConfig" - }, - "SearchOrganizationsRequest": { - "description": "The request sent to the `SearchOrganizations` method.", - "type": "object", - "properties": { - "filter": { - "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.", + }, + "name": { + "description": "Immutable value, required to globally be unique. For example,\n`constraints/serviceuser.services`", "type": "string" }, - "pageToken": { - "description": "A pagination token returned from a previous call to `SearchOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.", + "version": { + "type": "integer", + "description": "Version of the `Constraint`. Default version is 0;", + "format": "int32" + }, + "listConstraint": { + "$ref": "ListConstraint", + "description": "Defines this constraint as being a ListConstraint." + }, + "displayName": { + "description": "The human readable name.\n\nMutable.", "type": "string" }, - "pageSize": { - "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", - "format": "int32", - "type": "integer" + "description": { + "description": "Detailed description of what this `Constraint` controls as well as how and\nwhere it is enforced.\n\nMutable.", + "type": "string" } }, - "id": "SearchOrganizationsRequest" - }, - "GetAncestryRequest": { - "description": "The request sent to the\nGetAncestry\nmethod.", - "type": "object", - "properties": {}, - "id": "GetAncestryRequest" + "id": "Constraint" }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", + "ListLiensResponse": { + "description": "The response message for Liens.ListLiens.", "type": "object", "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.", + "type": "string" + }, + "liens": { + "description": "A list of Liens.", "type": "array", "items": { - "type": "string" + "$ref": "Lien" } } }, - "id": "TestIamPermissionsRequest" - }, - "ListAvailableOrgPolicyConstraintsRequest": { - "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.", - "type": "object", - "properties": { - "pageToken": { - "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.", - "type": "string" - }, - "pageSize": { - "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", - "format": "int32", - "type": "integer" - } - }, - "id": "ListAvailableOrgPolicyConstraintsRequest" + "id": "ListLiensResponse" }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "Status": { + "id": "Status", + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "version": { - "description": "Version of the `Policy`. The default version is 0.", + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", "format": "int32", "type": "integer" }, - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + }, + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "$ref": "AuditConfig" + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" } + } + } + }, + "Binding": { + "id": "Binding", + "description": "Associates `members` with a `role`.", + "type": "object", + "properties": { + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", "type": "array", "items": { - "$ref": "Binding" + "type": "string" } - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" } - }, - "id": "Policy" + } }, - "FolderOperation": { - "description": "Metadata describing a long running folder operation", + "RestoreDefault": { + "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.", + "type": "object", + "properties": {}, + "id": "RestoreDefault" + }, + "GetOrgPolicyRequest": { + "description": "The request sent to the GetOrgPolicy method.", "type": "object", "properties": { - "destinationParent": { - "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to.", - "type": "string" - }, - "operationType": { - "enumDescriptions": [ - "Operation type not specified.", - "A create folder operation.", - "A move folder operation." - ], - "enum": [ - "OPERATION_TYPE_UNSPECIFIED", - "CREATE", - "MOVE" - ], - "description": "The type of this operation.", - "type": "string" - }, - "displayName": { - "description": "The display name of the folder.", - "type": "string" - }, - "sourceParent": { - "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", + "constraint": { + "description": "Name of the `Constraint` to get the `Policy`.", "type": "string" } }, - "id": "FolderOperation" + "id": "GetOrgPolicyRequest" }, - "ResourceId": { + "UndeleteProjectRequest": { + "properties": {}, + "id": "UndeleteProjectRequest", + "description": "The request sent to the UndeleteProject\nmethod.", + "type": "object" + }, + "ClearOrgPolicyRequest": { + "description": "The request sent to the ClearOrgPolicy method.", "type": "object", "properties": { - "id": { - "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.", + "etag": { + "description": "The current version, for concurrency control. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.", + "format": "byte", "type": "string" }, - "type": { - "description": "Required field representing the resource type this id is for.\nAt present, the valid types are: \"organization\"", + "constraint": { + "description": "Name of the `Constraint` of the `Policy` to clear.", "type": "string" } }, - "id": "ResourceId", - "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on." + "id": "ClearOrgPolicyRequest" }, - "GetEffectiveOrgPolicyRequest": { - "description": "The request sent to the GetEffectiveOrgPolicy method.", + "ProjectCreationStatus": { + "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.", "type": "object", "properties": { - "constraint": { - "description": "The name of the `Constraint` to compute the effective `Policy`.", + "ready": { + "description": "True if the project creation process is complete.", + "type": "boolean" + }, + "createTime": { + "description": "Creation time of the project creation workflow.", + "format": "google-datetime", "type": "string" + }, + "gettable": { + "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.", + "type": "boolean" } }, - "id": "GetEffectiveOrgPolicyRequest" + "id": "ProjectCreationStatus" + }, + "BooleanConstraint": { + "properties": {}, + "id": "BooleanConstraint", + "description": "A `Constraint` that is either enforced or not.\n\nFor example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that instance.", + "type": "object" } }, "icons": { @@ -2334,16 +2345,5 @@ }, "kind": "discovery#restDescription", "servicePath": "", - "description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.", - "rootUrl": "https://cloudresourcemanager.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "cloudresourcemanager", - "batchPath": "batch", - "revision": "20170327", - "documentationLink": "https://cloud.google.com/resource-manager", - "id": "cloudresourcemanager:v1", - "title": "Google Cloud Resource Manager API", - "ownerName": "Google", - "discoveryVersion": "v1" + "description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata." } diff --git a/DiscoveryJson/cloudresourcemanager_v1beta1.json b/DiscoveryJson/cloudresourcemanager_v1beta1.json index 8f74ec84f4..e747fc712b 100644 --- a/DiscoveryJson/cloudresourcemanager_v1beta1.json +++ b/DiscoveryJson/cloudresourcemanager_v1beta1.json @@ -1,118 +1,67 @@ { - "rootUrl": "https://cloudresourcemanager.googleapis.com/", - "basePath": "", "ownerDomain": "google.com", "name": "cloudresourcemanager", "batchPath": "batch", - "documentationLink": "https://cloud.google.com/resource-manager", "revision": "20170327", + "documentationLink": "https://cloud.google.com/resource-manager", "id": "cloudresourcemanager:v1beta1", "title": "Google Cloud Resource Manager API", - "discoveryVersion": "v1", "ownerName": "Google", + "discoveryVersion": "v1", "resources": { - "projects": { + "organizations": { "methods": { - "list": { + "get": { "response": { - "$ref": "ListProjectsResponse" + "$ref": "Organization" }, - "parameterOrder": [], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" + "parameterOrder": [ + "name" ], + "httpMethod": "GET", "parameters": { - "filter": { - "location": "query", - "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ \u003ccode\u003elabels.\u003cem\u003ekey\u003c/em\u003e\u003c/code\u003e where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nOptional.", - "type": "string" + "name": { + "description": "The resource name of the Organization to fetch, e.g. \"organizations/1234\".", + "required": true, + "type": "string", + "pattern": "^organizations/[^/]+$", + "location": "path" }, - "pageToken": { + "organizationId": { "location": "query", - "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.", + "description": "The id of the Organization resource to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.", "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.", - "format": "int32", - "type": "integer" } }, - "flatPath": "v1beta1/projects", - "path": "v1beta1/projects", - "id": "cloudresourcemanager.projects.list", - "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list." - }, - "create": { - "description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage.", - "request": { - "$ref": "Project" - }, - "response": { - "$ref": "Project" - }, - "parameterOrder": [], - "httpMethod": "POST", "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "parameters": { - "useLegacyStack": { - "type": "boolean", - "location": "query", - "description": "A safety hatch to opt out of the new reliable project creation process." - } - }, - "flatPath": "v1beta1/projects", - "path": "v1beta1/projects", - "id": "cloudresourcemanager.projects.create" + "flatPath": "v1beta1/organizations/{organizationsId}", + "path": "v1beta1/{+name}", + "id": "cloudresourcemanager.organizations.get", + "description": "Fetches an Organization resource identified by the specified resource name." }, - "setIamPolicy": { + "testIamPermissions": { + "flatPath": "v1beta1/organizations/{organizationsId}:testIamPermissions", + "path": "v1beta1/{+resource}:testIamPermissions", + "id": "cloudresourcemanager.organizations.testIamPermissions", "request": { - "$ref": "SetIamPolicyRequest" + "$ref": "TestIamPermissionsRequest" }, - "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`; they must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.", - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], + "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".", "response": { - "$ref": "Policy" - }, - "parameters": { - "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{resource}:setIamPolicy", - "id": "cloudresourcemanager.projects.setIamPolicy", - "path": "v1beta1/projects/{resource}:setIamPolicy" - }, - "getIamPolicy": { - "request": { - "$ref": "GetIamPolicyRequest" + "$ref": "TestIamPermissionsResponse" }, - "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.", - "httpMethod": "POST", "parameterOrder": [ "resource" ], - "response": { - "$ref": "Policy" - }, + "httpMethod": "POST", "parameters": { "resource": { + "pattern": "^organizations/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string" } @@ -120,188 +69,181 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "flatPath": "v1beta1/projects/{resource}:getIamPolicy", - "id": "cloudresourcemanager.projects.getIamPolicy", - "path": "v1beta1/projects/{resource}:getIamPolicy" + ] }, - "get": { - "path": "v1beta1/projects/{projectId}", - "id": "cloudresourcemanager.projects.get", - "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.", - "response": { - "$ref": "Project" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "GET", + "getEffectiveOrgPolicyV1": { "parameters": { - "projectId": { - "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", + "resource": { + "location": "path", + "description": "The name of the resource to start computing the effective `Policy`.", "required": true, "type": "string", - "location": "path" + "pattern": "^organizations/[^/]+$" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "flatPath": "v1beta1/projects/{projectId}" - }, - "undelete": { - "flatPath": "v1beta1/projects/{projectId}:undelete", - "path": "v1beta1/projects/{projectId}:undelete", - "id": "cloudresourcemanager.projects.undelete", - "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.", + "flatPath": "v1beta1/organizations/{organizationsId}:getEffectiveOrgPolicyV1", + "path": "v1beta1/{+resource}:getEffectiveOrgPolicyV1", + "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicyV1", "request": { - "$ref": "UndeleteProjectRequest" + "$ref": "GetEffectiveOrgPolicyRequest" }, + "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", "response": { - "$ref": "Empty" + "$ref": "OrgPolicy" }, "parameterOrder": [ - "projectId" + "resource" ], + "httpMethod": "POST" + }, + "clearOrgPolicy": { + "description": "Clears a `Policy` from a resource.", + "request": { + "$ref": "ClearOrgPolicyRequest" + }, "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "projectId": { - "description": "The project ID (for example, `foo-bar-123`).\n\nRequired.", + "resource": { + "location": "path", + "description": "Name of the resource for the `Policy` to clear.", "required": true, "type": "string", - "location": "path" + "pattern": "^organizations/[^/]+$" } - } + }, + "flatPath": "v1beta1/organizations/{organizationsId}:clearOrgPolicy", + "id": "cloudresourcemanager.organizations.clearOrgPolicy", + "path": "v1beta1/{+resource}:clearOrgPolicy" }, - "getAncestry": { - "response": { - "$ref": "GetAncestryResponse" + "setIamPolicy": { + "id": "cloudresourcemanager.organizations.setIamPolicy", + "path": "v1beta1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" }, + "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".", + "httpMethod": "POST", "parameterOrder": [ - "projectId" + "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "Policy" + }, "parameters": { - "projectId": { + "resource": { "location": "path", - "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string" + "type": "string", + "pattern": "^organizations/[^/]+$" } }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" + "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/projects/{projectId}:getAncestry", - "path": "v1beta1/projects/{projectId}:getAncestry", - "id": "cloudresourcemanager.projects.getAncestry", - "request": { - "$ref": "GetAncestryRequest" - }, - "description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project." + "flatPath": "v1beta1/organizations/{organizationsId}:setIamPolicy" }, - "update": { - "httpMethod": "PUT", - "parameterOrder": [ - "projectId" - ], + "listAvailableOrgPolicyConstraints": { "response": { - "$ref": "Project" + "$ref": "ListAvailableOrgPolicyConstraintsResponse" }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { - "projectId": { - "location": "path", - "description": "The project ID (for example, `my-project-123`).\n\nRequired.", + "resource": { + "description": "Name of the resource to list `Constraints` for.", "required": true, - "type": "string" + "type": "string", + "pattern": "^organizations/[^/]+$", + "location": "path" } }, - "flatPath": "v1beta1/projects/{projectId}", - "id": "cloudresourcemanager.projects.update", - "path": "v1beta1/projects/{projectId}", - "description": "Updates the attributes of the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have modify permissions for this Project.", + "flatPath": "v1beta1/organizations/{organizationsId}:listAvailableOrgPolicyConstraints", + "path": "v1beta1/{+resource}:listAvailableOrgPolicyConstraints", + "id": "cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints", + "description": "Lists `Constraints` that could be applied on the specified resource.", "request": { - "$ref": "Project" + "$ref": "ListAvailableOrgPolicyConstraintsRequest" } }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified Project.", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "TestIamPermissionsResponse" - }, + "getIamPolicy": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "pattern": "^organizations/[^/]+$", + "location": "path", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, - "flatPath": "v1beta1/projects/{resource}:testIamPermissions", - "id": "cloudresourcemanager.projects.testIamPermissions", - "path": "v1beta1/projects/{resource}:testIamPermissions" - }, - "delete": { - "description": "Marks the Project identified by the specified\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle state of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTIVE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which point the project is\nno longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permissions for this Project.", - "httpMethod": "DELETE", + "flatPath": "v1beta1/organizations/{organizationsId}:getIamPolicy", + "id": "cloudresourcemanager.organizations.getIamPolicy", + "path": "v1beta1/{+resource}:getIamPolicy", + "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".", + "request": { + "$ref": "GetIamPolicyRequest" + }, + "httpMethod": "POST", "parameterOrder": [ - "projectId" + "resource" ], "response": { - "$ref": "Empty" + "$ref": "Policy" + } + }, + "getOrgPolicy": { + "flatPath": "v1beta1/organizations/{organizationsId}:getOrgPolicy", + "id": "cloudresourcemanager.organizations.getOrgPolicy", + "path": "v1beta1/{+resource}:getOrgPolicy", + "request": { + "$ref": "GetOrgPolicyRequest" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "httpMethod": "POST", + "parameterOrder": [ + "resource" ], + "response": { + "$ref": "OrgPolicy" + }, "parameters": { - "projectId": { + "resource": { "location": "path", - "description": "The Project ID (for example, `foo-bar-123`).\n\nRequired.", + "description": "Name of the resource the `Policy` is set on.", "required": true, - "type": "string" + "type": "string", + "pattern": "^organizations/[^/]+$" } }, - "flatPath": "v1beta1/projects/{projectId}", - "id": "cloudresourcemanager.projects.delete", - "path": "v1beta1/projects/{projectId}" - } - } - }, - "organizations": { - "methods": { - "testIamPermissions": { - "path": "v1beta1/{+resource}:testIamPermissions", - "id": "cloudresourcemanager.organizations.testIamPermissions", - "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + }, + "getEffectiveOrgPolicy": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" @@ -309,15 +251,28 @@ "parameters": { "resource": { "location": "path", - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "The name of the resource to start computing the effective `Policy`.", "required": true, "type": "string", "pattern": "^organizations/[^/]+$" } }, - "flatPath": "v1beta1/organizations/{organizationsId}:testIamPermissions" + "flatPath": "v1beta1/organizations/{organizationsId}:getEffectiveOrgPolicy", + "path": "v1beta1/{+resource}:getEffectiveOrgPolicy", + "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy", + "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", + "request": { + "$ref": "GetEffectiveOrgPolicyRequest" + }, + "response": { + "$ref": "OrgPolicy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST" }, - "getEffectiveOrgPolicyV1": { + "getOrgPolicyV1": { "response": { "$ref": "OrgPolicy" }, @@ -333,198 +288,206 @@ "resource": { "pattern": "^organizations/[^/]+$", "location": "path", - "description": "The name of the resource to start computing the effective `Policy`.", + "description": "Name of the resource the `Policy` is set on.", "required": true, "type": "string" } }, - "flatPath": "v1beta1/organizations/{organizationsId}:getEffectiveOrgPolicyV1", - "path": "v1beta1/{+resource}:getEffectiveOrgPolicyV1", - "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicyV1", - "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", + "flatPath": "v1beta1/organizations/{organizationsId}:getOrgPolicyV1", + "path": "v1beta1/{+resource}:getOrgPolicyV1", + "id": "cloudresourcemanager.organizations.getOrgPolicyV1", + "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", "request": { - "$ref": "GetEffectiveOrgPolicyRequest" + "$ref": "GetOrgPolicyRequest" } }, - "clearOrgPolicy": { + "update": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "resource": { + "name": { + "location": "path", + "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "Name of the resource for the `Policy` to clear." + "pattern": "^organizations/[^/]+$" } }, - "flatPath": "v1beta1/organizations/{organizationsId}:clearOrgPolicy", - "id": "cloudresourcemanager.organizations.clearOrgPolicy", - "path": "v1beta1/{+resource}:clearOrgPolicy", - "description": "Clears a `Policy` from a resource.", + "flatPath": "v1beta1/organizations/{organizationsId}", + "id": "cloudresourcemanager.organizations.update", + "path": "v1beta1/{+name}", + "description": "Updates an Organization resource identified by the specified resource name.", "request": { - "$ref": "ClearOrgPolicyRequest" + "$ref": "Organization" }, - "httpMethod": "POST", + "httpMethod": "PUT", "parameterOrder": [ - "resource" + "name" ], "response": { - "$ref": "Empty" + "$ref": "Organization" } }, - "setIamPolicy": { + "setOrgPolicyV1": { + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", "request": { - "$ref": "SetIamPolicyRequest" + "$ref": "SetOrgPolicyRequest" }, - "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".", "response": { - "$ref": "Policy" + "$ref": "OrgPolicy" }, "parameterOrder": [ "resource" ], "httpMethod": "POST", - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" - } - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/organizations/{organizationsId}:setIamPolicy", - "path": "v1beta1/{+resource}:setIamPolicy", - "id": "cloudresourcemanager.organizations.setIamPolicy" - }, - "listAvailableOrgPolicyConstraints": { - "response": { - "$ref": "ListAvailableOrgPolicyConstraintsResponse" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", "parameters": { "resource": { + "pattern": "^organizations/[^/]+$", "location": "path", - "description": "Name of the resource to list `Constraints` for.", + "description": "Resource name of the resource to attach the `Policy`.", "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$" + "type": "string" } }, + "flatPath": "v1beta1/organizations/{organizationsId}:setOrgPolicyV1", + "path": "v1beta1/{+resource}:setOrgPolicyV1", + "id": "cloudresourcemanager.organizations.setOrgPolicyV1" + }, + "list": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "flatPath": "v1beta1/organizations/{organizationsId}:listAvailableOrgPolicyConstraints", - "path": "v1beta1/{+resource}:listAvailableOrgPolicyConstraints", - "id": "cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints", - "request": { - "$ref": "ListAvailableOrgPolicyConstraintsRequest" + "parameters": { + "pageToken": { + "location": "query", + "description": "A pagination token returned from a previous call to `ListOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.", + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", + "format": "int32", + "type": "integer" + }, + "filter": { + "location": "query", + "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.", + "type": "string" + } }, - "description": "Lists `Constraints` that could be applied on the specified resource." - }, - "getIamPolicy": { - "flatPath": "v1beta1/organizations/{organizationsId}:getIamPolicy", - "path": "v1beta1/{+resource}:getIamPolicy", - "id": "cloudresourcemanager.organizations.getIamPolicy", - "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".", - "request": { - "$ref": "GetIamPolicyRequest" + "flatPath": "v1beta1/organizations", + "path": "v1beta1/organizations", + "id": "cloudresourcemanager.organizations.list", + "description": "Lists Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.", + "response": { + "$ref": "ListOrganizationsResponse" }, + "parameterOrder": [], + "httpMethod": "GET" + }, + "setOrgPolicy": { "response": { - "$ref": "Policy" + "$ref": "OrgPolicy" }, "parameterOrder": [ "resource" ], "httpMethod": "POST", "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" + "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "resource": { + "location": "path", + "description": "Resource name of the resource to attach the `Policy`.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field." + "pattern": "^organizations/[^/]+$" } + }, + "flatPath": "v1beta1/organizations/{organizationsId}:setOrgPolicy", + "path": "v1beta1/{+resource}:setOrgPolicy", + "id": "cloudresourcemanager.organizations.setOrgPolicy", + "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "request": { + "$ref": "SetOrgPolicyRequest" } }, - "getOrgPolicy": { - "flatPath": "v1beta1/organizations/{organizationsId}:getOrgPolicy", - "path": "v1beta1/{+resource}:getOrgPolicy", - "id": "cloudresourcemanager.organizations.getOrgPolicy", - "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "clearOrgPolicyV1": { + "path": "v1beta1/{+resource}:clearOrgPolicyV1", + "id": "cloudresourcemanager.organizations.clearOrgPolicyV1", "request": { - "$ref": "GetOrgPolicyRequest" + "$ref": "ClearOrgPolicyRequest" }, + "description": "Clears a `Policy` from a resource.", "response": { - "$ref": "OrgPolicy" + "$ref": "Empty" }, "parameterOrder": [ "resource" ], "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "parameters": { "resource": { - "description": "Name of the resource the `Policy` is set on.", + "location": "path", + "description": "Name of the resource for the `Policy` to clear.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" + "pattern": "^organizations/[^/]+$" } - } - }, - "getEffectiveOrgPolicy": { - "description": "Gets the effective `Policy` on a resource. This is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across multiple resources.", - "request": { - "$ref": "GetEffectiveOrgPolicyRequest" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/organizations/{organizationsId}:clearOrgPolicyV1" + }, + "listOrgPolicies": { "response": { - "$ref": "OrgPolicy" + "$ref": "ListOrgPoliciesResponse" }, "parameterOrder": [ "resource" ], "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], "parameters": { "resource": { + "location": "path", + "description": "Name of the resource to list Policies for.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "The name of the resource to start computing the effective `Policy`." + "pattern": "^organizations/[^/]+$" } }, - "flatPath": "v1beta1/organizations/{organizationsId}:getEffectiveOrgPolicy", - "path": "v1beta1/{+resource}:getEffectiveOrgPolicy", - "id": "cloudresourcemanager.organizations.getEffectiveOrgPolicy" - }, - "getOrgPolicyV1": { - "description": "Gets a `Policy` on a resource.\n\nIf no `Policy` is set on the resource, a `Policy` is returned with default\nvalues including `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be used with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-write.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "flatPath": "v1beta1/organizations/{organizationsId}:listOrgPolicies", + "path": "v1beta1/{+resource}:listOrgPolicies", + "id": "cloudresourcemanager.organizations.listOrgPolicies", "request": { - "$ref": "GetOrgPolicyRequest" + "$ref": "ListOrgPoliciesRequest" + }, + "description": "Lists all the `Policies` set for a particular resource." + } + } + }, + "projects": { + "methods": { + "testIamPermissions": { + "path": "v1beta1/projects/{resource}:testIamPermissions", + "id": "cloudresourcemanager.projects.testIamPermissions", + "description": "Returns permissions that a caller has on the specified Project.", + "request": { + "$ref": "TestIamPermissionsRequest" }, "response": { - "$ref": "OrgPolicy" + "$ref": "TestIamPermissionsResponse" }, "parameterOrder": [ "resource" @@ -536,48 +499,78 @@ ], "parameters": { "resource": { - "pattern": "^organizations/[^/]+$", "location": "path", - "description": "Name of the resource the `Policy` is set on.", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string" } }, - "flatPath": "v1beta1/organizations/{organizationsId}:getOrgPolicyV1", - "path": "v1beta1/{+resource}:getOrgPolicyV1", - "id": "cloudresourcemanager.organizations.getOrgPolicyV1" + "flatPath": "v1beta1/projects/{resource}:testIamPermissions" }, - "update": { + "delete": { + "description": "Marks the Project identified by the specified\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle state of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTIVE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which point the project is\nno longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permissions for this Project.", "response": { - "$ref": "Organization" + "$ref": "Empty" }, "parameterOrder": [ - "name" + "projectId" ], - "httpMethod": "PUT", + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "name": { - "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", + "projectId": { + "location": "path", + "description": "The Project ID (for example, `foo-bar-123`).\n\nRequired.", "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}", + "path": "v1beta1/projects/{projectId}", + "id": "cloudresourcemanager.projects.delete" + }, + "list": { + "response": { + "$ref": "ListProjectsResponse" + }, + "parameterOrder": [], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "parameters": { + "filter": { + "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ \u003ccode\u003elabels.\u003cem\u003ekey\u003c/em\u003e\u003c/code\u003e where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nOptional.", "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" + "location": "query" + }, + "pageToken": { + "location": "query", + "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.", + "format": "int32", + "type": "integer", + "location": "query" } }, - "flatPath": "v1beta1/organizations/{organizationsId}", - "path": "v1beta1/{+name}", - "id": "cloudresourcemanager.organizations.update", - "description": "Updates an Organization resource identified by the specified resource name.", - "request": { - "$ref": "Organization" - } + "flatPath": "v1beta1/projects", + "path": "v1beta1/projects", + "id": "cloudresourcemanager.projects.list", + "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list." }, - "setOrgPolicyV1": { + "setIamPolicy": { + "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`; they must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.", + "request": { + "$ref": "SetIamPolicyRequest" + }, "response": { - "$ref": "OrgPolicy" + "$ref": "Policy" }, "parameterOrder": [ "resource" @@ -588,210 +581,188 @@ ], "parameters": { "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path", - "description": "Resource name of the resource to attach the `Policy`." + "location": "path" } }, - "flatPath": "v1beta1/organizations/{organizationsId}:setOrgPolicyV1", - "path": "v1beta1/{+resource}:setOrgPolicyV1", - "id": "cloudresourcemanager.organizations.setOrgPolicyV1", - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", - "request": { - "$ref": "SetOrgPolicyRequest" - } + "flatPath": "v1beta1/projects/{resource}:setIamPolicy", + "path": "v1beta1/projects/{resource}:setIamPolicy", + "id": "cloudresourcemanager.projects.setIamPolicy" }, - "list": { - "flatPath": "v1beta1/organizations", - "id": "cloudresourcemanager.organizations.list", - "path": "v1beta1/organizations", - "description": "Lists Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.", - "httpMethod": "GET", + "create": { + "flatPath": "v1beta1/projects", + "id": "cloudresourcemanager.projects.create", + "path": "v1beta1/projects", + "description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage.", + "request": { + "$ref": "Project" + }, + "httpMethod": "POST", "parameterOrder": [], "response": { - "$ref": "ListOrganizationsResponse" + "$ref": "Project" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" + "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "pageToken": { - "location": "query", - "description": "A pagination token returned from a previous call to `ListOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", - "format": "int32", - "type": "integer" - }, - "filter": { + "useLegacyStack": { "location": "query", - "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.", - "type": "string" + "description": "A safety hatch to opt out of the new reliable project creation process.", + "type": "boolean" } } }, - "setOrgPolicy": { - "request": { - "$ref": "SetOrgPolicyRequest" - }, - "description": "Updates the specified `Policy` on the resource. Creates a new `Policy` for\nthat `Constraint` on the resource if one does not exist.\n\nNot supplying an `etag` on the request `Policy` results in an unconditional\nwrite of the `Policy`.", + "getIamPolicy": { "httpMethod": "POST", "parameterOrder": [ "resource" ], "response": { - "$ref": "OrgPolicy" + "$ref": "Policy" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], "parameters": { "resource": { - "description": "Resource name of the resource to attach the `Policy`.", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$", "location": "path" } }, + "flatPath": "v1beta1/projects/{resource}:getIamPolicy", + "id": "cloudresourcemanager.projects.getIamPolicy", + "path": "v1beta1/projects/{resource}:getIamPolicy", + "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.", + "request": { + "$ref": "GetIamPolicyRequest" + } + }, + "get": { + "path": "v1beta1/projects/{projectId}", + "id": "cloudresourcemanager.projects.get", + "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.", + "response": { + "$ref": "Project" + }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "GET", "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "flatPath": "v1beta1/organizations/{organizationsId}:setOrgPolicy", - "id": "cloudresourcemanager.organizations.setOrgPolicy", - "path": "v1beta1/{+resource}:setOrgPolicy" + "parameters": { + "projectId": { + "location": "path", + "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}" }, - "clearOrgPolicyV1": { + "undelete": { + "flatPath": "v1beta1/projects/{projectId}:undelete", + "id": "cloudresourcemanager.projects.undelete", + "path": "v1beta1/projects/{projectId}:undelete", + "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.", + "request": { + "$ref": "UndeleteProjectRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], "response": { "$ref": "Empty" }, - "parameterOrder": [ - "resource" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" ], - "httpMethod": "POST", "parameters": { - "resource": { - "location": "path", - "description": "Name of the resource for the `Policy` to clear.", + "projectId": { + "description": "The project ID (for example, `foo-bar-123`).\n\nRequired.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+$" + "location": "path" } + } + }, + "update": { + "description": "Updates the attributes of the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have modify permissions for this Project.", + "request": { + "$ref": "Project" + }, + "response": { + "$ref": "Project" }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/organizations/{organizationsId}:clearOrgPolicyV1", - "path": "v1beta1/{+resource}:clearOrgPolicyV1", - "id": "cloudresourcemanager.organizations.clearOrgPolicyV1", - "request": { - "$ref": "ClearOrgPolicyRequest" + "parameters": { + "projectId": { + "description": "The project ID (for example, `my-project-123`).\n\nRequired.", + "required": true, + "type": "string", + "location": "path" + } }, - "description": "Clears a `Policy` from a resource." + "flatPath": "v1beta1/projects/{projectId}", + "path": "v1beta1/projects/{projectId}", + "id": "cloudresourcemanager.projects.update" }, - "listOrgPolicies": { + "getAncestry": { "response": { - "$ref": "ListOrgPoliciesResponse" + "$ref": "GetAncestryResponse" }, "parameterOrder": [ - "resource" + "projectId" ], "httpMethod": "POST", "parameters": { - "resource": { - "description": "Name of the resource to list Policies for.", + "projectId": { + "location": "path", + "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], - "flatPath": "v1beta1/organizations/{organizationsId}:listOrgPolicies", - "path": "v1beta1/{+resource}:listOrgPolicies", - "id": "cloudresourcemanager.organizations.listOrgPolicies", - "request": { - "$ref": "ListOrgPoliciesRequest" - }, - "description": "Lists all the `Policies` set for a particular resource." - }, - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Organization" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "parameters": { - "organizationId": { - "location": "query", - "description": "The id of the Organization resource to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.", - "type": "string" - }, - "name": { - "location": "path", - "description": "The resource name of the Organization to fetch, e.g. \"organizations/1234\".", - "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$" - } + "flatPath": "v1beta1/projects/{projectId}:getAncestry", + "path": "v1beta1/projects/{projectId}:getAncestry", + "id": "cloudresourcemanager.projects.getAncestry", + "request": { + "$ref": "GetAncestryRequest" }, - "flatPath": "v1beta1/organizations/{organizationsId}", - "id": "cloudresourcemanager.organizations.get", - "path": "v1beta1/{+name}", - "description": "Fetches an Organization resource identified by the specified resource name." + "description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project." } } } }, "parameters": { - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "type": "boolean", - "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, "fields": { - "location": "query", "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "type": "string", + "location": "query" }, "uploadType": { + "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "type": "string" }, "callback": { "location": "query", @@ -812,6 +783,7 @@ ] }, "alt": { + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -824,744 +796,770 @@ "json", "media", "proto" - ], - "type": "string" + ] }, "key": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" }, "quotaUser": { "location": "query", "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.", "type": "string" + }, + "pp": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Pretty-print response." + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" } }, "schemas": { - "ListAvailableOrgPolicyConstraintsRequest": { - "id": "ListAvailableOrgPolicyConstraintsRequest", - "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.", + "OrgPolicy": { + "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.", "type": "object", "properties": { - "pageSize": { - "type": "integer", - "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", - "format": "int32" + "version": { + "description": "Version of the `Policy`. Default version is 0;", + "format": "int32", + "type": "integer" }, - "pageToken": { - "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.", - "type": "string" - } - } - }, - "FolderOperation": { - "description": "Metadata describing a long running folder operation", - "type": "object", - "properties": { - "displayName": { - "description": "The display name of the folder.", - "type": "string" + "restoreDefault": { + "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type.", + "$ref": "RestoreDefault" }, - "sourceParent": { - "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", - "type": "string" + "listPolicy": { + "$ref": "ListPolicy", + "description": "List of values either allowed or disallowed." }, - "destinationParent": { - "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to.", - "type": "string" + "etag": { + "type": "string", + "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.", + "format": "byte" }, - "operationType": { - "enum": [ - "OPERATION_TYPE_UNSPECIFIED", - "CREATE", - "MOVE" - ], - "description": "The type of this operation.", + "constraint": { "type": "string", - "enumDescriptions": [ - "Operation type not specified.", - "A create folder operation.", - "A move folder operation." - ] + "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation." + }, + "booleanPolicy": { + "$ref": "BooleanPolicy", + "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." + }, + "updateTime": { + "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.", + "format": "google-datetime", + "type": "string" } }, - "id": "FolderOperation" + "id": "OrgPolicy" }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "BooleanPolicy": { "type": "object", "properties": { - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "type": "array", - "items": { - "$ref": "AuditConfig" - } - }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", - "type": "array", - "items": { - "$ref": "Binding" - } - }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" + "enforced": { + "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`.", + "type": "boolean" } }, - "id": "Policy" + "id": "BooleanPolicy", + "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource." }, - "ResourceId": { + "Ancestor": { "properties": { - "id": { - "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.", - "type": "string" - }, - "type": { - "description": "Required field representing the resource type this id is for.\nAt present, the valid types are \"project\" and \"organization\".", - "type": "string" + "resourceId": { + "description": "Resource id of the ancestor.", + "$ref": "ResourceId" } }, - "id": "ResourceId", - "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.", + "id": "Ancestor", + "description": "Identifying information for a single ancestor of a project.", "type": "object" }, - "GetEffectiveOrgPolicyRequest": { - "description": "The request sent to the GetEffectiveOrgPolicy method.", + "ListConstraint": { "type": "object", "properties": { - "constraint": { - "description": "The name of the `Constraint` to compute the effective `Policy`.", + "suggestedValue": { + "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.", "type": "string" } }, - "id": "GetEffectiveOrgPolicyRequest" + "id": "ListConstraint", + "description": "A `Constraint` that allows or disallows a list of string values, which are\nconfigured by an Organization's policy administrator with a `Policy`." }, - "ListOrgPoliciesRequest": { - "description": "The request sent to the ListOrgPolicies method.", + "SetOrgPolicyRequest": { + "description": "The request sent to the SetOrgPolicyRequest method.", "type": "object", "properties": { - "pageToken": { - "type": "string", - "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field." - }, - "pageSize": { - "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", - "format": "int32", - "type": "integer" + "policy": { + "description": "`Policy` to set on the resource.", + "$ref": "OrgPolicy" } }, - "id": "ListOrgPoliciesRequest" + "id": "SetOrgPolicyRequest" }, - "AuditConfig": { - "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { - "service": { - "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", - "type": "string" + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." }, - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.\nNext ID: 4", - "type": "array", - "items": { - "$ref": "AuditLogConfig" - } + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", + "format": "google-fieldmask", + "type": "string" } }, - "id": "AuditConfig" + "id": "SetIamPolicyRequest" }, - "ListOrganizationsResponse": { - "description": "The response returned from the `ListOrganizations` method.", + "Empty": { + "properties": {}, + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object" + }, + "Organization": { + "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.", "type": "object", "properties": { - "nextPageToken": { - "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.", + "owner": { + "$ref": "OrganizationOwner", + "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required." + }, + "name": { + "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", "type": "string" }, - "organizations": { - "description": "The list of Organizations that matched the list query, possibly paginated.", - "type": "array", - "items": { - "$ref": "Organization" - } - } - }, - "id": "ListOrganizationsResponse" - }, - "Constraint": { - "properties": { - "version": { - "description": "Version of the `Constraint`. Default version is 0;", - "format": "int32", - "type": "integer" + "organizationId": { + "type": "string", + "description": "An immutable id for the Organization that is assigned on creation. This\nshould be omitted when creating a new Organization.\nThis field is read-only.\nThis field is deprecated and will be removed in v1. Use name instead." }, - "listConstraint": { - "$ref": "ListConstraint", - "description": "Defines this constraint as being a ListConstraint." + "lifecycleState": { + "enumDescriptions": [ + "Unspecified state. This is only useful for distinguishing unset values.", + "The normal and active state.", + "The organization has been marked for deletion by the user." + ], + "enum": [ + "LIFECYCLE_STATE_UNSPECIFIED", + "ACTIVE", + "DELETE_REQUESTED" + ], + "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", + "type": "string" }, "displayName": { - "description": "The human readable name.\n\nMutable.", + "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly", "type": "string" }, - "description": { - "description": "Detailed description of what this `Constraint` controls as well as how and\nwhere it is enforced.\n\nMutable.", + "creationTime": { + "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", + "format": "google-datetime", "type": "string" + } + }, + "id": "Organization" + }, + "ListAvailableOrgPolicyConstraintsResponse": { + "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).", + "type": "object", + "properties": { + "nextPageToken": { + "type": "string", + "description": "Page token used to retrieve the next page. This is currently not used." }, - "booleanConstraint": { - "$ref": "BooleanConstraint", - "description": "Defines this constraint as being a BooleanConstraint." + "constraints": { + "description": "The collection of constraints that are settable on the request resource.", + "type": "array", + "items": { + "$ref": "Constraint" + } + } + }, + "id": "ListAvailableOrgPolicyConstraintsResponse" + }, + "ListPolicy": { + "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.", + "type": "object", + "properties": { + "deniedValues": { + "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", + "type": "array", + "items": { + "type": "string" + } }, - "constraintDefault": { - "description": "The evaluation behavior of this constraint in the absense of 'Policy'.", - "type": "string", + "allValues": { "enumDescriptions": [ - "This is only used for distinguishing unset values and should never be\nused.", - "Indicate that all values are allowed for list constraints.\nIndicate that enforcement is off for boolean constraints.", - "Indicate that all values are denied for list constraints.\nIndicate that enforcement is on for boolean constraints." + "Indicates that either allowed_values or denied_values must be set.", + "A policy with this set allows all values.", + "A policy with this set denies all values." ], "enum": [ - "CONSTRAINT_DEFAULT_UNSPECIFIED", + "ALL_VALUES_UNSPECIFIED", "ALLOW", "DENY" - ] + ], + "description": "The policy all_values state.", + "type": "string" }, - "name": { - "description": "Immutable value, required to globally be unique. For example,\n`constraints/serviceuser.services`", + "allowedValues": { + "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", + "type": "array", + "items": { + "type": "string" + } + }, + "suggestedValue": { + "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.", "type": "string" + }, + "inheritFromParent": { + "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.", + "type": "boolean" } }, - "id": "Constraint", - "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.", + "id": "ListPolicy" + }, + "GetAncestryResponse": { + "properties": { + "ancestor": { + "type": "array", + "items": { + "$ref": "Ancestor" + }, + "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc." + } + }, + "id": "GetAncestryResponse", + "description": "Response from the GetAncestry method.", "type": "object" }, - "Binding": { - "description": "Associates `members` with a `role`.", + "AuditLogConfig": { + "id": "AuditLogConfig", + "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", "type": "object", "properties": { - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "exemptedMembers": { "type": "array", "items": { "type": "string" - } + }, + "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members." }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "logType": { + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "description": "The log type that this config enables.", "type": "string" } - }, - "id": "Binding" + } }, - "RestoreDefault": { - "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.", + "GetAncestryRequest": { + "description": "The request sent to the\nGetAncestry\nmethod.", "type": "object", "properties": {}, - "id": "RestoreDefault" + "id": "GetAncestryRequest" }, - "GetOrgPolicyRequest": { - "id": "GetOrgPolicyRequest", - "description": "The request sent to the GetOrgPolicy method.", + "TestIamPermissionsRequest": { + "id": "TestIamPermissionsRequest", + "description": "Request message for `TestIamPermissions` method.", "type": "object", "properties": { - "constraint": { - "description": "Name of the `Constraint` to get the `Policy`.", - "type": "string" + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "type": "array", + "items": { + "type": "string" + } } } }, - "UndeleteProjectRequest": { - "description": "The request sent to the UndeleteProject\nmethod.", - "type": "object", - "properties": {}, - "id": "UndeleteProjectRequest" - }, - "ClearOrgPolicyRequest": { - "description": "The request sent to the ClearOrgPolicy method.", + "ListAvailableOrgPolicyConstraintsRequest": { + "description": "The request sent to the [ListAvailableOrgPolicyConstraints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.", "type": "object", "properties": { - "etag": { - "description": "The current version, for concurrency control. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.", - "format": "byte", + "pageToken": { + "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.", "type": "string" }, - "constraint": { - "description": "Name of the `Constraint` of the `Policy` to clear.", - "type": "string" + "pageSize": { + "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", + "format": "int32", + "type": "integer" } }, - "id": "ClearOrgPolicyRequest" + "id": "ListAvailableOrgPolicyConstraintsRequest" }, - "ProjectCreationStatus": { + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "type": "object", "properties": { - "ready": { - "description": "True if the project creation process is complete.", - "type": "boolean" + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" }, - "createTime": { - "type": "string", - "description": "Creation time of the project creation workflow.", - "format": "google-datetime" + "version": { + "description": "Version of the `Policy`. The default version is 0.", + "format": "int32", + "type": "integer" }, - "gettable": { - "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.", - "type": "boolean" - } - }, - "id": "ProjectCreationStatus", - "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.", - "type": "object" - }, - "BooleanConstraint": { - "description": "A `Constraint` that is either enforced or not.\n\nFor example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that instance.", - "type": "object", - "properties": {}, - "id": "BooleanConstraint" - }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", "type": "array", "items": { - "type": "string" + "$ref": "AuditConfig" + } + }, + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" } } }, - "id": "TestIamPermissionsResponse" + "id": "Policy" }, - "GetIamPolicyRequest": { - "description": "Request message for `GetIamPolicy` method.", + "FolderOperation": { + "description": "Metadata describing a long running folder operation", "type": "object", - "properties": {}, - "id": "GetIamPolicyRequest" + "properties": { + "operationType": { + "enum": [ + "OPERATION_TYPE_UNSPECIFIED", + "CREATE", + "MOVE" + ], + "description": "The type of this operation.", + "type": "string", + "enumDescriptions": [ + "Operation type not specified.", + "A create folder operation.", + "A move folder operation." + ] + }, + "displayName": { + "description": "The display name of the folder.", + "type": "string" + }, + "sourceParent": { + "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", + "type": "string" + }, + "destinationParent": { + "type": "string", + "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to." + } + }, + "id": "FolderOperation" }, - "OrganizationOwner": { - "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.", + "ResourceId": { + "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.", "type": "object", "properties": { - "directoryCustomerId": { - "description": "The Google for Work customer id used in the Directory API.", + "type": { + "description": "Required field representing the resource type this id is for.\nAt present, the valid types are \"project\" and \"organization\".", + "type": "string" + }, + "id": { + "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.", "type": "string" } }, - "id": "OrganizationOwner" + "id": "ResourceId" }, - "ListProjectsResponse": { - "id": "ListProjectsResponse", - "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.", + "GetEffectiveOrgPolicyRequest": { + "id": "GetEffectiveOrgPolicyRequest", + "description": "The request sent to the GetEffectiveOrgPolicy method.", "type": "object", "properties": { - "projects": { - "type": "array", - "items": { - "$ref": "Project" - }, - "description": "The list of Projects that matched the list filter. This list can\nbe paginated." - }, - "nextPageToken": { - "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.", + "constraint": { + "description": "The name of the `Constraint` to compute the effective `Policy`.", "type": "string" } } }, - "Project": { - "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.", + "ListOrgPoliciesRequest": { + "id": "ListOrgPoliciesRequest", + "description": "The request sent to the ListOrgPolicies method.", "type": "object", "properties": { - "projectNumber": { - "description": "The number uniquely identifying the project.\n\nExample: \u003ccode\u003e415104041262\u003c/code\u003e\nRead-only.", - "format": "int64", - "type": "string" - }, - "parent": { - "$ref": "ResourceId", - "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write." - }, - "createTime": { - "description": "Creation time.\n\nRead-only.", - "format": "google-datetime", - "type": "string" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \u003ccode\u003e\"environment\" : \"dev\"\u003c/code\u003e\nRead-write." - }, - "name": { - "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: \u003ccode\u003eMy Project\u003c/code\u003e\nRead-write.", - "type": "string" - }, - "projectId": { - "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: \u003ccode\u003etokyo-rain-123\u003c/code\u003e\nRead-only after creation.", + "pageToken": { + "description": "Page token used to retrieve the next page. This is currently unsupported\nand will be ignored. The server may at any point start using this field.", "type": "string" }, - "lifecycleState": { - "description": "The Project lifecycle state.\n\nRead-only.", - "type": "string", - "enumDescriptions": [ - "Unspecified state. This is only used/useful for distinguishing\nunset values.", - "The normal and active state.", - "The project has been marked for deletion by the user\n(by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", - "This lifecycle state is no longer used and is not returned by the API." - ], - "enum": [ - "LIFECYCLE_STATE_UNSPECIFIED", - "ACTIVE", - "DELETE_REQUESTED", - "DELETE_IN_PROGRESS" - ] + "pageSize": { + "description": "Size of the pages to be returned. This is currently unsupported and will\nbe ignored. The server may at any point start using this field to limit\npage size.", + "format": "int32", + "type": "integer" } - }, - "id": "Project" + } }, - "ListOrgPoliciesResponse": { + "AuditConfig": { "properties": { - "policies": { - "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.", + "service": { + "type": "string", + "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services." + }, + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.\nNext ID: 4", "type": "array", "items": { - "$ref": "OrgPolicy" + "$ref": "AuditLogConfig" } - }, - "nextPageToken": { - "description": "Page token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.", - "type": "string" } }, - "id": "ListOrgPoliciesResponse", - "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.", + "id": "AuditConfig", + "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", "type": "object" }, - "FolderOperationError": { - "description": "A classification of the Folder Operation error.", + "ListOrganizationsResponse": { + "description": "The response returned from the `ListOrganizations` method.", "type": "object", "properties": { - "errorMessageId": { - "enumDescriptions": [ - "The error type was unrecognized or unspecified.", - "The attempted action would violate the max folder depth constraint.", - "The attempted action would violate the max child folders constraint.", - "The attempted action would violate the locally-unique folder\ndisplay_name constraint.", - "The resource being moved has been deleted.", - "The resource a folder was being added to has been deleted.", - "The attempted action would introduce cycle in resource path.", - "The attempted action would move a folder that is already being moved.", - "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth\nconstraint." - ], - "enum": [ - "ERROR_TYPE_UNSPECIFIED", - "FOLDER_HEIGHT_VIOLATION", - "MAX_CHILD_FOLDERS_VIOLATION", - "FOLDER_NAME_UNIQUENESS_VIOLATION", - "RESOURCE_DELETED", - "PARENT_DELETED", - "CYCLE_INTRODUCED_ERROR", - "FOLDER_BEING_MOVED", - "FOLDER_TO_DELETE_NON_EMPTY", - "DELETED_FOLDER_HEIGHT_VIOLATION" - ], - "description": "The type of operation error experienced.", + "nextPageToken": { + "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.", "type": "string" + }, + "organizations": { + "description": "The list of Organizations that matched the list query, possibly paginated.", + "type": "array", + "items": { + "$ref": "Organization" + } } }, - "id": "FolderOperationError" - }, - "BooleanPolicy": { - "type": "object", - "properties": { - "enforced": { - "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constraint` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\n - If the `Policy` at this resource has enforced set to `false`, serial\n port connection attempts will be allowed.\n - If the `Policy` at this resource has enforced set to `true`, serial\n port connection attempts will be refused.\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n connection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists higher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possible layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` set.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforced.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {enforced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe constraint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organizations/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `Policy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constraint_default` for the `Constraint` is `ALLOW`.", - "type": "boolean" - } - }, - "id": "BooleanPolicy", - "description": "Used in `policy_type` to specify how `boolean_policy` will behave at this\nresource." + "id": "ListOrganizationsResponse" }, - "OrgPolicy": { - "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.", + "Constraint": { + "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured by the\norganization's policy adminstrator to fit the needs of the organzation by\nsetting Policies for `Constraints` at different locations in the\norganization's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance rules please read about\nPolicies.\n\n`Constraints` have a default behavior determined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resource in question.", "type": "object", "properties": { - "version": { - "description": "Version of the `Policy`. Default version is 0;", - "format": "int32", - "type": "integer" + "constraintDefault": { + "enumDescriptions": [ + "This is only used for distinguishing unset values and should never be\nused.", + "Indicate that all values are allowed for list constraints.\nIndicate that enforcement is off for boolean constraints.", + "Indicate that all values are denied for list constraints.\nIndicate that enforcement is on for boolean constraints." + ], + "enum": [ + "CONSTRAINT_DEFAULT_UNSPECIFIED", + "ALLOW", + "DENY" + ], + "description": "The evaluation behavior of this constraint in the absense of 'Policy'.", + "type": "string" }, - "restoreDefault": { - "description": "Restores the default behavior of the constraint; independent of\n`Constraint` type.", - "$ref": "RestoreDefault" + "name": { + "description": "Immutable value, required to globally be unique. For example,\n`constraints/serviceuser.services`", + "type": "string" }, - "listPolicy": { - "$ref": "ListPolicy", - "description": "List of values either allowed or disallowed." + "listConstraint": { + "description": "Defines this constraint as being a ListConstraint.", + "$ref": "ListConstraint" }, - "etag": { - "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returned from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.", - "format": "byte", - "type": "string" + "version": { + "description": "Version of the `Constraint`. Default version is 0;", + "format": "int32", + "type": "integer" }, - "constraint": { - "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable after creation.", + "description": { + "description": "Detailed description of what this `Constraint` controls as well as how and\nwhere it is enforced.\n\nMutable.", "type": "string" }, - "booleanPolicy": { - "$ref": "BooleanPolicy", - "description": "For boolean `Constraints`, whether to enforce the `Constraint` or not." + "displayName": { + "type": "string", + "description": "The human readable name.\n\nMutable." }, - "updateTime": { - "description": "The time stamp the `Policy` was previously updated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value set by the client will\nbe ignored.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "OrgPolicy" - }, - "Ancestor": { - "description": "Identifying information for a single ancestor of a project.", - "type": "object", - "properties": { - "resourceId": { - "$ref": "ResourceId", - "description": "Resource id of the ancestor." + "booleanConstraint": { + "description": "Defines this constraint as being a BooleanConstraint.", + "$ref": "BooleanConstraint" } }, - "id": "Ancestor" + "id": "Constraint" }, - "ListConstraint": { + "Binding": { + "description": "Associates `members` with a `role`.", "type": "object", "properties": { - "suggestedValue": { - "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constraint`.", + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", "type": "string" + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "ListConstraint", - "description": "A `Constraint` that allows or disallows a list of string values, which are\nconfigured by an Organization's policy administrator with a `Policy`." + "id": "Binding" }, - "SetOrgPolicyRequest": { - "description": "The request sent to the SetOrgPolicyRequest method.", + "RestoreDefault": { + "description": "Ignores policies set above this resource and restores the\n`constraint_default` enforcement behavior of the specific `Constraint` at\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo.com sets a `Policy` at their Organization resource node that restricts\nthe allowed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental projects, restoring the `constraint_default`\nenforcement of the `Constraint` for only those projects, allowing those\nprojects to have all services activated.", "type": "object", + "properties": {}, + "id": "RestoreDefault" + }, + "GetOrgPolicyRequest": { "properties": { - "policy": { - "$ref": "OrgPolicy", - "description": "`Policy` to set on the resource." + "constraint": { + "description": "Name of the `Constraint` to get the `Policy`.", + "type": "string" } }, - "id": "SetOrgPolicyRequest" + "id": "GetOrgPolicyRequest", + "description": "The request sent to the GetOrgPolicy method.", + "type": "object" }, - "SetIamPolicyRequest": { + "ClearOrgPolicyRequest": { + "description": "The request sent to the ClearOrgPolicy method.", + "type": "object", "properties": { - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", - "format": "google-fieldmask", + "etag": { + "description": "The current version, for concurrency control. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.", + "format": "byte", "type": "string" }, - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + "constraint": { + "description": "Name of the `Constraint` of the `Policy` to clear.", + "type": "string" } }, - "id": "SetIamPolicyRequest", - "description": "Request message for `SetIamPolicy` method.", - "type": "object" + "id": "ClearOrgPolicyRequest" }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "UndeleteProjectRequest": { "type": "object", "properties": {}, - "id": "Empty" + "id": "UndeleteProjectRequest", + "description": "The request sent to the UndeleteProject\nmethod." }, - "Organization": { + "ProjectCreationStatus": { + "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.", + "type": "object", "properties": { - "lifecycleState": { - "enumDescriptions": [ - "Unspecified state. This is only useful for distinguishing unset values.", - "The normal and active state.", - "The organization has been marked for deletion by the user." - ], - "enum": [ - "LIFECYCLE_STATE_UNSPECIFIED", - "ACTIVE", - "DELETE_REQUESTED" - ], - "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", + "createTime": { + "description": "Creation time of the project creation workflow.", + "format": "google-datetime", "type": "string" }, - "displayName": { - "type": "string", - "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly" - }, - "creationTime": { - "type": "string", - "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", - "format": "google-datetime" - }, - "owner": { - "$ref": "OrganizationOwner", - "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required." - }, - "name": { - "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", - "type": "string" + "gettable": { + "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.", + "type": "boolean" }, - "organizationId": { - "description": "An immutable id for the Organization that is assigned on creation. This\nshould be omitted when creating a new Organization.\nThis field is read-only.\nThis field is deprecated and will be removed in v1. Use name instead.", - "type": "string" + "ready": { + "type": "boolean", + "description": "True if the project creation process is complete." } }, - "id": "Organization", - "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.", - "type": "object" + "id": "ProjectCreationStatus" }, - "ListAvailableOrgPolicyConstraintsResponse": { - "description": "The response returned from the ListAvailableOrgPolicyConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).", + "BooleanConstraint": { + "description": "A `Constraint` that is either enforced or not.\n\nFor example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that instance.", + "type": "object", + "properties": {}, + "id": "BooleanConstraint" + }, + "GetIamPolicyRequest": { + "description": "Request message for `GetIamPolicy` method.", + "type": "object", + "properties": {}, + "id": "GetIamPolicyRequest" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { - "constraints": { - "description": "The collection of constraints that are settable on the request resource.", + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", "type": "array", "items": { - "$ref": "Constraint" + "type": "string" } - }, - "nextPageToken": { - "description": "Page token used to retrieve the next page. This is currently not used.", - "type": "string" } }, - "id": "ListAvailableOrgPolicyConstraintsResponse" + "id": "TestIamPermissionsResponse" }, - "ListPolicy": { + "OrganizationOwner": { "properties": { - "allValues": { - "type": "string", - "enumDescriptions": [ - "Indicates that either allowed_values or denied_values must be set.", - "A policy with this set allows all values.", - "A policy with this set denies all values." - ], - "enum": [ - "ALL_VALUES_UNSPECIFIED", - "ALLOW", - "DENY" - ], - "description": "The policy all_values state." - }, - "allowedValues": { - "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", - "type": "array", - "items": { - "type": "string" - } - }, - "suggestedValue": { - "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy`. If `suggested_value`\nis not set, it will inherit the value specified higher in the hierarchy,\nunless `inherit_from_parent` is `false`.", + "directoryCustomerId": { + "description": "The Google for Work customer id used in the Directory API.", "type": "string" - }, - "inheritFromParent": { - "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Policy` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is\nset to `true`, then the values from the effective `Policy` of the parent\nresource are inherited, meaning the values set in this `Policy` are\nadded to the values inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit both allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to set a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_values` set.\nIn this case, the values that are allowed must be in `allowed_values` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Constraint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`list_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API activations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below the Organization that has\n`inherit_from_parent` set to `false` and field all_values set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe following examples demonstrate different possible layerings:\n\nExample 1 (no inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `false` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” inherit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nExample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/bar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organizations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe accepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListConstraint allowing all):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nAny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing none):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepted at `projects/bar`.", - "type": "boolean" - }, - "deniedValues": { - "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set to\n`ALL_VALUES_UNSPECIFIED`.", - "type": "array", - "items": { - "type": "string" - } } }, - "id": "ListPolicy", - "description": "Used in `policy_type` to specify how `list_policy` behaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fields. It can also\nbe used to allow or deny all values, by setting the `all_values` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_values`\nor `denied_values` must be set (attempting to set both or neither will\nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY`, `allowed_values` and `denied_values` must be unset.", + "id": "OrganizationOwner", + "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.", "type": "object" }, - "GetAncestryResponse": { - "description": "Response from the GetAncestry method.", + "ListProjectsResponse": { + "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.", "type": "object", "properties": { - "ancestor": { - "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc.", + "projects": { + "description": "The list of Projects that matched the list filter. This list can\nbe paginated.", "type": "array", "items": { - "$ref": "Ancestor" + "$ref": "Project" } + }, + "nextPageToken": { + "type": "string", + "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime." } }, - "id": "GetAncestryResponse" + "id": "ListProjectsResponse" }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", + "Project": { + "id": "Project", + "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.", "type": "object", "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", - "type": "array", - "items": { + "parent": { + "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write.", + "$ref": "ResourceId" + }, + "labels": { + "additionalProperties": { "type": "string" - } + }, + "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: \u003ccode\u003e\"environment\" : \"dev\"\u003c/code\u003e\nRead-write.", + "type": "object" }, - "logType": { - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], + "createTime": { + "description": "Creation time.\n\nRead-only.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: \u003ccode\u003eMy Project\u003c/code\u003e\nRead-write.", + "type": "string" + }, + "projectId": { + "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: \u003ccode\u003etokyo-rain-123\u003c/code\u003e\nRead-only after creation.", + "type": "string" + }, + "lifecycleState": { "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" + "LIFECYCLE_STATE_UNSPECIFIED", + "ACTIVE", + "DELETE_REQUESTED", + "DELETE_IN_PROGRESS" ], - "description": "The log type that this config enables.", - "type": "string" + "description": "The Project lifecycle state.\n\nRead-only.", + "type": "string", + "enumDescriptions": [ + "Unspecified state. This is only used/useful for distinguishing\nunset values.", + "The normal and active state.", + "The project has been marked for deletion by the user\n(by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", + "This lifecycle state is no longer used and is not returned by the API." + ] + }, + "projectNumber": { + "type": "string", + "description": "The number uniquely identifying the project.\n\nExample: \u003ccode\u003e415104041262\u003c/code\u003e\nRead-only.", + "format": "int64" } - }, - "id": "AuditLogConfig" - }, - "GetAncestryRequest": { - "type": "object", - "properties": {}, - "id": "GetAncestryRequest", - "description": "The request sent to the\nGetAncestry\nmethod." + } }, - "TestIamPermissionsRequest": { + "ListOrgPoliciesResponse": { + "description": "The response returned from the ListOrgPolicies method. It will be empty\nif no `Policies` are set on the resource.", "type": "object", "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "nextPageToken": { + "description": "Page token used to retrieve the next page. This is currently not used, but\nthe server may at any point start supplying a valid token.", + "type": "string" + }, + "policies": { "type": "array", "items": { - "type": "string" - } + "$ref": "OrgPolicy" + }, + "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set." } }, - "id": "TestIamPermissionsRequest", - "description": "Request message for `TestIamPermissions` method." + "id": "ListOrgPoliciesResponse" + }, + "FolderOperationError": { + "description": "A classification of the Folder Operation error.", + "type": "object", + "properties": { + "errorMessageId": { + "enum": [ + "ERROR_TYPE_UNSPECIFIED", + "FOLDER_HEIGHT_VIOLATION", + "MAX_CHILD_FOLDERS_VIOLATION", + "FOLDER_NAME_UNIQUENESS_VIOLATION", + "RESOURCE_DELETED", + "PARENT_DELETED", + "CYCLE_INTRODUCED_ERROR", + "FOLDER_BEING_MOVED", + "FOLDER_TO_DELETE_NON_EMPTY", + "DELETED_FOLDER_HEIGHT_VIOLATION" + ], + "description": "The type of operation error experienced.", + "type": "string", + "enumDescriptions": [ + "The error type was unrecognized or unspecified.", + "The attempted action would violate the max folder depth constraint.", + "The attempted action would violate the max child folders constraint.", + "The attempted action would violate the locally-unique folder\ndisplay_name constraint.", + "The resource being moved has been deleted.", + "The resource a folder was being added to has been deleted.", + "The attempted action would introduce cycle in resource path.", + "The attempted action would move a folder that is already being moved.", + "The folder the caller is trying to delete contains active resources.", + "The attempted action would violate the max deleted folder depth\nconstraint." + ] + } + }, + "id": "FolderOperationError" } }, + "protocol": "rest", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, - "protocol": "rest", "version": "v1beta1", "baseUrl": "https://cloudresourcemanager.googleapis.com/", "canonicalName": "Cloud Resource Manager", @@ -1577,7 +1575,9 @@ } } }, + "description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.", "servicePath": "", "kind": "discovery#restDescription", - "description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata." + "rootUrl": "https://cloudresourcemanager.googleapis.com/", + "basePath": "" } diff --git a/DiscoveryJson/cloudtrace_v1.json b/DiscoveryJson/cloudtrace_v1.json index 6a38f685d9..50a5df6fbb 100644 --- a/DiscoveryJson/cloudtrace_v1.json +++ b/DiscoveryJson/cloudtrace_v1.json @@ -1,27 +1,16 @@ { + "version": "v1", + "baseUrl": "https://cloudtrace.googleapis.com/", + "description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n", + "servicePath": "", + "kind": "discovery#restDescription", + "basePath": "", + "revision": "20170320", + "documentationLink": "https://cloud.google.com/trace", + "id": "cloudtrace:v1", + "discoveryVersion": "v1", + "version_module": "True", "schemas": { - "Trace": { - "properties": { - "projectId": { - "description": "Project ID of the Cloud project where the trace data is stored.", - "type": "string" - }, - "spans": { - "type": "array", - "items": { - "$ref": "TraceSpan" - }, - "description": "Collection of spans in the trace." - }, - "traceId": { - "description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.", - "type": "string" - } - }, - "id": "Trace", - "description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.", - "type": "object" - }, "Traces": { "properties": { "traces": { @@ -37,14 +26,10 @@ "type": "object" }, "TraceSpan": { + "id": "TraceSpan", "description": "A span represents a single timed event within a trace. Spans can be nested\nand form a trace tree. Often, a trace contains a root span that describes the\nend-to-end latency of an operation and, optionally, one or more subspans for\nits suboperations. Spans do not need to be contiguous. There may be gaps\nbetween spans in a trace.", "type": "object", "properties": { - "spanId": { - "description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.", - "format": "uint64", - "type": "string" - }, "parentSpanId": { "description": "ID of the parent span, if any. Optional.", "format": "uint64", @@ -56,39 +41,45 @@ "type": "string" }, "startTime": { + "type": "string", "description": "Start time of the span in nanoseconds from the UNIX epoch.", - "format": "google-datetime", - "type": "string" + "format": "google-datetime" }, "kind": { - "enum": [ - "SPAN_KIND_UNSPECIFIED", - "RPC_SERVER", - "RPC_CLIENT" - ], "description": "Distinguishes between spans generated in a particular context. For example,\ntwo spans with the same name may be distinguished using `RPC_CLIENT`\nand `RPC_SERVER` to identify queueing latency associated with the span.", "type": "string", "enumDescriptions": [ "Unspecified.", "Indicates that the span covers server-side handling of an RPC or other\nremote network request.", "Indicates that the span covers the client-side wrapper around an RPC or\nother remote request." + ], + "enum": [ + "SPAN_KIND_UNSPECIFIED", + "RPC_SERVER", + "RPC_CLIENT" ] }, "labels": { - "description": "Collection of labels associated with the span. Label keys must be less than\n128 bytes. Label values must be less than 16 kilobytes.", - "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Collection of labels associated with the span. Label keys must be less than\n128 bytes. Label values must be less than 16 kilobytes.", + "type": "object" }, "name": { "description": "Name of the span. Must be less than 128 bytes. The span name is sanitized\nand displayed in the Stackdriver Trace tool in the\n{% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.", "type": "string" + }, + "spanId": { + "description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.", + "format": "uint64", + "type": "string" } - }, - "id": "TraceSpan" + } }, "ListTracesResponse": { + "id": "ListTracesResponse", + "description": "The response message for the `ListTraces` method.", "type": "object", "properties": { "traces": { @@ -102,21 +93,41 @@ "description": "If defined, indicates that there are more traces that match the request\nand that this value should be passed to the next request to continue\nretrieving additional traces.", "type": "string" } - }, - "id": "ListTracesResponse", - "description": "The response message for the `ListTraces` method." + } }, "Empty": { + "type": "object", + "properties": {}, "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." + }, + "Trace": { + "description": "A trace describes how long it takes for an application to perform an\noperation. It consists of a set of spans, each of which represent a single\ntimed event within the operation.", "type": "object", - "properties": {} + "properties": { + "projectId": { + "type": "string", + "description": "Project ID of the Cloud project where the trace data is stored." + }, + "spans": { + "description": "Collection of spans in the trace.", + "type": "array", + "items": { + "$ref": "TraceSpan" + } + }, + "traceId": { + "description": "Globally unique identifier for the trace. This identifier is a 128-bit\nnumeric value formatted as a 32-byte hex string.", + "type": "string" + } + }, + "id": "Trace" } }, "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, "canonicalName": "Cloud Trace", "auth": { @@ -144,10 +155,6 @@ "projects": { "methods": { "patchTraces": { - "description": "Sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.", - "request": { - "$ref": "Traces" - }, "response": { "$ref": "Empty" }, @@ -161,34 +168,30 @@ ], "parameters": { "projectId": { + "location": "path", "description": "ID of the Cloud project where the trace data is stored.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "flatPath": "v1/projects/{projectId}/traces", "path": "v1/projects/{projectId}/traces", - "id": "cloudtrace.projects.patchTraces" + "id": "cloudtrace.projects.patchTraces", + "description": "Sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.", + "request": { + "$ref": "Traces" + } } }, "resources": { "traces": { "methods": { "list": { - "description": "Returns of a list of traces that match the specified filter conditions.", - "response": { - "$ref": "ListTracesResponse" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "GET", "parameters": { "orderBy": { - "location": "query", "description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.", - "type": "string" + "type": "string", + "location": "query" }, "projectId": { "location": "path", @@ -197,20 +200,20 @@ "type": "string" }, "filter": { + "location": "query", "description": "An optional filter for the request.", - "type": "string", - "location": "query" + "type": "string" }, "endTime": { + "type": "string", "location": "query", "description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.", - "format": "google-datetime", - "type": "string" + "format": "google-datetime" }, "pageToken": { + "location": "query", "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.", - "type": "string", - "location": "query" + "type": "string" }, "startTime": { "location": "query", @@ -219,21 +222,21 @@ "type": "string" }, "pageSize": { + "type": "integer", "location": "query", "description": "Maximum number of traces to return. If not specified or \u003c= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.", - "format": "int32", - "type": "integer" + "format": "int32" }, "view": { - "description": "Type of data returned for traces in the list. Optional. Default is\n`MINIMAL`.", - "type": "string", "location": "query", "enum": [ "VIEW_TYPE_UNSPECIFIED", "MINIMAL", "ROOTSPAN", "COMPLETE" - ] + ], + "description": "Type of data returned for traces in the list. Optional. Default is\n`MINIMAL`.", + "type": "string" } }, "scopes": [ @@ -241,12 +244,22 @@ "https://www.googleapis.com/auth/trace.readonly" ], "flatPath": "v1/projects/{projectId}/traces", + "id": "cloudtrace.projects.traces.list", "path": "v1/projects/{projectId}/traces", - "id": "cloudtrace.projects.traces.list" + "description": "Returns of a list of traces that match the specified filter conditions.", + "httpMethod": "GET", + "parameterOrder": [ + "projectId" + ], + "response": { + "$ref": "ListTracesResponse" + } }, "get": { + "flatPath": "v1/projects/{projectId}/traces/{traceId}", + "path": "v1/projects/{projectId}/traces/{traceId}", + "id": "cloudtrace.projects.traces.get", "description": "Gets a single trace by its ID.", - "httpMethod": "GET", "response": { "$ref": "Trace" }, @@ -254,27 +267,25 @@ "projectId", "traceId" ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/trace.readonly" + ], "parameters": { "projectId": { + "location": "path", "description": "ID of the Cloud project where the trace data is stored.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "traceId": { + "location": "path", "description": "ID of the trace to return.", "required": true, - "type": "string", - "location": "path" + "type": "string" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/trace.readonly" - ], - "flatPath": "v1/projects/{projectId}/traces/{traceId}", - "id": "cloudtrace.projects.traces.get", - "path": "v1/projects/{projectId}/traces/{traceId}" + } } } } @@ -282,26 +293,41 @@ } }, "parameters": { + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "key": { + "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.", + "type": "string", + "location": "query" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, "pp": { - "type": "boolean", - "default": "true", "location": "query", - "description": "Pretty-print response." + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" }, "oauth_token": { - "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string" + "type": "string", + "location": "query" }, "bearer_token": { - "location": "query", "description": "OAuth bearer token.", - "type": "string" + "type": "string", + "location": "query" }, "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { "location": "query", @@ -309,35 +335,40 @@ "type": "boolean", "default": "true" }, - "fields": { + "uploadType": { "location": "query", - "description": "Selector specifying which fields to include in a partial response.", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "fields": { + "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" }, "$.xgafv": { + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format." + "location": "query" }, "callback": { + "description": "JSONP", "type": "string", - "location": "query", - "description": "JSONP" + "location": "query" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -346,38 +377,7 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" + "default": "json" } - }, - "version": "v1", - "baseUrl": "https://cloudtrace.googleapis.com/", - "servicePath": "", - "kind": "discovery#restDescription", - "description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from other applications can be written to Stackdriver Trace for display, reporting, and analysis.\n", - "basePath": "", - "id": "cloudtrace:v1", - "documentationLink": "https://cloud.google.com/trace", - "revision": "20170320", - "discoveryVersion": "v1", - "version_module": "True" + } } diff --git a/DiscoveryJson/dataflow_v1b3.json b/DiscoveryJson/dataflow_v1b3.json index 08ef80ebcd..a474426392 100644 --- a/DiscoveryJson/dataflow_v1b3.json +++ b/DiscoveryJson/dataflow_v1b3.json @@ -1,20 +1,4 @@ { - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/userinfo.email": { - "description": "View your email address" - } - } - } - }, - "servicePath": "", - "description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.", - "kind": "discovery#restDescription", - "rootUrl": "https://dataflow.googleapis.com/", "basePath": "", "ownerDomain": "google.com", "name": "dataflow", @@ -29,32 +13,32 @@ "projects": { "methods": { "workerMessages": { - "path": "v1b3/projects/{projectId}/WorkerMessages", - "id": "dataflow.projects.workerMessages", + "description": "Send a worker_message to the service.", "request": { "$ref": "SendWorkerMessagesRequest" }, - "description": "Send a worker_message to the service.", + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], "response": { "$ref": "SendWorkerMessagesResponse" }, - "parameterOrder": [ - "projectId" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" ], - "httpMethod": "POST", "parameters": { "projectId": { + "location": "path", "description": "The project to send the WorkerMessages to.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], - "flatPath": "v1b3/projects/{projectId}/WorkerMessages" + "flatPath": "v1b3/projects/{projectId}/WorkerMessages", + "id": "dataflow.projects.workerMessages", + "path": "v1b3/projects/{projectId}/WorkerMessages" } }, "resources": { @@ -63,19 +47,16 @@ "jobs": { "methods": { "get": { - "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", - "id": "dataflow.projects.locations.jobs.get", - "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", "description": "Gets the state of the specified Cloud Dataflow job.", - "httpMethod": "GET", + "response": { + "$ref": "Job" + }, "parameterOrder": [ "projectId", "location", "jobId" ], - "response": { - "$ref": "Job" - }, + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" @@ -88,29 +69,32 @@ "location": "path" }, "projectId": { - "location": "path", "description": "The ID of the Cloud Platform project that the job belongs to.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "jobId": { - "location": "path", "description": "The job ID.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "view": { + "description": "The level of information requested in response.", + "type": "string", "location": "query", "enum": [ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", "JOB_VIEW_DESCRIPTION" - ], - "description": "The level of information requested in response.", - "type": "string" + ] } - } + }, + "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", + "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", + "id": "dataflow.projects.locations.jobs.get" }, "list": { "description": "List the jobs of a project.", @@ -122,11 +106,13 @@ "location" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], "parameters": { + "projectId": { + "description": "The project which owns the jobs.", + "required": true, + "type": "string", + "location": "path" + }, "filter": { "location": "query", "enum": [ @@ -145,39 +131,44 @@ "location": "path" }, "pageToken": { - "location": "query", "description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list.", - "type": "string" + "type": "string", + "location": "query" }, "pageSize": { + "location": "query", "description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.", "format": "int32", - "type": "integer", - "location": "query" + "type": "integer" }, "view": { + "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.", + "type": "string", + "location": "query", "enum": [ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", "JOB_VIEW_ALL", "JOB_VIEW_DESCRIPTION" - ], - "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.", - "type": "string", - "location": "query" - }, - "projectId": { - "location": "path", - "description": "The project which owns the jobs.", - "required": true, - "type": "string" + ] } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs", "path": "v1b3/projects/{projectId}/locations/{location}/jobs", "id": "dataflow.projects.locations.jobs.list" }, "update": { + "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", + "id": "dataflow.projects.locations.jobs.update", + "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", + "request": { + "$ref": "Job" + }, + "description": "Updates the state of an existing Cloud Dataflow job.", "httpMethod": "PUT", "parameterOrder": [ "projectId", @@ -188,20 +179,20 @@ "$ref": "Job" }, "parameters": { - "location": { + "projectId": { "location": "path", - "description": "The location that contains this job.", + "description": "The ID of the Cloud Platform project that the job belongs to.", "required": true, "type": "string" }, - "projectId": { - "description": "The ID of the Cloud Platform project that the job belongs to.", + "jobId": { + "description": "The job ID.", "required": true, "type": "string", "location": "path" }, - "jobId": { - "description": "The job ID.", + "location": { + "description": "The location that contains this job.", "required": true, "type": "string", "location": "path" @@ -210,14 +201,7 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" - ], - "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", - "id": "dataflow.projects.locations.jobs.update", - "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}", - "request": { - "$ref": "Job" - }, - "description": "Updates the state of an existing Cloud Dataflow job." + ] }, "create": { "request": { @@ -245,10 +229,10 @@ "type": "string" }, "projectId": { + "location": "path", "description": "The ID of the Cloud Platform project that the job belongs to.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "view": { "description": "The level of information requested in response.", @@ -273,30 +257,30 @@ "getMetrics": { "description": "Request the job status.", "httpMethod": "GET", - "response": { - "$ref": "JobMetrics" - }, "parameterOrder": [ "projectId", "location", "jobId" ], + "response": { + "$ref": "JobMetrics" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" ], "parameters": { "location": { - "required": true, - "type": "string", "location": "path", - "description": "The location which contains the job specified by job_id." + "description": "The location which contains the job specified by job_id.", + "required": true, + "type": "string" }, "startTime": { - "location": "query", "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all metrics for the job.", "format": "google-datetime", - "type": "string" + "type": "string", + "location": "query" }, "projectId": { "description": "A project id.", @@ -305,10 +289,10 @@ "location": "path" }, "jobId": { - "location": "path", "description": "The job to get messages for.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics", @@ -320,13 +304,6 @@ "workItems": { "methods": { "reportStatus": { - "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus", - "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus", - "id": "dataflow.projects.locations.jobs.workItems.reportStatus", - "request": { - "$ref": "ReportWorkItemStatusRequest" - }, - "description": "Reports the status of dataflow WorkItems leased by a worker.", "response": { "$ref": "ReportWorkItemStatusResponse" }, @@ -336,53 +313,62 @@ "jobId" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], "parameters": { - "location": { - "description": "The location which contains the WorkItem's job.", + "projectId": { + "description": "The project which owns the WorkItem's job.", "required": true, "type": "string", "location": "path" }, - "projectId": { - "location": "path", - "description": "The project which owns the WorkItem's job.", + "jobId": { + "description": "The job which the WorkItem is part of.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, - "jobId": { + "location": { "location": "path", - "description": "The job which the WorkItem is part of.", + "description": "The location which contains the WorkItem's job.", "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ] + "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus", + "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus", + "id": "dataflow.projects.locations.jobs.workItems.reportStatus", + "description": "Reports the status of dataflow WorkItems leased by a worker.", + "request": { + "$ref": "ReportWorkItemStatusRequest" + } }, "lease": { - "id": "dataflow.projects.locations.jobs.workItems.lease", - "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease", + "description": "Leases a dataflow WorkItem to run.", "request": { "$ref": "LeaseWorkItemRequest" }, - "description": "Leases a dataflow WorkItem to run.", - "httpMethod": "POST", + "response": { + "$ref": "LeaseWorkItemResponse" + }, "parameterOrder": [ "projectId", "location", "jobId" ], - "response": { - "$ref": "LeaseWorkItemResponse" - }, + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], "parameters": { "projectId": { - "location": "path", "description": "Identifies the project this worker belongs to.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "jobId": { "location": "path", @@ -391,37 +377,55 @@ "type": "string" }, "location": { - "location": "path", "description": "The location which contains the WorkItem's job.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], - "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease" + "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease", + "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease", + "id": "dataflow.projects.locations.jobs.workItems.lease" } } }, "messages": { "methods": { "list": { - "httpMethod": "GET", + "description": "Request the job status.", + "response": { + "$ref": "ListJobMessagesResponse" + }, "parameterOrder": [ "projectId", "location", "jobId" ], - "response": { - "$ref": "ListJobMessagesResponse" - }, + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" ], "parameters": { + "pageSize": { + "description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "minimumImportance": { + "location": "query", + "enum": [ + "JOB_MESSAGE_IMPORTANCE_UNKNOWN", + "JOB_MESSAGE_DEBUG", + "JOB_MESSAGE_DETAILED", + "JOB_MESSAGE_BASIC", + "JOB_MESSAGE_WARNING", + "JOB_MESSAGE_ERROR" + ], + "description": "Filter to only get messages with importance \u003e= level", + "type": "string" + }, "projectId": { "description": "A project id.", "required": true, @@ -429,22 +433,22 @@ "location": "path" }, "jobId": { + "description": "The job to get messages about.", "required": true, "type": "string", - "location": "path", - "description": "The job to get messages about." + "location": "path" }, "endTime": { + "location": "query", "description": "Return only messages with timestamps \u003c end_time. The default is now\n(i.e. return up to the latest messages available).", "format": "google-datetime", - "type": "string", - "location": "query" + "type": "string" }, "location": { - "location": "path", "description": "The location which contains the job specified by job_id.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "pageToken": { "description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.", @@ -456,31 +460,11 @@ "description": "If specified, return only messages with timestamps \u003e= start_time.\nThe default is the job creation time (i.e. beginning of messages).", "format": "google-datetime", "type": "string" - }, - "pageSize": { - "description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "minimumImportance": { - "description": "Filter to only get messages with importance \u003e= level", - "type": "string", - "location": "query", - "enum": [ - "JOB_MESSAGE_IMPORTANCE_UNKNOWN", - "JOB_MESSAGE_DEBUG", - "JOB_MESSAGE_DETAILED", - "JOB_MESSAGE_BASIC", - "JOB_MESSAGE_WARNING", - "JOB_MESSAGE_ERROR" - ] } }, "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages", - "id": "dataflow.projects.locations.jobs.messages.list", "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages", - "description": "Request the job status." + "id": "dataflow.projects.locations.jobs.messages.list" } } } @@ -491,22 +475,23 @@ "templates": { "methods": { "launch": { - "description": "Launch a template.", - "request": { - "$ref": "LaunchTemplateParameters" - }, - "response": { - "$ref": "LaunchTemplateResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "projectId" ], - "httpMethod": "POST", + "response": { + "$ref": "LaunchTemplateResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" ], "parameters": { + "dryRun": { + "location": "query", + "description": "Whether or not the job should actually be executed after\nvalidating parameters. Defaults to false. Validation errors do\nnot cause the HTTP request to fail if true.", + "type": "boolean" + }, "projectId": { "description": "Required. The ID of the Cloud Platform project that the job belongs to.", "required": true, @@ -517,19 +502,17 @@ "description": "Required. A Cloud Storage path to the template from which to create\nthe job.\nMust be valid Cloud Storage URL, beginning with 'gs://'.", "type": "string", "location": "query" - }, - "dryRun": { - "description": "Whether or not the job should actually be executed after\nvalidating parameters. Defaults to false. Validation errors do\nnot cause the HTTP request to fail if true.", - "type": "boolean", - "location": "query" } }, "flatPath": "v1b3/projects/{projectId}/templates:launch", + "id": "dataflow.projects.templates.launch", "path": "v1b3/projects/{projectId}/templates:launch", - "id": "dataflow.projects.templates.launch" + "description": "Launch a template.", + "request": { + "$ref": "LaunchTemplateParameters" + } }, "get": { - "description": "Get the template associated with a template.", "response": { "$ref": "GetTemplateResponse" }, @@ -545,17 +528,17 @@ "location": "path" }, "view": { - "description": "The view to retrieve. Defaults to METADATA_ONLY.", - "type": "string", "location": "query", "enum": [ "METADATA_ONLY" - ] + ], + "description": "The view to retrieve. Defaults to METADATA_ONLY.", + "type": "string" }, "gcsPath": { - "location": "query", "description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", - "type": "string" + "type": "string", + "location": "query" } }, "scopes": [ @@ -564,7 +547,8 @@ ], "flatPath": "v1b3/projects/{projectId}/templates:get", "path": "v1b3/projects/{projectId}/templates:get", - "id": "dataflow.projects.templates.get" + "id": "dataflow.projects.templates.get", + "description": "Get the template associated with a template." }, "create": { "request": { @@ -580,10 +564,10 @@ "httpMethod": "POST", "parameters": { "projectId": { + "description": "Required. The ID of the Cloud Platform project that the job belongs to.", "required": true, "type": "string", - "location": "path", - "description": "Required. The ID of the Cloud Platform project that the job belongs to." + "location": "path" } }, "scopes": [ @@ -598,58 +582,7 @@ }, "jobs": { "methods": { - "create": { - "id": "dataflow.projects.jobs.create", - "path": "v1b3/projects/{projectId}/jobs", - "description": "Creates a Cloud Dataflow job.", - "request": { - "$ref": "Job" - }, - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], - "parameters": { - "replaceJobId": { - "location": "query", - "description": "Deprecated. This field is now in the Job message.", - "type": "string" - }, - "projectId": { - "location": "path", - "description": "The ID of the Cloud Platform project that the job belongs to.", - "required": true, - "type": "string" - }, - "view": { - "type": "string", - "location": "query", - "enum": [ - "JOB_VIEW_UNKNOWN", - "JOB_VIEW_SUMMARY", - "JOB_VIEW_ALL", - "JOB_VIEW_DESCRIPTION" - ], - "description": "The level of information requested in response." - }, - "location": { - "type": "string", - "location": "query", - "description": "The location that contains this job." - } - }, - "flatPath": "v1b3/projects/{projectId}/jobs" - }, "getMetrics": { - "path": "v1b3/projects/{projectId}/jobs/{jobId}/metrics", - "id": "dataflow.projects.jobs.getMetrics", "description": "Request the job status.", "response": { "$ref": "JobMetrics" @@ -659,21 +592,17 @@ "jobId" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], "parameters": { "location": { + "description": "The location which contains the job specified by job_id.", "type": "string", - "location": "query", - "description": "The location which contains the job specified by job_id." + "location": "query" }, "startTime": { + "location": "query", "description": "Return only metric data that has changed since this time.\nDefault is to return all information about all metrics for the job.", "format": "google-datetime", - "type": "string", - "location": "query" + "type": "string" }, "projectId": { "description": "A project id.", @@ -688,36 +617,46 @@ "type": "string" } }, - "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/metrics" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], + "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/metrics", + "path": "v1b3/projects/{projectId}/jobs/{jobId}/metrics", + "id": "dataflow.projects.jobs.getMetrics" }, "get": { + "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}", + "id": "dataflow.projects.jobs.get", + "path": "v1b3/projects/{projectId}/jobs/{jobId}", + "description": "Gets the state of the specified Cloud Dataflow job.", "httpMethod": "GET", - "response": { - "$ref": "Job" - }, "parameterOrder": [ "projectId", "jobId" ], + "response": { + "$ref": "Job" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], "parameters": { - "location": { - "description": "The location that contains this job.", - "type": "string", - "location": "query" - }, "projectId": { + "description": "The ID of the Cloud Platform project that the job belongs to.", "required": true, "type": "string", - "location": "path", - "description": "The ID of the Cloud Platform project that the job belongs to." + "location": "path" }, "jobId": { + "description": "The job ID.", "required": true, "type": "string", - "location": "path", - "description": "The job ID." + "location": "path" }, "view": { + "location": "query", "enum": [ "JOB_VIEW_UNKNOWN", "JOB_VIEW_SUMMARY", @@ -725,110 +664,106 @@ "JOB_VIEW_DESCRIPTION" ], "description": "The level of information requested in response.", + "type": "string" + }, + "location": { + "description": "The location that contains this job.", "type": "string", "location": "query" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], - "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}", - "id": "dataflow.projects.jobs.get", - "path": "v1b3/projects/{projectId}/jobs/{jobId}", - "description": "Gets the state of the specified Cloud Dataflow job." + } }, "list": { - "httpMethod": "GET", + "description": "List the jobs of a project.", "response": { "$ref": "ListJobsResponse" }, "parameterOrder": [ "projectId" ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], "parameters": { - "pageToken": { - "type": "string", - "location": "query", - "description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list." - }, - "pageSize": { - "location": "query", - "description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.", - "format": "int32", - "type": "integer" - }, - "view": { - "location": "query", - "enum": [ - "JOB_VIEW_UNKNOWN", - "JOB_VIEW_SUMMARY", - "JOB_VIEW_ALL", - "JOB_VIEW_DESCRIPTION" - ], - "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.", - "type": "string" - }, "projectId": { - "location": "path", "description": "The project which owns the jobs.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "filter": { + "description": "The kind of filter to use.", + "type": "string", + "location": "query", "enum": [ "UNKNOWN", "ALL", "TERMINATED", "ACTIVE" - ], - "description": "The kind of filter to use.", + ] + }, + "location": { + "location": "query", + "description": "The location that contains this job.", + "type": "string" + }, + "pageToken": { + "description": "Set this to the 'next_page_token' field of a previous response\nto request additional results in a long list.", "type": "string", "location": "query" }, - "location": { + "pageSize": { + "description": "If there are many jobs, limit response to at most this many.\nThe actual number of jobs returned will be the lesser of max_responses\nand an unspecified server-defined limit.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "view": { + "description": "Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.", "type": "string", "location": "query", - "description": "The location that contains this job." + "enum": [ + "JOB_VIEW_UNKNOWN", + "JOB_VIEW_SUMMARY", + "JOB_VIEW_ALL", + "JOB_VIEW_DESCRIPTION" + ] } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], "flatPath": "v1b3/projects/{projectId}/jobs", - "id": "dataflow.projects.jobs.list", "path": "v1b3/projects/{projectId}/jobs", - "description": "List the jobs of a project." + "id": "dataflow.projects.jobs.list" }, "update": { "description": "Updates the state of an existing Cloud Dataflow job.", "request": { "$ref": "Job" }, - "httpMethod": "PUT", + "response": { + "$ref": "Job" + }, "parameterOrder": [ "projectId", "jobId" ], - "response": { - "$ref": "Job" - }, + "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" ], "parameters": { "location": { - "location": "query", "description": "The location that contains this job.", - "type": "string" + "type": "string", + "location": "query" }, "projectId": { - "required": true, - "type": "string", "location": "path", - "description": "The ID of the Cloud Platform project that the job belongs to." + "description": "The ID of the Cloud Platform project that the job belongs to.", + "required": true, + "type": "string" }, "jobId": { "description": "The job ID.", @@ -838,148 +773,197 @@ } }, "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}", - "id": "dataflow.projects.jobs.update", - "path": "v1b3/projects/{projectId}/jobs/{jobId}" - } - }, - "resources": { - "debug": { - "methods": { - "getConfig": { - "id": "dataflow.projects.jobs.debug.getConfig", - "path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig", - "request": { - "$ref": "GetDebugConfigRequest" - }, - "description": "Get encoded debug configuration for component. Not cacheable.", - "httpMethod": "POST", - "parameterOrder": [ - "projectId", - "jobId" - ], - "response": { - "$ref": "GetDebugConfigResponse" - }, - "parameters": { - "projectId": { - "description": "The project id.", - "required": true, - "type": "string", - "location": "path" - }, - "jobId": { - "location": "path", - "description": "The job id.", - "required": true, - "type": "string" - } + "path": "v1b3/projects/{projectId}/jobs/{jobId}", + "id": "dataflow.projects.jobs.update" + }, + "create": { + "flatPath": "v1b3/projects/{projectId}/jobs", + "path": "v1b3/projects/{projectId}/jobs", + "id": "dataflow.projects.jobs.create", + "request": { + "$ref": "Job" + }, + "description": "Creates a Cloud Dataflow job.", + "response": { + "$ref": "Job" + }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "POST", + "parameters": { + "projectId": { + "description": "The ID of the Cloud Platform project that the job belongs to.", + "required": true, + "type": "string", + "location": "path" + }, + "view": { + "description": "The level of information requested in response.", + "type": "string", + "location": "query", + "enum": [ + "JOB_VIEW_UNKNOWN", + "JOB_VIEW_SUMMARY", + "JOB_VIEW_ALL", + "JOB_VIEW_DESCRIPTION" + ] + }, + "location": { + "location": "query", + "description": "The location that contains this job.", + "type": "string" + }, + "replaceJobId": { + "location": "query", + "description": "Deprecated. This field is now in the Job message.", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ] + } + }, + "resources": { + "debug": { + "methods": { + "getConfig": { + "request": { + "$ref": "GetDebugConfigRequest" + }, + "description": "Get encoded debug configuration for component. Not cacheable.", + "response": { + "$ref": "GetDebugConfigResponse" + }, + "parameterOrder": [ + "projectId", + "jobId" + ], + "httpMethod": "POST", + "parameters": { + "projectId": { + "description": "The project id.", + "required": true, + "type": "string", + "location": "path" + }, + "jobId": { + "description": "The job id.", + "required": true, + "type": "string", + "location": "path" + } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" ], - "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig" + "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig", + "path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig", + "id": "dataflow.projects.jobs.debug.getConfig" }, "sendCapture": { - "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture", - "id": "dataflow.projects.jobs.debug.sendCapture", - "path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture", - "description": "Send encoded debug capture data for component.", "request": { "$ref": "SendDebugCaptureRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "projectId", - "jobId" - ], + "description": "Send encoded debug capture data for component.", "response": { "$ref": "SendDebugCaptureResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" + "parameterOrder": [ + "projectId", + "jobId" ], + "httpMethod": "POST", "parameters": { "projectId": { - "required": true, - "type": "string", "location": "path", - "description": "The project id." + "description": "The project id.", + "required": true, + "type": "string" }, "jobId": { - "location": "path", "description": "The job id.", "required": true, - "type": "string" + "type": "string", + "location": "path" } - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], + "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture", + "path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture", + "id": "dataflow.projects.jobs.debug.sendCapture" } } }, "workItems": { "methods": { - "lease": { - "request": { - "$ref": "LeaseWorkItemRequest" + "reportStatus": { + "response": { + "$ref": "ReportWorkItemStatusResponse" }, - "description": "Leases a dataflow WorkItem to run.", - "httpMethod": "POST", "parameterOrder": [ "projectId", "jobId" ], - "response": { - "$ref": "LeaseWorkItemResponse" - }, + "httpMethod": "POST", "parameters": { "projectId": { - "description": "Identifies the project this worker belongs to.", + "location": "path", + "description": "The project which owns the WorkItem's job.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "jobId": { - "location": "path", - "description": "Identifies the workflow job this worker belongs to.", + "description": "The job which the WorkItem is part of.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email" ], - "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease", - "id": "dataflow.projects.jobs.workItems.lease", - "path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease" - }, - "reportStatus": { "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus", "path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus", "id": "dataflow.projects.jobs.workItems.reportStatus", "request": { "$ref": "ReportWorkItemStatusRequest" }, - "description": "Reports the status of dataflow WorkItems leased by a worker.", - "response": { - "$ref": "ReportWorkItemStatusResponse" + "description": "Reports the status of dataflow WorkItems leased by a worker." + }, + "lease": { + "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease", + "id": "dataflow.projects.jobs.workItems.lease", + "path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease", + "request": { + "$ref": "LeaseWorkItemRequest" }, + "description": "Leases a dataflow WorkItem to run.", + "httpMethod": "POST", "parameterOrder": [ "projectId", "jobId" ], - "httpMethod": "POST", + "response": { + "$ref": "LeaseWorkItemResponse" + }, "parameters": { "projectId": { - "description": "The project which owns the WorkItem's job.", + "description": "Identifies the project this worker belongs to.", "required": true, "type": "string", "location": "path" }, "jobId": { "location": "path", - "description": "The job which the WorkItem is part of.", + "description": "Identifies the workflow job this worker belongs to.", "required": true, "type": "string" } @@ -994,6 +978,7 @@ "messages": { "methods": { "list": { + "description": "Request the job status.", "httpMethod": "GET", "parameterOrder": [ "projectId", @@ -1002,48 +987,54 @@ "response": { "$ref": "ListJobMessagesResponse" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/userinfo.email" + ], "parameters": { - "jobId": { - "description": "The job to get messages about.", + "projectId": { + "description": "A project id.", "required": true, "type": "string", "location": "path" }, - "projectId": { + "jobId": { "location": "path", - "description": "A project id.", + "description": "The job to get messages about.", "required": true, "type": "string" }, "location": { - "location": "query", "description": "The location which contains the job specified by job_id.", - "type": "string" + "type": "string", + "location": "query" }, "endTime": { - "location": "query", "description": "Return only messages with timestamps \u003c end_time. The default is now\n(i.e. return up to the latest messages available).", "format": "google-datetime", - "type": "string" - }, - "startTime": { - "location": "query", - "description": "If specified, return only messages with timestamps \u003e= start_time.\nThe default is the job creation time (i.e. beginning of messages).", - "format": "google-datetime", - "type": "string" + "type": "string", + "location": "query" }, "pageToken": { "location": "query", "description": "If supplied, this should be the value of next_page_token returned\nby an earlier call. This will cause the next page of results to\nbe returned.", "type": "string" }, + "startTime": { + "description": "If specified, return only messages with timestamps \u003e= start_time.\nThe default is the job creation time (i.e. beginning of messages).", + "format": "google-datetime", + "type": "string", + "location": "query" + }, "pageSize": { - "location": "query", "description": "If specified, determines the maximum number of messages to\nreturn. If unspecified, the service may choose an appropriate\ndefault, or may return an arbitrarily large number of results.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" }, "minimumImportance": { + "description": "Filter to only get messages with importance \u003e= level", + "type": "string", "location": "query", "enum": [ "JOB_MESSAGE_IMPORTANCE_UNKNOWN", @@ -1052,19 +1043,12 @@ "JOB_MESSAGE_BASIC", "JOB_MESSAGE_WARNING", "JOB_MESSAGE_ERROR" - ], - "description": "Filter to only get messages with importance \u003e= level", - "type": "string" + ] } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/userinfo.email" - ], "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/messages", "id": "dataflow.projects.jobs.messages.list", - "path": "v1b3/projects/{projectId}/jobs/{jobId}/messages", - "description": "Request the job status." + "path": "v1b3/projects/{projectId}/jobs/{jobId}/messages" } } } @@ -1074,30 +1058,67 @@ } }, "parameters": { - "callback": { + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, + "upload_protocol": { "location": "query", - "description": "JSONP", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, "$.xgafv": { - "enum": [ - "1", - "2" - ], "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" ], - "location": "query" - }, - "alt": { + "location": "query", "enum": [ - "json", - "media", - "proto" - ], + "1", + "2" + ] + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "alt": { "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -1106,3360 +1127,3339 @@ ], "location": "query", "description": "Data format for response.", - "default": "json" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] }, "key": { - "location": "query", "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.", - "type": "string" - }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", "type": "string", "location": "query" }, - "upload_protocol": { + "access_token": { "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "description": "OAuth access token.", "type": "string" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" } }, "schemas": { - "JobMessage": { - "description": "A particular message pertaining to a Dataflow job.", + "RuntimeEnvironment": { + "description": "The environment values to set at runtime.", "type": "object", "properties": { - "messageText": { - "description": "The text of the message.", - "type": "string" - }, - "messageImportance": { - "description": "Importance level of the message.", - "type": "string", - "enumDescriptions": [ - "The message importance isn't specified, or is unknown.", - "The message is at the 'debug' level: typically only useful for\nsoftware engineers working on the code the job is running.\nTypically, Dataflow pipeline runners do not display log messages\nat this level by default.", - "The message is at the 'detailed' level: somewhat verbose, but\npotentially useful to users. Typically, Dataflow pipeline\nrunners do not display log messages at this level by default.\nThese messages are displayed by default in the Dataflow\nmonitoring UI.", - "The message is at the 'basic' level: useful for keeping\ntrack of the execution of a Dataflow pipeline. Typically,\nDataflow pipeline runners display log messages at this level by\ndefault, and these messages are displayed by default in the\nDataflow monitoring UI.", - "The message is at the 'warning' level: indicating a condition\npertaining to a job which may require human intervention.\nTypically, Dataflow pipeline runners display log messages at this\nlevel by default, and these messages are displayed by default in\nthe Dataflow monitoring UI.", - "The message is at the 'error' level: indicating a condition\npreventing a job from succeeding. Typically, Dataflow pipeline\nrunners display log messages at this level by default, and these\nmessages are displayed by default in the Dataflow monitoring UI." - ], - "enum": [ - "JOB_MESSAGE_IMPORTANCE_UNKNOWN", - "JOB_MESSAGE_DEBUG", - "JOB_MESSAGE_DETAILED", - "JOB_MESSAGE_BASIC", - "JOB_MESSAGE_WARNING", - "JOB_MESSAGE_ERROR" - ] - }, - "time": { - "description": "The timestamp of the message.", - "format": "google-datetime", + "serviceAccountEmail": { + "description": "The email address of the service account to run the job as.", "type": "string" }, - "id": { - "description": "Identifies the message. This is automatically generated by the\nservice; the caller should treat it as an opaque string.", - "type": "string" - } - }, - "id": "JobMessage" - }, - "ParameterMetadata": { - "type": "object", - "properties": { - "helpText": { - "description": "Required. The help text to display for the parameter.", + "tempLocation": { + "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", "type": "string" }, - "isOptional": { - "description": "Optional. Whether the parameter is optional. Defaults to false.", + "bypassTempDirValidation": { + "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.", "type": "boolean" }, - "name": { - "description": "Required. The name of the parameter.", - "type": "string" - }, - "regexes": { - "description": "Optional. Regexes that the parameter must match.", - "type": "array", - "items": { - "type": "string" - } + "maxWorkers": { + "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 1000.", + "format": "int32", + "type": "integer" }, - "label": { - "description": "Required. The label to display for the parameter.", + "zone": { + "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching worker instances to run your pipeline.", "type": "string" } }, - "id": "ParameterMetadata", - "description": "Metadata for a specific parameter." + "id": "RuntimeEnvironment" }, - "MultiOutputInfo": { + "MountedDataDisk": { + "description": "Describes mounted data disk.", "type": "object", "properties": { - "tag": { - "description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.", + "dataDisk": { + "description": "The name of the data disk.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", "type": "string" } }, - "id": "MultiOutputInfo", - "description": "Information about an output of a multi-output DoFn." + "id": "MountedDataDisk" }, - "SourceSplitRequest": { - "description": "Represents the operation to split a high-level Source specification\ninto bundles (parts for parallel processing).\n\nAt a high level, splitting of a source into bundles happens as follows:\nSourceSplitRequest is applied to the source. If it returns\nSOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source\nis used \"as is\". Otherwise, splitting is applied recursively to each\nproduced DerivedSource.\n\nAs an optimization, for any Source, if its does_not_need_splitting is\ntrue, the framework assumes that splitting this source would return\nSOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest.\nThis applies both to the initial source being split and to bundles\nproduced from it.", + "StreamingSideInputLocation": { + "description": "Identifies the location of a streaming side input.", "type": "object", "properties": { - "source": { - "$ref": "Source", - "description": "Specification of the source to be split." + "stateFamily": { + "description": "Identifies the state family where this side input is stored.", + "type": "string" }, - "options": { - "description": "Hints for tuning the splitting process.", - "$ref": "SourceSplitOptions" + "tag": { + "description": "Identifies the particular side input within the streaming Dataflow job.", + "type": "string" } }, - "id": "SourceSplitRequest" + "id": "StreamingSideInputLocation" }, - "SourceGetMetadataResponse": { - "id": "SourceGetMetadataResponse", - "description": "The result of a SourceGetMetadataOperation.", + "LaunchTemplateResponse": { + "description": "Response to the request to launch a template.", "type": "object", "properties": { - "metadata": { - "$ref": "SourceMetadata", - "description": "The computed metadata." + "job": { + "$ref": "Job", + "description": "The job that was launched, if the request was not a dry run and\nthe job was successfully launched." } - } + }, + "id": "LaunchTemplateResponse" }, - "MetricShortId": { - "description": "The metric short id is returned to the user alongside an offset into\nReportWorkItemStatusRequest", + "DerivedSource": { + "description": "Specification of one of the bundles produced as a result of splitting\na Source (e.g. when executing a SourceSplitRequest, or when\nsplitting an active task using WorkItemStatus.dynamic_source_split),\nrelative to the source being split.", "type": "object", "properties": { - "metricIndex": { - "description": "The index of the corresponding metric in\nthe ReportWorkItemStatusRequest. Required.", - "format": "int32", - "type": "integer" + "derivationMode": { + "description": "What source to base the produced source on (if any).", + "type": "string", + "enumDescriptions": [ + "The source derivation is unknown, or unspecified.", + "Produce a completely independent Source with no base.", + "Produce a Source based on the Source being split.", + "Produce a Source based on the base of the Source being split." + ], + "enum": [ + "SOURCE_DERIVATION_MODE_UNKNOWN", + "SOURCE_DERIVATION_MODE_INDEPENDENT", + "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", + "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" + ] }, - "shortId": { - "description": "The service-generated short identifier for the metric.", - "format": "int64", - "type": "string" + "source": { + "description": "Specification of the source.", + "$ref": "Source" } }, - "id": "MetricShortId" + "id": "DerivedSource" }, - "ShellTask": { - "description": "A task which consists of a shell command for the worker to execute.", + "DynamicSourceSplit": { + "description": "When a task splits using WorkItemStatus.dynamic_source_split, this\nmessage describes the two parts of the split relative to the\ndescription of the current task's input.", "type": "object", "properties": { - "exitCode": { - "description": "Exit code for the task.", - "format": "int32", - "type": "integer" + "residual": { + "description": "Residual part (returned to the pool of work).\nSpecified relative to the previously-current source.", + "$ref": "DerivedSource" }, - "command": { - "description": "The shell command to run.", - "type": "string" + "primary": { + "description": "Primary part (continued to be processed by worker).\nSpecified relative to the previously-current source.\nBecomes current.", + "$ref": "DerivedSource" } }, - "id": "ShellTask" + "id": "DynamicSourceSplit" }, - "TaskRunnerSettings": { - "description": "Taskrunner configuration settings.", + "Job": { + "description": "Defines a job to be run by the Cloud Dataflow service.", "type": "object", "properties": { - "workflowFileName": { - "description": "The file to store the workflow in.", - "type": "string" - }, - "tempStoragePrefix": { - "type": "string", - "description": "The prefix of the resources the taskrunner should use for\ntemporary storage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}" - }, - "commandlinesFileName": { - "description": "The file to store preprocessing commands in.", - "type": "string" - }, - "languageHint": { - "description": "The suggested backend language.", - "type": "string" + "pipelineDescription": { + "description": "Preliminary field: The format of this data may change at any time.\nA description of the user pipeline and stages through which it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.", + "$ref": "PipelineDescription" }, - "baseTaskDir": { - "description": "The location on the worker for task-specific subdirectories.", + "replaceJobId": { + "description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobRequest`, you can update a job by specifying it\nhere. The job named here is stopped, and its intermediate state is\ntransferred to this job.", "type": "string" }, - "baseUrl": { + "requestedState": { + "description": "The job's requested state.\n\n`UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the\njob if it has not already reached a terminal state.", "type": "string", - "description": "The base URL for the taskrunner to use when accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"" - }, - "logToSerialconsole": { - "description": "Whether to send taskrunner log info to Google Compute Engine VM serial\nconsole.", - "type": "boolean" - }, - "continueOnException": { - "description": "Whether to continue taskrunner if an exception is hit.", - "type": "boolean" - }, - "parallelWorkerSettings": { - "description": "The settings to pass to the parallel worker harness.", - "$ref": "WorkerSettings" - }, - "vmId": { - "description": "The ID string of the VM.", - "type": "string" - }, - "taskUser": { - "type": "string", - "description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\"." - }, - "alsologtostderr": { - "description": "Whether to also send taskrunner log info to stderr.", - "type": "boolean" + "enumDescriptions": [ + "The job's run state isn't specified.", + "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.", + "`JOB_STATE_RUNNING` indicates that the job is currently running.", + "`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.", + "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.", + "`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.", + "`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.", + "`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", + "`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`." + ], + "enum": [ + "JOB_STATE_UNKNOWN", + "JOB_STATE_STOPPED", + "JOB_STATE_RUNNING", + "JOB_STATE_DONE", + "JOB_STATE_FAILED", + "JOB_STATE_CANCELLED", + "JOB_STATE_UPDATED", + "JOB_STATE_DRAINING", + "JOB_STATE_DRAINED" + ] }, - "taskGroup": { - "description": "The UNIX group ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"wheel\".", - "type": "string" + "tempFiles": { + "description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", + "type": "array", + "items": { + "type": "string" + } }, - "harnessCommand": { - "description": "The command to launch the worker harness.", + "clientRequestId": { + "description": "The client's unique identifier of the job, re-used across retried attempts.\nIf this field is set, the service will ensure its uniqueness.\nThe request to create a job will fail if the service has knowledge of a\npreviously submitted job with the same client's ID and job name.\nThe caller may use this field to ensure idempotence of job\ncreation across retried attempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.", "type": "string" }, - "logDir": { - "description": "The directory on the VM to store logs.", + "name": { + "description": "The user-specified Cloud Dataflow job name.\n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job, the attempt returns the\nexisting Job.\n\nThe name must match the regular expression\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`", "type": "string" }, - "oauthScopes": { + "steps": { + "description": "The top-level steps that constitute the entire job.", "type": "array", "items": { - "type": "string" - }, - "description": "The OAuth2 scopes to be requested by the taskrunner in order to\naccess the Cloud Dataflow API." + "$ref": "Step" + } }, - "dataflowApiVersion": { - "type": "string", - "description": "The API version of endpoint, e.g. \"v1b3\"" + "replacedByJobId": { + "description": "If another job is an update of this job (and thus, this job is in\n`JOB_STATE_UPDATED`), this field contains the ID of that job.", + "type": "string" }, - "streamingWorkerMainClass": { - "description": "The streaming worker main class name.", + "executionInfo": { + "$ref": "JobExecutionInfo", + "description": "Deprecated." + }, + "id": { + "description": "The unique ID of this job.\n\nThis field is set by the Cloud Dataflow service when the Job is\ncreated, and is immutable for the life of the job.", "type": "string" }, - "logUploadLocation": { - "description": "Indicates where to put logs. If this is not specified, the logs\nwill not be uploaded.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", + "currentState": { + "enumDescriptions": [ + "The job's run state isn't specified.", + "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.", + "`JOB_STATE_RUNNING` indicates that the job is currently running.", + "`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.", + "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.", + "`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.", + "`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.", + "`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", + "`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`." + ], + "enum": [ + "JOB_STATE_UNKNOWN", + "JOB_STATE_STOPPED", + "JOB_STATE_RUNNING", + "JOB_STATE_DONE", + "JOB_STATE_FAILED", + "JOB_STATE_CANCELLED", + "JOB_STATE_UPDATED", + "JOB_STATE_DRAINING", + "JOB_STATE_DRAINED" + ], + "description": "The current state of the job.\n\nJobs are created in the `JOB_STATE_STOPPED` state unless otherwise\nspecified.\n\nA job in the `JOB_STATE_RUNNING` state may asynchronously enter a\nterminal state. After a job has reached a terminal state, no\nfurther state updates may be made.\n\nThis field may be mutated by the Cloud Dataflow service;\ncallers cannot mutate it.", "type": "string" - } - }, - "id": "TaskRunnerSettings" - }, - "Position": { - "description": "Position defines a position within a collection of data. The value\ncan be either the end position, a key (used with ordered\ncollections), a byte offset, or a record index.", - "type": "object", - "properties": { - "recordIndex": { - "description": "Position is a record index.", - "format": "int64", + }, + "location": { + "description": "The location that contains this job.", "type": "string" }, - "shufflePosition": { - "description": "CloudPosition is a base64 encoded BatchShufflePosition (with FIXED\nsharding).", + "currentStateTime": { + "description": "The timestamp associated with the current state.", + "format": "google-datetime", "type": "string" }, - "concatPosition": { - "description": "CloudPosition is a concat position.", - "$ref": "ConcatPosition" + "transformNameMapping": { + "additionalProperties": { + "type": "string" + }, + "description": "The map of transform name prefixes of the job to be replaced to the\ncorresponding name prefixes of the new job.", + "type": "object" }, - "byteOffset": { - "description": "Position is a byte offset.", - "format": "int64", + "createTime": { + "description": "The timestamp when the job was initially created. Immutable and set by the\nCloud Dataflow service.", + "format": "google-datetime", "type": "string" }, - "end": { - "type": "boolean", - "description": "Position is past all other positions. Also useful for the end\nposition of an unbounded range." + "environment": { + "description": "The environment for the job.", + "$ref": "Environment" }, - "key": { - "description": "Position is a string key, ordered lexicographically.", + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "User-defined labels for this job.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be \u003c= 128 bytes in\nsize.", + "type": "object" + }, + "type": { + "enumDescriptions": [ + "The type of the job is unspecified, or unknown.", + "A batch job with a well-defined end point: data is read, data is\nprocessed, data is written, and the job is done.", + "A continuously streaming job with no end: data is read,\nprocessed, and written continuously." + ], + "enum": [ + "JOB_TYPE_UNKNOWN", + "JOB_TYPE_BATCH", + "JOB_TYPE_STREAMING" + ], + "description": "The type of Cloud Dataflow job.", + "type": "string" + }, + "projectId": { + "description": "The ID of the Cloud Platform project that the job belongs to.", "type": "string" } }, - "id": "Position" + "id": "Job" }, - "Source": { + "SourceOperationResponse": { + "description": "The result of a SourceOperationRequest, specified in\nReportWorkItemStatusRequest.source_operation when the work item\nis completed.", "type": "object", "properties": { - "codec": { - "description": "The codec to use to decode data read from the source.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - } + "split": { + "description": "A response to a request to split a source.", + "$ref": "SourceSplitResponse" }, - "doesNotNeedSplitting": { - "type": "boolean", - "description": "Setting this value to true hints to the framework that the source\ndoesn't need splitting, and using SourceSplitRequest on it would\nyield SOURCE_SPLIT_OUTCOME_USE_CURRENT.\n\nE.g. a file splitter may set this to true when splitting a single file\ninto a set of byte ranges of appropriate size, and set this\nto false when splitting a filepattern into individual files.\nHowever, for efficiency, a file splitter may decide to produce\nfile subranges directly from the filepattern to avoid a splitting\nround-trip.\n\nSee SourceSplitRequest for an overview of the splitting process.\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated." + "getMetadata": { + "$ref": "SourceGetMetadataResponse", + "description": "A response to a request to get metadata about a source." + } + }, + "id": "SourceOperationResponse" + }, + "SendDebugCaptureResponse": { + "description": "Response to a send capture request.\nnothing", + "type": "object", + "properties": {}, + "id": "SendDebugCaptureResponse" + }, + "SideInputInfo": { + "description": "Information about a side input of a DoFn or an input of a SeqDoFn.", + "type": "object", + "properties": { + "sources": { + "description": "The source(s) to read element(s) from to get the value of this side input.\nIf more than one source, then the elements are taken from the\nsources, in the specified order if order matters.\nAt least one source is required.", + "type": "array", + "items": { + "$ref": "Source" + } }, - "spec": { - "description": "The source to read from, plus its parameters.", + "kind": { + "description": "How to interpret the source element(s) as a side input value.", "type": "object", "additionalProperties": { "description": "Properties of the object.", "type": "any" } }, - "metadata": { - "$ref": "SourceMetadata", - "description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see SourceOperationRequest).\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated." + "tag": { + "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo.", + "type": "string" + } + }, + "id": "SideInputInfo" + }, + "CounterStructuredNameAndMetadata": { + "description": "A single message which encapsulates structured name and metadata for a given\ncounter.", + "type": "object", + "properties": { + "name": { + "$ref": "CounterStructuredName", + "description": "Structured name of the counter." }, - "baseSpecs": { - "description": "While splitting, sources may specify the produced bundles\nas differences against another source, in order to save backend-side\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo support this use case, the full set of parameters of the source\nis logically obtained by taking the latest explicitly specified value\nof each parameter in the order:\nbase_specs (later items win), spec (overrides anything in base_specs).", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - } - } + "metadata": { + "description": "Metadata associated with a counter", + "$ref": "CounterMetadata" } }, - "id": "Source", - "description": "A source that records can be read and decoded from." + "id": "CounterStructuredNameAndMetadata" }, - "SplitInt64": { + "ConcatPosition": { + "description": "A position that encapsulates an inner position and an index for the inner\nposition. A ConcatPosition can be used by a reader of a source that\nencapsulates a set of other sources.", "type": "object", "properties": { - "lowBits": { - "description": "The low order bits: n & 0xffffffff.", - "format": "uint32", - "type": "integer" + "position": { + "description": "Position within the inner source.", + "$ref": "Position" }, - "highBits": { - "description": "The high order bits, including the sign: n \u003e\u003e 32.", + "index": { + "description": "Index of the inner source.", "format": "int32", "type": "integer" } }, - "id": "SplitInt64", - "description": "A representation of an int64, n, that is immune to precision loss when\nencoded in JSON." + "id": "ConcatPosition" }, - "WorkerPool": { + "WriteInstruction": { + "description": "An instruction that writes records.\nTakes one input, produces no outputs.", + "type": "object", "properties": { - "network": { - "description": "Network to which VMs will be assigned. If empty or unspecified,\nthe service will use the network \"default\".", + "input": { + "description": "The input.", + "$ref": "InstructionInput" + }, + "sink": { + "$ref": "Sink", + "description": "The sink to write to." + } + }, + "id": "WriteInstruction" + }, + "StreamingComputationRanges": { + "description": "Describes full or partial data disk assignment information of the computation\nranges.", + "type": "object", + "properties": { + "computationId": { + "description": "The ID of the computation.", "type": "string" }, - "defaultPackageSet": { - "description": "The default package set to install. This allows the service to\nselect a default set of packages which are useful to worker\nharnesses written in a particular language.", - "type": "string", - "enumDescriptions": [ - "The default set of packages to stage is unknown, or unspecified.", - "Indicates that no packages should be staged at the worker unless\nexplicitly specified by the job.", - "Stage packages typically useful to workers written in Java.", - "Stage pacakges typically useful to workers written in Python." - ], - "enum": [ - "DEFAULT_PACKAGE_SET_UNKNOWN", - "DEFAULT_PACKAGE_SET_NONE", - "DEFAULT_PACKAGE_SET_JAVA", - "DEFAULT_PACKAGE_SET_PYTHON" - ] - }, - "zone": { - "type": "string", - "description": "Zone to run the worker pools in. If empty or unspecified, the service\nwill attempt to choose a reasonable default." - }, - "numWorkers": { - "type": "integer", - "description": "Number of Google Compute Engine workers in this pool needed to\nexecute the job. If zero or unspecified, the service will\nattempt to choose a reasonable default.", - "format": "int32" - }, - "numThreadsPerWorker": { - "description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according to the number of cores\non the selected machine type for batch, or 1 by convention for streaming).", - "format": "int32", - "type": "integer" - }, - "diskSourceImage": { - "description": "Fully qualified source image for disks.", - "type": "string" - }, - "packages": { - "description": "Packages to be installed on workers.", + "rangeAssignments": { + "description": "Data disk assignments for ranges from this computation.", "type": "array", "items": { - "$ref": "Package" + "$ref": "KeyRangeDataDiskAssignment" } - }, - "teardownPolicy": { + } + }, + "id": "StreamingComputationRanges" + }, + "AutoscalingSettings": { + "description": "Settings for WorkerPool autoscaling.", + "type": "object", + "properties": { + "algorithm": { "enumDescriptions": [ - "The teardown policy isn't specified, or is unknown.", - "Always teardown the resource.", - "Teardown the resource on success. This is useful for debugging\nfailures.", - "Never teardown the resource. This is useful for debugging and\ndevelopment." + "The algorithm is unknown, or unspecified.", + "Disable autoscaling.", + "Increase worker count over time to reduce job execution time." ], "enum": [ - "TEARDOWN_POLICY_UNKNOWN", - "TEARDOWN_ALWAYS", - "TEARDOWN_ON_SUCCESS", - "TEARDOWN_NEVER" + "AUTOSCALING_ALGORITHM_UNKNOWN", + "AUTOSCALING_ALGORITHM_NONE", + "AUTOSCALING_ALGORITHM_BASIC" ], - "description": "Sets the policy for determining when to turndown worker pool.\nAllowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and\n`TEARDOWN_NEVER`.\n`TEARDOWN_ALWAYS` means workers are always torn down regardless of whether\nthe job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down\nif the job succeeds. `TEARDOWN_NEVER` means the workers are never torn\ndown.\n\nIf the workers are not torn down by the service, they will\ncontinue to run and use Google Compute Engine VM resources in the\nuser's project until they are explicitly terminated by the user.\nBecause of this, Google recommends using the `TEARDOWN_ALWAYS`\npolicy except for small, manually supervised test jobs.\n\nIf unknown or unspecified, the service will attempt to choose a reasonable\ndefault.", + "description": "The algorithm to use for autoscaling.", "type": "string" }, - "onHostMaintenance": { - "type": "string", - "description": "The action to take on host maintenance, as defined by the Google\nCompute Engine API." - }, - "poolArgs": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Extra arguments for this worker pool.", - "type": "object" - }, - "diskSizeGb": { - "type": "integer", - "description": "Size of root disk for VMs, in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default.", - "format": "int32" + "maxNumWorkers": { + "description": "The maximum number of workers to cap scaling at.", + "format": "int32", + "type": "integer" + } + }, + "id": "AutoscalingSettings" + }, + "ExecutionStageSummary": { + "description": "Description of the composing transforms, names/ids, and input/outputs of a\nstage of execution. Some composing transforms and sources may have been\ngenerated by the Dataflow service during execution planning.", + "type": "object", + "properties": { + "inputSource": { + "description": "Input sources for this stage.", + "type": "array", + "items": { + "$ref": "StageSource" + } }, - "workerHarnessContainerImage": { - "description": "Required. Docker container image that executes the Cloud Dataflow worker\nharness, residing in Google Container Registry.", + "id": { + "description": "Dataflow service generated id for this stage.", "type": "string" }, - "diskType": { - "description": "Type of root disk for VMs. If empty or unspecified, the service will\nattempt to choose a reasonable default.", - "type": "string" + "componentTransform": { + "description": "Transforms that comprise this execution stage.", + "type": "array", + "items": { + "$ref": "ComponentTransform" + } }, - "machineType": { - "description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the\nservice will attempt to choose a reasonable default.", - "type": "string" + "componentSource": { + "description": "Collections produced and consumed by component transforms of this stage.", + "type": "array", + "items": { + "$ref": "ComponentSource" + } }, "kind": { - "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.", - "type": "string" + "description": "Type of tranform this stage is executing.", + "type": "string", + "enumDescriptions": [ + "Unrecognized transform type.", + "ParDo transform.", + "Group By Key transform.", + "Flatten transform.", + "Read transform.", + "Write transform.", + "Constructs from a constant value, such as with Create.of.", + "Creates a Singleton view of a collection.", + "Opening or closing a shuffle session, often as part of a GroupByKey." + ], + "enum": [ + "UNKNOWN_KIND", + "PAR_DO_KIND", + "GROUP_BY_KEY_KIND", + "FLATTEN_KIND", + "READ_KIND", + "WRITE_KIND", + "CONSTANT_KIND", + "SINGLETON_KIND", + "SHUFFLE_KIND" + ] }, - "dataDisks": { + "outputSource": { + "description": "Output sources for this stage.", "type": "array", "items": { - "$ref": "Disk" - }, - "description": "Data disks that are used by a VM in this workflow." + "$ref": "StageSource" + } }, - "subnetwork": { - "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\".", + "name": { + "description": "Dataflow service generated name for this stage.", "type": "string" - }, - "ipConfiguration": { + } + }, + "id": "ExecutionStageSummary" + }, + "SendWorkerMessagesRequest": { + "description": "A request for sending worker messages to the service.", + "type": "object", + "properties": { + "workerMessages": { + "description": "The WorkerMessages to send.", + "type": "array", + "items": { + "$ref": "WorkerMessage" + } + } + }, + "id": "SendWorkerMessagesRequest" + }, + "SourceSplitShard": { + "description": "DEPRECATED in favor of DerivedSource.", + "type": "object", + "properties": { + "derivationMode": { + "enumDescriptions": [ + "The source derivation is unknown, or unspecified.", + "Produce a completely independent Source with no base.", + "Produce a Source based on the Source being split.", + "Produce a Source based on the base of the Source being split." + ], "enum": [ - "WORKER_IP_UNSPECIFIED", - "WORKER_IP_PUBLIC", - "WORKER_IP_PRIVATE" + "SOURCE_DERIVATION_MODE_UNKNOWN", + "SOURCE_DERIVATION_MODE_INDEPENDENT", + "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", + "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" ], - "description": "Configuration for VM IPs.", - "type": "string", - "enumDescriptions": [ - "The configuration is unknown, or unspecified.", - "Workers should have public IP addresses.", - "Workers should have private IP addresses." - ] - }, - "autoscalingSettings": { - "$ref": "AutoscalingSettings", - "description": "Settings for autoscaling of this WorkerPool." - }, - "taskrunnerSettings": { - "$ref": "TaskRunnerSettings", - "description": "Settings passed through to Google Compute Engine workers when\nusing the standard Dataflow task runner. Users should ignore\nthis field." + "description": "DEPRECATED", + "type": "string" }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Metadata to set on the Google Compute Engine VMs.", - "type": "object" + "source": { + "description": "DEPRECATED", + "$ref": "Source" } }, - "id": "WorkerPool", - "description": "Describes one particular pool of Cloud Dataflow workers to be\ninstantiated by the Cloud Dataflow service in order to perform the\ncomputations required by a job. Note that a workflow job may use\nmultiple pools, in order to match the various computational\nrequirements of the various stages of the job.", - "type": "object" + "id": "SourceSplitShard" }, - "SourceOperationRequest": { - "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.", + "CPUTime": { + "description": "Modeled after information exposed by /proc/stat.", "type": "object", "properties": { - "getMetadata": { - "$ref": "SourceGetMetadataRequest", - "description": "Information about a request to get metadata about a source." + "totalMs": { + "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.", + "format": "uint64", + "type": "string" }, - "split": { - "description": "Information about a request to split a source.", - "$ref": "SourceSplitRequest" + "rate": { + "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.", + "format": "double", + "type": "number" + }, + "timestamp": { + "description": "Timestamp of the measurement.", + "format": "google-datetime", + "type": "string" } }, - "id": "SourceOperationRequest" + "id": "CPUTime" }, - "WorkItem": { - "description": "WorkItem represents basic information about a WorkItem to be executed\nin the cloud.", + "Environment": { + "description": "Describes the environment in which a Dataflow Job runs.", "type": "object", "properties": { - "seqMapTask": { - "$ref": "SeqMapTask", - "description": "Additional information for SeqMapTask WorkItems." + "dataset": { + "description": "The dataset for the current project where various workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}", + "type": "string" }, - "packages": { + "experiments": { + "description": "The list of experiments to enable.", "type": "array", "items": { - "$ref": "Package" - }, - "description": "Any required packages that need to be fetched in order to execute\nthis WorkItem." - }, - "projectId": { - "description": "Identifies the cloud project this WorkItem belongs to.", - "type": "string" + "type": "string" + } }, - "sourceOperationTask": { - "$ref": "SourceOperationRequest", - "description": "Additional information for source operation WorkItems." + "version": { + "description": "A structure describing which components and their versions of the service\nare required in order to run the job.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } }, - "streamingSetupTask": { - "description": "Additional information for StreamingSetupTask WorkItems.", - "$ref": "StreamingSetupTask" + "internalExperiments": { + "description": "Experimental settings.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } }, - "reportStatusInterval": { - "description": "Recommended reporting interval.", - "format": "google-duration", + "serviceAccountEmail": { + "description": "Identity to run virtual machines as. Defaults to the default account.", "type": "string" }, - "streamingConfigTask": { - "$ref": "StreamingConfigTask", - "description": "Additional information for StreamingConfigTask WorkItems." + "sdkPipelineOptions": { + "description": "The Cloud Dataflow SDK pipeline options specified by the user. These\noptions are passed through the service and are used to recreate the\nSDK pipeline options on the worker in a language agnostic and platform\nindependent way.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } }, - "leaseExpireTime": { - "description": "Time when the lease on this Work will expire.", - "format": "google-datetime", + "userAgent": { + "description": "A description of the process that generated the request.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } + }, + "clusterManagerApiService": { + "description": "The type of cluster manager API to use. If unknown or\nunspecified, the service will attempt to choose a reasonable\ndefault. This should be in the form of the API service name,\ne.g. \"compute.googleapis.com\".", "type": "string" }, - "initialReportIndex": { - "description": "The initial index to use when reporting the status of the WorkItem.", - "format": "int64", + "tempStoragePrefix": { + "description": "The prefix of the resources the system should use for temporary\nstorage. The system will append the suffix \"/temp-{JOBNAME} to\nthis resource prefix, where {JOBNAME} is the value of the\njob_name field. The resulting bucket and object prefix is used\nas the prefix of the resources used to store temporary data\nneeded during the job execution. NOTE: This will override the\nvalue in taskrunner_settings.\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", "type": "string" }, - "streamingComputationTask": { - "$ref": "StreamingComputationTask", - "description": "Additional information for StreamingComputationTask WorkItems." + "workerPools": { + "description": "The worker pools. At least one \"harness\" worker pool must be\nspecified in order for the job to have workers.", + "type": "array", + "items": { + "$ref": "WorkerPool" + } + } + }, + "id": "Environment" + }, + "StreamingComputationTask": { + "description": "A task which describes what action should be performed for the specified\nstreaming computation ranges.", + "type": "object", + "properties": { + "dataDisks": { + "description": "Describes the set of data disks this task should apply to.", + "type": "array", + "items": { + "$ref": "MountedDataDisk" + } }, - "shellTask": { - "description": "Additional information for ShellTask WorkItems.", - "$ref": "ShellTask" + "taskType": { + "description": "A type of streaming computation task.", + "type": "string", + "enumDescriptions": [ + "The streaming computation task is unknown, or unspecified.", + "Stop processing specified streaming computation range(s).", + "Start processing specified streaming computation range(s)." + ], + "enum": [ + "STREAMING_COMPUTATION_TASK_UNKNOWN", + "STREAMING_COMPUTATION_TASK_STOP", + "STREAMING_COMPUTATION_TASK_START" + ] }, - "jobId": { - "description": "Identifies the workflow job this WorkItem belongs to.", + "computationRanges": { + "description": "Contains ranges of a streaming computation this task should apply to.", + "type": "array", + "items": { + "$ref": "StreamingComputationRanges" + } + } + }, + "id": "StreamingComputationTask" + }, + "SendDebugCaptureRequest": { + "description": "Request to send encoded debug information.", + "type": "object", + "properties": { + "workerId": { + "description": "The worker id, i.e., VM hostname.", "type": "string" }, - "id": { - "description": "Identifies this WorkItem.", - "format": "int64", + "data": { + "description": "The encoded debug information.", "type": "string" }, - "configuration": { - "description": "Work item-specific configuration as an opaque blob.", + "componentId": { + "description": "The internal component id for which debug information is sent.", "type": "string" - }, - "mapTask": { - "$ref": "MapTask", - "description": "Additional information for MapTask WorkItems." } }, - "id": "WorkItem" + "id": "SendDebugCaptureRequest" }, - "ReportedParallelism": { - "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.", + "GetDebugConfigResponse": { + "description": "Response to a get debug configuration request.", "type": "object", "properties": { - "value": { - "description": "Specifies the level of parallelism in case it is finite.", - "format": "double", - "type": "number" - }, - "isInfinite": { - "description": "Specifies whether the parallelism is infinite. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by the current\nJSON-based Java RPC stack.", - "type": "boolean" + "config": { + "description": "The encoded debug configuration for the requested component.", + "type": "string" } }, - "id": "ReportedParallelism" + "id": "GetDebugConfigResponse" }, - "ResourceUtilizationReport": { + "ComponentTransform": { + "description": "Description of a transform executed as part of an execution stage.", "type": "object", "properties": { - "cpuTime": { - "description": "CPU utilization samples.", - "type": "array", - "items": { - "$ref": "CPUTime" - } + "originalTransform": { + "description": "User name for the original user transform with which this transform is\nmost closely associated.", + "type": "string" + }, + "name": { + "description": "Dataflow service generated name for this source.", + "type": "string" + }, + "userName": { + "description": "Human-readable name for this transform; may be user or system generated.", + "type": "string" } }, - "id": "ResourceUtilizationReport", - "description": "Worker metrics exported from workers. This contains resource utilization\nmetrics accumulated from a variety of sources. For more information, see\ngo/df-resource-signals." + "id": "ComponentTransform" }, - "TopologyConfig": { + "StreamingSetupTask": { + "description": "A task which initializes part of a streaming Dataflow job.", "type": "object", "properties": { - "dataDiskAssignments": { - "description": "The disks assigned to a streaming Dataflow job.", - "type": "array", - "items": { - "$ref": "DataDiskAssignment" - } - }, - "persistentStateVersion": { - "description": "Version number for persistent state.", + "receiveWorkPort": { + "description": "The TCP port on which the worker should listen for messages from\nother streaming computation workers.", "format": "int32", "type": "integer" }, - "forwardingKeyBits": { - "description": "The size (in bits) of keys that will be assigned to source messages.", + "streamingComputationTopology": { + "description": "The global topology of the streaming Dataflow job.", + "$ref": "TopologyConfig" + }, + "workerHarnessPort": { + "description": "The TCP port used by the worker to communicate with the Dataflow\nworker harness.", "format": "int32", "type": "integer" }, - "userStageToComputationNameMap": { - "additionalProperties": { - "type": "string" - }, - "description": "Maps user stage names to stable computation names.", - "type": "object" - }, - "computations": { - "description": "The computations associated with a streaming Dataflow job.", - "type": "array", - "items": { - "$ref": "ComputationTopology" - } + "drain": { + "description": "The user has requested drain.", + "type": "boolean" } }, - "id": "TopologyConfig", - "description": "Global topology of the streaming Dataflow job, including all\ncomputations and their sharded locations." + "id": "StreamingSetupTask" }, - "SourceSplitOptions": { + "PubsubLocation": { + "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.", "type": "object", "properties": { - "desiredBundleSizeBytes": { - "description": "The source should be split into a set of bundles where the estimated size\nof each is approximately this many bytes.", - "format": "int64", + "withAttributes": { + "description": "If true, then the client has requested to get pubsub attributes.", + "type": "boolean" + }, + "idLabel": { + "description": "If set, contains a pubsub label from which to extract record ids.\nIf left empty, record deduplication will be strictly best effort.", "type": "string" }, - "desiredShardSizeBytes": { - "description": "DEPRECATED in favor of desired_bundle_size_bytes.", - "format": "int64", + "topic": { + "description": "A pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/\u003cproject-id\u003e/\u003ctopic-name\u003e\"", + "type": "string" + }, + "timestampLabel": { + "description": "If set, contains a pubsub label from which to extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.", + "type": "string" + }, + "subscription": { + "description": "A pubsub subscription, in the form of\n\"pubsub.googleapis.com/subscriptions/\u003cproject-id\u003e/\u003csubscription-name\u003e\"", + "type": "string" + }, + "dropLateData": { + "description": "Indicates whether the pipeline allows late-arriving data.", + "type": "boolean" + }, + "trackingSubscription": { + "description": "If set, specifies the pubsub subscription that will be used for tracking\ncustom time timestamps for watermark estimation.", "type": "string" } }, - "id": "SourceSplitOptions", - "description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest." - }, - "ReadInstruction": { - "id": "ReadInstruction", - "description": "An instruction that reads records.\nTakes no inputs, produces one output.", - "type": "object", - "properties": { - "source": { - "$ref": "Source", - "description": "The source to read from." - } - } + "id": "PubsubLocation" }, - "WorkerSettings": { - "description": "Provides data to pass through to the worker harness.", + "WorkerHealthReport": { + "description": "WorkerHealthReport contains information about the health of a worker.\n\nThe VM should be identified by the labels attached to the WorkerMessage that\nthis health ping belongs to.", "type": "object", "properties": { - "baseUrl": { - "description": "The base URL for accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"", + "pods": { + "description": "The pods running on the worker. See:\nhttp://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod\n\nThis field is used by the worker to send the status of the indvidual\ncontainers running on each worker.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + } + }, + "vmStartupTime": { + "description": "The time the VM was booted.", + "format": "google-datetime", "type": "string" }, - "reportingEnabled": { - "description": "Whether to send work progress updates to the service.", + "vmIsHealthy": { + "description": "Whether the VM is healthy.", "type": "boolean" }, - "servicePath": { - "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".", + "reportInterval": { + "description": "The interval at which the worker is sending health reports.\nThe default value of 0 should be interpreted as the field is not being\nexplicitly set by the worker.", + "format": "google-duration", + "type": "string" + } + }, + "id": "WorkerHealthReport" + }, + "JobMessage": { + "description": "A particular message pertaining to a Dataflow job.", + "type": "object", + "properties": { + "time": { + "description": "The timestamp of the message.", + "format": "google-datetime", "type": "string" }, - "shuffleServicePath": { - "description": "The Shuffle service path relative to the root URL, for example,\n\"shuffle/v1beta1\".", + "id": { + "description": "Identifies the message. This is automatically generated by the\nservice; the caller should treat it as an opaque string.", "type": "string" }, - "workerId": { - "description": "The ID of the worker running this pipeline.", + "messageText": { + "description": "The text of the message.", "type": "string" }, - "tempStoragePrefix": { + "messageImportance": { + "description": "Importance level of the message.", "type": "string", - "description": "The prefix of the resources the system should use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}" + "enumDescriptions": [ + "The message importance isn't specified, or is unknown.", + "The message is at the 'debug' level: typically only useful for\nsoftware engineers working on the code the job is running.\nTypically, Dataflow pipeline runners do not display log messages\nat this level by default.", + "The message is at the 'detailed' level: somewhat verbose, but\npotentially useful to users. Typically, Dataflow pipeline\nrunners do not display log messages at this level by default.\nThese messages are displayed by default in the Dataflow\nmonitoring UI.", + "The message is at the 'basic' level: useful for keeping\ntrack of the execution of a Dataflow pipeline. Typically,\nDataflow pipeline runners display log messages at this level by\ndefault, and these messages are displayed by default in the\nDataflow monitoring UI.", + "The message is at the 'warning' level: indicating a condition\npertaining to a job which may require human intervention.\nTypically, Dataflow pipeline runners display log messages at this\nlevel by default, and these messages are displayed by default in\nthe Dataflow monitoring UI.", + "The message is at the 'error' level: indicating a condition\npreventing a job from succeeding. Typically, Dataflow pipeline\nrunners display log messages at this level by default, and these\nmessages are displayed by default in the Dataflow monitoring UI." + ], + "enum": [ + "JOB_MESSAGE_IMPORTANCE_UNKNOWN", + "JOB_MESSAGE_DEBUG", + "JOB_MESSAGE_DETAILED", + "JOB_MESSAGE_BASIC", + "JOB_MESSAGE_WARNING", + "JOB_MESSAGE_ERROR" + ] } }, - "id": "WorkerSettings" + "id": "JobMessage" }, - "DataDiskAssignment": { - "description": "Data disk assignment for a given VM instance.", + "ParameterMetadata": { + "description": "Metadata for a specific parameter.", "type": "object", "properties": { - "dataDisks": { - "description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.", + "helpText": { + "description": "Required. The help text to display for the parameter.", + "type": "string" + }, + "isOptional": { + "description": "Optional. Whether the parameter is optional. Defaults to false.", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the parameter.", + "type": "string" + }, + "regexes": { + "description": "Optional. Regexes that the parameter must match.", "type": "array", "items": { "type": "string" } }, - "vmInstance": { - "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".", + "label": { + "description": "Required. The label to display for the parameter.", "type": "string" } }, - "id": "DataDiskAssignment" + "id": "ParameterMetadata" }, - "StreamingStageLocation": { - "description": "Identifies the location of a streaming computation stage, for\nstage-to-stage communication.", + "MultiOutputInfo": { + "description": "Information about an output of a multi-output DoFn.", "type": "object", "properties": { - "streamId": { - "description": "Identifies the particular stream within the streaming Dataflow\njob.", + "tag": { + "description": "The id of the tag the user code will emit to this output by; this\nshould correspond to the tag of some SideInputInfo.", "type": "string" } }, - "id": "StreamingStageLocation" + "id": "MultiOutputInfo" }, - "ApproximateSplitRequest": { - "description": "A suggestion by the service to the worker to dynamically split the WorkItem.", + "SourceSplitRequest": { + "description": "Represents the operation to split a high-level Source specification\ninto bundles (parts for parallel processing).\n\nAt a high level, splitting of a source into bundles happens as follows:\nSourceSplitRequest is applied to the source. If it returns\nSOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source\nis used \"as is\". Otherwise, splitting is applied recursively to each\nproduced DerivedSource.\n\nAs an optimization, for any Source, if its does_not_need_splitting is\ntrue, the framework assumes that splitting this source would return\nSOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest.\nThis applies both to the initial source being split and to bundles\nproduced from it.", "type": "object", "properties": { - "position": { - "description": "A Position at which to split the work item.", - "$ref": "Position" + "source": { + "description": "Specification of the source to be split.", + "$ref": "Source" }, - "fractionConsumed": { - "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).", - "format": "double", - "type": "number" + "options": { + "$ref": "SourceSplitOptions", + "description": "Hints for tuning the splitting process." } }, - "id": "ApproximateSplitRequest" + "id": "SourceSplitRequest" }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "SourceGetMetadataResponse": { + "description": "The result of a SourceGetMetadataOperation.", "type": "object", "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" + "metadata": { + "$ref": "SourceMetadata", + "description": "The computed metadata." } }, - "id": "Status" + "id": "SourceGetMetadataResponse" }, - "StreamLocation": { - "description": "Describes a stream of data, either as input to be processed or as\noutput of a streaming Dataflow job.", + "MetricShortId": { + "description": "The metric short id is returned to the user alongside an offset into\nReportWorkItemStatusRequest", "type": "object", "properties": { - "customSourceLocation": { - "$ref": "CustomSourceLocation", - "description": "The stream is a custom source." - }, - "streamingStageLocation": { - "$ref": "StreamingStageLocation", - "description": "The stream is part of another computation within the current\nstreaming Dataflow job." - }, - "pubsubLocation": { - "description": "The stream is a pubsub stream.", - "$ref": "PubsubLocation" + "metricIndex": { + "description": "The index of the corresponding metric in\nthe ReportWorkItemStatusRequest. Required.", + "format": "int32", + "type": "integer" }, - "sideInputLocation": { - "description": "The stream is a streaming side input.", - "$ref": "StreamingSideInputLocation" + "shortId": { + "description": "The service-generated short identifier for the metric.", + "format": "int64", + "type": "string" } }, - "id": "StreamLocation" + "id": "MetricShortId" }, - "SendWorkerMessagesResponse": { + "ShellTask": { + "description": "A task which consists of a shell command for the worker to execute.", + "type": "object", "properties": { - "workerMessageResponses": { - "description": "The servers response to the worker messages.", - "type": "array", - "items": { - "$ref": "WorkerMessageResponse" - } + "exitCode": { + "description": "Exit code for the task.", + "format": "int32", + "type": "integer" + }, + "command": { + "description": "The shell command to run.", + "type": "string" } }, - "id": "SendWorkerMessagesResponse", - "description": "The response to the worker messages.", - "type": "object" + "id": "ShellTask" }, - "StreamingComputationConfig": { + "TaskRunnerSettings": { + "description": "Taskrunner configuration settings.", + "type": "object", "properties": { - "computationId": { - "type": "string", - "description": "Unique identifier for this computation." + "parallelWorkerSettings": { + "description": "The settings to pass to the parallel worker harness.", + "$ref": "WorkerSettings" }, - "systemName": { - "description": "System defined name for this computation.", + "vmId": { + "description": "The ID string of the VM.", "type": "string" }, - "stageName": { - "description": "Stage name of this computation.", + "taskUser": { + "description": "The UNIX user ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"root\".", "type": "string" }, - "instructions": { - "description": "Instructions that comprise the computation.", - "type": "array", - "items": { - "$ref": "ParallelInstruction" - } - } - }, - "id": "StreamingComputationConfig", - "description": "Configuration information for a single streaming computation.", - "type": "object" - }, - "TransformSummary": { - "type": "object", - "properties": { - "inputCollectionName": { - "description": "User names for all collection inputs to this transform.", - "type": "array", - "items": { - "type": "string" - } + "alsologtostderr": { + "description": "Whether to also send taskrunner log info to stderr.", + "type": "boolean" }, - "name": { - "description": "User provided name for this transform instance.", + "taskGroup": { + "description": "The UNIX group ID on the worker VM to use for tasks launched by\ntaskrunner; e.g. \"wheel\".", "type": "string" }, - "id": { - "description": "SDK generated id of this transform instance.", + "harnessCommand": { + "description": "The command to launch the worker harness.", "type": "string" }, - "displayData": { - "description": "Transform-specific display data.", - "type": "array", - "items": { - "$ref": "DisplayData" - } + "logDir": { + "description": "The directory on the VM to store logs.", + "type": "string" }, - "outputCollectionName": { - "description": "User names for all collection outputs to this transform.", + "oauthScopes": { + "description": "The OAuth2 scopes to be requested by the taskrunner in order to\naccess the Cloud Dataflow API.", "type": "array", "items": { "type": "string" } }, - "kind": { - "description": "Type of transform.", - "type": "string", - "enumDescriptions": [ - "Unrecognized transform type.", - "ParDo transform.", - "Group By Key transform.", - "Flatten transform.", - "Read transform.", - "Write transform.", - "Constructs from a constant value, such as with Create.of.", - "Creates a Singleton view of a collection.", - "Opening or closing a shuffle session, often as part of a GroupByKey." - ], - "enum": [ - "UNKNOWN_KIND", - "PAR_DO_KIND", - "GROUP_BY_KEY_KIND", - "FLATTEN_KIND", - "READ_KIND", - "WRITE_KIND", - "CONSTANT_KIND", - "SINGLETON_KIND", - "SHUFFLE_KIND" - ] + "dataflowApiVersion": { + "description": "The API version of endpoint, e.g. \"v1b3\"", + "type": "string" + }, + "logUploadLocation": { + "description": "Indicates where to put logs. If this is not specified, the logs\nwill not be uploaded.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", + "type": "string" + }, + "streamingWorkerMainClass": { + "description": "The streaming worker main class name.", + "type": "string" + }, + "workflowFileName": { + "description": "The file to store the workflow in.", + "type": "string" + }, + "baseTaskDir": { + "description": "The location on the worker for task-specific subdirectories.", + "type": "string" + }, + "tempStoragePrefix": { + "description": "The prefix of the resources the taskrunner should use for\ntemporary storage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", + "type": "string" + }, + "languageHint": { + "description": "The suggested backend language.", + "type": "string" + }, + "commandlinesFileName": { + "description": "The file to store preprocessing commands in.", + "type": "string" + }, + "baseUrl": { + "description": "The base URL for the taskrunner to use when accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"", + "type": "string" + }, + "logToSerialconsole": { + "description": "Whether to send taskrunner log info to Google Compute Engine VM serial\nconsole.", + "type": "boolean" + }, + "continueOnException": { + "description": "Whether to continue taskrunner if an exception is hit.", + "type": "boolean" } }, - "id": "TransformSummary", - "description": "Description of the type, names/ids, and input/outputs for a transform." + "id": "TaskRunnerSettings" }, - "LeaseWorkItemResponse": { - "description": "Response to a request to lease WorkItems.", + "Position": { + "description": "Position defines a position within a collection of data. The value\ncan be either the end position, a key (used with ordered\ncollections), a byte offset, or a record index.", "type": "object", "properties": { - "workItems": { - "description": "A list of the leased WorkItems.", - "type": "array", - "items": { - "$ref": "WorkItem" - } + "shufflePosition": { + "description": "CloudPosition is a base64 encoded BatchShufflePosition (with FIXED\nsharding).", + "type": "string" + }, + "concatPosition": { + "description": "CloudPosition is a concat position.", + "$ref": "ConcatPosition" + }, + "byteOffset": { + "description": "Position is a byte offset.", + "format": "int64", + "type": "string" + }, + "end": { + "description": "Position is past all other positions. Also useful for the end\nposition of an unbounded range.", + "type": "boolean" + }, + "key": { + "description": "Position is a string key, ordered lexicographically.", + "type": "string" + }, + "recordIndex": { + "description": "Position is a record index.", + "format": "int64", + "type": "string" } }, - "id": "LeaseWorkItemResponse" + "id": "Position" }, - "LaunchTemplateParameters": { - "description": "Parameters to provide to the template being launched.", + "SplitInt64": { + "description": "A representation of an int64, n, that is immune to precision loss when\nencoded in JSON.", "type": "object", "properties": { - "parameters": { - "description": "The runtime parameters to pass to the job.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jobName": { - "type": "string", - "description": "Required. The job name to use for the created job." + "highBits": { + "description": "The high order bits, including the sign: n \u003e\u003e 32.", + "format": "int32", + "type": "integer" }, - "environment": { - "description": "The runtime environment for the job.", - "$ref": "RuntimeEnvironment" + "lowBits": { + "description": "The low order bits: n & 0xffffffff.", + "format": "uint32", + "type": "integer" } }, - "id": "LaunchTemplateParameters" + "id": "SplitInt64" }, - "Sink": { + "Source": { + "description": "A source that records can be read and decoded from.", "type": "object", "properties": { "codec": { + "description": "The codec to use to decode data read from the source.", + "type": "object", "additionalProperties": { - "type": "any", - "description": "Properties of the object." - }, - "description": "The codec to use to encode data written to the sink.", - "type": "object" + "description": "Properties of the object.", + "type": "any" + } + }, + "doesNotNeedSplitting": { + "description": "Setting this value to true hints to the framework that the source\ndoesn't need splitting, and using SourceSplitRequest on it would\nyield SOURCE_SPLIT_OUTCOME_USE_CURRENT.\n\nE.g. a file splitter may set this to true when splitting a single file\ninto a set of byte ranges of appropriate size, and set this\nto false when splitting a filepattern into individual files.\nHowever, for efficiency, a file splitter may decide to produce\nfile subranges directly from the filepattern to avoid a splitting\nround-trip.\n\nSee SourceSplitRequest for an overview of the splitting process.\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated.", + "type": "boolean" }, "spec": { + "description": "The source to read from, plus its parameters.", "type": "object", "additionalProperties": { "description": "Properties of the object.", "type": "any" - }, - "description": "The sink to write to, plus its parameters." - } - }, - "id": "Sink", - "description": "A sink that records can be encoded and written to." - }, - "FlattenInstruction": { - "type": "object", - "properties": { - "inputs": { - "description": "Describes the inputs to the flatten instruction.", + } + }, + "metadata": { + "$ref": "SourceMetadata", + "description": "Optionally, metadata for this source can be supplied right away,\navoiding a SourceGetMetadataOperation roundtrip\n(see SourceOperationRequest).\n\nThis field is meaningful only in the Source objects populated\nby the user (e.g. when filling in a DerivedSource).\nSource objects supplied by the framework to the user don't have\nthis field populated." + }, + "baseSpecs": { + "description": "While splitting, sources may specify the produced bundles\nas differences against another source, in order to save backend-side\nmemory and allow bigger jobs. For details, see SourceSplitRequest.\nTo support this use case, the full set of parameters of the source\nis logically obtained by taking the latest explicitly specified value\nof each parameter in the order:\nbase_specs (later items win), spec (overrides anything in base_specs).", "type": "array", "items": { - "$ref": "InstructionInput" + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" } } }, - "id": "FlattenInstruction", - "description": "An instruction that copies its inputs (zero or more) to its (single) output." + "id": "Source" }, - "PartialGroupByKeyInstruction": { - "description": "An instruction that does a partial group-by-key.\nOne input and one output.", + "WorkerPool": { + "description": "Describes one particular pool of Cloud Dataflow workers to be\ninstantiated by the Cloud Dataflow service in order to perform the\ncomputations required by a job. Note that a workflow job may use\nmultiple pools, in order to match the various computational\nrequirements of the various stages of the job.", "type": "object", "properties": { - "valueCombiningFn": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The value combining function to invoke.", - "type": "object" + "onHostMaintenance": { + "description": "The action to take on host maintenance, as defined by the Google\nCompute Engine API.", + "type": "string" }, - "inputElementCodec": { + "poolArgs": { "additionalProperties": { - "description": "Properties of the object.", + "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The codec to use for interpreting an element in the input PTable.", + "description": "Extra arguments for this worker pool.", "type": "object" }, - "originalCombineValuesInputStoreName": { - "type": "string", - "description": "If this instruction includes a combining function this is the name of the\nintermediate store between the GBK and the CombineValues." + "diskSizeGb": { + "description": "Size of root disk for VMs, in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default.", + "format": "int32", + "type": "integer" }, - "originalCombineValuesStepName": { - "description": "If this instruction includes a combining function, this is the name of the\nCombineValues instruction lifted into this instruction.", + "workerHarnessContainerImage": { + "description": "Required. Docker container image that executes the Cloud Dataflow worker\nharness, residing in Google Container Registry.", "type": "string" }, - "sideInputs": { - "description": "Zero or more side inputs.", - "type": "array", - "items": { - "$ref": "SideInputInfo" - } - }, - "input": { - "$ref": "InstructionInput", - "description": "Describes the input to the partial group-by-key instruction." - } - }, - "id": "PartialGroupByKeyInstruction" - }, - "StageSource": { - "description": "Description of an input or output of an execution stage.", - "type": "object", - "properties": { - "name": { - "description": "Dataflow service generated name for this source.", + "machineType": { + "description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the\nservice will attempt to choose a reasonable default.", "type": "string" }, - "sizeBytes": { - "description": "Size of the source, if measurable.", - "format": "int64", + "diskType": { + "description": "Type of root disk for VMs. If empty or unspecified, the service will\nattempt to choose a reasonable default.", "type": "string" }, - "userName": { - "description": "Human-readable name for this source; may be user or system generated.", + "kind": { + "description": "The kind of the worker pool; currently only `harness` and `shuffle`\nare supported.", "type": "string" }, - "originalTransformOrCollection": { - "type": "string", - "description": "User name for the original user transform or collection with which this\nsource is most closely associated." - } - }, - "id": "StageSource" - }, - "InstructionInput": { - "description": "An input of an instruction, as a reference to an output of a\nproducer instruction.", - "type": "object", - "properties": { - "outputNum": { - "description": "The output index (origin zero) within the producer.", - "format": "int32", - "type": "integer" - }, - "producerInstructionIndex": { - "description": "The index (origin zero) of the parallel instruction that produces\nthe output to be consumed by this input. This index is relative\nto the list of instructions in this input's instruction's\ncontaining MapTask.", - "format": "int32", - "type": "integer" - } - }, - "id": "InstructionInput" - }, - "StringList": { - "description": "A metric value representing a list of strings.", - "type": "object", - "properties": { - "elements": { - "description": "Elements of the list.", + "dataDisks": { + "description": "Data disks that are used by a VM in this workflow.", "type": "array", "items": { - "type": "string" + "$ref": "Disk" } - } - }, - "id": "StringList" - }, - "DisplayData": { - "properties": { - "int64Value": { - "description": "Contains value if the data is of int64 type.", - "format": "int64", - "type": "string" }, - "durationValue": { - "description": "Contains value if the data is of duration type.", - "format": "google-duration", + "subnetwork": { + "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of\nthe form \"regions/REGION/subnetworks/SUBNETWORK\".", "type": "string" }, - "namespace": { - "description": "The namespace for the key. This is usually a class name or programming\nlanguage namespace (i.e. python module) which defines the display data.\nThis allows a dax monitoring system to specially handle the data\nand perform custom rendering.", - "type": "string" + "ipConfiguration": { + "description": "Configuration for VM IPs.", + "type": "string", + "enumDescriptions": [ + "The configuration is unknown, or unspecified.", + "Workers should have public IP addresses.", + "Workers should have private IP addresses." + ], + "enum": [ + "WORKER_IP_UNSPECIFIED", + "WORKER_IP_PUBLIC", + "WORKER_IP_PRIVATE" + ] }, - "floatValue": { - "description": "Contains value if the data is of float type.", - "format": "float", - "type": "number" + "taskrunnerSettings": { + "description": "Settings passed through to Google Compute Engine workers when\nusing the standard Dataflow task runner. Users should ignore\nthis field.", + "$ref": "TaskRunnerSettings" }, - "key": { - "description": "The key identifying the display data.\nThis is intended to be used as a label for the display data\nwhen viewed in a dax monitoring system.", - "type": "string" + "autoscalingSettings": { + "$ref": "AutoscalingSettings", + "description": "Settings for autoscaling of this WorkerPool." }, - "shortStrValue": { - "description": "A possible additional shorter value to display.\nFor example a java_class_name_value of com.mypackage.MyDoFn\nwill be stored with MyDoFn as the short_str_value and\ncom.mypackage.MyDoFn as the java_class_name value.\nshort_str_value can be displayed and java_class_name_value\nwill be displayed as a tooltip.", - "type": "string" + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Metadata to set on the Google Compute Engine VMs.", + "type": "object" }, - "url": { - "description": "An optional full URL.", + "defaultPackageSet": { + "enumDescriptions": [ + "The default set of packages to stage is unknown, or unspecified.", + "Indicates that no packages should be staged at the worker unless\nexplicitly specified by the job.", + "Stage packages typically useful to workers written in Java.", + "Stage pacakges typically useful to workers written in Python." + ], + "enum": [ + "DEFAULT_PACKAGE_SET_UNKNOWN", + "DEFAULT_PACKAGE_SET_NONE", + "DEFAULT_PACKAGE_SET_JAVA", + "DEFAULT_PACKAGE_SET_PYTHON" + ], + "description": "The default package set to install. This allows the service to\nselect a default set of packages which are useful to worker\nharnesses written in a particular language.", "type": "string" }, - "label": { - "description": "An optional label to display in a dax UI for the element.", + "network": { + "description": "Network to which VMs will be assigned. If empty or unspecified,\nthe service will use the network \"default\".", "type": "string" }, - "timestampValue": { - "description": "Contains value if the data is of timestamp type.", - "format": "google-datetime", + "zone": { + "description": "Zone to run the worker pools in. If empty or unspecified, the service\nwill attempt to choose a reasonable default.", "type": "string" }, - "boolValue": { - "description": "Contains value if the data is of a boolean type.", - "type": "boolean" + "numWorkers": { + "description": "Number of Google Compute Engine workers in this pool needed to\nexecute the job. If zero or unspecified, the service will\nattempt to choose a reasonable default.", + "format": "int32", + "type": "integer" }, - "javaClassValue": { - "description": "Contains value if the data is of java class type.", + "numThreadsPerWorker": { + "description": "The number of threads per worker harness. If empty or unspecified, the\nservice will choose a number of threads (according to the number of cores\non the selected machine type for batch, or 1 by convention for streaming).", + "format": "int32", + "type": "integer" + }, + "diskSourceImage": { + "description": "Fully qualified source image for disks.", "type": "string" }, - "strValue": { - "description": "Contains value if the data is of string type.", + "packages": { + "description": "Packages to be installed on workers.", + "type": "array", + "items": { + "$ref": "Package" + } + }, + "teardownPolicy": { + "enumDescriptions": [ + "The teardown policy isn't specified, or is unknown.", + "Always teardown the resource.", + "Teardown the resource on success. This is useful for debugging\nfailures.", + "Never teardown the resource. This is useful for debugging and\ndevelopment." + ], + "enum": [ + "TEARDOWN_POLICY_UNKNOWN", + "TEARDOWN_ALWAYS", + "TEARDOWN_ON_SUCCESS", + "TEARDOWN_NEVER" + ], + "description": "Sets the policy for determining when to turndown worker pool.\nAllowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and\n`TEARDOWN_NEVER`.\n`TEARDOWN_ALWAYS` means workers are always torn down regardless of whether\nthe job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down\nif the job succeeds. `TEARDOWN_NEVER` means the workers are never torn\ndown.\n\nIf the workers are not torn down by the service, they will\ncontinue to run and use Google Compute Engine VM resources in the\nuser's project until they are explicitly terminated by the user.\nBecause of this, Google recommends using the `TEARDOWN_ALWAYS`\npolicy except for small, manually supervised test jobs.\n\nIf unknown or unspecified, the service will attempt to choose a reasonable\ndefault.", "type": "string" } }, - "id": "DisplayData", - "description": "Data provided with a pipeline or transform to provide descriptive info.", - "type": "object" + "id": "WorkerPool" }, - "GetDebugConfigRequest": { - "description": "Request to get updated debug configuration for component.", + "SourceOperationRequest": { + "description": "A work item that represents the different operations that can be\nperformed on a user-defined Source specification.", "type": "object", "properties": { - "workerId": { - "description": "The worker id, i.e., VM hostname.", - "type": "string" + "getMetadata": { + "description": "Information about a request to get metadata about a source.", + "$ref": "SourceGetMetadataRequest" }, - "componentId": { - "description": "The internal component id for which debug configuration is\nrequested.", - "type": "string" + "split": { + "$ref": "SourceSplitRequest", + "description": "Information about a request to split a source." } }, - "id": "GetDebugConfigRequest" + "id": "SourceOperationRequest" }, - "LeaseWorkItemRequest": { + "WorkItem": { + "description": "WorkItem represents basic information about a WorkItem to be executed\nin the cloud.", + "type": "object", "properties": { - "location": { - "description": "The location which contains the WorkItem's job.", + "shellTask": { + "description": "Additional information for ShellTask WorkItems.", + "$ref": "ShellTask" + }, + "streamingComputationTask": { + "description": "Additional information for StreamingComputationTask WorkItems.", + "$ref": "StreamingComputationTask" + }, + "jobId": { + "description": "Identifies the workflow job this WorkItem belongs to.", "type": "string" }, - "workItemTypes": { - "description": "Filter for WorkItem type.", - "type": "array", - "items": { - "type": "string" - } + "id": { + "description": "Identifies this WorkItem.", + "format": "int64", + "type": "string" }, - "workerCapabilities": { - "description": "Worker capabilities. WorkItems might be limited to workers with specific\ncapabilities.", + "configuration": { + "description": "Work item-specific configuration as an opaque blob.", + "type": "string" + }, + "mapTask": { + "description": "Additional information for MapTask WorkItems.", + "$ref": "MapTask" + }, + "seqMapTask": { + "$ref": "SeqMapTask", + "description": "Additional information for SeqMapTask WorkItems." + }, + "packages": { + "description": "Any required packages that need to be fetched in order to execute\nthis WorkItem.", "type": "array", "items": { - "type": "string" + "$ref": "Package" } }, - "workerId": { - "type": "string", - "description": "Identifies the worker leasing work -- typically the ID of the\nvirtual machine running the worker." + "projectId": { + "description": "Identifies the cloud project this WorkItem belongs to.", + "type": "string" }, - "requestedLeaseDuration": { - "description": "The initial lease period.", + "reportStatusInterval": { + "description": "Recommended reporting interval.", "format": "google-duration", "type": "string" }, - "currentWorkerTime": { - "description": "The current timestamp at the worker.", + "streamingSetupTask": { + "description": "Additional information for StreamingSetupTask WorkItems.", + "$ref": "StreamingSetupTask" + }, + "sourceOperationTask": { + "description": "Additional information for source operation WorkItems.", + "$ref": "SourceOperationRequest" + }, + "leaseExpireTime": { + "description": "Time when the lease on this Work will expire.", "format": "google-datetime", "type": "string" - } - }, - "id": "LeaseWorkItemRequest", - "description": "Request to lease WorkItems.", - "type": "object" - }, - "GetTemplateResponse": { - "description": "The response to a GetTemplate request.", - "type": "object", - "properties": { - "metadata": { - "$ref": "TemplateMetadata", - "description": "The template metadata describing the template name, available\nparameters, etc." }, - "status": { - "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details.", - "$ref": "Status" + "streamingConfigTask": { + "$ref": "StreamingConfigTask", + "description": "Additional information for StreamingConfigTask WorkItems." + }, + "initialReportIndex": { + "description": "The initial index to use when reporting the status of the WorkItem.", + "format": "int64", + "type": "string" } }, - "id": "GetTemplateResponse" + "id": "WorkItem" }, - "ReportWorkItemStatusRequest": { - "description": "Request to report the status of WorkItems.", + "ReportedParallelism": { + "description": "Represents the level of parallelism in a WorkItem's input,\nreported by the worker.", "type": "object", "properties": { - "workerId": { - "description": "The ID of the worker reporting the WorkItem status. If this\ndoes not match the ID of the worker which the Dataflow service\nbelieves currently has the lease on the WorkItem, the report\nwill be dropped (with an error response).", - "type": "string" - }, - "currentWorkerTime": { - "description": "The current timestamp at the worker.", - "format": "google-datetime", - "type": "string" - }, - "location": { - "description": "The location which contains the WorkItem's job.", - "type": "string" + "isInfinite": { + "description": "Specifies whether the parallelism is infinite. If true, \"value\" is\nignored.\nInfinite parallelism means the service will assume that the work item\ncan always be split into more non-empty work items by dynamic splitting.\nThis is a work-around for lack of support for infinity by the current\nJSON-based Java RPC stack.", + "type": "boolean" }, - "workItemStatuses": { - "description": "The order is unimportant, except that the order of the\nWorkItemServiceState messages in the ReportWorkItemStatusResponse\ncorresponds to the order of WorkItemStatus messages here.", - "type": "array", - "items": { - "$ref": "WorkItemStatus" - } + "value": { + "description": "Specifies the level of parallelism in case it is finite.", + "format": "double", + "type": "number" } }, - "id": "ReportWorkItemStatusRequest" + "id": "ReportedParallelism" }, - "PipelineDescription": { - "description": "A descriptive representation of submitted pipeline as well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics.", + "ResourceUtilizationReport": { + "description": "Worker metrics exported from workers. This contains resource utilization\nmetrics accumulated from a variety of sources. For more information, see\ngo/df-resource-signals.", "type": "object", "properties": { - "displayData": { - "description": "Pipeline level display data.", - "type": "array", - "items": { - "$ref": "DisplayData" - } - }, - "executionPipelineStage": { - "description": "Description of each stage of execution of the pipeline.", - "type": "array", - "items": { - "$ref": "ExecutionStageSummary" - } - }, - "originalPipelineTransform": { - "description": "Description of each transform in the pipeline and collections between them.", + "cpuTime": { + "description": "CPU utilization samples.", "type": "array", "items": { - "$ref": "TransformSummary" + "$ref": "CPUTime" } } }, - "id": "PipelineDescription" + "id": "ResourceUtilizationReport" }, - "StreamingConfigTask": { - "id": "StreamingConfigTask", - "description": "A task that carries configuration information for streaming computations.", + "TopologyConfig": { + "description": "Global topology of the streaming Dataflow job, including all\ncomputations and their sharded locations.", "type": "object", "properties": { - "userStepToStateFamilyNameMap": { + "forwardingKeyBits": { + "description": "The size (in bits) of keys that will be assigned to source messages.", + "format": "int32", + "type": "integer" + }, + "userStageToComputationNameMap": { "additionalProperties": { "type": "string" }, - "description": "Map from user step names to state families.", + "description": "Maps user stage names to stable computation names.", "type": "object" }, - "streamingComputationConfigs": { - "description": "Set of computation configuration information.", + "computations": { + "description": "The computations associated with a streaming Dataflow job.", "type": "array", "items": { - "$ref": "StreamingComputationConfig" + "$ref": "ComputationTopology" } - } - } - }, - "JobExecutionInfo": { - "description": "Additional information about how a Cloud Dataflow job will be executed that\nisn't contained in the submitted job.", - "type": "object", - "properties": { - "stages": { - "type": "object", - "additionalProperties": { - "$ref": "JobExecutionStageInfo" - }, - "description": "A mapping from each stage to the information about that stage." - } - }, - "id": "JobExecutionInfo" - }, - "Step": { - "description": "Defines a particular step within a Cloud Dataflow job.\n\nA job consists of multiple steps, each of which performs some\nspecific operation as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which together implement a\nMap-Reduce job:\n\n * Read a collection of data from some source, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and extract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection into a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different\ntypes of jobs, not just Map-Reduce.", - "type": "object", - "properties": { - "properties": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Named properties associated with the step. Each kind of\npredefined step has its own required set of properties.\nMust be provided on Create. Only retrieved with JOB_VIEW_ALL.", - "type": "object" }, - "name": { - "description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.", - "type": "string" + "dataDiskAssignments": { + "description": "The disks assigned to a streaming Dataflow job.", + "type": "array", + "items": { + "$ref": "DataDiskAssignment" + } }, - "kind": { - "type": "string", - "description": "The kind of step in the Cloud Dataflow job." - } - }, - "id": "Step" - }, - "FailedLocation": { - "properties": { - "name": { - "description": "The name of the failed location.", - "type": "string" + "persistentStateVersion": { + "description": "Version number for persistent state.", + "format": "int32", + "type": "integer" } }, - "id": "FailedLocation", - "description": "Indicates which location failed to respond to a request for data.", - "type": "object" + "id": "TopologyConfig" }, - "Disk": { - "id": "Disk", - "description": "Describes the data disk used by a workflow job.", + "SourceSplitOptions": { + "description": "Hints for splitting a Source into bundles (parts for parallel\nprocessing) using SourceSplitRequest.", "type": "object", "properties": { - "sizeGb": { - "description": "Size of disk in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default.", - "format": "int32", - "type": "integer" - }, - "diskType": { - "type": "string", - "description": "Disk storage type, as defined by Google Compute Engine. This\nmust be a disk type appropriate to the project and zone in which\nthe workers will run. If unknown or unspecified, the service\nwill attempt to choose a reasonable default.\n\nFor example, the standard persistent disk type is a resource name\ntypically ending in \"pd-standard\". If SSD persistent disks are\navailable, the resource name typically ends with \"pd-ssd\". The\nactual valid values are defined the Google Compute Engine API,\nnot by the Cloud Dataflow API; consult the Google Compute Engine\ndocumentation for more information about determining the set of\navailable disk types for a particular project and zone.\n\nGoogle Compute Engine Disk types are local to a particular\nproject in a particular zone, and so the resource name will\ntypically look something like this:\n\ncompute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard" + "desiredBundleSizeBytes": { + "description": "The source should be split into a set of bundles where the estimated size\nof each is approximately this many bytes.", + "format": "int64", + "type": "string" }, - "mountPoint": { - "description": "Directory in a VM where disk is mounted.", + "desiredShardSizeBytes": { + "description": "DEPRECATED in favor of desired_bundle_size_bytes.", + "format": "int64", "type": "string" } - } + }, + "id": "SourceSplitOptions" }, - "ListJobMessagesResponse": { - "id": "ListJobMessagesResponse", - "description": "Response to a request to list job messages.", + "ReadInstruction": { + "description": "An instruction that reads records.\nTakes no inputs, produces one output.", "type": "object", "properties": { - "jobMessages": { - "type": "array", - "items": { - "$ref": "JobMessage" - }, - "description": "Messages in ascending timestamp order." - }, - "nextPageToken": { - "type": "string", - "description": "The token to obtain the next page of results if there are more." + "source": { + "description": "The source to read from.", + "$ref": "Source" } - } + }, + "id": "ReadInstruction" }, - "CounterMetadata": { - "description": "CounterMetadata includes all static non-name non-value counter attributes.", + "WorkerSettings": { + "description": "Provides data to pass through to the worker harness.", "type": "object", "properties": { - "kind": { - "enum": [ - "INVALID", - "SUM", - "MAX", - "MIN", - "MEAN", - "OR", - "AND", - "SET", - "DISTRIBUTION" - ], - "description": "Counter aggregation kind.", - "type": "string", - "enumDescriptions": [ - "Counter aggregation kind was not set.", - "Aggregated value is the sum of all contributed values.", - "Aggregated value is the max of all contributed values.", - "Aggregated value is the min of all contributed values.", - "Aggregated value is the mean of all contributed values.", - "Aggregated value represents the logical 'or' of all contributed values.", - "Aggregated value represents the logical 'and' of all contributed values.", - "Aggregated value is a set of unique contributed values.", - "Aggregated value captures statistics about a distribution." - ] + "reportingEnabled": { + "description": "Whether to send work progress updates to the service.", + "type": "boolean" }, - "description": { - "description": "Human-readable description of the counter semantics.", + "baseUrl": { + "description": "The base URL for accessing Google Cloud APIs.\n\nWhen workers access Google Cloud APIs, they logically do so via\nrelative URLs. If this field is specified, it supplies the base\nURL to use for resolving these relative URLs. The normative\nalgorithm used is defined by RFC 1808, \"Relative Uniform Resource\nLocators\".\n\nIf not specified, the default value is \"http://www.googleapis.com/\"", "type": "string" }, - "standardUnits": { - "enum": [ - "BYTES", - "BYTES_PER_SEC", - "MILLISECONDS", - "MICROSECONDS", - "NANOSECONDS", - "TIMESTAMP_MSEC", - "TIMESTAMP_USEC", - "TIMESTAMP_NSEC" - ], - "description": "System defined Units, see above enum.", - "type": "string", - "enumDescriptions": [ - "Counter returns a value in bytes.", - "Counter returns a value in bytes per second.", - "Counter returns a value in milliseconds.", - "Counter returns a value in microseconds.", - "Counter returns a value in nanoseconds.", - "Counter returns a timestamp in milliseconds.", - "Counter returns a timestamp in microseconds.", - "Counter returns a timestamp in nanoseconds." - ] + "servicePath": { + "description": "The Cloud Dataflow service path relative to the root URL, for example,\n\"dataflow/v1b3/projects\".", + "type": "string" }, - "otherUnits": { - "description": "A string referring to the unit type.", + "shuffleServicePath": { + "description": "The Shuffle service path relative to the root URL, for example,\n\"shuffle/v1beta1\".", + "type": "string" + }, + "workerId": { + "description": "The ID of the worker running this pipeline.", + "type": "string" + }, + "tempStoragePrefix": { + "description": "The prefix of the resources the system should use for temporary\nstorage.\n\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", "type": "string" } }, - "id": "CounterMetadata" + "id": "WorkerSettings" }, - "ApproximateReportedProgress": { + "StreamingStageLocation": { + "description": "Identifies the location of a streaming computation stage, for\nstage-to-stage communication.", + "type": "object", "properties": { - "position": { - "description": "A Position within the work to represent a progress.", - "$ref": "Position" - }, - "fractionConsumed": { - "type": "number", - "description": "Completion as fraction of the input consumed, from 0.0 (beginning, nothing\nconsumed), to 1.0 (end of the input, entire input consumed).", - "format": "double" - }, - "consumedParallelism": { - "$ref": "ReportedParallelism", - "description": "Total amount of parallelism in the portion of input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelism\nshould equal the total amount of parallelism in this work item. If\nspecified, must be finite." - }, - "remainingParallelism": { - "$ref": "ReportedParallelism", - "description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks via dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of the input\ncan be read in parallel. This does not necessarily equal number\nof records. An input that can be read in parallel down to the\nindividual records is called \"perfectly splittable\".\nAn example of non-perfectly parallelizable input is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we are processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 50-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks, this value should be 3 (since blocks 4 and 5 can be\n processed in parallel by new tasks via dynamic splitting and the current\n task remains processing block 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, this value should be 1, because apart from the current task, no\n additional remainder can be split off." + "streamId": { + "description": "Identifies the particular stream within the streaming Dataflow\njob.", + "type": "string" } }, - "id": "ApproximateReportedProgress", - "description": "A progress measurement of a WorkItem by a worker.", - "type": "object" + "id": "StreamingStageLocation" }, - "IntegerList": { - "description": "A metric value representing a list of integers.", + "DataDiskAssignment": { + "description": "Data disk assignment for a given VM instance.", "type": "object", "properties": { - "elements": { - "description": "Elements of the list.", + "vmInstance": { + "description": "VM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".", + "type": "string" + }, + "dataDisks": { + "description": "Mounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.", "type": "array", "items": { - "$ref": "SplitInt64" + "type": "string" } } }, - "id": "IntegerList" + "id": "DataDiskAssignment" }, - "StateFamilyConfig": { - "id": "StateFamilyConfig", - "description": "State family configuration.", + "ApproximateSplitRequest": { + "description": "A suggestion by the service to the worker to dynamically split the WorkItem.", "type": "object", "properties": { - "stateFamily": { - "description": "The state family value.", - "type": "string" + "position": { + "description": "A Position at which to split the work item.", + "$ref": "Position" }, - "isRead": { - "description": "If true, this family corresponds to a read operation.", - "type": "boolean" + "fractionConsumed": { + "description": "A fraction at which to split the work item, from 0.0 (beginning of the\ninput) to 1.0 (end of the input).", + "format": "double", + "type": "number" } - } - }, - "ResourceUtilizationReportResponse": { - "id": "ResourceUtilizationReportResponse", - "description": "Service-side response to WorkerMessage reporting resource utilization.", - "type": "object", - "properties": {} + }, + "id": "ApproximateSplitRequest" }, - "SourceSplitResponse": { - "description": "The response to a SourceSplitRequest.", + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "outcome": { - "description": "Indicates whether splitting happened and produced a list of bundles.\nIf this is USE_CURRENT_SOURCE_AS_IS, the current source should\nbe processed \"as is\" without splitting. \"bundles\" is ignored in this case.\nIf this is SPLITTING_HAPPENED, then \"bundles\" contains a list of\nbundles into which the source was split.", - "type": "string", - "enumDescriptions": [ - "The source split outcome is unknown, or unspecified.", - "The current source should be processed \"as is\" without splitting.", - "Splitting produced a list of bundles." - ], - "enum": [ - "SOURCE_SPLIT_OUTCOME_UNKNOWN", - "SOURCE_SPLIT_OUTCOME_USE_CURRENT", - "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" - ] - }, - "bundles": { + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "$ref": "DerivedSource" - }, - "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is ignored.\nThis list can be empty, which means the source represents an empty input." + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } }, - "shards": { - "type": "array", - "items": { - "$ref": "SourceSplitShard" - }, - "description": "DEPRECATED in favor of bundles." + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" } }, - "id": "SourceSplitResponse" + "id": "Status" }, - "ParallelInstruction": { - "description": "Describes a particular operation comprising a MapTask.", + "StreamLocation": { + "description": "Describes a stream of data, either as input to be processed or as\noutput of a streaming Dataflow job.", "type": "object", "properties": { - "partialGroupByKey": { - "$ref": "PartialGroupByKeyInstruction", - "description": "Additional information for PartialGroupByKey instructions." - }, - "outputs": { - "type": "array", - "items": { - "$ref": "InstructionOutput" - }, - "description": "Describes the outputs of the instruction." - }, - "name": { - "description": "User-provided name of this operation.", - "type": "string" - }, - "read": { - "description": "Additional information for Read instructions.", - "$ref": "ReadInstruction" - }, - "parDo": { - "$ref": "ParDoInstruction", - "description": "Additional information for ParDo instructions." - }, - "flatten": { - "description": "Additional information for Flatten instructions.", - "$ref": "FlattenInstruction" + "customSourceLocation": { + "description": "The stream is a custom source.", + "$ref": "CustomSourceLocation" }, - "originalName": { - "type": "string", - "description": "System-defined name for the operation in the original workflow graph." + "streamingStageLocation": { + "$ref": "StreamingStageLocation", + "description": "The stream is part of another computation within the current\nstreaming Dataflow job." }, - "systemName": { - "description": "System-defined name of this operation.\nUnique across the workflow.", - "type": "string" + "pubsubLocation": { + "$ref": "PubsubLocation", + "description": "The stream is a pubsub stream." }, - "write": { - "$ref": "WriteInstruction", - "description": "Additional information for Write instructions." + "sideInputLocation": { + "$ref": "StreamingSideInputLocation", + "description": "The stream is a streaming side input." } }, - "id": "ParallelInstruction" + "id": "StreamLocation" }, - "KeyRangeDataDiskAssignment": { - "description": "Data disk assignment information for a specific key-range of a sharded\ncomputation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.", + "SendWorkerMessagesResponse": { + "description": "The response to the worker messages.", "type": "object", "properties": { - "start": { - "description": "The start (inclusive) of the key range.", - "type": "string" - }, - "dataDisk": { - "description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", - "type": "string" - }, - "end": { - "description": "The end (exclusive) of the key range.", - "type": "string" + "workerMessageResponses": { + "description": "The servers response to the worker messages.", + "type": "array", + "items": { + "$ref": "WorkerMessageResponse" + } } }, - "id": "KeyRangeDataDiskAssignment" + "id": "SendWorkerMessagesResponse" }, - "Package": { - "description": "The packages that must be installed in order for a worker to run the\nsteps of the Cloud Dataflow job that will be assigned to its worker\npool.\n\nThis is the mechanism by which the Cloud Dataflow SDK causes code to\nbe loaded onto the workers. For example, the Cloud Dataflow Java SDK\nmight use this to install jars containing the user's code and all of the\nvarious dependencies (libraries, data files, etc.) required in order\nfor that code to run.", + "StreamingComputationConfig": { + "description": "Configuration information for a single streaming computation.", "type": "object", "properties": { - "location": { - "description": "The resource to read the package from. The supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}\n bucket.storage.googleapis.com/", + "computationId": { + "description": "Unique identifier for this computation.", "type": "string" }, - "name": { - "description": "The name of the package.", + "systemName": { + "description": "System defined name for this computation.", "type": "string" - } - }, - "id": "Package" - }, - "ParDoInstruction": { - "id": "ParDoInstruction", - "description": "An instruction that does a ParDo operation.\nTakes one main input and zero or more side inputs, and produces\nzero or more outputs.\nRuns user code.", - "type": "object", - "properties": { - "input": { - "$ref": "InstructionInput", - "description": "The input." }, - "numOutputs": { - "type": "integer", - "description": "The number of outputs.", - "format": "int32" + "stageName": { + "description": "Stage name of this computation.", + "type": "string" }, - "sideInputs": { - "description": "Zero or more side inputs.", + "instructions": { + "description": "Instructions that comprise the computation.", "type": "array", "items": { - "$ref": "SideInputInfo" + "$ref": "ParallelInstruction" } - }, - "multiOutputInfos": { - "description": "Information about each of the outputs, if user_fn is a MultiDoFn.", + } + }, + "id": "StreamingComputationConfig" + }, + "LeaseWorkItemResponse": { + "description": "Response to a request to lease WorkItems.", + "type": "object", + "properties": { + "workItems": { + "description": "A list of the leased WorkItems.", "type": "array", "items": { - "$ref": "MultiOutputInfo" + "$ref": "WorkItem" } - }, - "userFn": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The user function to invoke.", - "type": "object" } - } + }, + "id": "LeaseWorkItemResponse" }, - "CounterStructuredName": { + "TransformSummary": { + "description": "Description of the type, names/ids, and input/outputs for a transform.", "type": "object", "properties": { - "componentStepName": { - "description": "Name of the optimized step being executed by the workers.", - "type": "string" - }, - "portion": { + "kind": { + "enumDescriptions": [ + "Unrecognized transform type.", + "ParDo transform.", + "Group By Key transform.", + "Flatten transform.", + "Read transform.", + "Write transform.", + "Constructs from a constant value, such as with Create.of.", + "Creates a Singleton view of a collection.", + "Opening or closing a shuffle session, often as part of a GroupByKey." + ], "enum": [ - "ALL", - "KEY", - "VALUE" + "UNKNOWN_KIND", + "PAR_DO_KIND", + "GROUP_BY_KEY_KIND", + "FLATTEN_KIND", + "READ_KIND", + "WRITE_KIND", + "CONSTANT_KIND", + "SINGLETON_KIND", + "SHUFFLE_KIND" ], - "description": "Portion of this counter, either key or value.", - "type": "string", - "enumDescriptions": [ - "Counter portion has not been set.", - "Counter reports a key.", - "Counter reports a value." - ] - }, - "originalStepName": { - "description": "System generated name of the original step in the user's graph, before\noptimization.", + "description": "Type of transform.", "type": "string" }, - "workerId": { - "description": "ID of a particular worker.", - "type": "string" + "inputCollectionName": { + "description": "User names for all collection inputs to this transform.", + "type": "array", + "items": { + "type": "string" + } }, - "originNamespace": { - "description": "A string containing a more specific namespace of the counter's origin.", + "name": { + "description": "User provided name for this transform instance.", "type": "string" }, - "executionStepName": { - "description": "Name of the stage. An execution step contains multiple component steps.", + "id": { + "description": "SDK generated id of this transform instance.", "type": "string" }, - "name": { - "type": "string", - "description": "Counter name. Not necessarily globally-unique, but unique within the\ncontext of the other fields.\nRequired." + "outputCollectionName": { + "description": "User names for all collection outputs to this transform.", + "type": "array", + "items": { + "type": "string" + } }, - "origin": { - "description": "One of the standard Origins defined above.", - "type": "string", - "enumDescriptions": [ - "Counter was created by the Dataflow system.", - "Counter was created by the user." - ], - "enum": [ - "SYSTEM", - "USER" - ] + "displayData": { + "description": "Transform-specific display data.", + "type": "array", + "items": { + "$ref": "DisplayData" + } } }, - "id": "CounterStructuredName", - "description": "Identifies a counter within a per-job namespace. Counters whose structured\nnames are the same get merged into a single value for the job." + "id": "TransformSummary" }, - "MetricUpdate": { - "description": "Describes the state of a metric.", + "LaunchTemplateParameters": { + "description": "Parameters to provide to the template being launched.", "type": "object", "properties": { - "updateTime": { - "description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in responses from the\nmetrics API.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "description": "Name of the metric.", - "$ref": "MetricStructuredName" - }, - "set": { - "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only\npossible value type is a list of Values whose type can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.", - "type": "any" - }, - "cumulative": { - "description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this metric is reported\nas a delta that is not associated with any WorkItem.", - "type": "boolean" - }, - "internal": { - "type": "any", - "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice." - }, - "kind": { - "description": "Metric aggregation kind. The possible metric aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", and \"Or\".\nThe specified aggregation kind is case-insensitive.\n\nIf omitted, this is not an aggregated value but instead\na single metric sample value.", + "jobName": { + "description": "Required. The job name to use for the created job.", "type": "string" }, - "scalar": { - "description": "Worker-computed aggregate value for aggregation kinds \"Sum\", \"Max\", \"Min\",\n\"And\", and \"Or\". The possible value types are Long, Double, and Boolean.", - "type": "any" - }, - "meanCount": { - "description": "Worker-computed aggregate value for the \"Mean\" aggregation kind.\nThis holds the count of the aggregated values and is used in combination\nwith mean_sum above to obtain the actual mean aggregate value.\nThe only possible value type is Long.", - "type": "any" + "environment": { + "description": "The runtime environment for the job.", + "$ref": "RuntimeEnvironment" }, - "meanSum": { - "type": "any", - "description": "Worker-computed aggregate value for the \"Mean\" aggregation kind.\nThis holds the sum of the aggregated values and is used in combination\nwith mean_count below to obtain the actual mean aggregate value.\nThe only possible value types are Long and Double." + "parameters": { + "description": "The runtime parameters to pass to the job.", + "type": "object", + "additionalProperties": { + "type": "string" + } } }, - "id": "MetricUpdate" + "id": "LaunchTemplateParameters" }, - "ApproximateProgress": { - "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.", + "Sink": { + "description": "A sink that records can be encoded and written to.", "type": "object", "properties": { - "percentComplete": { - "description": "Obsolete.", - "format": "float", - "type": "number" - }, - "remainingTime": { - "description": "Obsolete.", - "format": "google-duration", - "type": "string" + "codec": { + "description": "The codec to use to encode data written to the sink.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } }, - "position": { - "description": "Obsolete.", - "$ref": "Position" + "spec": { + "description": "The sink to write to, plus its parameters.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } } }, - "id": "ApproximateProgress" + "id": "Sink" }, - "WorkerMessageResponse": { - "description": "A worker_message response allows the server to pass information to the\nsender.", + "FlattenInstruction": { + "description": "An instruction that copies its inputs (zero or more) to its (single) output.", "type": "object", "properties": { - "workerMetricsResponse": { - "$ref": "ResourceUtilizationReportResponse", - "description": "Service's response to reporting worker metrics (currently empty)." - }, - "workerHealthReportResponse": { - "$ref": "WorkerHealthReportResponse", - "description": "The service's response to a worker's health report." + "inputs": { + "description": "Describes the inputs to the flatten instruction.", + "type": "array", + "items": { + "$ref": "InstructionInput" + } } }, - "id": "WorkerMessageResponse" + "id": "FlattenInstruction" }, - "TemplateMetadata": { + "PartialGroupByKeyInstruction": { + "description": "An instruction that does a partial group-by-key.\nOne input and one output.", + "type": "object", "properties": { - "name": { - "type": "string", - "description": "Required. The name of the template." + "inputElementCodec": { + "description": "The codec to use for interpreting an element in the input PTable.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } + }, + "valueCombiningFn": { + "description": "The value combining function to invoke.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } + }, + "originalCombineValuesInputStoreName": { + "description": "If this instruction includes a combining function this is the name of the\nintermediate store between the GBK and the CombineValues.", + "type": "string" + }, + "originalCombineValuesStepName": { + "description": "If this instruction includes a combining function, this is the name of the\nCombineValues instruction lifted into this instruction.", + "type": "string" }, - "parameters": { + "sideInputs": { + "description": "Zero or more side inputs.", "type": "array", "items": { - "$ref": "ParameterMetadata" - }, - "description": "The parameters for the template." - }, - "description": { - "description": "Optional. A description of the template.", - "type": "string" + "$ref": "SideInputInfo" + } }, - "bypassTempDirValidation": { - "description": "If true, will bypass the validation that the temp directory is\nwritable. This should only be used with templates for pipelines\nthat are guaranteed not to need to write to the temp directory,\nwhich is subject to change based on the optimizer.", - "type": "boolean" + "input": { + "description": "Describes the input to the partial group-by-key instruction.", + "$ref": "InstructionInput" } }, - "id": "TemplateMetadata", - "description": "Metadata describing a template.", - "type": "object" + "id": "PartialGroupByKeyInstruction" }, - "WorkerMessage": { - "description": "WorkerMessage provides information to the backend about a worker.", + "InstructionInput": { + "description": "An input of an instruction, as a reference to an output of a\nproducer instruction.", "type": "object", "properties": { - "time": { - "type": "string", - "description": "The timestamp of the worker_message.", - "format": "google-datetime" - }, - "workerHealthReport": { - "$ref": "WorkerHealthReport", - "description": "The health of a worker." - }, - "workerMessageCode": { - "description": "A worker message code.", - "$ref": "WorkerMessageCode" - }, - "workerMetrics": { - "description": "Resource metrics reported by workers.", - "$ref": "ResourceUtilizationReport" + "producerInstructionIndex": { + "description": "The index (origin zero) of the parallel instruction that produces\nthe output to be consumed by this input. This index is relative\nto the list of instructions in this input's instruction's\ncontaining MapTask.", + "format": "int32", + "type": "integer" }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Labels are used to group WorkerMessages.\nFor example, a worker_message about a particular container\nmight have the labels:\n{ \"JOB_ID\": \"2015-04-22\",\n \"WORKER_ID\": \"wordcount-vm-2015…\"\n \"CONTAINER_TYPE\": \"worker\",\n \"CONTAINER_ID\": \"ac1234def\"}\nLabel tags typically correspond to Label enum values. However, for ease\nof development other strings can be used as tags. LABEL_UNSPECIFIED should\nnot be used here." + "outputNum": { + "description": "The output index (origin zero) within the producer.", + "format": "int32", + "type": "integer" } }, - "id": "WorkerMessage" + "id": "InstructionInput" }, - "JobMetrics": { - "description": "JobMetrics contains a collection of metrics descibing the detailed progress\nof a Dataflow job. Metrics correspond to user-defined and system-defined\nmetrics in the job.\n\nThis resource captures only the most recent values of each metric;\ntime-series data can be queried for them (under the same metric names)\nfrom Cloud Monitoring.", + "StageSource": { + "description": "Description of an input or output of an execution stage.", "type": "object", "properties": { - "metricTime": { - "description": "Timestamp as of which metric values are current.", - "format": "google-datetime", + "name": { + "description": "Dataflow service generated name for this source.", "type": "string" }, - "metrics": { - "description": "All metrics for this job.", - "type": "array", - "items": { - "$ref": "MetricUpdate" - } + "sizeBytes": { + "description": "Size of the source, if measurable.", + "format": "int64", + "type": "string" + }, + "userName": { + "description": "Human-readable name for this source; may be user or system generated.", + "type": "string" + }, + "originalTransformOrCollection": { + "description": "User name for the original user transform or collection with which this\nsource is most closely associated.", + "type": "string" } }, - "id": "JobMetrics" + "id": "StageSource" }, - "FloatingPointList": { - "description": "A metric value representing a list of floating point numbers.", + "StringList": { + "description": "A metric value representing a list of strings.", "type": "object", "properties": { "elements": { "description": "Elements of the list.", "type": "array", "items": { - "format": "double", - "type": "number" + "type": "string" } } }, - "id": "FloatingPointList" + "id": "StringList" }, - "CounterUpdate": { - "description": "An update to a Counter sent from a worker.", + "DisplayData": { + "description": "Data provided with a pipeline or transform to provide descriptive info.", "type": "object", "properties": { - "integer": { - "description": "Integer value for Sum, Max, Min.", - "$ref": "SplitInt64" - }, - "integerList": { - "description": "List of integers, for Set.", - "$ref": "IntegerList" - }, - "structuredNameAndMetadata": { - "$ref": "CounterStructuredNameAndMetadata", - "description": "Counter structured name and metadata." - }, - "floatingPoint": { - "description": "Floating point value for Sum, Max, Min.", - "format": "double", - "type": "number" + "timestampValue": { + "description": "Contains value if the data is of timestamp type.", + "format": "google-datetime", + "type": "string" }, - "integerMean": { - "$ref": "IntegerMean", - "description": "Integer mean aggregation value for Mean." + "javaClassValue": { + "description": "Contains value if the data is of java class type.", + "type": "string" }, - "cumulative": { - "description": "True if this counter is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this counter is reported\nas a delta.", + "boolValue": { + "description": "Contains value if the data is of a boolean type.", "type": "boolean" }, - "internal": { - "type": "any", - "description": "Value for internally-defined counters used by the Dataflow service." + "strValue": { + "description": "Contains value if the data is of string type.", + "type": "string" }, - "floatingPointMean": { - "description": "Floating point mean aggregation value for Mean.", - "$ref": "FloatingPointMean" + "durationValue": { + "description": "Contains value if the data is of duration type.", + "format": "google-duration", + "type": "string" }, - "boolean": { - "type": "boolean", - "description": "Boolean value for And, Or." + "int64Value": { + "description": "Contains value if the data is of int64 type.", + "format": "int64", + "type": "string" }, - "nameAndKind": { - "$ref": "NameAndKind", - "description": "Counter name and aggregation type." + "namespace": { + "description": "The namespace for the key. This is usually a class name or programming\nlanguage namespace (i.e. python module) which defines the display data.\nThis allows a dax monitoring system to specially handle the data\nand perform custom rendering.", + "type": "string" }, - "distribution": { - "$ref": "DistributionUpdate", - "description": "Distribution data" + "floatValue": { + "description": "Contains value if the data is of float type.", + "format": "float", + "type": "number" }, - "stringList": { - "description": "List of strings, for Set.", - "$ref": "StringList" + "key": { + "description": "The key identifying the display data.\nThis is intended to be used as a label for the display data\nwhen viewed in a dax monitoring system.", + "type": "string" }, - "shortId": { - "description": "The service-generated short identifier for this counter.\nThe short_id -\u003e (name, metadata) mapping is constant for the lifetime of\na job.", - "format": "int64", + "shortStrValue": { + "description": "A possible additional shorter value to display.\nFor example a java_class_name_value of com.mypackage.MyDoFn\nwill be stored with MyDoFn as the short_str_value and\ncom.mypackage.MyDoFn as the java_class_name value.\nshort_str_value can be displayed and java_class_name_value\nwill be displayed as a tooltip.", "type": "string" }, - "floatingPointList": { - "description": "List of floating point numbers, for Set.", - "$ref": "FloatingPointList" + "label": { + "description": "An optional label to display in a dax UI for the element.", + "type": "string" + }, + "url": { + "description": "An optional full URL.", + "type": "string" } }, - "id": "CounterUpdate" + "id": "DisplayData" }, - "SourceMetadata": { - "description": "Metadata about a Source useful for automatically optimizing\nand tuning the pipeline, etc.", + "LeaseWorkItemRequest": { + "description": "Request to lease WorkItems.", "type": "object", "properties": { - "producesSortedKeys": { - "description": "Whether this source is known to produce key/value pairs with\nthe (encoded) keys in lexicographically sorted order.", - "type": "boolean" + "workerCapabilities": { + "description": "Worker capabilities. WorkItems might be limited to workers with specific\ncapabilities.", + "type": "array", + "items": { + "type": "string" + } }, - "infinite": { - "description": "Specifies that the size of this source is known to be infinite\n(this is a streaming source).", - "type": "boolean" + "workerId": { + "description": "Identifies the worker leasing work -- typically the ID of the\nvirtual machine running the worker.", + "type": "string" }, - "estimatedSizeBytes": { - "description": "An estimate of the total size (in bytes) of the data that would be\nread from this source. This estimate is in terms of external storage\nsize, before any decompression or other processing done by the reader.", - "format": "int64", + "requestedLeaseDuration": { + "description": "The initial lease period.", + "format": "google-duration", + "type": "string" + }, + "currentWorkerTime": { + "description": "The current timestamp at the worker.", + "format": "google-datetime", + "type": "string" + }, + "workItemTypes": { + "description": "Filter for WorkItem type.", + "type": "array", + "items": { + "type": "string" + } + }, + "location": { + "description": "The location which contains the WorkItem's job.", "type": "string" } }, - "id": "SourceMetadata" + "id": "LeaseWorkItemRequest" }, - "DistributionUpdate": { - "description": "A metric value representing a distribution.", + "GetDebugConfigRequest": { + "description": "Request to get updated debug configuration for component.", "type": "object", "properties": { - "min": { - "$ref": "SplitInt64", - "description": "The minimum value present in the distribution." - }, - "sumOfSquares": { - "description": "Use a double since the sum of squares is likely to overflow int64.", - "format": "double", - "type": "number" - }, - "max": { - "$ref": "SplitInt64", - "description": "The maximum value present in the distribution." - }, - "sum": { - "$ref": "SplitInt64", - "description": "Use an int64 since we'd prefer the added precision. If overflow is a common\nproblem we can detect it and use an additional int64 or a double." + "workerId": { + "description": "The worker id, i.e., VM hostname.", + "type": "string" }, - "count": { - "$ref": "SplitInt64", - "description": "The count of the number of elements present in the distribution." + "componentId": { + "description": "The internal component id for which debug configuration is\nrequested.", + "type": "string" } }, - "id": "DistributionUpdate" + "id": "GetDebugConfigRequest" }, - "SourceFork": { - "id": "SourceFork", - "description": "DEPRECATED in favor of DynamicSourceSplit.", + "GetTemplateResponse": { + "description": "The response to a GetTemplate request.", "type": "object", "properties": { - "residualSource": { - "description": "DEPRECATED", - "$ref": "DerivedSource" + "status": { + "$ref": "Status", + "description": "The status of the get template request. Any problems with the\nrequest will be indicated in the error_details." + }, + "metadata": { + "$ref": "TemplateMetadata", + "description": "The template metadata describing the template name, available\nparameters, etc." + } + }, + "id": "GetTemplateResponse" + }, + "ReportWorkItemStatusRequest": { + "description": "Request to report the status of WorkItems.", + "type": "object", + "properties": { + "workerId": { + "description": "The ID of the worker reporting the WorkItem status. If this\ndoes not match the ID of the worker which the Dataflow service\nbelieves currently has the lease on the WorkItem, the report\nwill be dropped (with an error response).", + "type": "string" }, - "primary": { - "$ref": "SourceSplitShard", - "description": "DEPRECATED" + "currentWorkerTime": { + "description": "The current timestamp at the worker.", + "format": "google-datetime", + "type": "string" }, - "primarySource": { - "description": "DEPRECATED", - "$ref": "DerivedSource" + "location": { + "description": "The location which contains the WorkItem's job.", + "type": "string" }, - "residual": { - "description": "DEPRECATED", - "$ref": "SourceSplitShard" + "workItemStatuses": { + "description": "The order is unimportant, except that the order of the\nWorkItemServiceState messages in the ReportWorkItemStatusResponse\ncorresponds to the order of WorkItemStatus messages here.", + "type": "array", + "items": { + "$ref": "WorkItemStatus" + } } - } + }, + "id": "ReportWorkItemStatusRequest" }, - "WorkerHealthReportResponse": { - "id": "WorkerHealthReportResponse", - "description": "WorkerHealthReportResponse contains information returned to the worker\nin response to a health ping.", + "StreamingConfigTask": { + "description": "A task that carries configuration information for streaming computations.", "type": "object", "properties": { - "reportInterval": { - "description": "A positive value indicates the worker should change its reporting interval\nto the specified value.\n\nThe default value of zero means no change in report rate is requested by\nthe server.", - "format": "google-duration", - "type": "string" + "streamingComputationConfigs": { + "description": "Set of computation configuration information.", + "type": "array", + "items": { + "$ref": "StreamingComputationConfig" + } + }, + "userStepToStateFamilyNameMap": { + "description": "Map from user step names to state families.", + "type": "object", + "additionalProperties": { + "type": "string" + } } - } + }, + "id": "StreamingConfigTask" }, - "WorkItemStatus": { - "description": "Conveys a worker's progress through the work described by a WorkItem.", + "PipelineDescription": { + "description": "A descriptive representation of submitted pipeline as well as the executed\nform. This data is provided by the Dataflow service for ease of visualizing\nthe pipeline and interpretting Dataflow provided metrics.", "type": "object", "properties": { - "completed": { - "description": "True if the WorkItem was completed (successfully or unsuccessfully).", - "type": "boolean" - }, - "reportedProgress": { - "description": "The worker's progress through this WorkItem.", - "$ref": "ApproximateReportedProgress" - }, - "sourceFork": { - "description": "DEPRECATED in favor of dynamic_source_split.", - "$ref": "SourceFork" - }, - "counterUpdates": { - "description": "Worker output counters for this WorkItem.", + "displayData": { + "description": "Pipeline level display data.", "type": "array", "items": { - "$ref": "CounterUpdate" + "$ref": "DisplayData" } }, - "workItemId": { - "description": "Identifies the WorkItem.", - "type": "string" - }, - "errors": { - "description": "Specifies errors which occurred during processing. If errors are\nprovided, and completed = true, then the WorkItem is considered\nto have failed.", + "executionPipelineStage": { + "description": "Description of each stage of execution of the pipeline.", "type": "array", "items": { - "$ref": "Status" + "$ref": "ExecutionStageSummary" } }, - "metricUpdates": { - "description": "DEPRECATED in favor of counter_updates.", + "originalPipelineTransform": { + "description": "Description of each transform in the pipeline and collections between them.", "type": "array", "items": { - "$ref": "MetricUpdate" + "$ref": "TransformSummary" } - }, - "dynamicSourceSplit": { - "$ref": "DynamicSourceSplit", - "description": "See documentation of stop_position." - }, - "sourceOperationResponse": { - "description": "If the work item represented a SourceOperationRequest, and the work\nis completed, contains the result of the operation.", - "$ref": "SourceOperationResponse" - }, - "progress": { - "$ref": "ApproximateProgress", - "description": "DEPRECATED in favor of reported_progress." - }, - "requestedLeaseDuration": { - "description": "Amount of time the worker requests for its lease.", - "format": "google-duration", - "type": "string" - }, - "reportIndex": { - "description": "The report index. When a WorkItem is leased, the lease will\ncontain an initial report index. When a WorkItem's status is\nreported to the system, the report should be sent with\nthat report index, and the response will contain the index the\nworker should use for the next report. Reports received with\nunexpected index values will be rejected by the service.\n\nIn order to preserve idempotency, the worker should not alter the\ncontents of a report, even if the worker must submit the same\nreport multiple times before getting back a response. The worker\nshould not submit a subsequent report until the response for the\nprevious report had been received from the service.", - "format": "int64", - "type": "string" - }, - "stopPosition": { - "description": "A worker may split an active map task in two parts, \"primary\" and\n\"residual\", continuing to process the primary part and returning the\nresidual part into the pool of available work.\nThis event is called a \"dynamic split\" and is critical to the dynamic\nwork rebalancing feature. The two obtained sub-tasks are called\n\"parts\" of the split.\nThe parts, if concatenated, must represent the same input as would\nbe read by the current task if the split did not happen.\nThe exact way in which the original task is decomposed into the two\nparts is specified either as a position demarcating them\n(stop_position), or explicitly as two DerivedSources, if this\ntask consumes a user-defined source type (dynamic_source_split).\n\nThe \"current\" task is adjusted as a result of the split: after a task\nwith range [A, B) sends a stop_position update at C, its range is\nconsidered to be [A, C), e.g.:\n* Progress should be interpreted relative to the new range, e.g.\n \"75% completed\" means \"75% of [A, C) completed\"\n* The worker should interpret proposed_stop_position relative to the\n new range, e.g. \"split at 68%\" should be interpreted as\n \"split at 68% of [A, C)\".\n* If the worker chooses to split again using stop_position, only\n stop_positions in [A, C) will be accepted.\n* Etc.\ndynamic_source_split has similar semantics: e.g., if a task with\nsource S splits using dynamic_source_split into {P, R}\n(where P and R must be together equivalent to S), then subsequent\nprogress and proposed_stop_position should be interpreted relative\nto P, and in a potential subsequent dynamic_source_split into {P', R'},\nP' and R' must be together equivalent to P, etc.", - "$ref": "Position" } }, - "id": "WorkItemStatus" + "id": "PipelineDescription" }, - "ComponentSource": { - "description": "Description of an interstitial value between transforms in an execution\nstage.", + "Step": { + "description": "Defines a particular step within a Cloud Dataflow job.\n\nA job consists of multiple steps, each of which performs some\nspecific operation as part of the overall job. Data is typically\npassed from one step to another as part of the job.\n\nHere's an example of a sequence of steps which together implement a\nMap-Reduce job:\n\n * Read a collection of data from some source, parsing the\n collection's elements.\n\n * Validate the elements.\n\n * Apply a user-defined function to map each element to some value\n and extract an element-specific key value.\n\n * Group elements with the same key into a single element with\n that key, transforming a multiply-keyed collection into a\n uniquely-keyed collection.\n\n * Write the elements out to some data sink.\n\nNote that the Cloud Dataflow service may be used to run many different\ntypes of jobs, not just Map-Reduce.", "type": "object", "properties": { - "name": { - "description": "Dataflow service generated name for this source.", + "kind": { + "description": "The kind of step in the Cloud Dataflow job.", "type": "string" }, - "userName": { - "type": "string", - "description": "Human-readable name for this transform; may be user or system generated." + "properties": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Named properties associated with the step. Each kind of\npredefined step has its own required set of properties.\nMust be provided on Create. Only retrieved with JOB_VIEW_ALL.", + "type": "object" }, - "originalTransformOrCollection": { - "description": "User name for the original user transform or collection with which this\nsource is most closely associated.", + "name": { + "description": "The name that identifies the step. This must be unique for each\nstep with respect to all other steps in the Cloud Dataflow job.", "type": "string" } }, - "id": "ComponentSource" + "id": "Step" }, - "WorkItemServiceState": { - "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.", + "JobExecutionInfo": { + "description": "Additional information about how a Cloud Dataflow job will be executed that\nisn't contained in the submitted job.", "type": "object", "properties": { - "reportStatusInterval": { - "description": "New recommended reporting interval.", - "format": "google-duration", - "type": "string" - }, - "suggestedStopPosition": { - "description": "Obsolete, always empty.", - "$ref": "Position" - }, - "harnessData": { - "type": "object", + "stages": { "additionalProperties": { - "type": "any", - "description": "Properties of the object." + "$ref": "JobExecutionStageInfo" }, - "description": "Other data returned by the service, specific to the particular\nworker harness." + "description": "A mapping from each stage to the information about that stage.", + "type": "object" + } + }, + "id": "JobExecutionInfo" + }, + "FailedLocation": { + "description": "Indicates which location failed to respond to a request for data.", + "type": "object", + "properties": { + "name": { + "description": "The name of the failed location.", + "type": "string" + } + }, + "id": "FailedLocation" + }, + "Disk": { + "description": "Describes the data disk used by a workflow job.", + "type": "object", + "properties": { + "sizeGb": { + "description": "Size of disk in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default.", + "format": "int32", + "type": "integer" }, - "leaseExpireTime": { - "description": "Time at which the current lease will expire.", - "format": "google-datetime", + "diskType": { + "description": "Disk storage type, as defined by Google Compute Engine. This\nmust be a disk type appropriate to the project and zone in which\nthe workers will run. If unknown or unspecified, the service\nwill attempt to choose a reasonable default.\n\nFor example, the standard persistent disk type is a resource name\ntypically ending in \"pd-standard\". If SSD persistent disks are\navailable, the resource name typically ends with \"pd-ssd\". The\nactual valid values are defined the Google Compute Engine API,\nnot by the Cloud Dataflow API; consult the Google Compute Engine\ndocumentation for more information about determining the set of\navailable disk types for a particular project and zone.\n\nGoogle Compute Engine Disk types are local to a particular\nproject in a particular zone, and so the resource name will\ntypically look something like this:\n\ncompute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard", "type": "string" }, - "metricShortId": { - "description": "The short ids that workers should use in subsequent metric updates.\nWorkers should strive to use short ids whenever possible, but it is ok\nto request the short_id again if a worker lost track of it\n(e.g. if the worker is recovering from a crash).\nNOTE: it is possible that the response may have short ids for a subset\nof the metrics.", + "mountPoint": { + "description": "Directory in a VM where disk is mounted.", + "type": "string" + } + }, + "id": "Disk" + }, + "ListJobMessagesResponse": { + "description": "Response to a request to list job messages.", + "type": "object", + "properties": { + "jobMessages": { + "description": "Messages in ascending timestamp order.", "type": "array", "items": { - "$ref": "MetricShortId" + "$ref": "JobMessage" } }, - "nextReportIndex": { - "type": "string", - "description": "The index value to use for the next report sent by the worker.\nNote: If the report call fails for whatever reason, the worker should\nreuse this index for subsequent report attempts.", - "format": "int64" + "nextPageToken": { + "description": "The token to obtain the next page of results if there are more.", + "type": "string" + } + }, + "id": "ListJobMessagesResponse" + }, + "CounterMetadata": { + "description": "CounterMetadata includes all static non-name non-value counter attributes.", + "type": "object", + "properties": { + "kind": { + "enumDescriptions": [ + "Counter aggregation kind was not set.", + "Aggregated value is the sum of all contributed values.", + "Aggregated value is the max of all contributed values.", + "Aggregated value is the min of all contributed values.", + "Aggregated value is the mean of all contributed values.", + "Aggregated value represents the logical 'or' of all contributed values.", + "Aggregated value represents the logical 'and' of all contributed values.", + "Aggregated value is a set of unique contributed values.", + "Aggregated value captures statistics about a distribution." + ], + "enum": [ + "INVALID", + "SUM", + "MAX", + "MIN", + "MEAN", + "OR", + "AND", + "SET", + "DISTRIBUTION" + ], + "description": "Counter aggregation kind.", + "type": "string" }, - "suggestedStopPoint": { - "description": "DEPRECATED in favor of split_request.", - "$ref": "ApproximateProgress" + "description": { + "description": "Human-readable description of the counter semantics.", + "type": "string" + }, + "standardUnits": { + "description": "System defined Units, see above enum.", + "type": "string", + "enumDescriptions": [ + "Counter returns a value in bytes.", + "Counter returns a value in bytes per second.", + "Counter returns a value in milliseconds.", + "Counter returns a value in microseconds.", + "Counter returns a value in nanoseconds.", + "Counter returns a timestamp in milliseconds.", + "Counter returns a timestamp in microseconds.", + "Counter returns a timestamp in nanoseconds." + ], + "enum": [ + "BYTES", + "BYTES_PER_SEC", + "MILLISECONDS", + "MICROSECONDS", + "NANOSECONDS", + "TIMESTAMP_MSEC", + "TIMESTAMP_USEC", + "TIMESTAMP_NSEC" + ] }, - "splitRequest": { - "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task.", - "$ref": "ApproximateSplitRequest" + "otherUnits": { + "description": "A string referring to the unit type.", + "type": "string" } }, - "id": "WorkItemServiceState" + "id": "CounterMetadata" }, - "MetricStructuredName": { - "description": "Identifies a metric, by describing the source which generated the\nmetric.", + "ApproximateReportedProgress": { + "description": "A progress measurement of a WorkItem by a worker.", "type": "object", "properties": { - "origin": { - "description": "Origin (namespace) of metric name. May be blank for user-define metrics;\nwill be \"dataflow\" for metrics defined by the Dataflow service or SDK.", - "type": "string" + "consumedParallelism": { + "$ref": "ReportedParallelism", + "description": "Total amount of parallelism in the portion of input of this task that has\nalready been consumed and is no longer active. In the first two examples\nabove (see remaining_parallelism), the value should be 29 or 2\nrespectively. The sum of remaining_parallelism and consumed_parallelism\nshould equal the total amount of parallelism in this work item. If\nspecified, must be finite." }, - "name": { - "description": "Worker-defined metric name.", - "type": "string" + "remainingParallelism": { + "$ref": "ReportedParallelism", + "description": "Total amount of parallelism in the input of this task that remains,\n(i.e. can be delegated to this task and any new tasks via dynamic\nsplitting). Always at least 1 for non-finished work items and 0 for\nfinished.\n\n\"Amount of parallelism\" refers to how many non-empty parts of the input\ncan be read in parallel. This does not necessarily equal number\nof records. An input that can be read in parallel down to the\nindividual records is called \"perfectly splittable\".\nAn example of non-perfectly parallelizable input is a block-compressed\nfile format where a block of records has to be read as a whole,\nbut different blocks can be read in parallel.\n\nExamples:\n* If we are processing record #30 (starting at 1) out of 50 in a perfectly\n splittable 50-record input, this value should be 21 (20 remaining + 1\n current).\n* If we are reading through block 3 in a block-compressed file consisting\n of 5 blocks, this value should be 3 (since blocks 4 and 5 can be\n processed in parallel by new tasks via dynamic splitting and the current\n task remains processing block 3).\n* If we are reading through the last block in a block-compressed file,\n or reading or processing the last record in a perfectly splittable\n input, this value should be 1, because apart from the current task, no\n additional remainder can be split off." }, - "context": { - "additionalProperties": { - "type": "string" - }, - "description": "Zero or more labeled fields which identify the part of the job this\nmetric is associated with, such as the name of a step or collection.\n\nFor example, built-in counters associated with steps will have\ncontext['step'] = \u003cstep-name\u003e. Counters associated with PCollections\nin the SDK will have context['pcollection'] = \u003cpcollection-name\u003e.", - "type": "object" - } - }, - "id": "MetricStructuredName" - }, - "SeqMapTaskOutputInfo": { - "type": "object", - "properties": { - "tag": { - "description": "The id of the TupleTag the user code will tag the output value by.", - "type": "string" + "position": { + "$ref": "Position", + "description": "A Position within the work to represent a progress." }, - "sink": { - "description": "The sink to write the output value to.", - "$ref": "Sink" + "fractionConsumed": { + "description": "Completion as fraction of the input consumed, from 0.0 (beginning, nothing\nconsumed), to 1.0 (end of the input, entire input consumed).", + "format": "double", + "type": "number" } }, - "id": "SeqMapTaskOutputInfo", - "description": "Information about an output of a SeqMapTask." + "id": "ApproximateReportedProgress" }, - "JobExecutionStageInfo": { + "IntegerList": { + "description": "A metric value representing a list of integers.", + "type": "object", "properties": { - "stepName": { - "description": "The steps associated with the execution stage.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.", + "elements": { + "description": "Elements of the list.", "type": "array", "items": { - "type": "string" + "$ref": "SplitInt64" } } }, - "id": "JobExecutionStageInfo", - "description": "Contains information about how a particular\ngoogle.dataflow.v1beta3.Step will be executed.", - "type": "object" + "id": "IntegerList" }, - "KeyRangeLocation": { - "description": "Location information for a specific key-range of a sharded computation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.", + "StateFamilyConfig": { + "description": "State family configuration.", "type": "object", "properties": { - "end": { - "description": "The end (exclusive) of the key range.", - "type": "string" - }, - "deprecatedPersistentDirectory": { - "description": "DEPRECATED. The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem.", - "type": "string" - }, - "deliveryEndpoint": { - "type": "string", - "description": "The physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery." - }, - "start": { - "description": "The start (inclusive) of the key range.", - "type": "string" + "isRead": { + "description": "If true, this family corresponds to a read operation.", + "type": "boolean" }, - "dataDisk": { - "description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", + "stateFamily": { + "description": "The state family value.", "type": "string" } }, - "id": "KeyRangeLocation" + "id": "StateFamilyConfig" }, - "SourceGetMetadataRequest": { - "description": "A request to compute the SourceMetadata of a Source.", + "ResourceUtilizationReportResponse": { + "description": "Service-side response to WorkerMessage reporting resource utilization.", "type": "object", - "properties": { - "source": { - "$ref": "Source", - "description": "Specification of the source whose metadata should be computed." - } - }, - "id": "SourceGetMetadataRequest" + "properties": {}, + "id": "ResourceUtilizationReportResponse" }, - "SeqMapTask": { - "description": "Describes a particular function to invoke.", + "SourceSplitResponse": { + "description": "The response to a SourceSplitRequest.", "type": "object", "properties": { - "userFn": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The user function to invoke.", - "type": "object" - }, - "name": { + "outcome": { + "description": "Indicates whether splitting happened and produced a list of bundles.\nIf this is USE_CURRENT_SOURCE_AS_IS, the current source should\nbe processed \"as is\" without splitting. \"bundles\" is ignored in this case.\nIf this is SPLITTING_HAPPENED, then \"bundles\" contains a list of\nbundles into which the source was split.", "type": "string", - "description": "The user-provided name of the SeqDo operation." + "enumDescriptions": [ + "The source split outcome is unknown, or unspecified.", + "The current source should be processed \"as is\" without splitting.", + "Splitting produced a list of bundles." + ], + "enum": [ + "SOURCE_SPLIT_OUTCOME_UNKNOWN", + "SOURCE_SPLIT_OUTCOME_USE_CURRENT", + "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" + ] }, - "outputInfos": { - "description": "Information about each of the outputs.", + "bundles": { + "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles\ninto which the source was split. Otherwise this field is ignored.\nThis list can be empty, which means the source represents an empty input.", "type": "array", "items": { - "$ref": "SeqMapTaskOutputInfo" + "$ref": "DerivedSource" } }, - "inputs": { - "description": "Information about each of the inputs.", + "shards": { + "description": "DEPRECATED in favor of bundles.", "type": "array", "items": { - "$ref": "SideInputInfo" + "$ref": "SourceSplitShard" } - }, - "systemName": { - "description": "System-defined name of the SeqDo operation.\nUnique across the workflow.", - "type": "string" - }, - "stageName": { - "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.", - "type": "string" } }, - "id": "SeqMapTask" + "id": "SourceSplitResponse" }, - "NameAndKind": { - "description": "Basic metadata about a counter.", + "ParallelInstruction": { + "description": "Describes a particular operation comprising a MapTask.", "type": "object", "properties": { - "name": { - "description": "Name of the counter.", + "originalName": { + "description": "System-defined name for the operation in the original workflow graph.", "type": "string" }, - "kind": { - "enumDescriptions": [ - "Counter aggregation kind was not set.", - "Aggregated value is the sum of all contributed values.", - "Aggregated value is the max of all contributed values.", - "Aggregated value is the min of all contributed values.", - "Aggregated value is the mean of all contributed values.", - "Aggregated value represents the logical 'or' of all contributed values.", - "Aggregated value represents the logical 'and' of all contributed values.", - "Aggregated value is a set of unique contributed values.", - "Aggregated value captures statistics about a distribution." - ], - "enum": [ - "INVALID", - "SUM", - "MAX", - "MIN", - "MEAN", - "OR", - "AND", - "SET", - "DISTRIBUTION" - ], - "description": "Counter aggregation kind.", + "flatten": { + "$ref": "FlattenInstruction", + "description": "Additional information for Flatten instructions." + }, + "systemName": { + "description": "System-defined name of this operation.\nUnique across the workflow.", + "type": "string" + }, + "write": { + "$ref": "WriteInstruction", + "description": "Additional information for Write instructions." + }, + "partialGroupByKey": { + "$ref": "PartialGroupByKeyInstruction", + "description": "Additional information for PartialGroupByKey instructions." + }, + "outputs": { + "description": "Describes the outputs of the instruction.", + "type": "array", + "items": { + "$ref": "InstructionOutput" + } + }, + "name": { + "description": "User-provided name of this operation.", "type": "string" + }, + "read": { + "$ref": "ReadInstruction", + "description": "Additional information for Read instructions." + }, + "parDo": { + "description": "Additional information for ParDo instructions.", + "$ref": "ParDoInstruction" } }, - "id": "NameAndKind" + "id": "ParallelInstruction" }, - "WorkerMessageCode": { - "description": "A message code is used to report status and error messages to the service.\nThe message codes are intended to be machine readable. The service will\ntake care of translating these into user understandable messages if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successful startup.\n 2. Worker processes reporting specific errors (e.g. package staging\n failure).", + "Package": { + "description": "The packages that must be installed in order for a worker to run the\nsteps of the Cloud Dataflow job that will be assigned to its worker\npool.\n\nThis is the mechanism by which the Cloud Dataflow SDK causes code to\nbe loaded onto the workers. For example, the Cloud Dataflow Java SDK\nmight use this to install jars containing the user's code and all of the\nvarious dependencies (libraries, data files, etc.) required in order\nfor that code to run.", "type": "object", "properties": { - "parameters": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Parameters contains specific information about the code.\n\nThis is a struct to allow parameters of different types.\n\nExamples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects being downloaded and fields containing errors.\n\nIn general complex data structures should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be used for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will be included on most messages.", - "type": "object" + "location": { + "description": "The resource to read the package from. The supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}\n bucket.storage.googleapis.com/", + "type": "string" }, - "code": { - "description": "The code is a string intended for consumption by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n started.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nThis is a string and not an enum to make it easy to add new codes without\nwaiting for an API change.", + "name": { + "description": "The name of the package.", "type": "string" } }, - "id": "WorkerMessageCode" + "id": "Package" }, - "CustomSourceLocation": { - "description": "Identifies the location of a custom souce.", + "KeyRangeDataDiskAssignment": { + "description": "Data disk assignment information for a specific key-range of a sharded\ncomputation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.", "type": "object", "properties": { - "stateful": { - "type": "boolean", - "description": "Whether this source is stateful." + "end": { + "description": "The end (exclusive) of the key range.", + "type": "string" + }, + "start": { + "description": "The start (inclusive) of the key range.", + "type": "string" + }, + "dataDisk": { + "description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", + "type": "string" } }, - "id": "CustomSourceLocation" + "id": "KeyRangeDataDiskAssignment" }, - "MapTask": { - "description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\nperform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must appear in the list before any instructions which\ndepends on its output.", + "ParDoInstruction": { + "description": "An instruction that does a ParDo operation.\nTakes one main input and zero or more side inputs, and produces\nzero or more outputs.\nRuns user code.", "type": "object", "properties": { - "systemName": { - "description": "System-defined name of this MapTask.\nUnique across the workflow.", - "type": "string" + "multiOutputInfos": { + "description": "Information about each of the outputs, if user_fn is a MultiDoFn.", + "type": "array", + "items": { + "$ref": "MultiOutputInfo" + } + }, + "userFn": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The user function to invoke.", + "type": "object" }, - "stageName": { - "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.", - "type": "string" + "input": { + "description": "The input.", + "$ref": "InstructionInput" }, - "instructions": { - "description": "The instructions in the MapTask.", + "numOutputs": { + "description": "The number of outputs.", + "format": "int32", + "type": "integer" + }, + "sideInputs": { + "description": "Zero or more side inputs.", "type": "array", "items": { - "$ref": "ParallelInstruction" + "$ref": "SideInputInfo" } } }, - "id": "MapTask" + "id": "ParDoInstruction" }, - "FloatingPointMean": { - "description": "A representation of a floating point mean metric contribution.", + "MetricUpdate": { + "description": "Describes the state of a metric.", "type": "object", "properties": { - "sum": { - "description": "The sum of all values being aggregated.", - "format": "double", - "type": "number" + "cumulative": { + "description": "True if this metric is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this metric is reported\nas a delta that is not associated with any WorkItem.", + "type": "boolean" }, - "count": { - "$ref": "SplitInt64", - "description": "The number of values being aggregated." - } - }, - "id": "FloatingPointMean" - }, - "ReportWorkItemStatusResponse": { - "description": "Response from a request to report the status of WorkItems.", - "type": "object", - "properties": { - "workItemServiceStates": { - "description": "A set of messages indicating the service-side state for each\nWorkItem whose status was reported, in the same order as the\nWorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in this response.", - "type": "array", - "items": { - "$ref": "WorkItemServiceState" - } + "internal": { + "description": "Worker-computed aggregate value for internal use by the Dataflow\nservice.", + "type": "any" + }, + "kind": { + "description": "Metric aggregation kind. The possible metric aggregation kinds are\n\"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", and \"Or\".\nThe specified aggregation kind is case-insensitive.\n\nIf omitted, this is not an aggregated value but instead\na single metric sample value.", + "type": "string" + }, + "scalar": { + "description": "Worker-computed aggregate value for aggregation kinds \"Sum\", \"Max\", \"Min\",\n\"And\", and \"Or\". The possible value types are Long, Double, and Boolean.", + "type": "any" + }, + "meanCount": { + "description": "Worker-computed aggregate value for the \"Mean\" aggregation kind.\nThis holds the count of the aggregated values and is used in combination\nwith mean_sum above to obtain the actual mean aggregate value.\nThe only possible value type is Long.", + "type": "any" + }, + "meanSum": { + "description": "Worker-computed aggregate value for the \"Mean\" aggregation kind.\nThis holds the sum of the aggregated values and is used in combination\nwith mean_count below to obtain the actual mean aggregate value.\nThe only possible value types are Long and Double.", + "type": "any" + }, + "updateTime": { + "description": "Timestamp associated with the metric value. Optional when workers are\nreporting work progress; it will be filled in responses from the\nmetrics API.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "$ref": "MetricStructuredName", + "description": "Name of the metric." + }, + "set": { + "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only\npossible value type is a list of Values whose type can be Long, Double,\nor String, according to the metric's type. All Values in the list must\nbe of the same type.", + "type": "any" } }, - "id": "ReportWorkItemStatusResponse" + "id": "MetricUpdate" }, - "InstructionOutput": { - "description": "An output of an instruction.", + "CounterStructuredName": { + "description": "Identifies a counter within a per-job namespace. Counters whose structured\nnames are the same get merged into a single value for the job.", "type": "object", "properties": { - "name": { - "description": "The user-provided name of this output.", + "workerId": { + "description": "ID of a particular worker.", "type": "string" }, - "originalName": { - "description": "System-defined name for this output in the original workflow graph.\nOutputs that do not contribute to an original instruction do not set this.", + "originNamespace": { + "description": "A string containing a more specific namespace of the counter's origin.", "type": "string" }, - "systemName": { - "type": "string", - "description": "System-defined name of this output.\nUnique across the workflow." + "executionStepName": { + "description": "Name of the stage. An execution step contains multiple component steps.", + "type": "string" }, - "onlyCountKeyBytes": { - "description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the key size.", - "type": "boolean" + "name": { + "description": "Counter name. Not necessarily globally-unique, but unique within the\ncontext of the other fields.\nRequired.", + "type": "string" }, - "onlyCountValueBytes": { - "description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the value size.", - "type": "boolean" + "origin": { + "enumDescriptions": [ + "Counter was created by the Dataflow system.", + "Counter was created by the user." + ], + "enum": [ + "SYSTEM", + "USER" + ], + "description": "One of the standard Origins defined above.", + "type": "string" }, - "codec": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The codec to use to encode data being written via this output.", - "type": "object" + "componentStepName": { + "description": "Name of the optimized step being executed by the workers.", + "type": "string" + }, + "portion": { + "description": "Portion of this counter, either key or value.", + "type": "string", + "enumDescriptions": [ + "Counter portion has not been set.", + "Counter reports a key.", + "Counter reports a value." + ], + "enum": [ + "ALL", + "KEY", + "VALUE" + ] + }, + "originalStepName": { + "description": "System generated name of the original step in the user's graph, before\noptimization.", + "type": "string" } }, - "id": "InstructionOutput" + "id": "CounterStructuredName" }, - "CreateJobFromTemplateRequest": { - "description": "A request to create a Cloud Dataflow job from a template.", + "ApproximateProgress": { + "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.", "type": "object", "properties": { - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "The runtime parameters to pass to the job.", - "type": "object" + "position": { + "description": "Obsolete.", + "$ref": "Position" }, - "jobName": { - "description": "Required. The job name to use for the created job.", - "type": "string" + "percentComplete": { + "description": "Obsolete.", + "format": "float", + "type": "number" }, - "gcsPath": { - "description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", + "remainingTime": { + "description": "Obsolete.", + "format": "google-duration", "type": "string" - }, - "environment": { - "$ref": "RuntimeEnvironment", - "description": "The runtime environment for the job." } }, - "id": "CreateJobFromTemplateRequest" + "id": "ApproximateProgress" }, - "IntegerMean": { + "WorkerMessageResponse": { + "description": "A worker_message response allows the server to pass information to the\nsender.", + "type": "object", "properties": { - "sum": { - "$ref": "SplitInt64", - "description": "The sum of all values being aggregated." + "workerMetricsResponse": { + "$ref": "ResourceUtilizationReportResponse", + "description": "Service's response to reporting worker metrics (currently empty)." }, - "count": { - "description": "The number of values being aggregated.", - "$ref": "SplitInt64" + "workerHealthReportResponse": { + "description": "The service's response to a worker's health report.", + "$ref": "WorkerHealthReportResponse" } }, - "id": "IntegerMean", - "description": "A representation of an integer mean metric contribution.", - "type": "object" + "id": "WorkerMessageResponse" }, - "ListJobsResponse": { + "TemplateMetadata": { + "description": "Metadata describing a template.", "type": "object", "properties": { - "nextPageToken": { - "description": "Set if there may be more results than fit in this response.", + "description": { + "description": "Optional. A description of the template.", "type": "string" }, - "failedLocation": { - "description": "Zero or more messages describing locations that failed to respond.", - "type": "array", - "items": { - "$ref": "FailedLocation" - } + "bypassTempDirValidation": { + "description": "If true, will bypass the validation that the temp directory is\nwritable. This should only be used with templates for pipelines\nthat are guaranteed not to need to write to the temp directory,\nwhich is subject to change based on the optimizer.", + "type": "boolean" }, - "jobs": { - "description": "A subset of the requested job information.", + "name": { + "description": "Required. The name of the template.", + "type": "string" + }, + "parameters": { + "description": "The parameters for the template.", "type": "array", "items": { - "$ref": "Job" + "$ref": "ParameterMetadata" } } }, - "id": "ListJobsResponse", - "description": "Response to a request to list Cloud Dataflow jobs. This may be a partial\nresponse, depending on the page size in the ListJobsRequest." + "id": "TemplateMetadata" }, - "ComputationTopology": { - "description": "All configuration data for a particular Computation.", + "WorkerMessage": { + "description": "WorkerMessage provides information to the backend about a worker.", "type": "object", "properties": { - "userStageName": { - "description": "The user stage name.", - "type": "string" - }, - "stateFamilies": { - "description": "The state family values.", - "type": "array", - "items": { - "$ref": "StateFamilyConfig" - } - }, - "outputs": { - "description": "The outputs from the computation.", - "type": "array", - "items": { - "$ref": "StreamLocation" + "labels": { + "description": "Labels are used to group WorkerMessages.\nFor example, a worker_message about a particular container\nmight have the labels:\n{ \"JOB_ID\": \"2015-04-22\",\n \"WORKER_ID\": \"wordcount-vm-2015…\"\n \"CONTAINER_TYPE\": \"worker\",\n \"CONTAINER_ID\": \"ac1234def\"}\nLabel tags typically correspond to Label enum values. However, for ease\nof development other strings can be used as tags. LABEL_UNSPECIFIED should\nnot be used here.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "systemStageName": { - "description": "The system stage name.", + "time": { + "description": "The timestamp of the worker_message.", + "format": "google-datetime", "type": "string" }, - "computationId": { - "description": "The ID of the computation.", + "workerHealthReport": { + "$ref": "WorkerHealthReport", + "description": "The health of a worker." + }, + "workerMessageCode": { + "$ref": "WorkerMessageCode", + "description": "A worker message code." + }, + "workerMetrics": { + "description": "Resource metrics reported by workers.", + "$ref": "ResourceUtilizationReport" + } + }, + "id": "WorkerMessage" + }, + "JobMetrics": { + "description": "JobMetrics contains a collection of metrics descibing the detailed progress\nof a Dataflow job. Metrics correspond to user-defined and system-defined\nmetrics in the job.\n\nThis resource captures only the most recent values of each metric;\ntime-series data can be queried for them (under the same metric names)\nfrom Cloud Monitoring.", + "type": "object", + "properties": { + "metricTime": { + "description": "Timestamp as of which metric values are current.", + "format": "google-datetime", "type": "string" }, - "inputs": { - "description": "The inputs to the computation.", + "metrics": { + "description": "All metrics for this job.", "type": "array", "items": { - "$ref": "StreamLocation" + "$ref": "MetricUpdate" } - }, - "keyRanges": { - "description": "The key ranges processed by the computation.", + } + }, + "id": "JobMetrics" + }, + "FloatingPointList": { + "description": "A metric value representing a list of floating point numbers.", + "type": "object", + "properties": { + "elements": { + "description": "Elements of the list.", "type": "array", "items": { - "$ref": "KeyRangeLocation" + "format": "double", + "type": "number" } } }, - "id": "ComputationTopology" + "id": "FloatingPointList" }, - "RuntimeEnvironment": { - "description": "The environment values to set at runtime.", + "CounterUpdate": { + "description": "An update to a Counter sent from a worker.", "type": "object", "properties": { - "maxWorkers": { - "description": "The maximum number of Google Compute Engine instances to be made\navailable to your pipeline during execution, from 1 to 1000.", - "format": "int32", - "type": "integer" + "floatingPointList": { + "$ref": "FloatingPointList", + "description": "List of floating point numbers, for Set." }, - "zone": { - "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)\nfor launching worker instances to run your pipeline.", - "type": "string" + "integer": { + "description": "Integer value for Sum, Max, Min.", + "$ref": "SplitInt64" }, - "serviceAccountEmail": { - "description": "The email address of the service account to run the job as.", - "type": "string" + "integerList": { + "$ref": "IntegerList", + "description": "List of integers, for Set." }, - "tempLocation": { - "description": "The Cloud Storage path to use for temporary files.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", - "type": "string" + "structuredNameAndMetadata": { + "description": "Counter structured name and metadata.", + "$ref": "CounterStructuredNameAndMetadata" }, - "bypassTempDirValidation": { - "description": "Whether to bypass the safety checks for the job's temporary directory.\nUse with caution.", + "floatingPoint": { + "description": "Floating point value for Sum, Max, Min.", + "format": "double", + "type": "number" + }, + "integerMean": { + "description": "Integer mean aggregation value for Mean.", + "$ref": "IntegerMean" + }, + "cumulative": { + "description": "True if this counter is reported as the total cumulative aggregate\nvalue accumulated since the worker started working on this WorkItem.\nBy default this is false, indicating that this counter is reported\nas a delta.", + "type": "boolean" + }, + "internal": { + "description": "Value for internally-defined counters used by the Dataflow service.", + "type": "any" + }, + "floatingPointMean": { + "description": "Floating point mean aggregation value for Mean.", + "$ref": "FloatingPointMean" + }, + "boolean": { + "description": "Boolean value for And, Or.", "type": "boolean" + }, + "nameAndKind": { + "$ref": "NameAndKind", + "description": "Counter name and aggregation type." + }, + "distribution": { + "$ref": "DistributionUpdate", + "description": "Distribution data" + }, + "stringList": { + "description": "List of strings, for Set.", + "$ref": "StringList" + }, + "shortId": { + "description": "The service-generated short identifier for this counter.\nThe short_id -\u003e (name, metadata) mapping is constant for the lifetime of\na job.", + "format": "int64", + "type": "string" } }, - "id": "RuntimeEnvironment" + "id": "CounterUpdate" }, - "StreamingSideInputLocation": { + "SourceMetadata": { + "description": "Metadata about a Source useful for automatically optimizing\nand tuning the pipeline, etc.", + "type": "object", "properties": { - "stateFamily": { - "description": "Identifies the state family where this side input is stored.", - "type": "string" + "producesSortedKeys": { + "description": "Whether this source is known to produce key/value pairs with\nthe (encoded) keys in lexicographically sorted order.", + "type": "boolean" }, - "tag": { - "description": "Identifies the particular side input within the streaming Dataflow job.", + "infinite": { + "description": "Specifies that the size of this source is known to be infinite\n(this is a streaming source).", + "type": "boolean" + }, + "estimatedSizeBytes": { + "description": "An estimate of the total size (in bytes) of the data that would be\nread from this source. This estimate is in terms of external storage\nsize, before any decompression or other processing done by the reader.", + "format": "int64", "type": "string" } }, - "id": "StreamingSideInputLocation", - "description": "Identifies the location of a streaming side input.", - "type": "object" + "id": "SourceMetadata" }, - "MountedDataDisk": { + "DistributionUpdate": { + "description": "A metric value representing a distribution.", + "type": "object", "properties": { - "dataDisk": { - "description": "The name of the data disk.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", - "type": "string" + "min": { + "description": "The minimum value present in the distribution.", + "$ref": "SplitInt64" + }, + "sumOfSquares": { + "description": "Use a double since the sum of squares is likely to overflow int64.", + "format": "double", + "type": "number" + }, + "max": { + "$ref": "SplitInt64", + "description": "The maximum value present in the distribution." + }, + "sum": { + "description": "Use an int64 since we'd prefer the added precision. If overflow is a common\nproblem we can detect it and use an additional int64 or a double.", + "$ref": "SplitInt64" + }, + "count": { + "description": "The count of the number of elements present in the distribution.", + "$ref": "SplitInt64" } }, - "id": "MountedDataDisk", - "description": "Describes mounted data disk.", - "type": "object" + "id": "DistributionUpdate" }, - "LaunchTemplateResponse": { + "WorkerHealthReportResponse": { + "description": "WorkerHealthReportResponse contains information returned to the worker\nin response to a health ping.", + "type": "object", "properties": { - "job": { - "$ref": "Job", - "description": "The job that was launched, if the request was not a dry run and\nthe job was successfully launched." + "reportInterval": { + "description": "A positive value indicates the worker should change its reporting interval\nto the specified value.\n\nThe default value of zero means no change in report rate is requested by\nthe server.", + "format": "google-duration", + "type": "string" } }, - "id": "LaunchTemplateResponse", - "description": "Response to the request to launch a template.", - "type": "object" + "id": "WorkerHealthReportResponse" }, - "DynamicSourceSplit": { - "description": "When a task splits using WorkItemStatus.dynamic_source_split, this\nmessage describes the two parts of the split relative to the\ndescription of the current task's input.", + "SourceFork": { + "description": "DEPRECATED in favor of DynamicSourceSplit.", "type": "object", "properties": { - "residual": { - "description": "Residual part (returned to the pool of work).\nSpecified relative to the previously-current source.", - "$ref": "DerivedSource" + "residualSource": { + "$ref": "DerivedSource", + "description": "DEPRECATED" }, "primary": { + "$ref": "SourceSplitShard", + "description": "DEPRECATED" + }, + "primarySource": { "$ref": "DerivedSource", - "description": "Primary part (continued to be processed by worker).\nSpecified relative to the previously-current source.\nBecomes current." + "description": "DEPRECATED" + }, + "residual": { + "$ref": "SourceSplitShard", + "description": "DEPRECATED" } }, - "id": "DynamicSourceSplit" + "id": "SourceFork" }, - "Job": { - "description": "Defines a job to be run by the Cloud Dataflow service.", + "WorkItemStatus": { + "description": "Conveys a worker's progress through the work described by a WorkItem.", "type": "object", "properties": { - "projectId": { - "description": "The ID of the Cloud Platform project that the job belongs to.", + "requestedLeaseDuration": { + "description": "Amount of time the worker requests for its lease.", + "format": "google-duration", "type": "string" }, - "type": { - "enumDescriptions": [ - "The type of the job is unspecified, or unknown.", - "A batch job with a well-defined end point: data is read, data is\nprocessed, data is written, and the job is done.", - "A continuously streaming job with no end: data is read,\nprocessed, and written continuously." - ], - "enum": [ - "JOB_TYPE_UNKNOWN", - "JOB_TYPE_BATCH", - "JOB_TYPE_STREAMING" - ], - "description": "The type of Cloud Dataflow job.", + "reportIndex": { + "description": "The report index. When a WorkItem is leased, the lease will\ncontain an initial report index. When a WorkItem's status is\nreported to the system, the report should be sent with\nthat report index, and the response will contain the index the\nworker should use for the next report. Reports received with\nunexpected index values will be rejected by the service.\n\nIn order to preserve idempotency, the worker should not alter the\ncontents of a report, even if the worker must submit the same\nreport multiple times before getting back a response. The worker\nshould not submit a subsequent report until the response for the\nprevious report had been received from the service.", + "format": "int64", "type": "string" }, - "pipelineDescription": { - "description": "Preliminary field: The format of this data may change at any time.\nA description of the user pipeline and stages through which it is executed.\nCreated by Cloud Dataflow service. Only retrieved with\nJOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.", - "$ref": "PipelineDescription" - }, - "replaceJobId": { - "type": "string", - "description": "If this job is an update of an existing job, this field is the job ID\nof the job it replaced.\n\nWhen sending a `CreateJobRequest`, you can update a job by specifying it\nhere. The job named here is stopped, and its intermediate state is\ntransferred to this job." - }, - "requestedState": { - "description": "The job's requested state.\n\n`UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and\n`JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may\nalso be used to directly set a job's requested state to\n`JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the\njob if it has not already reached a terminal state.", - "type": "string", - "enumDescriptions": [ - "The job's run state isn't specified.", - "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.", - "`JOB_STATE_RUNNING` indicates that the job is currently running.", - "`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.", - "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.", - "`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.", - "`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.", - "`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", - "`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`." - ], - "enum": [ - "JOB_STATE_UNKNOWN", - "JOB_STATE_STOPPED", - "JOB_STATE_RUNNING", - "JOB_STATE_DONE", - "JOB_STATE_FAILED", - "JOB_STATE_CANCELLED", - "JOB_STATE_UPDATED", - "JOB_STATE_DRAINING", - "JOB_STATE_DRAINED" - ] - }, - "tempFiles": { - "description": "A set of files the system should be aware of that are used\nfor temporary storage. These temporary files will be\nremoved on job completion.\nNo duplicates are allowed.\nNo file patterns are supported.\n\nThe supported files are:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}", - "type": "array", - "items": { - "type": "string" - } + "stopPosition": { + "$ref": "Position", + "description": "A worker may split an active map task in two parts, \"primary\" and\n\"residual\", continuing to process the primary part and returning the\nresidual part into the pool of available work.\nThis event is called a \"dynamic split\" and is critical to the dynamic\nwork rebalancing feature. The two obtained sub-tasks are called\n\"parts\" of the split.\nThe parts, if concatenated, must represent the same input as would\nbe read by the current task if the split did not happen.\nThe exact way in which the original task is decomposed into the two\nparts is specified either as a position demarcating them\n(stop_position), or explicitly as two DerivedSources, if this\ntask consumes a user-defined source type (dynamic_source_split).\n\nThe \"current\" task is adjusted as a result of the split: after a task\nwith range [A, B) sends a stop_position update at C, its range is\nconsidered to be [A, C), e.g.:\n* Progress should be interpreted relative to the new range, e.g.\n \"75% completed\" means \"75% of [A, C) completed\"\n* The worker should interpret proposed_stop_position relative to the\n new range, e.g. \"split at 68%\" should be interpreted as\n \"split at 68% of [A, C)\".\n* If the worker chooses to split again using stop_position, only\n stop_positions in [A, C) will be accepted.\n* Etc.\ndynamic_source_split has similar semantics: e.g., if a task with\nsource S splits using dynamic_source_split into {P, R}\n(where P and R must be together equivalent to S), then subsequent\nprogress and proposed_stop_position should be interpreted relative\nto P, and in a potential subsequent dynamic_source_split into {P', R'},\nP' and R' must be together equivalent to P, etc." }, - "clientRequestId": { - "description": "The client's unique identifier of the job, re-used across retried attempts.\nIf this field is set, the service will ensure its uniqueness.\nThe request to create a job will fail if the service has knowledge of a\npreviously submitted job with the same client's ID and job name.\nThe caller may use this field to ensure idempotence of job\ncreation across retried attempts to create a job.\nBy default, the field is empty and, in that case, the service ignores it.", - "type": "string" + "completed": { + "description": "True if the WorkItem was completed (successfully or unsuccessfully).", + "type": "boolean" }, - "name": { - "description": "The user-specified Cloud Dataflow job name.\n\nOnly one Job with a given name may exist in a project at any\ngiven time. If a caller attempts to create a Job with the same\nname as an already-existing Job, the attempt returns the\nexisting Job.\n\nThe name must match the regular expression\n`[a-z]([-a-z0-9]{0,38}[a-z0-9])?`", - "type": "string" + "reportedProgress": { + "$ref": "ApproximateReportedProgress", + "description": "The worker's progress through this WorkItem." }, - "replacedByJobId": { - "description": "If another job is an update of this job (and thus, this job is in\n`JOB_STATE_UPDATED`), this field contains the ID of that job.", - "type": "string" + "sourceFork": { + "description": "DEPRECATED in favor of dynamic_source_split.", + "$ref": "SourceFork" }, - "steps": { - "description": "The top-level steps that constitute the entire job.", + "counterUpdates": { + "description": "Worker output counters for this WorkItem.", "type": "array", "items": { - "$ref": "Step" + "$ref": "CounterUpdate" } }, - "id": { - "description": "The unique ID of this job.\n\nThis field is set by the Cloud Dataflow service when the Job is\ncreated, and is immutable for the life of the job.", - "type": "string" - }, - "executionInfo": { - "description": "Deprecated.", - "$ref": "JobExecutionInfo" - }, - "currentState": { - "description": "The current state of the job.\n\nJobs are created in the `JOB_STATE_STOPPED` state unless otherwise\nspecified.\n\nA job in the `JOB_STATE_RUNNING` state may asynchronously enter a\nterminal state. After a job has reached a terminal state, no\nfurther state updates may be made.\n\nThis field may be mutated by the Cloud Dataflow service;\ncallers cannot mutate it.", - "type": "string", - "enumDescriptions": [ - "The job's run state isn't specified.", - "`JOB_STATE_STOPPED` indicates that the job has not\nyet started to run.", - "`JOB_STATE_RUNNING` indicates that the job is currently running.", - "`JOB_STATE_DONE` indicates that the job has successfully completed.\nThis is a terminal job state. This state may be set by the Cloud Dataflow\nservice, as a transition from `JOB_STATE_RUNNING`. It may also be set via a\nCloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal\nstate.", - "`JOB_STATE_FAILED` indicates that the job has failed. This is a\nterminal job state. This state may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_RUNNING`.", - "`JOB_STATE_CANCELLED` indicates that the job has been explicitly\ncancelled. This is a terminal job state. This state may only be\nset via a Cloud Dataflow `UpdateJob` call, and only if the job has not\nyet reached another terminal state.", - "`JOB_STATE_UPDATED` indicates that the job was successfully updated,\nmeaning that this job was stopped and another job was started, inheriting\nstate from this one. This is a terminal job state. This state may only be\nset by the Cloud Dataflow service, and only as a transition from\n`JOB_STATE_RUNNING`.", - "`JOB_STATE_DRAINING` indicates that the job is in the process of draining.\nA draining job has stopped pulling from its input sources and is processing\nany data that remains in-flight. This state may be set via a Cloud Dataflow\n`UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs\nthat are draining may only transition to `JOB_STATE_DRAINED`,\n`JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.", - "`JOB_STATE_DRAINED` indicates that the job has been drained.\nA drained job terminated by stopping pulling from its input sources and\nprocessing any data that remained in-flight when draining was requested.\nThis state is a terminal state, may only be set by the Cloud Dataflow\nservice, and only as a transition from `JOB_STATE_DRAINING`." - ], - "enum": [ - "JOB_STATE_UNKNOWN", - "JOB_STATE_STOPPED", - "JOB_STATE_RUNNING", - "JOB_STATE_DONE", - "JOB_STATE_FAILED", - "JOB_STATE_CANCELLED", - "JOB_STATE_UPDATED", - "JOB_STATE_DRAINING", - "JOB_STATE_DRAINED" - ] - }, - "location": { - "description": "The location that contains this job.", + "workItemId": { + "description": "Identifies the WorkItem.", "type": "string" }, - "currentStateTime": { - "description": "The timestamp associated with the current state.", - "format": "google-datetime", - "type": "string" + "errors": { + "description": "Specifies errors which occurred during processing. If errors are\nprovided, and completed = true, then the WorkItem is considered\nto have failed.", + "type": "array", + "items": { + "$ref": "Status" + } }, - "transformNameMapping": { - "additionalProperties": { - "type": "string" - }, - "description": "The map of transform name prefixes of the job to be replaced to the\ncorresponding name prefixes of the new job.", - "type": "object" + "metricUpdates": { + "description": "DEPRECATED in favor of counter_updates.", + "type": "array", + "items": { + "$ref": "MetricUpdate" + } }, - "environment": { - "$ref": "Environment", - "description": "The environment for the job." + "dynamicSourceSplit": { + "description": "See documentation of stop_position.", + "$ref": "DynamicSourceSplit" }, - "createTime": { - "description": "The timestamp when the job was initially created. Immutable and set by the\nCloud Dataflow service.", - "format": "google-datetime", - "type": "string" + "sourceOperationResponse": { + "description": "If the work item represented a SourceOperationRequest, and the work\nis completed, contains the result of the operation.", + "$ref": "SourceOperationResponse" }, - "labels": { - "description": "User-defined labels for this job.\n\nThe labels map can contain no more than 64 entries. Entries of the labels\nmap are UTF8 strings that comply with the following restrictions:\n\n* Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62}\n* Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}\n* Both keys and values are additionally constrained to be \u003c= 128 bytes in\nsize.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "progress": { + "description": "DEPRECATED in favor of reported_progress.", + "$ref": "ApproximateProgress" } }, - "id": "Job" + "id": "WorkItemStatus" }, - "DerivedSource": { - "description": "Specification of one of the bundles produced as a result of splitting\na Source (e.g. when executing a SourceSplitRequest, or when\nsplitting an active task using WorkItemStatus.dynamic_source_split),\nrelative to the source being split.", + "ComponentSource": { + "description": "Description of an interstitial value between transforms in an execution\nstage.", "type": "object", "properties": { - "derivationMode": { - "type": "string", - "enumDescriptions": [ - "The source derivation is unknown, or unspecified.", - "Produce a completely independent Source with no base.", - "Produce a Source based on the Source being split.", - "Produce a Source based on the base of the Source being split." - ], - "enum": [ - "SOURCE_DERIVATION_MODE_UNKNOWN", - "SOURCE_DERIVATION_MODE_INDEPENDENT", - "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", - "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" - ], - "description": "What source to base the produced source on (if any)." + "userName": { + "description": "Human-readable name for this transform; may be user or system generated.", + "type": "string" }, - "source": { - "$ref": "Source", - "description": "Specification of the source." - } - }, - "id": "DerivedSource" - }, - "SourceOperationResponse": { - "description": "The result of a SourceOperationRequest, specified in\nReportWorkItemStatusRequest.source_operation when the work item\nis completed.", - "type": "object", - "properties": { - "getMetadata": { - "description": "A response to a request to get metadata about a source.", - "$ref": "SourceGetMetadataResponse" + "originalTransformOrCollection": { + "description": "User name for the original user transform or collection with which this\nsource is most closely associated.", + "type": "string" }, - "split": { - "$ref": "SourceSplitResponse", - "description": "A response to a request to split a source." + "name": { + "description": "Dataflow service generated name for this source.", + "type": "string" } }, - "id": "SourceOperationResponse" - }, - "SendDebugCaptureResponse": { - "properties": {}, - "id": "SendDebugCaptureResponse", - "description": "Response to a send capture request.\nnothing", - "type": "object" + "id": "ComponentSource" }, - "SideInputInfo": { - "description": "Information about a side input of a DoFn or an input of a SeqDoFn.", + "WorkItemServiceState": { + "description": "The Dataflow service's idea of the current state of a WorkItem\nbeing processed by a worker.", "type": "object", "properties": { - "sources": { - "description": "The source(s) to read element(s) from to get the value of this side input.\nIf more than one source, then the elements are taken from the\nsources, in the specified order if order matters.\nAt least one source is required.", - "type": "array", - "items": { - "$ref": "Source" - } + "splitRequest": { + "description": "The progress point in the WorkItem where the Dataflow service\nsuggests that the worker truncate the task.", + "$ref": "ApproximateSplitRequest" }, - "kind": { + "suggestedStopPosition": { + "$ref": "Position", + "description": "Obsolete, always empty." + }, + "reportStatusInterval": { + "description": "New recommended reporting interval.", + "format": "google-duration", + "type": "string" + }, + "harnessData": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "How to interpret the source element(s) as a side input value.", + "description": "Other data returned by the service, specific to the particular\nworker harness.", "type": "object" }, - "tag": { - "description": "The id of the tag the user code will access this side input by;\nthis should correspond to the tag of some MultiOutputInfo.", + "leaseExpireTime": { + "description": "Time at which the current lease will expire.", + "format": "google-datetime", + "type": "string" + }, + "metricShortId": { + "description": "The short ids that workers should use in subsequent metric updates.\nWorkers should strive to use short ids whenever possible, but it is ok\nto request the short_id again if a worker lost track of it\n(e.g. if the worker is recovering from a crash).\nNOTE: it is possible that the response may have short ids for a subset\nof the metrics.", + "type": "array", + "items": { + "$ref": "MetricShortId" + } + }, + "nextReportIndex": { + "description": "The index value to use for the next report sent by the worker.\nNote: If the report call fails for whatever reason, the worker should\nreuse this index for subsequent report attempts.", + "format": "int64", "type": "string" + }, + "suggestedStopPoint": { + "description": "DEPRECATED in favor of split_request.", + "$ref": "ApproximateProgress" } }, - "id": "SideInputInfo" + "id": "WorkItemServiceState" }, - "ConcatPosition": { - "description": "A position that encapsulates an inner position and an index for the inner\nposition. A ConcatPosition can be used by a reader of a source that\nencapsulates a set of other sources.", + "MetricStructuredName": { + "description": "Identifies a metric, by describing the source which generated the\nmetric.", "type": "object", "properties": { - "position": { - "$ref": "Position", - "description": "Position within the inner source." + "origin": { + "description": "Origin (namespace) of metric name. May be blank for user-define metrics;\nwill be \"dataflow\" for metrics defined by the Dataflow service or SDK.", + "type": "string" }, - "index": { - "description": "Index of the inner source.", - "format": "int32", - "type": "integer" + "name": { + "description": "Worker-defined metric name.", + "type": "string" + }, + "context": { + "additionalProperties": { + "type": "string" + }, + "description": "Zero or more labeled fields which identify the part of the job this\nmetric is associated with, such as the name of a step or collection.\n\nFor example, built-in counters associated with steps will have\ncontext['step'] = \u003cstep-name\u003e. Counters associated with PCollections\nin the SDK will have context['pcollection'] = \u003cpcollection-name\u003e.", + "type": "object" } }, - "id": "ConcatPosition" + "id": "MetricStructuredName" }, - "CounterStructuredNameAndMetadata": { + "SeqMapTaskOutputInfo": { + "description": "Information about an output of a SeqMapTask.", "type": "object", "properties": { - "name": { - "$ref": "CounterStructuredName", - "description": "Structured name of the counter." + "tag": { + "description": "The id of the TupleTag the user code will tag the output value by.", + "type": "string" }, - "metadata": { - "description": "Metadata associated with a counter", - "$ref": "CounterMetadata" + "sink": { + "description": "The sink to write the output value to.", + "$ref": "Sink" } }, - "id": "CounterStructuredNameAndMetadata", - "description": "A single message which encapsulates structured name and metadata for a given\ncounter." + "id": "SeqMapTaskOutputInfo" }, - "WriteInstruction": { + "JobExecutionStageInfo": { + "description": "Contains information about how a particular\ngoogle.dataflow.v1beta3.Step will be executed.", "type": "object", "properties": { - "input": { - "description": "The input.", - "$ref": "InstructionInput" - }, - "sink": { - "description": "The sink to write to.", - "$ref": "Sink" + "stepName": { + "description": "The steps associated with the execution stage.\nNote that stages may have several steps, and that a given step\nmight be run by more than one stage.", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "WriteInstruction", - "description": "An instruction that writes records.\nTakes one input, produces no outputs." + "id": "JobExecutionStageInfo" }, - "StreamingComputationRanges": { - "description": "Describes full or partial data disk assignment information of the computation\nranges.", + "KeyRangeLocation": { + "description": "Location information for a specific key-range of a sharded computation.\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.", "type": "object", "properties": { - "computationId": { - "description": "The ID of the computation.", + "end": { + "description": "The end (exclusive) of the key range.", "type": "string" }, - "rangeAssignments": { - "type": "array", - "items": { - "$ref": "KeyRangeDataDiskAssignment" - }, - "description": "Data disk assignments for ranges from this computation." + "deprecatedPersistentDirectory": { + "description": "DEPRECATED. The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem.", + "type": "string" + }, + "deliveryEndpoint": { + "description": "The physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery.", + "type": "string" + }, + "start": { + "description": "The start (inclusive) of the key range.", + "type": "string" + }, + "dataDisk": { + "description": "The name of the data disk where data for this range is stored.\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".", + "type": "string" } }, - "id": "StreamingComputationRanges" + "id": "KeyRangeLocation" }, - "AutoscalingSettings": { + "SourceGetMetadataRequest": { + "description": "A request to compute the SourceMetadata of a Source.", + "type": "object", "properties": { - "algorithm": { - "type": "string", - "enumDescriptions": [ - "The algorithm is unknown, or unspecified.", - "Disable autoscaling.", - "Increase worker count over time to reduce job execution time." - ], - "enum": [ - "AUTOSCALING_ALGORITHM_UNKNOWN", - "AUTOSCALING_ALGORITHM_NONE", - "AUTOSCALING_ALGORITHM_BASIC" - ], - "description": "The algorithm to use for autoscaling." - }, - "maxNumWorkers": { - "description": "The maximum number of workers to cap scaling at.", - "format": "int32", - "type": "integer" + "source": { + "$ref": "Source", + "description": "Specification of the source whose metadata should be computed." } }, - "id": "AutoscalingSettings", - "description": "Settings for WorkerPool autoscaling.", - "type": "object" + "id": "SourceGetMetadataRequest" }, - "ExecutionStageSummary": { - "id": "ExecutionStageSummary", - "description": "Description of the composing transforms, names/ids, and input/outputs of a\nstage of execution. Some composing transforms and sources may have been\ngenerated by the Dataflow service during execution planning.", + "SeqMapTask": { + "description": "Describes a particular function to invoke.", "type": "object", "properties": { "name": { - "description": "Dataflow service generated name for this stage.", + "description": "The user-provided name of the SeqDo operation.", "type": "string" }, - "inputSource": { - "description": "Input sources for this stage.", + "outputInfos": { + "description": "Information about each of the outputs.", "type": "array", "items": { - "$ref": "StageSource" + "$ref": "SeqMapTaskOutputInfo" } }, - "id": { - "description": "Dataflow service generated id for this stage.", - "type": "string" - }, - "componentTransform": { - "description": "Transforms that comprise this execution stage.", + "inputs": { + "description": "Information about each of the inputs.", "type": "array", "items": { - "$ref": "ComponentTransform" + "$ref": "SideInputInfo" } }, - "componentSource": { - "description": "Collections produced and consumed by component transforms of this stage.", - "type": "array", - "items": { - "$ref": "ComponentSource" - } + "systemName": { + "description": "System-defined name of the SeqDo operation.\nUnique across the workflow.", + "type": "string" }, - "kind": { - "enumDescriptions": [ - "Unrecognized transform type.", - "ParDo transform.", - "Group By Key transform.", - "Flatten transform.", - "Read transform.", - "Write transform.", - "Constructs from a constant value, such as with Create.of.", - "Creates a Singleton view of a collection.", - "Opening or closing a shuffle session, often as part of a GroupByKey." - ], - "enum": [ - "UNKNOWN_KIND", - "PAR_DO_KIND", - "GROUP_BY_KEY_KIND", - "FLATTEN_KIND", - "READ_KIND", - "WRITE_KIND", - "CONSTANT_KIND", - "SINGLETON_KIND", - "SHUFFLE_KIND" - ], - "description": "Type of tranform this stage is executing.", + "stageName": { + "description": "System-defined name of the stage containing the SeqDo operation.\nUnique across the workflow.", "type": "string" }, - "outputSource": { - "description": "Output sources for this stage.", - "type": "array", - "items": { - "$ref": "StageSource" - } - } - } - }, - "SendWorkerMessagesRequest": { - "description": "A request for sending worker messages to the service.", - "type": "object", - "properties": { - "workerMessages": { - "description": "The WorkerMessages to send.", - "type": "array", - "items": { - "$ref": "WorkerMessage" + "userFn": { + "description": "The user function to invoke.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" } } }, - "id": "SendWorkerMessagesRequest" + "id": "SeqMapTask" }, - "SourceSplitShard": { - "id": "SourceSplitShard", - "description": "DEPRECATED in favor of DerivedSource.", + "NameAndKind": { + "description": "Basic metadata about a counter.", "type": "object", "properties": { - "source": { - "$ref": "Source", - "description": "DEPRECATED" + "name": { + "description": "Name of the counter.", + "type": "string" }, - "derivationMode": { + "kind": { + "description": "Counter aggregation kind.", + "type": "string", "enumDescriptions": [ - "The source derivation is unknown, or unspecified.", - "Produce a completely independent Source with no base.", - "Produce a Source based on the Source being split.", - "Produce a Source based on the base of the Source being split." + "Counter aggregation kind was not set.", + "Aggregated value is the sum of all contributed values.", + "Aggregated value is the max of all contributed values.", + "Aggregated value is the min of all contributed values.", + "Aggregated value is the mean of all contributed values.", + "Aggregated value represents the logical 'or' of all contributed values.", + "Aggregated value represents the logical 'and' of all contributed values.", + "Aggregated value is a set of unique contributed values.", + "Aggregated value captures statistics about a distribution." ], "enum": [ - "SOURCE_DERIVATION_MODE_UNKNOWN", - "SOURCE_DERIVATION_MODE_INDEPENDENT", - "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT", - "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" - ], - "description": "DEPRECATED", - "type": "string" + "INVALID", + "SUM", + "MAX", + "MIN", + "MEAN", + "OR", + "AND", + "SET", + "DISTRIBUTION" + ] } - } + }, + "id": "NameAndKind" }, - "CPUTime": { - "description": "Modeled after information exposed by /proc/stat.", + "WorkerMessageCode": { + "description": "A message code is used to report status and error messages to the service.\nThe message codes are intended to be machine readable. The service will\ntake care of translating these into user understandable messages if\nnecessary.\n\nExample use cases:\n 1. Worker processes reporting successful startup.\n 2. Worker processes reporting specific errors (e.g. package staging\n failure).", "type": "object", "properties": { - "timestamp": { - "description": "Timestamp of the measurement.", - "format": "google-datetime", - "type": "string" + "parameters": { + "description": "Parameters contains specific information about the code.\n\nThis is a struct to allow parameters of different types.\n\nExamples:\n 1. For a \"HARNESS_STARTED\" message parameters might provide the name\n of the worker and additional data like timing information.\n 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing\n the GCS objects being downloaded and fields containing errors.\n\nIn general complex data structures should be avoided. If a worker\nneeds to send a specific and complicated data structure then please\nconsider defining a new proto and adding it to the data oneof in\nWorkerMessageResponse.\n\nConventions:\n Parameters should only be used for information that isn't typically passed\n as a label.\n hostname and other worker identifiers should almost always be passed\n as labels since they will be included on most messages.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + } }, - "totalMs": { - "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds\nsince start-up.", - "format": "uint64", + "code": { + "description": "The code is a string intended for consumption by a machine that identifies\nthe type of message being sent.\nExamples:\n 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has\n started.\n 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading\n a GCS file as part of the boot process of one of the worker containers.\n\nThis is a string and not an enum to make it easy to add new codes without\nwaiting for an API change.", "type": "string" - }, - "rate": { - "description": "Average CPU utilization rate (% non-idle cpu / second) since previous\nsample.", - "format": "double", - "type": "number" } }, - "id": "CPUTime" + "id": "WorkerMessageCode" }, - "Environment": { + "CustomSourceLocation": { + "description": "Identifies the location of a custom souce.", "type": "object", "properties": { - "clusterManagerApiService": { - "description": "The type of cluster manager API to use. If unknown or\nunspecified, the service will attempt to choose a reasonable\ndefault. This should be in the form of the API service name,\ne.g. \"compute.googleapis.com\".", + "stateful": { + "description": "Whether this source is stateful.", + "type": "boolean" + } + }, + "id": "CustomSourceLocation" + }, + "MapTask": { + "description": "MapTask consists of an ordered set of instructions, each of which\ndescribes one particular low-level operation for the worker to\nperform in order to accomplish the MapTask's WorkItem.\n\nEach instruction must appear in the list before any instructions which\ndepends on its output.", + "type": "object", + "properties": { + "systemName": { + "description": "System-defined name of this MapTask.\nUnique across the workflow.", "type": "string" }, - "tempStoragePrefix": { - "type": "string", - "description": "The prefix of the resources the system should use for temporary\nstorage. The system will append the suffix \"/temp-{JOBNAME} to\nthis resource prefix, where {JOBNAME} is the value of the\njob_name field. The resulting bucket and object prefix is used\nas the prefix of the resources used to store temporary data\nneeded during the job execution. NOTE: This will override the\nvalue in taskrunner_settings.\nThe supported resource type is:\n\nGoogle Cloud Storage:\n\n storage.googleapis.com/{bucket}/{object}\n bucket.storage.googleapis.com/{object}" - }, - "workerPools": { - "description": "The worker pools. At least one \"harness\" worker pool must be\nspecified in order for the job to have workers.", - "type": "array", - "items": { - "$ref": "WorkerPool" - } - }, - "dataset": { - "description": "The dataset for the current project where various workflow\nrelated tables are stored.\n\nThe supported resource type is:\n\nGoogle BigQuery:\n bigquery.googleapis.com/{dataset}", + "stageName": { + "description": "System-defined name of the stage containing this MapTask.\nUnique across the workflow.", "type": "string" }, - "experiments": { - "description": "The list of experiments to enable.", + "instructions": { + "description": "The instructions in the MapTask.", "type": "array", "items": { - "type": "string" - } - }, - "version": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "A structure describing which components and their versions of the service\nare required in order to run the job.", - "type": "object" - }, - "internalExperiments": { - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Experimental settings." - }, - "serviceAccountEmail": { - "description": "Identity to run virtual machines as. Defaults to the default account.", - "type": "string" - }, - "sdkPipelineOptions": { - "type": "object", - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The Cloud Dataflow SDK pipeline options specified by the user. These\noptions are passed through the service and are used to recreate the\nSDK pipeline options on the worker in a language agnostic and platform\nindependent way." - }, - "userAgent": { - "type": "object", - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "A description of the process that generated the request." + "$ref": "ParallelInstruction" + } } }, - "id": "Environment", - "description": "Describes the environment in which a Dataflow Job runs." + "id": "MapTask" }, - "StreamingComputationTask": { + "FloatingPointMean": { + "description": "A representation of a floating point mean metric contribution.", "type": "object", "properties": { - "dataDisks": { - "description": "Describes the set of data disks this task should apply to.", - "type": "array", - "items": { - "$ref": "MountedDataDisk" - } - }, - "taskType": { - "description": "A type of streaming computation task.", - "type": "string", - "enumDescriptions": [ - "The streaming computation task is unknown, or unspecified.", - "Stop processing specified streaming computation range(s).", - "Start processing specified streaming computation range(s)." - ], - "enum": [ - "STREAMING_COMPUTATION_TASK_UNKNOWN", - "STREAMING_COMPUTATION_TASK_STOP", - "STREAMING_COMPUTATION_TASK_START" - ] + "count": { + "$ref": "SplitInt64", + "description": "The number of values being aggregated." }, - "computationRanges": { - "description": "Contains ranges of a streaming computation this task should apply to.", + "sum": { + "description": "The sum of all values being aggregated.", + "format": "double", + "type": "number" + } + }, + "id": "FloatingPointMean" + }, + "ReportWorkItemStatusResponse": { + "description": "Response from a request to report the status of WorkItems.", + "type": "object", + "properties": { + "workItemServiceStates": { + "description": "A set of messages indicating the service-side state for each\nWorkItem whose status was reported, in the same order as the\nWorkItemStatus messages in the ReportWorkItemStatusRequest which\nresulting in this response.", "type": "array", "items": { - "$ref": "StreamingComputationRanges" + "$ref": "WorkItemServiceState" } } }, - "id": "StreamingComputationTask", - "description": "A task which describes what action should be performed for the specified\nstreaming computation ranges." + "id": "ReportWorkItemStatusResponse" }, - "SendDebugCaptureRequest": { - "id": "SendDebugCaptureRequest", - "description": "Request to send encoded debug information.", + "InstructionOutput": { + "description": "An output of an instruction.", "type": "object", "properties": { - "componentId": { - "description": "The internal component id for which debug information is sent.", + "originalName": { + "description": "System-defined name for this output in the original workflow graph.\nOutputs that do not contribute to an original instruction do not set this.", "type": "string" }, - "workerId": { - "description": "The worker id, i.e., VM hostname.", + "systemName": { + "description": "System-defined name of this output.\nUnique across the workflow.", "type": "string" }, - "data": { - "description": "The encoded debug information.", - "type": "string" - } - } - }, - "GetDebugConfigResponse": { - "properties": { - "config": { - "description": "The encoded debug configuration for the requested component.", + "onlyCountKeyBytes": { + "description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the key size.", + "type": "boolean" + }, + "onlyCountValueBytes": { + "description": "For system-generated byte and mean byte metrics, certain instructions\nshould only report the value size.", + "type": "boolean" + }, + "codec": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The codec to use to encode data being written via this output.", + "type": "object" + }, + "name": { + "description": "The user-provided name of this output.", "type": "string" } }, - "id": "GetDebugConfigResponse", - "description": "Response to a get debug configuration request.", - "type": "object" + "id": "InstructionOutput" }, - "ComponentTransform": { - "description": "Description of a transform executed as part of an execution stage.", + "CreateJobFromTemplateRequest": { + "description": "A request to create a Cloud Dataflow job from a template.", "type": "object", "properties": { - "name": { - "description": "Dataflow service generated name for this source.", - "type": "string" + "environment": { + "$ref": "RuntimeEnvironment", + "description": "The runtime environment for the job." }, - "userName": { - "description": "Human-readable name for this transform; may be user or system generated.", + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "The runtime parameters to pass to the job.", + "type": "object" + }, + "jobName": { + "description": "Required. The job name to use for the created job.", "type": "string" }, - "originalTransform": { - "type": "string", - "description": "User name for the original user transform with which this transform is\nmost closely associated." + "gcsPath": { + "description": "Required. A Cloud Storage path to the template from which to\ncreate the job.\nMust be a valid Cloud Storage URL, beginning with `gs://`.", + "type": "string" } }, - "id": "ComponentTransform" + "id": "CreateJobFromTemplateRequest" }, - "StreamingSetupTask": { - "description": "A task which initializes part of a streaming Dataflow job.", + "IntegerMean": { + "description": "A representation of an integer mean metric contribution.", "type": "object", "properties": { - "receiveWorkPort": { - "description": "The TCP port on which the worker should listen for messages from\nother streaming computation workers.", - "format": "int32", - "type": "integer" - }, - "streamingComputationTopology": { - "description": "The global topology of the streaming Dataflow job.", - "$ref": "TopologyConfig" - }, - "workerHarnessPort": { - "description": "The TCP port used by the worker to communicate with the Dataflow\nworker harness.", - "format": "int32", - "type": "integer" + "count": { + "$ref": "SplitInt64", + "description": "The number of values being aggregated." }, - "drain": { - "description": "The user has requested drain.", - "type": "boolean" + "sum": { + "description": "The sum of all values being aggregated.", + "$ref": "SplitInt64" } }, - "id": "StreamingSetupTask" + "id": "IntegerMean" }, - "PubsubLocation": { - "description": "Identifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.", + "ListJobsResponse": { + "description": "Response to a request to list Cloud Dataflow jobs. This may be a partial\nresponse, depending on the page size in the ListJobsRequest.", "type": "object", "properties": { - "subscription": { - "description": "A pubsub subscription, in the form of\n\"pubsub.googleapis.com/subscriptions/\u003cproject-id\u003e/\u003csubscription-name\u003e\"", - "type": "string" - }, - "dropLateData": { - "type": "boolean", - "description": "Indicates whether the pipeline allows late-arriving data." - }, - "trackingSubscription": { - "description": "If set, specifies the pubsub subscription that will be used for tracking\ncustom time timestamps for watermark estimation.", - "type": "string" - }, - "withAttributes": { - "description": "If true, then the client has requested to get pubsub attributes.", - "type": "boolean" - }, - "idLabel": { - "description": "If set, contains a pubsub label from which to extract record ids.\nIf left empty, record deduplication will be strictly best effort.", - "type": "string" + "jobs": { + "description": "A subset of the requested job information.", + "type": "array", + "items": { + "$ref": "Job" + } }, - "timestampLabel": { - "description": "If set, contains a pubsub label from which to extract record timestamps.\nIf left empty, record timestamps will be generated upon arrival.", + "nextPageToken": { + "description": "Set if there may be more results than fit in this response.", "type": "string" }, - "topic": { - "description": "A pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/\u003cproject-id\u003e/\u003ctopic-name\u003e\"", - "type": "string" + "failedLocation": { + "description": "Zero or more messages describing locations that failed to respond.", + "type": "array", + "items": { + "$ref": "FailedLocation" + } } }, - "id": "PubsubLocation" + "id": "ListJobsResponse" }, - "WorkerHealthReport": { - "description": "WorkerHealthReport contains information about the health of a worker.\n\nThe VM should be identified by the labels attached to the WorkerMessage that\nthis health ping belongs to.", + "ComputationTopology": { + "description": "All configuration data for a particular Computation.", "type": "object", "properties": { - "pods": { - "description": "The pods running on the worker. See:\nhttp://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod\n\nThis field is used by the worker to send the status of the indvidual\ncontainers running on each worker.", + "systemStageName": { + "description": "The system stage name.", + "type": "string" + }, + "computationId": { + "description": "The ID of the computation.", + "type": "string" + }, + "inputs": { + "description": "The inputs to the computation.", "type": "array", "items": { - "type": "object", - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - } + "$ref": "StreamLocation" } }, - "vmStartupTime": { - "description": "The time the VM was booted.", - "format": "google-datetime", + "keyRanges": { + "description": "The key ranges processed by the computation.", + "type": "array", + "items": { + "$ref": "KeyRangeLocation" + } + }, + "userStageName": { + "description": "The user stage name.", "type": "string" }, - "vmIsHealthy": { - "description": "Whether the VM is healthy.", - "type": "boolean" + "outputs": { + "description": "The outputs from the computation.", + "type": "array", + "items": { + "$ref": "StreamLocation" + } }, - "reportInterval": { - "description": "The interval at which the worker is sending health reports.\nThe default value of 0 should be interpreted as the field is not being\nexplicitly set by the worker.", - "format": "google-duration", - "type": "string" + "stateFamilies": { + "description": "The state family values.", + "type": "array", + "items": { + "$ref": "StateFamilyConfig" + } } }, - "id": "WorkerHealthReport" + "id": "ComputationTopology" } }, + "protocol": "rest", "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, - "protocol": "rest", "version": "v1b3", - "baseUrl": "https://dataflow.googleapis.com/" + "baseUrl": "https://dataflow.googleapis.com/", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/userinfo.email": { + "description": "View your email address" + } + } + } + }, + "kind": "discovery#restDescription", + "description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.", + "servicePath": "", + "rootUrl": "https://dataflow.googleapis.com/" } diff --git a/DiscoveryJson/dataproc_v1.json b/DiscoveryJson/dataproc_v1.json index 0e6317d4ba..ad3f878f80 100644 --- a/DiscoveryJson/dataproc_v1.json +++ b/DiscoveryJson/dataproc_v1.json @@ -1,142 +1,37 @@ { + "version": "v1", + "baseUrl": "https://dataproc.googleapis.com/", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "servicePath": "", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "kind": "discovery#restDescription", + "rootUrl": "https://dataproc.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "dataproc", + "batchPath": "batch", + "revision": "20170321", + "documentationLink": "https://cloud.google.com/dataproc/", + "id": "dataproc:v1", "title": "Google Cloud Dataproc API", - "discoveryVersion": "v1", "ownerName": "Google", + "discoveryVersion": "v1", "resources": { "projects": { "resources": { "regions": { "resources": { - "operations": { - "methods": { - "cancel": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource to be cancelled." - } - }, - "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:cancel", - "path": "v1/{+name}:cancel", - "id": "dataproc.projects.regions.operations.cancel", - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED." - }, - "delete": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource to be deleted.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", - "path": "v1/{+name}", - "id": "dataproc.projects.regions.operations.delete", - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED." - }, - "list": { - "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations", - "path": "v1/{+name}", - "id": "dataproc.projects.regions.operations.list", - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations.", - "response": { - "$ref": "ListOperationsResponse" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "filter": { - "description": "The standard list filter.", - "type": "string", - "location": "query" - }, - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/regions/[^/]+/operations$", - "location": "path", - "description": "The name of the operation collection." - }, - "pageToken": { - "description": "The standard list page token.", - "type": "string", - "location": "query" - } - } - }, - "get": { - "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", - "id": "dataproc.projects.regions.operations.get", - "path": "v1/{+name}", - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "httpMethod": "GET", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "jobs": { "methods": { "submit": { - "flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submit", - "id": "dataproc.projects.regions.jobs.submit", - "path": "v1/projects/{projectId}/regions/{region}/jobs:submit", - "request": { - "$ref": "SubmitJobRequest" - }, - "description": "Submits a job to a cluster.", "httpMethod": "POST", "parameterOrder": [ "projectId", @@ -147,36 +42,39 @@ }, "parameters": { "projectId": { + "location": "path", "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "region": { + "location": "path", "description": "Required The Cloud Dataproc region in which to handle the request.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ] + ], + "flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submit", + "id": "dataproc.projects.regions.jobs.submit", + "path": "v1/projects/{projectId}/regions/{region}/jobs:submit", + "request": { + "$ref": "SubmitJobRequest" + }, + "description": "Submits a job to a cluster." }, "delete": { - "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.", - "response": { - "$ref": "Empty" - }, "parameterOrder": [ "projectId", "region", "jobId" ], + "response": { + "$ref": "Empty" + }, "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { "projectId": { "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", @@ -185,10 +83,10 @@ "location": "path" }, "jobId": { + "location": "path", "description": "Required The job ID.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "region": { "description": "Required The Cloud Dataproc region in which to handle the request.", @@ -197,11 +95,16 @@ "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", + "id": "dataproc.projects.regions.jobs.delete", "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "id": "dataproc.projects.regions.jobs.delete" + "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION." }, "list": { + "httpMethod": "GET", "response": { "$ref": "ListJobsResponse" }, @@ -209,7 +112,6 @@ "projectId", "region" ], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], @@ -226,26 +128,26 @@ "type": "integer" }, "region": { + "description": "Required The Cloud Dataproc region in which to handle the request.", "required": true, "type": "string", - "location": "path", - "description": "Required The Cloud Dataproc region in which to handle the request." + "location": "path" }, "clusterName": { - "location": "query", "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster.", - "type": "string" + "type": "string", + "location": "query" }, "projectId": { - "location": "path", "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "filter": { + "location": "query", "description": "Optional A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or INACTIVE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *", - "type": "string", - "location": "query" + "type": "string" }, "jobStateMatcher": { "location": "query", @@ -259,17 +161,52 @@ } }, "flatPath": "v1/projects/{projectId}/regions/{region}/jobs", - "path": "v1/projects/{projectId}/regions/{region}/jobs", "id": "dataproc.projects.regions.jobs.list", + "path": "v1/projects/{projectId}/regions/{region}/jobs", "description": "Lists regions/{region}/jobs in a project." }, "cancel": { + "response": { + "$ref": "Job" + }, + "parameterOrder": [ + "projectId", + "region", + "jobId" + ], + "httpMethod": "POST", + "parameters": { + "region": { + "description": "Required The Cloud Dataproc region in which to handle the request.", + "required": true, + "type": "string", + "location": "path" + }, + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string" + }, + "jobId": { + "location": "path", + "description": "Required The job ID.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", "id": "dataproc.projects.regions.jobs.cancel", - "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.", "request": { "$ref": "CancelJobRequest" }, + "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get." + }, + "patch": { "response": { "$ref": "Job" }, @@ -278,7 +215,7 @@ "region", "jobId" ], - "httpMethod": "POST", + "httpMethod": "PATCH", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], @@ -290,22 +227,34 @@ "location": "path" }, "jobId": { - "location": "path", "description": "Required The job ID.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "region": { + "location": "path", + "description": "Required The Cloud Dataproc region in which to handle the request.", "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required Specifies the path, relative to \u003ccode\u003eJob\u003c/code\u003e, of the field to update. For example, to update the labels of a Job the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003elabels\u003c/code\u003e, and the PATCH request body would specify the new value. \u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003elabels\u003c/code\u003e is the only field that can be updated.", + "format": "google-fieldmask", "type": "string", - "location": "path", - "description": "Required The Cloud Dataproc region in which to handle the request." + "location": "query" } }, - "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel" + "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", + "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", + "id": "dataproc.projects.regions.jobs.patch", + "description": "Updates a job in a project.", + "request": { + "$ref": "Job" + } }, "get": { - "description": "Gets the resource representation for a job in a project.", + "httpMethod": "GET", "response": { "$ref": "Job" }, @@ -314,69 +263,21 @@ "region", "jobId" ], - "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "region": { - "location": "path", "description": "Required The Cloud Dataproc region in which to handle the request.", "required": true, - "type": "string" - }, - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string" - }, - "jobId": { - "description": "Required The job ID.", - "required": true, "type": "string", "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "id": "dataproc.projects.regions.jobs.get" - }, - "patch": { - "description": "Updates a job in a project.", - "request": { - "$ref": "Job" - }, - "httpMethod": "PATCH", - "parameterOrder": [ - "projectId", - "region", - "jobId" - ], - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "region": { - "required": true, - "type": "string", - "location": "path", - "description": "Required The Cloud Dataproc region in which to handle the request." - }, - "updateMask": { - "location": "query", - "description": "Required Specifies the path, relative to \u003ccode\u003eJob\u003c/code\u003e, of the field to update. For example, to update the labels of a Job the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003elabels\u003c/code\u003e, and the PATCH request body would specify the new value. \u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003elabels\u003c/code\u003e is the only field that can be updated.", - "format": "google-fieldmask", - "type": "string" }, "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, "type": "string", - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to." + "location": "path" }, "jobId": { "location": "path", @@ -386,70 +287,39 @@ } }, "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "id": "dataproc.projects.regions.jobs.patch", - "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}" + "id": "dataproc.projects.regions.jobs.get", + "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", + "description": "Gets the resource representation for a job in a project." } } }, "clusters": { "methods": { - "get": { - "description": "Gets the resource representation for a cluster in a project.", - "httpMethod": "GET", - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "response": { - "$ref": "Cluster" + "diagnose": { + "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose", + "id": "dataproc.projects.regions.clusters.diagnose", + "request": { + "$ref": "DiagnoseClusterRequest" }, - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string" - }, - "region": { - "required": true, - "type": "string", - "location": "path", - "description": "Required The Cloud Dataproc region in which to handle the request." - }, - "clusterName": { - "description": "Required The cluster name.", - "required": true, - "type": "string", - "location": "path" - } + "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.", + "response": { + "$ref": "Operation" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "id": "dataproc.projects.regions.clusters.get", - "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}" - }, - "patch": { - "httpMethod": "PATCH", "parameterOrder": [ "projectId", "region", "clusterName" ], - "response": { - "$ref": "Operation" - }, + "httpMethod": "POST", "parameters": { "clusterName": { + "location": "path", "description": "Required The cluster name.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "projectId": { - "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.", + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", "required": true, "type": "string", "location": "path" @@ -459,39 +329,27 @@ "required": true, "type": "string", "location": "path" - }, - "updateMask": { - "location": "query", - "description": "Required Specifies the path, relative to \u003ccode\u003eCluster\u003c/code\u003e, of the field to update. For example, to change the number of workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003econfig.worker_config.num_instances\u003c/code\u003e, and the PATCH request body would specify the new value, as follows:\n{\n \"config\":{\n \"workerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n\u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003econfig.worker_config.num_instances\u003c/code\u003e and \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e are the only fields that can be updated.", - "format": "google-fieldmask", - "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "id": "dataproc.projects.regions.clusters.patch", - "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "request": { - "$ref": "Cluster" - }, - "description": "Updates a cluster in a project." + "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose" }, - "diagnose": { - "request": { - "$ref": "DiagnoseClusterRequest" + "delete": { + "description": "Deletes a cluster in a project.", + "response": { + "$ref": "Operation" }, - "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.", - "httpMethod": "POST", + "httpMethod": "DELETE", "parameterOrder": [ "projectId", "region", "clusterName" ], - "response": { - "$ref": "Operation" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "region": { "description": "Required The Cloud Dataproc region in which to handle the request.", @@ -512,77 +370,23 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose", - "id": "dataproc.projects.regions.clusters.diagnose", - "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose" - }, - "delete": { - "description": "Deletes a cluster in a project.", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string" - }, - "region": { - "location": "path", - "description": "Required The Cloud Dataproc region in which to handle the request.", - "required": true, - "type": "string" - }, - "clusterName": { - "location": "path", - "description": "Required The cluster name.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "id": "dataproc.projects.regions.clusters.delete", - "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}" + "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "id": "dataproc.projects.regions.clusters.delete" }, "list": { - "flatPath": "v1/projects/{projectId}/regions/{region}/clusters", "id": "dataproc.projects.regions.clusters.list", "path": "v1/projects/{projectId}/regions/{region}/clusters", "description": "Lists all regions/{region}/clusters in a project.", "httpMethod": "GET", + "response": { + "$ref": "ListClustersResponse" + }, "parameterOrder": [ "projectId", "region" ], - "response": { - "$ref": "ListClustersResponse" - }, "parameters": { - "pageSize": { - "description": "Optional The standard List page size.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string" - }, "region": { "location": "path", "description": "Required The Cloud Dataproc region in which to handle the request.", @@ -598,11 +402,24 @@ "location": "query", "description": "Optional The standard List page token.", "type": "string" + }, + "pageSize": { + "description": "Optional The standard List page size.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ] + ], + "flatPath": "v1/projects/{projectId}/regions/{region}/clusters" }, "create": { "response": { @@ -617,17 +434,17 @@ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "region": { + "description": "Required The Cloud Dataproc region in which to handle the request.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, - "region": { + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", "required": true, "type": "string", - "location": "path", - "description": "Required The Cloud Dataproc region in which to handle the request." + "location": "path" } }, "flatPath": "v1/projects/{projectId}/regions/{region}/clusters", @@ -637,55 +454,286 @@ "request": { "$ref": "Cluster" } - } - } - } - } - } - } - } - }, - "parameters": { - "upload_protocol": { - "type": "string", - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], + }, + "get": { + "description": "Gets the resource representation for a cluster in a project.", + "httpMethod": "GET", + "response": { + "$ref": "Cluster" + }, + "parameterOrder": [ + "projectId", + "region", + "clusterName" + ], + "parameters": { + "clusterName": { + "description": "Required The cluster name.", + "required": true, + "type": "string", + "location": "path" + }, + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string", + "location": "path" + }, + "region": { + "location": "path", + "description": "Required The Cloud Dataproc region in which to handle the request.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "id": "dataproc.projects.regions.clusters.get", + "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}" + }, + "patch": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "projectId", + "region", + "clusterName" + ], + "httpMethod": "PATCH", + "parameters": { + "clusterName": { + "location": "path", + "description": "Required The cluster name.", + "required": true, + "type": "string" + }, + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.", + "required": true, + "type": "string" + }, + "region": { + "location": "path", + "description": "Required The Cloud Dataproc region in which to handle the request.", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required Specifies the path, relative to \u003ccode\u003eCluster\u003c/code\u003e, of the field to update. For example, to change the number of workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003econfig.worker_config.num_instances\u003c/code\u003e, and the PATCH request body would specify the new value, as follows:\n{\n \"config\":{\n \"workerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n\u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003econfig.worker_config.num_instances\u003c/code\u003e and \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e are the only fields that can be updated.", + "format": "google-fieldmask", + "type": "string", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "id": "dataproc.projects.regions.clusters.patch", + "request": { + "$ref": "Cluster" + }, + "description": "Updates a cluster in a project." + } + } + }, + "operations": { + "methods": { + "cancel": { + "httpMethod": "POST", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", + "location": "path", + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:cancel", + "id": "dataproc.projects.regions.operations.cancel", + "path": "v1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED." + }, + "delete": { + "id": "dataproc.projects.regions.operations.delete", + "path": "v1/{+name}", + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", + "httpMethod": "DELETE", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}" + }, + "list": { + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "ListOperationsResponse" + }, + "parameters": { + "filter": { + "location": "query", + "description": "The standard list filter.", + "type": "string" + }, + "name": { + "description": "The name of the operation collection.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/regions/[^/]+/operations$", + "location": "path" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "type": "integer", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations", + "id": "dataproc.projects.regions.operations.list", + "path": "v1/{+name}", + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations." + }, + "get": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "description": "The name of the operation resource.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", + "path": "v1/{+name}", + "id": "dataproc.projects.regions.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service." + } + } + } + } + } + } + } + }, + "parameters": { + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "fields": { "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "$.xgafv": { "enum": [ "1", "2" - ] + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" }, "callback": { - "location": "query", "description": "JSONP", - "type": "string" + "type": "string", + "location": "query" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -694,1114 +742,1094 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + "default": "json" }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" }, "key": { - "location": "query", "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.", - "type": "string" - }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { "type": "string", - "location": "query", - "description": "OAuth 2.0 token for the current user." - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "location": "query" } }, - "schemas": { - "JobStatus": { - "description": "Cloud Dataproc job status.", - "type": "object", - "properties": { - "state": { - "enumDescriptions": [ - "The job state is unknown.", - "The job is pending; it has been submitted, but is not yet running.", - "Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.", - "The job is running on the cluster.", - "A CancelJob request has been received, but is pending.", - "Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.", - "The job cancellation was successful.", - "The job has completed successfully.", - "The job has completed, but encountered an error.", - "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only." - ], - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "SETUP_DONE", - "RUNNING", - "CANCEL_PENDING", - "CANCEL_STARTED", - "CANCELLED", - "DONE", - "ERROR", - "ATTEMPT_FAILURE" - ], - "description": "Output-only A state message specifying the overall job state.", - "type": "string" - }, - "details": { - "type": "string", - "description": "Output-only Optional job state details, such as an error description if the state is \u003ccode\u003eERROR\u003c/code\u003e." - }, - "stateStartTime": { - "description": "Output-only The time when this state was entered.", - "format": "google-datetime", - "type": "string" - }, - "substate": { - "description": "Output-only Additional state information, which includes status reported by the agent.", - "type": "string", - "enumDescriptions": [ - "", - "The Job is submitted to the agent.Applies to RUNNING state.", - "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.", - "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state." - ], - "enum": [ - "UNSPECIFIED", - "SUBMITTED", - "QUEUED", - "STALE_STATUS" - ] - } - }, - "id": "JobStatus" - }, - "ManagedGroupConfig": { - "type": "object", - "properties": { - "instanceTemplateName": { - "description": "Output-only The name of the Instance Template used for the Managed Instance Group.", - "type": "string" - }, - "instanceGroupManagerName": { - "description": "Output-only The name of the Instance Group Manager for this group.", - "type": "string" - } - }, - "id": "ManagedGroupConfig", - "description": "Specifies the resources used to actively manage an instance group." - }, - "ClusterOperationStatus": { - "description": "The status of the operation.", - "type": "object", - "properties": { - "stateStartTime": { - "description": "Output-only The time this state was entered.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "Output-only A message containing the operation state.", - "type": "string", - "enumDescriptions": [ - "Unused.", - "The operation has been created.", - "The operation is running.", - "The operation is done; either cancelled or completed." - ], - "enum": [ - "UNKNOWN", - "PENDING", - "RUNNING", - "DONE" - ] - }, - "details": { - "description": "Output-onlyA message containing any operation metadata details.", - "type": "string" - }, - "innerState": { - "description": "Output-only A message containing the detailed operation state.", - "type": "string" - } - }, - "id": "ClusterOperationStatus" - }, - "HadoopJob": { - "description": "A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).", - "type": "object", - "properties": { - "mainClass": { - "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.", - "type": "string" - }, - "archiveUris": { - "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", - "type": "array", - "items": { - "type": "string" - } - }, - "mainJarFileUri": { - "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'", - "type": "string" - }, - "jarFileUris": { - "description": "Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.", - "type": "array", - "items": { - "type": "string" - } - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional The runtime log config for job execution." - }, - "properties": { + "schemas": { + "ClusterMetrics": { + "properties": { + "yarnMetrics": { "additionalProperties": { + "format": "int64", "type": "string" }, - "description": "Optional A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.", + "description": "The YARN metrics.", "type": "object" }, - "args": { - "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", - "type": "array", - "items": { - "type": "string" - } - }, - "fileUris": { - "description": "Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.", - "type": "array", - "items": { + "hdfsMetrics": { + "additionalProperties": { + "format": "int64", "type": "string" - } + }, + "description": "The HDFS metrics.", + "type": "object" } }, - "id": "HadoopJob" + "id": "ClusterMetrics", + "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", + "type": "object" }, - "QueryList": { - "description": "A list of queries to run on a cluster.", - "type": "object", + "AcceleratorConfig": { "properties": { - "queries": { - "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": {\n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n", - "type": "array", - "items": { - "type": "string" - } + "acceleratorCount": { + "description": "The number of the accelerator cards of this type exposed to this instance.", + "format": "int32", + "type": "integer" + }, + "acceleratorTypeUri": { + "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)", + "type": "string" } }, - "id": "QueryList" + "id": "AcceleratorConfig", + "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).", + "type": "object" }, - "YarnApplication": { - "description": "A YARN application created by a job. Application information is a subset of \u003ccode\u003eorg.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto\u003c/code\u003e.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", - "type": "object", + "LoggingConfig": { "properties": { - "trackingUrl": { - "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", - "type": "string" - }, - "progress": { - "description": "Required The numerical progress of the application, from 1 to 100.", - "format": "float", - "type": "number" - }, - "state": { - "description": "Required The application state.", - "type": "string", - "enumDescriptions": [ - "Status is unspecified.", - "Status is NEW.", - "Status is NEW_SAVING.", - "Status is SUBMITTED.", - "Status is ACCEPTED.", - "Status is RUNNING.", - "Status is FINISHED.", - "Status is FAILED.", - "Status is KILLED." - ], - "enum": [ - "STATE_UNSPECIFIED", - "NEW", - "NEW_SAVING", - "SUBMITTED", - "ACCEPTED", - "RUNNING", - "FINISHED", - "FAILED", - "KILLED" - ] - }, - "name": { - "description": "Required The application name.", - "type": "string" + "driverLogLevels": { + "additionalProperties": { + "enum": [ + "LEVEL_UNSPECIFIED", + "ALL", + "TRACE", + "DEBUG", + "INFO", + "WARN", + "ERROR", + "FATAL", + "OFF" + ], + "type": "string" + }, + "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'", + "type": "object" } }, - "id": "YarnApplication" - }, - "DiagnoseClusterRequest": { - "description": "A request to collect cluster diagnostic information.", - "type": "object", - "properties": {}, - "id": "DiagnoseClusterRequest" + "id": "LoggingConfig", + "description": "The runtime logging config of the job.", + "type": "object" }, - "DiskConfig": { - "description": "Specifies the config of disk options for a group of VM instances.", + "DiagnoseClusterOutputLocation": { + "description": "The location where output from diagnostic command can be found.", "type": "object", "properties": { - "numLocalSsds": { - "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.", - "format": "int32", - "type": "integer" - }, - "bootDiskSizeGb": { - "type": "integer", - "description": "Optional Size in GB of the boot disk (default is 500GB).", - "format": "int32" + "outputUri": { + "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.", + "type": "string" } }, - "id": "DiskConfig" + "id": "DiagnoseClusterOutputLocation" }, - "ClusterOperationMetadata": { - "description": "Metadata describing the operation.", + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", "type": "object", "properties": { - "labels": { - "type": "object", + "done": { + "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", + "type": "boolean" + }, + "response": { "additionalProperties": { - "type": "string" + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" }, - "description": "Output-only Labels associated with the operation" - }, - "status": { - "$ref": "ClusterOperationStatus", - "description": "Output-only Current operation status." + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", + "type": "object" }, - "statusHistory": { - "description": "Output-only The previous operation status.", - "type": "array", - "items": { - "$ref": "ClusterOperationStatus" - } + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.", + "type": "string" }, - "clusterUuid": { - "type": "string", - "description": "Output-only Cluster UUID for the operation." + "error": { + "description": "The error result of the operation in case of failure or cancellation.", + "$ref": "Status" }, - "clusterName": { - "description": "Output-only Name of the cluster for the operation.", + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + } + }, + "id": "Operation" + }, + "OperationStatus": { + "properties": { + "state": { + "enumDescriptions": [ + "Unused.", + "The operation has been created.", + "The operation is running.", + "The operation is done; either cancelled or completed." + ], + "enum": [ + "UNKNOWN", + "PENDING", + "RUNNING", + "DONE" + ], + "description": "A message containing the operation state.", "type": "string" }, - "operationType": { - "description": "Output-only The operation type.", + "details": { + "description": "A message containing any operation metadata details.", "type": "string" }, - "description": { - "description": "Output-only Short description of operation.", + "innerState": { + "description": "A message containing the detailed operation state.", "type": "string" }, - "warnings": { - "description": "Output-only Errors encountered during operation execution.", - "type": "array", - "items": { - "type": "string" - } + "stateStartTime": { + "description": "The time this state was entered.", + "format": "google-datetime", + "type": "string" } }, - "id": "ClusterOperationMetadata" - }, - "Empty": { - "type": "object", - "properties": {}, - "id": "Empty", - "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}." + "id": "OperationStatus", + "description": "The status of the operation.", + "type": "object" }, - "HiveJob": { - "description": "A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.", + "JobReference": { + "description": "Encapsulates the full scoping used to reference a job.", "type": "object", "properties": { - "continueOnFailure": { - "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", - "type": "boolean" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains Hive queries.", + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "type": "string" }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - }, - "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.", - "type": "array", - "items": { - "type": "string" - } - }, - "scriptVariables": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).", - "type": "object" - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", - "type": "object" + "jobId": { + "description": "Optional The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.", + "type": "string" } }, - "id": "HiveJob" + "id": "JobReference" }, - "DiagnoseClusterResults": { - "description": "The location of diagnostic output.", - "type": "object", + "SubmitJobRequest": { "properties": { - "outputUri": { - "description": "Output-only The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.", - "type": "string" + "job": { + "description": "Required The job resource.", + "$ref": "Job" } }, - "id": "DiagnoseClusterResults" + "id": "SubmitJobRequest", + "description": "A request to submit a job.", + "type": "object" }, - "ClusterConfig": { - "description": "The cluster config.", - "type": "object", + "Status": { "properties": { - "softwareConfig": { - "description": "Optional The config settings for software inside the cluster.", - "$ref": "SoftwareConfig" - }, - "masterConfig": { - "description": "Optional The Google Compute Engine config settings for the master instance in a cluster.", - "$ref": "InstanceGroupConfig" - }, - "secondaryWorkerConfig": { - "$ref": "InstanceGroupConfig", - "description": "Optional The Google Compute Engine config settings for additional worker instances in a cluster." - }, - "initializationActions": { + "details": { + "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", "type": "array", "items": { - "$ref": "NodeInitializationAction" - }, - "description": "Optional Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's \u003ccode\u003erole\u003c/code\u003e metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget):\nROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n" - }, - "configBucket": { - "description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.", - "type": "string" + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } }, - "workerConfig": { - "description": "Optional The Google Compute Engine config settings for worker instances in a cluster.", - "$ref": "InstanceGroupConfig" + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" }, - "gceClusterConfig": { - "$ref": "GceClusterConfig", - "description": "Required The shared Google Compute Engine config settings for all instances in a cluster." + "message": { + "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.", + "type": "string" } }, - "id": "ClusterConfig" + "id": "Status", + "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:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe 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 mappingThe 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 usesThe 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:\nPartial 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.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch 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.\nAsynchronous 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.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.", + "type": "object" }, - "PySparkJob": { - "description": "A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.", - "type": "object", + "JobScheduling": { "properties": { - "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", - "type": "array", - "items": { - "type": "string" - } + "maxFailuresPerHour": { + "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.", + "format": "int32", + "type": "integer" + } + }, + "id": "JobScheduling", + "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.", + "type": "object" + }, + "InstanceGroupConfig": { + "properties": { + "numInstances": { + "description": "Required The number of VM instances in the instance group. For master instance groups, must be set to 1.", + "format": "int32", + "type": "integer" }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional The runtime log config for job execution." + "diskConfig": { + "description": "Optional Disk option config settings.", + "$ref": "DiskConfig" }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", - "type": "object" + "machineTypeUri": { + "description": "Required The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.", + "type": "string" }, - "args": { - "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", - "type": "array", - "items": { - "type": "string" - } + "managedGroupConfig": { + "$ref": "ManagedGroupConfig", + "description": "Output-only The config for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups." }, - "fileUris": { - "description": "Optional HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.", - "type": "array", - "items": { - "type": "string" - } + "isPreemptible": { + "description": "Optional Specifies that this instance group contains preemptible instances.", + "type": "boolean" }, - "pythonFileUris": { - "description": "Optional HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.", + "imageUri": { + "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version.", + "type": "string" + }, + "instanceNames": { + "description": "Optional The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).", "type": "array", "items": { "type": "string" } }, - "mainPythonFileUri": { - "description": "Required The HCFS URI of the main Python file to use as the driver. Must be a .py file.", - "type": "string" - }, - "archiveUris": { - "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", + "accelerators": { + "description": "Optional The Google Compute Engine accelerator configuration for these instances.Beta Feature: This feature is still under development. It may be changed before final release.", "type": "array", "items": { - "type": "string" + "$ref": "AcceleratorConfig" } } }, - "id": "PySparkJob" + "id": "InstanceGroupConfig", + "description": "Optional The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.", + "type": "object" }, - "GceClusterConfig": { - "description": "Common config settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", + "ListJobsResponse": { + "description": "A list of jobs in a project.", "type": "object", "properties": { - "subnetworkUri": { - "description": "Optional The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.", - "type": "string" - }, - "networkUri": { - "description": "Optional The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.", - "type": "string" - }, - "zoneUri": { - "description": "Required The zone where the Google Compute Engine cluster will be located. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone].", + "nextPageToken": { + "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListJobsRequest\u003c/code\u003e.", "type": "string" }, - "internalIpOnly": { - "description": "Optional If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.", - "type": "boolean" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The Google Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata))." - }, - "serviceAccountScopes": { - "description": "Optional The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control", - "type": "array", - "items": { - "type": "string" - } - }, - "tags": { - "description": "The Google Compute Engine tags to add to all instances (see Tagging instances).", + "jobs": { + "description": "Output-only Jobs list.", "type": "array", "items": { - "type": "string" + "$ref": "Job" } - }, - "serviceAccount": { - "type": "string", - "description": "Optional The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com" } }, - "id": "GceClusterConfig" + "id": "ListJobsResponse" }, - "AcceleratorConfig": { - "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).", + "NodeInitializationAction": { + "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", "type": "object", "properties": { - "acceleratorCount": { - "description": "The number of the accelerator cards of this type exposed to this instance.", - "format": "int32", - "type": "integer" + "executionTimeout": { + "description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.", + "format": "google-duration", + "type": "string" }, - "acceleratorTypeUri": { - "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)", + "executableFile": { + "description": "Required Google Cloud Storage URI of executable file.", "type": "string" } }, - "id": "AcceleratorConfig" + "id": "NodeInitializationAction" }, - "ClusterMetrics": { + "CancelJobRequest": { + "properties": {}, + "id": "CancelJobRequest", + "description": "A request to cancel a job.", + "type": "object" + }, + "SparkSqlJob": { + "description": "A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/) queries.", "type": "object", "properties": { - "hdfsMetrics": { - "additionalProperties": { - "format": "int64", + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", + "type": "array", + "items": { "type": "string" - }, - "description": "The HDFS metrics.", - "type": "object" + } }, - "yarnMetrics": { + "scriptVariables": { "additionalProperties": { - "type": "string", - "format": "int64" + "type": "string" }, - "description": "The YARN metrics.", + "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", "type": "object" - } - }, - "id": "ClusterMetrics", - "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release." - }, - "LoggingConfig": { - "id": "LoggingConfig", - "description": "The runtime logging config of the job.", - "type": "object", - "properties": { - "driverLogLevels": { + }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional The runtime log config for job execution." + }, + "properties": { "additionalProperties": { - "enum": [ - "LEVEL_UNSPECIFIED", - "ALL", - "TRACE", - "DEBUG", - "INFO", - "WARN", - "ERROR", - "FATAL", - "OFF" - ], "type": "string" - }, - "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'", - "type": "object" - } - } - }, - "DiagnoseClusterOutputLocation": { - "description": "The location where output from diagnostic command can be found.", - "type": "object", - "properties": { - "outputUri": { - "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.", + }, + "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.", + "type": "object" + }, + "queryFileUri": { + "description": "The HCFS URI of the script that contains SQL queries.", "type": "string" + }, + "queryList": { + "description": "A list of queries.", + "$ref": "QueryList" } }, - "id": "DiagnoseClusterOutputLocation" + "id": "SparkSqlJob" }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "type": "object", + "Cluster": { "properties": { - "response": { - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", - "type": "object", + "labels": { "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "type": "string" + }, + "description": "Optional The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.", + "type": "object" + }, + "metrics": { + "$ref": "ClusterMetrics", + "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release." + }, + "status": { + "$ref": "ClusterStatus", + "description": "Output-only Cluster status." + }, + "statusHistory": { + "description": "Output-only The previous cluster status.", + "type": "array", + "items": { + "$ref": "ClusterStatus" } }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.", - "type": "string" + "config": { + "description": "Required The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated.", + "$ref": "ClusterConfig" }, - "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" + "clusterName": { + "description": "Required The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.", + "type": "string" }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object" + "clusterUuid": { + "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.", + "type": "string" }, - "done": { - "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", - "type": "boolean" + "projectId": { + "description": "Required The Google Cloud Platform project ID that the cluster belongs to.", + "type": "string" } }, - "id": "Operation" + "id": "Cluster", + "description": "Describes the identifying information, config, and status of a cluster of Google Compute Engine instances.", + "type": "object" }, - "OperationStatus": { + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", "type": "object", "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "type": "array", + "items": { + "$ref": "Operation" + } + } + }, + "id": "ListOperationsResponse" + }, + "OperationMetadata": { + "properties": { + "details": { + "description": "A message containing any operation metadata details.", + "type": "string" + }, "state": { - "description": "A message containing the operation state.", - "type": "string", "enumDescriptions": [ "Unused.", "The operation has been created.", - "The operation is running.", - "The operation is done; either cancelled or completed." + "The operation is currently running.", + "The operation is done, either cancelled or completed." ], "enum": [ "UNKNOWN", "PENDING", "RUNNING", "DONE" - ] + ], + "description": "A message containing the operation state.", + "type": "string" }, - "details": { - "description": "A message containing any operation metadata details.", + "clusterName": { + "description": "Name of the cluster for the operation.", + "type": "string" + }, + "clusterUuid": { + "description": "Cluster UUId for the operation.", "type": "string" }, "innerState": { "description": "A message containing the detailed operation state.", "type": "string" }, - "stateStartTime": { - "type": "string", - "description": "The time this state was entered.", - "format": "google-datetime" - } - }, - "id": "OperationStatus", - "description": "The status of the operation." - }, - "JobReference": { - "description": "Encapsulates the full scoping used to reference a job.", - "type": "object", - "properties": { - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "endTime": { + "description": "The time that the operation completed.", + "format": "google-datetime", "type": "string" }, - "jobId": { - "description": "Optional The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.", + "startTime": { + "description": "The time that the operation was started by the server.", + "format": "google-datetime", "type": "string" + }, + "warnings": { + "description": "Output-only Errors encountered during operation execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "insertTime": { + "description": "The time that the operation was requested.", + "format": "google-datetime", + "type": "string" + }, + "statusHistory": { + "description": "Output-only Previous operation status.", + "type": "array", + "items": { + "$ref": "OperationStatus" + } + }, + "operationType": { + "description": "Output-only The operation type.", + "type": "string" + }, + "description": { + "description": "Output-only Short description of operation.", + "type": "string" + }, + "status": { + "$ref": "OperationStatus", + "description": "Output-only Current operation status." } }, - "id": "JobReference" - }, - "SubmitJobRequest": { - "properties": { - "job": { - "description": "Required The job resource.", - "$ref": "Job" - } - }, - "id": "SubmitJobRequest", - "description": "A request to submit a job.", + "id": "OperationMetadata", + "description": "Metadata describing the operation.", "type": "object" }, - "Status": { - "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:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe 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 mappingThe 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 usesThe 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:\nPartial 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.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch 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.\nAsynchronous 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.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.", + "JobPlacement": { + "description": "Cloud Dataproc job config.", "type": "object", "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "type": "string", - "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." + "clusterName": { + "description": "Required The name of the cluster where the job will be submitted.", + "type": "string" }, - "details": { - "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } + "clusterUuid": { + "description": "Output-only A cluster UUID generated by the Cloud Dataproc service when the job is submitted.", + "type": "string" } }, - "id": "Status" + "id": "JobPlacement" }, - "JobScheduling": { + "SoftwareConfig": { "properties": { - "maxFailuresPerHour": { - "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.", - "format": "int32", - "type": "integer" + "imageVersion": { + "description": "Optional The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).", + "type": "string" + }, + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional The properties to set on daemon config files.Property keys are specified in prefix:property format, such as core:fs.defaultFS. The following are supported prefixes and their mappings:\ncore: core-site.xml\nhdfs: hdfs-site.xml\nmapred: mapred-site.xml\nyarn: yarn-site.xml\nhive: hive-site.xml\npig: pig.properties\nspark: spark-defaults.conf", + "type": "object" } }, - "id": "JobScheduling", - "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.", + "id": "SoftwareConfig", + "description": "Specifies the selection and config of software inside the cluster.", "type": "object" }, - "InstanceGroupConfig": { - "description": "Optional The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.", - "type": "object", + "PigJob": { "properties": { - "managedGroupConfig": { - "$ref": "ManagedGroupConfig", - "description": "Output-only The config for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups." - }, - "isPreemptible": { - "description": "Optional Specifies that this instance group contains preemptible instances.", - "type": "boolean" - }, - "imageUri": { - "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version.", - "type": "string" - }, - "machineTypeUri": { - "description": "Required The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.", - "type": "string" + "scriptVariables": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", + "type": "object" }, - "instanceNames": { - "description": "Optional The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).", + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", "type": "array", "items": { "type": "string" } }, - "accelerators": { - "type": "array", - "items": { - "$ref": "AcceleratorConfig" + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional The runtime log config for job execution." + }, + "properties": { + "additionalProperties": { + "type": "string" }, - "description": "Optional The Google Compute Engine accelerator configuration for these instances.Beta Feature: This feature is still under development. It may be changed before final release." + "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", + "type": "object" }, - "numInstances": { - "description": "Required The number of VM instances in the instance group. For master instance groups, must be set to 1.", - "format": "int32", - "type": "integer" + "continueOnFailure": { + "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", + "type": "boolean" }, - "diskConfig": { - "$ref": "DiskConfig", - "description": "Optional Disk option config settings." + "queryFileUri": { + "description": "The HCFS URI of the script that contains the Pig queries.", + "type": "string" + }, + "queryList": { + "description": "A list of queries.", + "$ref": "QueryList" } }, - "id": "InstanceGroupConfig" + "id": "PigJob", + "description": "A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.", + "type": "object" }, - "ListJobsResponse": { + "ClusterStatus": { + "description": "The status of a cluster and its instances.", "type": "object", "properties": { - "nextPageToken": { - "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListJobsRequest\u003c/code\u003e.", + "state": { + "enumDescriptions": [ + "The cluster state is unknown.", + "The cluster is being created and set up. It is not ready for use.", + "The cluster is currently running and healthy. It is ready for use.", + "The cluster encountered an error. It is not ready for use.", + "The cluster is being deleted. It cannot be used.", + "The cluster is being updated. It continues to accept and process jobs." + ], + "enum": [ + "UNKNOWN", + "CREATING", + "RUNNING", + "ERROR", + "DELETING", + "UPDATING" + ], + "description": "Output-only The cluster's state.", "type": "string" }, - "jobs": { - "description": "Output-only Jobs list.", - "type": "array", - "items": { - "$ref": "Job" - } + "stateStartTime": { + "description": "Output-only Time when this state was entered.", + "format": "google-datetime", + "type": "string" + }, + "substate": { + "enum": [ + "UNSPECIFIED", + "UNHEALTHY", + "STALE_STATUS" + ], + "description": "Output-only Additional state information that includes status reported by the agent.", + "type": "string", + "enumDescriptions": [ + "", + "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", + "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state." + ] + }, + "detail": { + "description": "Output-only Optional details of cluster's state.", + "type": "string" } }, - "id": "ListJobsResponse", - "description": "A list of jobs in a project." + "id": "ClusterStatus" }, - "NodeInitializationAction": { - "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", + "ListClustersResponse": { + "description": "The list of all clusters in a project.", "type": "object", "properties": { - "executionTimeout": { - "description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.", - "format": "google-duration", - "type": "string" + "clusters": { + "description": "Output-only The clusters in the project.", + "type": "array", + "items": { + "$ref": "Cluster" + } }, - "executableFile": { - "description": "Required Google Cloud Storage URI of executable file.", + "nextPageToken": { + "description": "Output-only This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListClustersRequest\u003c/code\u003e.", "type": "string" } }, - "id": "NodeInitializationAction" - }, - "CancelJobRequest": { - "description": "A request to cancel a job.", - "type": "object", - "properties": {}, - "id": "CancelJobRequest" + "id": "ListClustersResponse" }, - "SparkSqlJob": { - "description": "A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/) queries.", - "type": "object", + "SparkJob": { "properties": { - "queryFileUri": { - "description": "The HCFS URI of the script that contains SQL queries.", + "mainJarFileUri": { + "description": "The HCFS URI of the jar file that contains the main class.", "type": "string" }, - "queryList": { - "description": "A list of queries.", - "$ref": "QueryList" - }, - "scriptVariables": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";)." - }, "jarFileUris": { - "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", + "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.", "type": "array", "items": { "type": "string" } }, "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional The runtime log config for job execution." + "description": "Optional The runtime log config for job execution.", + "$ref": "LoggingConfig" }, "properties": { "additionalProperties": { "type": "string" }, - "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.", + "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", "type": "object" + }, + "args": { + "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", + "type": "array", + "items": { + "type": "string" + } + }, + "fileUris": { + "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.", + "type": "array", + "items": { + "type": "string" + } + }, + "mainClass": { + "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", + "type": "string" + }, + "archiveUris": { + "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "SparkSqlJob" + "id": "SparkJob", + "description": "A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN.", + "type": "object" }, - "Cluster": { - "description": "Describes the identifying information, config, and status of a cluster of Google Compute Engine instances.", - "type": "object", + "Job": { "properties": { + "driverControlFilesUri": { + "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", + "type": "string" + }, + "scheduling": { + "description": "Optional Job scheduling configuration.", + "$ref": "JobScheduling" + }, + "pigJob": { + "description": "Job is a Pig job.", + "$ref": "PigJob" + }, + "hiveJob": { + "$ref": "HiveJob", + "description": "Job is a Hive job." + }, "labels": { "additionalProperties": { "type": "string" }, - "description": "Optional The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.", + "description": "Optional The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.", "type": "object" }, - "metrics": { - "$ref": "ClusterMetrics", - "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release." + "driverOutputResourceUri": { + "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.", + "type": "string" }, - "status": { - "description": "Output-only Cluster status.", - "$ref": "ClusterStatus" + "sparkSqlJob": { + "description": "Job is a SparkSql job.", + "$ref": "SparkSqlJob" + }, + "sparkJob": { + "$ref": "SparkJob", + "description": "Job is a Spark job." }, "statusHistory": { - "description": "Output-only The previous cluster status.", + "description": "Output-only The previous job status.", "type": "array", "items": { - "$ref": "ClusterStatus" + "$ref": "JobStatus" } }, - "config": { - "$ref": "ClusterConfig", - "description": "Required The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated." + "yarnApplications": { + "description": "Output-only The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", + "type": "array", + "items": { + "$ref": "YarnApplication" + } }, - "clusterName": { - "description": "Required The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.", + "pysparkJob": { + "description": "Job is a Pyspark job.", + "$ref": "PySparkJob" + }, + "reference": { + "$ref": "JobReference", + "description": "Optional The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a \u003ccode\u003ejob_id\u003c/code\u003e." + }, + "hadoopJob": { + "$ref": "HadoopJob", + "description": "Job is a Hadoop job." + }, + "status": { + "$ref": "JobStatus", + "description": "Output-only The job status. Additional application-specific status information may be contained in the \u003ccode\u003etype_job\u003c/code\u003e and \u003ccode\u003eyarn_applications\u003c/code\u003e fields." + }, + "placement": { + "$ref": "JobPlacement", + "description": "Required Job information, including how, when, and where to run the job." + } + }, + "id": "Job", + "description": "A Cloud Dataproc job resource.", + "type": "object" + }, + "JobStatus": { + "description": "Cloud Dataproc job status.", + "type": "object", + "properties": { + "stateStartTime": { + "description": "Output-only The time when this state was entered.", + "format": "google-datetime", "type": "string" }, - "clusterUuid": { - "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.", + "substate": { + "enumDescriptions": [ + "", + "The Job is submitted to the agent.Applies to RUNNING state.", + "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.", + "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state." + ], + "enum": [ + "UNSPECIFIED", + "SUBMITTED", + "QUEUED", + "STALE_STATUS" + ], + "description": "Output-only Additional state information, which includes status reported by the agent.", + "type": "string" + }, + "state": { + "enumDescriptions": [ + "The job state is unknown.", + "The job is pending; it has been submitted, but is not yet running.", + "Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.", + "The job is running on the cluster.", + "A CancelJob request has been received, but is pending.", + "Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.", + "The job cancellation was successful.", + "The job has completed successfully.", + "The job has completed, but encountered an error.", + "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only." + ], + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "SETUP_DONE", + "RUNNING", + "CANCEL_PENDING", + "CANCEL_STARTED", + "CANCELLED", + "DONE", + "ERROR", + "ATTEMPT_FAILURE" + ], + "description": "Output-only A state message specifying the overall job state.", "type": "string" }, - "projectId": { - "description": "Required The Google Cloud Platform project ID that the cluster belongs to.", + "details": { + "description": "Output-only Optional job state details, such as an error description if the state is \u003ccode\u003eERROR\u003c/code\u003e.", "type": "string" } }, - "id": "Cluster" + "id": "JobStatus" }, - "ListOperationsResponse": { - "id": "ListOperationsResponse", - "description": "The response message for Operations.ListOperations.", - "type": "object", + "ManagedGroupConfig": { "properties": { - "nextPageToken": { - "type": "string", - "description": "The standard List next-page token." + "instanceGroupManagerName": { + "description": "Output-only The name of the Instance Group Manager for this group.", + "type": "string" }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } + "instanceTemplateName": { + "description": "Output-only The name of the Instance Template used for the Managed Instance Group.", + "type": "string" } - } + }, + "id": "ManagedGroupConfig", + "description": "Specifies the resources used to actively manage an instance group.", + "type": "object" }, - "OperationMetadata": { + "ClusterOperationStatus": { "properties": { - "operationType": { - "description": "Output-only The operation type.", - "type": "string" - }, - "description": { - "description": "Output-only Short description of operation.", - "type": "string" - }, - "status": { - "$ref": "OperationStatus", - "description": "Output-only Current operation status." - }, "state": { - "description": "A message containing the operation state.", - "type": "string", "enumDescriptions": [ "Unused.", "The operation has been created.", - "The operation is currently running.", - "The operation is done, either cancelled or completed." + "The operation is running.", + "The operation is done; either cancelled or completed." ], "enum": [ "UNKNOWN", "PENDING", "RUNNING", "DONE" - ] - }, - "details": { - "description": "A message containing any operation metadata details.", - "type": "string" - }, - "clusterUuid": { - "description": "Cluster UUId for the operation.", + ], + "description": "Output-only A message containing the operation state.", "type": "string" }, - "clusterName": { - "description": "Name of the cluster for the operation.", + "details": { + "description": "Output-onlyA message containing any operation metadata details.", "type": "string" }, "innerState": { - "description": "A message containing the detailed operation state.", + "description": "Output-only A message containing the detailed operation state.", "type": "string" }, - "endTime": { - "description": "The time that the operation completed.", + "stateStartTime": { + "description": "Output-only The time this state was entered.", "format": "google-datetime", "type": "string" + } + }, + "id": "ClusterOperationStatus", + "description": "The status of the operation.", + "type": "object" + }, + "YarnApplication": { + "description": "A YARN application created by a job. Application information is a subset of \u003ccode\u003eorg.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto\u003c/code\u003e.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", + "type": "object", + "properties": { + "state": { + "enum": [ + "STATE_UNSPECIFIED", + "NEW", + "NEW_SAVING", + "SUBMITTED", + "ACCEPTED", + "RUNNING", + "FINISHED", + "FAILED", + "KILLED" + ], + "description": "Required The application state.", + "type": "string", + "enumDescriptions": [ + "Status is unspecified.", + "Status is NEW.", + "Status is NEW_SAVING.", + "Status is SUBMITTED.", + "Status is ACCEPTED.", + "Status is RUNNING.", + "Status is FINISHED.", + "Status is FAILED.", + "Status is KILLED." + ] }, - "startTime": { - "description": "The time that the operation was started by the server.", - "format": "google-datetime", + "name": { + "description": "Required The application name.", "type": "string" }, - "warnings": { - "description": "Output-only Errors encountered during operation execution.", - "type": "array", - "items": { - "type": "string" - } - }, - "insertTime": { - "description": "The time that the operation was requested.", - "format": "google-datetime", + "trackingUrl": { + "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", "type": "string" }, - "statusHistory": { - "description": "Output-only Previous operation status.", + "progress": { + "description": "Required The numerical progress of the application, from 1 to 100.", + "format": "float", + "type": "number" + } + }, + "id": "YarnApplication" + }, + "QueryList": { + "properties": { + "queries": { + "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": {\n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n", "type": "array", "items": { - "$ref": "OperationStatus" + "type": "string" } } }, - "id": "OperationMetadata", - "description": "Metadata describing the operation.", + "id": "QueryList", + "description": "A list of queries to run on a cluster.", "type": "object" }, - "SoftwareConfig": { - "description": "Specifies the selection and config of software inside the cluster.", + "HadoopJob": { + "description": "A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).", "type": "object", "properties": { - "imageVersion": { - "description": "Optional The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).", + "mainJarFileUri": { + "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'", "type": "string" }, + "jarFileUris": { + "description": "Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.", + "type": "array", + "items": { + "type": "string" + } + }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional The runtime log config for job execution." + }, "properties": { "additionalProperties": { "type": "string" }, - "description": "Optional The properties to set on daemon config files.Property keys are specified in prefix:property format, such as core:fs.defaultFS. The following are supported prefixes and their mappings:\ncore: core-site.xml\nhdfs: hdfs-site.xml\nmapred: mapred-site.xml\nyarn: yarn-site.xml\nhive: hive-site.xml\npig: pig.properties\nspark: spark-defaults.conf", + "description": "Optional A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.", "type": "object" + }, + "args": { + "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", + "type": "array", + "items": { + "type": "string" + } + }, + "fileUris": { + "description": "Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.", + "type": "array", + "items": { + "type": "string" + } + }, + "mainClass": { + "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.", + "type": "string" + }, + "archiveUris": { + "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "SoftwareConfig" + "id": "HadoopJob" }, - "JobPlacement": { - "description": "Cloud Dataproc job config.", - "type": "object", + "DiagnoseClusterRequest": { + "properties": {}, + "id": "DiagnoseClusterRequest", + "description": "A request to collect cluster diagnostic information.", + "type": "object" + }, + "DiskConfig": { "properties": { - "clusterName": { - "description": "Required The name of the cluster where the job will be submitted.", - "type": "string" + "numLocalSsds": { + "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.", + "format": "int32", + "type": "integer" }, - "clusterUuid": { - "description": "Output-only A cluster UUID generated by the Cloud Dataproc service when the job is submitted.", - "type": "string" + "bootDiskSizeGb": { + "description": "Optional Size in GB of the boot disk (default is 500GB).", + "format": "int32", + "type": "integer" } }, - "id": "JobPlacement" + "id": "DiskConfig", + "description": "Specifies the config of disk options for a group of VM instances.", + "type": "object" }, - "ClusterStatus": { + "ClusterOperationMetadata": { "properties": { - "detail": { - "description": "Output-only Optional details of cluster's state.", + "statusHistory": { + "description": "Output-only The previous operation status.", + "type": "array", + "items": { + "$ref": "ClusterOperationStatus" + } + }, + "clusterUuid": { + "description": "Output-only Cluster UUID for the operation.", "type": "string" }, - "state": { - "type": "string", - "enumDescriptions": [ - "The cluster state is unknown.", - "The cluster is being created and set up. It is not ready for use.", - "The cluster is currently running and healthy. It is ready for use.", - "The cluster encountered an error. It is not ready for use.", - "The cluster is being deleted. It cannot be used.", - "The cluster is being updated. It continues to accept and process jobs." - ], - "enum": [ - "UNKNOWN", - "CREATING", - "RUNNING", - "ERROR", - "DELETING", - "UPDATING" - ], - "description": "Output-only The cluster's state." + "clusterName": { + "description": "Output-only Name of the cluster for the operation.", + "type": "string" }, - "stateStartTime": { - "description": "Output-only Time when this state was entered.", - "format": "google-datetime", + "operationType": { + "description": "Output-only The operation type.", + "type": "string" + }, + "description": { + "description": "Output-only Short description of operation.", "type": "string" }, - "substate": { - "description": "Output-only Additional state information that includes status reported by the agent.", - "type": "string", - "enumDescriptions": [ - "", - "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", - "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state." - ], - "enum": [ - "UNSPECIFIED", - "UNHEALTHY", - "STALE_STATUS" - ] + "warnings": { + "description": "Output-only Errors encountered during operation execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Output-only Labels associated with the operation", + "type": "object" + }, + "status": { + "$ref": "ClusterOperationStatus", + "description": "Output-only Current operation status." } }, - "id": "ClusterStatus", - "description": "The status of a cluster and its instances.", + "id": "ClusterOperationMetadata", + "description": "Metadata describing the operation.", "type": "object" }, - "PigJob": { + "Empty": { + "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", + "type": "object", + "properties": {}, + "id": "Empty" + }, + "HiveJob": { + "description": "A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.", "type": "object", "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", + "type": "object" + }, "continueOnFailure": { "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", "type": "boolean" }, "queryFileUri": { - "description": "The HCFS URI of the script that contains the Pig queries.", + "description": "The HCFS URI of the script that contains Hive queries.", "type": "string" }, "queryList": { @@ -1809,132 +1837,114 @@ "description": "A list of queries." }, "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", + "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.", "type": "array", "items": { "type": "string" } }, "scriptVariables": { - "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "loggingConfig": { - "$ref": "LoggingConfig", - "description": "Optional The runtime log config for job execution." - }, - "properties": { - "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", - "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).", + "type": "object" } }, - "id": "PigJob", - "description": "A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN." + "id": "HiveJob" }, - "ListClustersResponse": { + "DiagnoseClusterResults": { "properties": { - "clusters": { - "description": "Output-only The clusters in the project.", - "type": "array", - "items": { - "$ref": "Cluster" - } - }, - "nextPageToken": { - "description": "Output-only This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListClustersRequest\u003c/code\u003e.", + "outputUri": { + "description": "Output-only The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.", "type": "string" } }, - "id": "ListClustersResponse", - "description": "The list of all clusters in a project.", + "id": "DiagnoseClusterResults", + "description": "The location of diagnostic output.", "type": "object" }, - "Job": { - "description": "A Cloud Dataproc job resource.", + "ClusterConfig": { + "description": "The cluster config.", "type": "object", "properties": { - "driverControlFilesUri": { - "type": "string", - "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri." + "masterConfig": { + "description": "Optional The Google Compute Engine config settings for the master instance in a cluster.", + "$ref": "InstanceGroupConfig" }, - "scheduling": { - "$ref": "JobScheduling", - "description": "Optional Job scheduling configuration." + "secondaryWorkerConfig": { + "$ref": "InstanceGroupConfig", + "description": "Optional The Google Compute Engine config settings for additional worker instances in a cluster." }, - "pigJob": { - "description": "Job is a Pig job.", - "$ref": "PigJob" + "initializationActions": { + "description": "Optional Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's \u003ccode\u003erole\u003c/code\u003e metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget):\nROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n", + "type": "array", + "items": { + "$ref": "NodeInitializationAction" + } }, - "hiveJob": { - "$ref": "HiveJob", - "description": "Job is a Hive job." + "configBucket": { + "description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.", + "type": "string" }, - "labels": { + "workerConfig": { + "description": "Optional The Google Compute Engine config settings for worker instances in a cluster.", + "$ref": "InstanceGroupConfig" + }, + "gceClusterConfig": { + "description": "Required The shared Google Compute Engine config settings for all instances in a cluster.", + "$ref": "GceClusterConfig" + }, + "softwareConfig": { + "description": "Optional The config settings for software inside the cluster.", + "$ref": "SoftwareConfig" + } + }, + "id": "ClusterConfig" + }, + "PySparkJob": { + "properties": { + "properties": { "additionalProperties": { "type": "string" }, - "description": "Optional The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.", + "description": "Optional A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", "type": "object" }, - "driverOutputResourceUri": { - "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.", - "type": "string" - }, - "sparkJob": { - "$ref": "SparkJob", - "description": "Job is a Spark job." - }, - "sparkSqlJob": { - "$ref": "SparkSqlJob", - "description": "Job is a SparkSql job." - }, - "statusHistory": { - "description": "Output-only The previous job status.", + "args": { + "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", "type": "array", "items": { - "$ref": "JobStatus" + "type": "string" } }, - "yarnApplications": { - "description": "Output-only The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", + "fileUris": { + "description": "Optional HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.", "type": "array", "items": { - "$ref": "YarnApplication" + "type": "string" } }, - "pysparkJob": { - "$ref": "PySparkJob", - "description": "Job is a Pyspark job." - }, - "reference": { - "$ref": "JobReference", - "description": "Optional The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a \u003ccode\u003ejob_id\u003c/code\u003e." + "pythonFileUris": { + "description": "Optional HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.", + "type": "array", + "items": { + "type": "string" + } }, - "hadoopJob": { - "$ref": "HadoopJob", - "description": "Job is a Hadoop job." + "mainPythonFileUri": { + "description": "Required The HCFS URI of the main Python file to use as the driver. Must be a .py file.", + "type": "string" }, - "status": { - "$ref": "JobStatus", - "description": "Output-only The job status. Additional application-specific status information may be contained in the \u003ccode\u003etype_job\u003c/code\u003e and \u003ccode\u003eyarn_applications\u003c/code\u003e fields." + "archiveUris": { + "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", + "type": "array", + "items": { + "type": "string" + } }, - "placement": { - "description": "Required Job information, including how, when, and where to run the job.", - "$ref": "JobPlacement" - } - }, - "id": "Job" - }, - "SparkJob": { - "properties": { "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.", + "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", "type": "array", "items": { "type": "string" @@ -1943,74 +1953,64 @@ "loggingConfig": { "$ref": "LoggingConfig", "description": "Optional The runtime log config for job execution." - }, - "properties": { - "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", - "type": "object", + } + }, + "id": "PySparkJob", + "description": "A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.", + "type": "object" + }, + "GceClusterConfig": { + "description": "Common config settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", + "type": "object", + "properties": { + "metadata": { "additionalProperties": { "type": "string" - } + }, + "description": "The Google Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).", + "type": "object" }, - "args": { - "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", + "internalIpOnly": { + "description": "Optional If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.", + "type": "boolean" + }, + "serviceAccountScopes": { + "description": "Optional The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control", "type": "array", "items": { "type": "string" } }, - "fileUris": { - "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.", + "tags": { + "description": "The Google Compute Engine tags to add to all instances (see Tagging instances).", "type": "array", "items": { "type": "string" } }, - "mainClass": { - "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", + "serviceAccount": { + "description": "Optional The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com", "type": "string" }, - "archiveUris": { - "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", - "type": "array", - "items": { - "type": "string" - } + "subnetworkUri": { + "description": "Optional The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.", + "type": "string" }, - "mainJarFileUri": { - "description": "The HCFS URI of the jar file that contains the main class.", + "networkUri": { + "description": "Optional The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.", + "type": "string" + }, + "zoneUri": { + "description": "Required The zone where the Google Compute Engine cluster will be located. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone].", "type": "string" } }, - "id": "SparkJob", - "description": "A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN.", - "type": "object" + "id": "GceClusterConfig" } }, "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "protocol": "rest", - "version": "v1", - "baseUrl": "https://dataproc.googleapis.com/", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "servicePath": "", - "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", - "kind": "discovery#restDescription", - "rootUrl": "https://dataproc.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "dataproc", - "batchPath": "batch", - "revision": "20170321", - "documentationLink": "https://cloud.google.com/dataproc/", - "id": "dataproc:v1" + "protocol": "rest" } diff --git a/DiscoveryJson/dataproc_v1alpha1.json b/DiscoveryJson/dataproc_v1alpha1.json index 9bce6e817c..1c4b410394 100644 --- a/DiscoveryJson/dataproc_v1alpha1.json +++ b/DiscoveryJson/dataproc_v1alpha1.json @@ -1,4 +1,6 @@ { + "ownerName": "Google", + "discoveryVersion": "v1", "resources": { "projects": { "resources": { @@ -6,23 +8,54 @@ "resources": { "clusters": { "methods": { - "patch": { - "description": "Request to update a cluster in a project.", - "request": { - "$ref": "Cluster" - }, + "delete": { + "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "id": "dataproc.projects.regions.clusters.delete", + "description": "Request to delete a cluster in a project.", "response": { "$ref": "Operation" }, + "httpMethod": "DELETE", "parameterOrder": [ "projectId", "region", "clusterName" ], - "httpMethod": "PATCH", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], + "parameters": { + "region": { + "location": "path", + "description": "Required The Dataproc region in which to handle the request.", + "required": true, + "type": "string" + }, + "clusterName": { + "location": "path", + "description": "Required The cluster name.", + "required": true, + "type": "string" + }, + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}" + }, + "patch": { + "httpMethod": "PATCH", + "parameterOrder": [ + "projectId", + "region", + "clusterName" + ], + "response": { + "$ref": "Operation" + }, "parameters": { "clusterName": { "location": "path", @@ -37,10 +70,10 @@ "type": "string" }, "region": { - "required": true, - "type": "string", "location": "path", - "description": "Required The Dataproc region in which to handle the request." + "description": "Required The Dataproc region in which to handle the request.", + "required": true, + "type": "string" }, "updateMask": { "location": "query", @@ -49,23 +82,30 @@ "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "id": "dataproc.projects.regions.clusters.patch", "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "id": "dataproc.projects.regions.clusters.patch" + "request": { + "$ref": "Cluster" + }, + "description": "Request to update a cluster in a project." }, "get": { - "httpMethod": "GET", + "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", + "id": "dataproc.projects.regions.clusters.get", + "description": "Request to get the resource representation for a cluster in a project.", + "response": { + "$ref": "Cluster" + }, "parameterOrder": [ "projectId", "region", "clusterName" ], - "response": { - "$ref": "Cluster" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], + "httpMethod": "GET", "parameters": { "region": { "location": "path", @@ -74,25 +114,24 @@ "type": "string" }, "clusterName": { - "required": true, - "type": "string", "location": "path", - "description": "Required The cluster name." + "description": "Required The cluster name.", + "required": true, + "type": "string" }, "projectId": { + "location": "path", "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, - "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "id": "dataproc.projects.regions.clusters.get", - "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "description": "Request to get the resource representation for a cluster in a project." + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}" }, "list": { - "description": "Request a list of all regions/{region}/clusters in a project.", "response": { "$ref": "ListClustersResponse" }, @@ -102,6 +141,17 @@ ], "httpMethod": "GET", "parameters": { + "pageToken": { + "location": "query", + "description": "The standard List page token.", + "type": "string" + }, + "pageSize": { + "description": "The standard List page size.", + "format": "int32", + "type": "integer", + "location": "query" + }, "projectId": { "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", "required": true, @@ -118,17 +168,6 @@ "location": "query", "description": "Optional A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)", "type": "string" - }, - "pageToken": { - "location": "query", - "description": "The standard List page token.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The standard List page size.", - "format": "int32", - "type": "integer" } }, "scopes": [ @@ -136,161 +175,89 @@ ], "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters", "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters", - "id": "dataproc.projects.regions.clusters.list" + "id": "dataproc.projects.regions.clusters.list", + "description": "Request a list of all regions/{region}/clusters in a project." }, "create": { - "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters", "id": "dataproc.projects.regions.clusters.create", + "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters", "description": "Request to create a cluster in a project.", "request": { "$ref": "Cluster" }, - "response": { - "$ref": "Operation" - }, + "httpMethod": "POST", "parameterOrder": [ "projectId", "region" ], - "httpMethod": "POST", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "region": { + "description": "Required The Dataproc region in which to handle the request.", "required": true, "type": "string", - "location": "path", - "description": "Required The Dataproc region in which to handle the request." - }, - "projectId": { - "required": true, - "type": "string", - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to." - } - }, - "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters" - }, - "delete": { - "id": "dataproc.projects.regions.clusters.delete", - "path": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}", - "description": "Request to delete a cluster in a project.", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "projectId", - "region", - "clusterName" - ], - "parameters": { - "clusterName": { - "location": "path", - "description": "Required The cluster name.", - "required": true, - "type": "string" + "location": "path" }, "projectId": { "location": "path", "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", "required": true, "type": "string" - }, - "region": { - "description": "Required The Dataproc region in which to handle the request.", - "required": true, - "type": "string", - "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters/{clusterName}" + "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/clusters" } } }, "jobs": { "methods": { - "list": { - "request": { - "$ref": "ListJobsRequest" - }, - "description": "Lists regions/{region}/jobs in a project.", - "httpMethod": "POST", - "parameterOrder": [ - "projectId", - "region" - ], + "cancel": { "response": { - "$ref": "ListJobsResponse" - }, - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string" - }, - "region": { - "location": "path", - "description": "Required The Dataproc region in which to handle the request.", - "required": true, - "type": "string" - } + "$ref": "Job" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs:list", - "id": "dataproc.projects.regions.jobs.list", - "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs:list" - }, - "cancel": { - "httpMethod": "POST", "parameterOrder": [ "projectId", "region", "jobId" ], - "response": { - "$ref": "Job" - }, + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "region": { + "description": "Required The Dataproc region in which to handle the request.", "required": true, "type": "string", "location": "path" }, - "jobId": { - "description": "Required The job ID.", + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "region": { + "jobId": { "location": "path", - "description": "Required The Dataproc region in which to handle the request.", + "description": "Required The job ID.", "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", - "id": "dataproc.projects.regions.jobs.cancel", "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", + "id": "dataproc.projects.regions.jobs.cancel", + "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs:list or regions/{region}/jobs:get.", "request": { "$ref": "CancelJobRequest" - }, - "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs:list or regions/{region}/jobs:get." + } }, "get": { - "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}", "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}", "id": "dataproc.projects.regions.jobs.get", "description": "Gets the resource representation for a job in a project.", @@ -314,79 +281,76 @@ "location": "path" }, "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, "type": "string", - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to." + "location": "path" }, "jobId": { - "location": "path", "description": "Required The job ID.", "required": true, - "type": "string" + "type": "string", + "location": "path" } - } + }, + "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}" }, "patch": { "request": { "$ref": "Job" }, "description": "Updates a job in a project.", - "response": { - "$ref": "Job" - }, + "httpMethod": "PATCH", "parameterOrder": [ "projectId", "region", "jobId" ], - "httpMethod": "PATCH", + "response": { + "$ref": "Job" + }, "parameters": { - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "region": { + "description": "Required The Dataproc region in which to handle the request.", "required": true, "type": "string", "location": "path" }, - "jobId": { - "required": true, - "type": "string", - "location": "path", - "description": "Required The job ID." + "updateMask": { + "location": "query", + "description": "Required Specifies the path, relative to \u003ccode\u003eJob\u003c/code\u003e, of the field to update. For example, to update the labels of a Job the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003elabels\u003c/code\u003e, and the PATCH request body would specify the new value. \u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003elabels\u003c/code\u003e is the only field that can be updated.", + "format": "google-fieldmask", + "type": "string" }, - "region": { + "projectId": { "location": "path", - "description": "Required The Dataproc region in which to handle the request.", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, "type": "string" }, - "updateMask": { - "type": "string", - "location": "query", - "description": "Required Specifies the path, relative to \u003ccode\u003eJob\u003c/code\u003e, of the field to update. For example, to update the labels of a Job the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003elabels\u003c/code\u003e, and the PATCH request body would specify the new value. \u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003elabels\u003c/code\u003e is the only field that can be updated.", - "format": "google-fieldmask" + "jobId": { + "description": "Required The job ID.", + "required": true, + "type": "string", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "id": "dataproc.projects.regions.jobs.patch" + "id": "dataproc.projects.regions.jobs.patch", + "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}" }, "submit": { - "description": "Submits a job to a cluster.", - "request": { - "$ref": "SubmitJobRequest" + "response": { + "$ref": "Job" }, - "httpMethod": "POST", "parameterOrder": [ "projectId", "region" ], - "response": { - "$ref": "Job" - }, + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], @@ -398,33 +362,34 @@ "type": "string" }, "region": { + "location": "path", "description": "Required The Dataproc region in which to handle the request.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs:submit", + "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs:submit", "id": "dataproc.projects.regions.jobs.submit", - "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs:submit" + "description": "Submits a job to a cluster.", + "request": { + "$ref": "SubmitJobRequest" + } }, "delete": { - "httpMethod": "DELETE", "response": { "$ref": "Job" }, + "httpMethod": "DELETE", "parameterOrder": [ "projectId", "region", "jobId" ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { - "region": { - "required": true, - "type": "string", - "location": "path", - "description": "Required The Dataproc region in which to handle the request." - }, "projectId": { "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", "required": true, @@ -432,19 +397,56 @@ "location": "path" }, "jobId": { + "location": "path", "description": "Required The job ID.", "required": true, - "type": "string", - "location": "path" + "type": "string" + }, + "region": { + "location": "path", + "description": "Required The Dataproc region in which to handle the request.", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}", - "id": "dataproc.projects.regions.jobs.delete", "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs/{jobId}", + "id": "dataproc.projects.regions.jobs.delete", "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION." + }, + "list": { + "httpMethod": "POST", + "parameterOrder": [ + "projectId", + "region" + ], + "response": { + "$ref": "ListJobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string", + "location": "path" + }, + "region": { + "location": "path", + "description": "Required The Dataproc region in which to handle the request.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1alpha1/projects/{projectId}/regions/{region}/jobs:list", + "id": "dataproc.projects.regions.jobs.list", + "path": "v1alpha1/projects/{projectId}/regions/{region}/jobs:list", + "description": "Lists regions/{region}/jobs in a project.", + "request": { + "$ref": "ListJobsRequest" + } } } } @@ -454,83 +456,70 @@ }, "operations": { "methods": { - "get": { - "httpMethod": "GET", - "response": { - "$ref": "Operation" - }, + "cancel": { + "httpMethod": "POST", "parameterOrder": [ "name" ], + "response": { + "$ref": "Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { - "description": "The operation resource name.", + "description": "The name of the operation resource to be cancelled.", "required": true, "type": "string", "pattern": "^operations/.+$", "location": "path" } }, - "flatPath": "v1alpha1/operations/{operationsId}", - "id": "dataproc.operations.get", - "path": "v1alpha1/{+name}", - "description": "Gets the latest state of a long-running operation. Clients may use this method to poll the operation result at intervals as recommended by the API service." + "flatPath": "v1alpha1/operations/{operationsId}:cancel", + "id": "dataproc.operations.cancel", + "path": "v1alpha1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients may use Operations.GetOperation or other methods to check whether the cancellation succeeded or the operation completed despite cancellation.", + "request": { + "$ref": "CancelOperationRequest" + } }, - "list": { + "delete": { + "description": "Deletes a long-running operation. It indicates the client is no longer interested in the operation result. It does not cancel the operation.", + "response": { + "$ref": "Empty" + }, "parameterOrder": [ "name" ], - "httpMethod": "GET", - "response": { - "$ref": "ListOperationsResponse" - }, + "httpMethod": "DELETE", "parameters": { "name": { + "description": "The name of the operation resource to be deleted.", "required": true, "type": "string", - "pattern": "^operations$", - "location": "path", - "description": "The operation collection name." - }, - "pageToken": { - "type": "string", - "location": "query", - "description": "The standard List page token." - }, - "pageSize": { - "description": "The standard List page size.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "filter": { - "description": "Required A JSON object that contains filters for the list operation, in the format {\"key1\":\"value1\",\"key2\":\"value2\", ..., }. Possible keys include project_id, cluster_name, and operation_state_matcher.If project_id is set, requests the list of operations that belong to the specified Google Cloud Platform project ID. This key is required.If cluster_name is set, requests the list of operations that were submitted to the specified cluster name. This key is optional.If operation_state_matcher is set, requests the list of operations that match one of the following status options: ALL, ACTIVE, or NON_ACTIVE.", - "type": "string", - "location": "query" + "pattern": "^operations/.+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1alpha1/operations", + "flatPath": "v1alpha1/operations/{operationsId}", "path": "v1alpha1/{+name}", - "id": "dataproc.operations.list", - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED." + "id": "dataproc.operations.delete" }, - "cancel": { + "get": { "response": { - "$ref": "Empty" + "$ref": "Operation" }, "parameterOrder": [ "name" ], - "httpMethod": "POST", + "httpMethod": "GET", "parameters": { "name": { - "description": "The name of the operation resource to be cancelled.", + "description": "The operation resource name.", "required": true, "type": "string", "pattern": "^operations/.+$", @@ -540,87 +529,74 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1alpha1/operations/{operationsId}:cancel", - "path": "v1alpha1/{+name}:cancel", - "id": "dataproc.operations.cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients may use Operations.GetOperation or other methods to check whether the cancellation succeeded or the operation completed despite cancellation." + "flatPath": "v1alpha1/operations/{operationsId}", + "path": "v1alpha1/{+name}", + "id": "dataproc.operations.get", + "description": "Gets the latest state of a long-running operation. Clients may use this method to poll the operation result at intervals as recommended by the API service." }, - "delete": { - "description": "Deletes a long-running operation. It indicates the client is no longer interested in the operation result. It does not cancel the operation.", + "list": { "response": { - "$ref": "Empty" + "$ref": "ListOperationsResponse" }, "parameterOrder": [ "name" ], - "httpMethod": "DELETE", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "Required A JSON object that contains filters for the list operation, in the format {\"key1\":\"value1\",\"key2\":\"value2\", ..., }. Possible keys include project_id, cluster_name, and operation_state_matcher.If project_id is set, requests the list of operations that belong to the specified Google Cloud Platform project ID. This key is required.If cluster_name is set, requests the list of operations that were submitted to the specified cluster name. This key is optional.If operation_state_matcher is set, requests the list of operations that match one of the following status options: ALL, ACTIVE, or NON_ACTIVE.", + "type": "string", + "location": "query" + }, "name": { + "pattern": "^operations$", "location": "path", - "description": "The name of the operation resource to be deleted.", + "description": "The operation collection name.", "required": true, - "type": "string", - "pattern": "^operations/.+$" + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The standard List page token.", + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "The standard List page size.", + "format": "int32", + "type": "integer" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1alpha1/operations/{operationsId}", + "flatPath": "v1alpha1/operations", "path": "v1alpha1/{+name}", - "id": "dataproc.operations.delete" + "id": "dataproc.operations.list", + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED." } } } }, "parameters": { - "alt": { - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" - }, - "access_token": { - "type": "string", - "location": "query", - "description": "OAuth access token." - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, "quotaUser": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "pp": { + "description": "Pretty-print response.", "type": "boolean", "default": "true", - "location": "query", - "description": "Pretty-print response." - }, - "oauth_token": { - "type": "string", - "location": "query", - "description": "OAuth 2.0 token for the current user." + "location": "query" }, "bearer_token": { + "location": "query", "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", "type": "string", "location": "query" }, @@ -635,48 +611,66 @@ "default": "true", "location": "query" }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, "fields": { "location": "query", "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, - "uploadType": { + "callback": { "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "description": "JSONP", "type": "string" }, "$.xgafv": { + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" ], - "location": "query", + "location": "query" + }, + "alt": { "enum": [ - "1", - "2" + "json", + "media", + "proto" ], - "description": "V1 error format." - }, - "callback": { "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], "location": "query", - "description": "JSONP" - } - }, - "schemas": { + "description": "Data format for response.", + "default": "json" + }, + "key": { + "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.", + "type": "string", + "location": "query" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + } + }, + "schemas": { "GceClusterConfiguration": { "description": "Common configuration settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", "type": "object", "properties": { - "serviceAccount": { - "description": "Optional The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com", - "type": "string" - }, - "subnetworkUri": { - "description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: compute.googleapis.com/projects/[project_id]/regions/us-east1/sub0.", - "type": "string" - }, "networkUri": { "description": "The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://cloud.google.com/compute/docs/subnetworks for more information). Example: compute.googleapis.com/projects/[project_id]/regions/global/default.", "type": "string" @@ -709,6 +703,14 @@ "items": { "type": "string" } + }, + "serviceAccount": { + "description": "Optional The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com", + "type": "string" + }, + "subnetworkUri": { + "description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: compute.googleapis.com/projects/[project_id]/regions/us-east1/sub0.", + "type": "string" } }, "id": "GceClusterConfiguration" @@ -720,19 +722,17 @@ "type": "object" }, "DiagnoseClusterOutputLocation": { - "description": "The location where output from diagnostic command can be found.", - "type": "object", "properties": { "outputUri": { "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.", "type": "string" } }, - "id": "DiagnoseClusterOutputLocation" + "id": "DiagnoseClusterOutputLocation", + "description": "The location where output from diagnostic command can be found.", + "type": "object" }, "Operation": { - "description": "An asynchronous operation in a project that runs over a given cluster. Used to track the progress of a user request that is running asynchronously. Examples include creating a cluster, updating a cluster, and deleting a cluster.", - "type": "object", "properties": { "done": { "description": "Indicates if the operation is done. If true, the operation is complete and the result is available. If false, the operation is still in progress.", @@ -755,15 +755,17 @@ "description": "The error result of the operation in case of failure." }, "metadata": { - "description": "Service-specific metadata associated with the operation.", - "type": "object", "additionalProperties": { - "type": "any", - "description": "Properties of the object. Contains field @type with type URL." - } + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation.", + "type": "object" } }, - "id": "Operation" + "id": "Operation", + "description": "An asynchronous operation in a project that runs over a given cluster. Used to track the progress of a user request that is running asynchronously. Examples include creating a cluster, updating a cluster, and deleting a cluster.", + "type": "object" }, "OperationStatus": { "description": "The status of the operation.", @@ -802,6 +804,7 @@ "id": "OperationStatus" }, "JobReference": { + "description": "Encapsulates the full scoping used to reference a job.", "type": "object", "properties": { "projectId": { @@ -813,8 +816,7 @@ "type": "string" } }, - "id": "JobReference", - "description": "Encapsulates the full scoping used to reference a job." + "id": "JobReference" }, "SubmitJobRequest": { "description": "A job submission request.", @@ -833,11 +835,11 @@ "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", "type": "array", "items": { - "type": "object", "additionalProperties": { - "type": "any", - "description": "Properties of the object. Contains field @type with type URL." - } + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" } }, "code": { @@ -855,6 +857,7 @@ "type": "object" }, "JobScheduling": { + "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.", "type": "object", "properties": { "maxFailuresPerHour": { @@ -863,8 +866,25 @@ "type": "integer" } }, - "id": "JobScheduling", - "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release." + "id": "JobScheduling" + }, + "ListJobsResponse": { + "properties": { + "nextPageToken": { + "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListJobsRequest\u003c/code\u003e.", + "type": "string" + }, + "jobs": { + "description": "Output-only Jobs list.", + "type": "array", + "items": { + "$ref": "Job" + } + } + }, + "id": "ListJobsResponse", + "description": "A response to a request to list jobs in a project.", + "type": "object" }, "NodeInitializationAction": { "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", @@ -882,24 +902,6 @@ }, "id": "NodeInitializationAction" }, - "ListJobsResponse": { - "id": "ListJobsResponse", - "description": "A response to a request to list jobs in a project.", - "type": "object", - "properties": { - "jobs": { - "description": "Output-only Jobs list.", - "type": "array", - "items": { - "$ref": "Job" - } - }, - "nextPageToken": { - "type": "string", - "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListJobsRequest\u003c/code\u003e." - } - } - }, "CancelJobRequest": { "description": "A request to cancel a job.", "type": "object", @@ -907,17 +909,7 @@ "id": "CancelJobRequest" }, "SparkSqlJob": { - "description": "A Cloud Dataproc job for running Spark SQL queries.", - "type": "object", "properties": { - "queryList": { - "description": "A list of queries.", - "$ref": "QueryList" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains SQL queries.", - "type": "string" - }, "scriptVariables": { "additionalProperties": { "type": "string" @@ -926,70 +918,80 @@ "type": "object" }, "jarFileUris": { + "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", "type": "array", "items": { "type": "string" - }, - "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH." + } }, "loggingConfiguration": { "$ref": "LoggingConfiguration", "description": "Optional The runtime log configuration for job execution." }, "properties": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten." + "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.", + "type": "object" + }, + "queryFileUri": { + "description": "The HCFS URI of the script that contains SQL queries.", + "type": "string" + }, + "queryList": { + "description": "A list of queries.", + "$ref": "QueryList" } }, - "id": "SparkSqlJob" + "id": "SparkSqlJob", + "description": "A Cloud Dataproc job for running Spark SQL queries.", + "type": "object" }, "Cluster": { "properties": { + "configuration": { + "description": "Required The cluster configuration. It may differ from a user's initial configuration due to Cloud Dataproc setting of default values and updating clusters.", + "$ref": "ClusterConfiguration" + }, "createTime": { - "type": "string", "description": "Output-only The timestamp of cluster creation.", - "format": "google-datetime" + "format": "google-datetime", + "type": "string" }, "labels": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Optional The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given cluster." + "description": "Optional The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given cluster.", + "type": "object" }, "metrics": { - "$ref": "ClusterMetrics", - "description": "Contains cluster daemon metrics such as HDFS and YARN stats." + "description": "Contains cluster daemon metrics such as HDFS and YARN stats.", + "$ref": "ClusterMetrics" }, "status": { - "$ref": "ClusterStatus", - "description": "Output-only Cluster status." + "description": "Output-only Cluster status.", + "$ref": "ClusterStatus" }, "statusHistory": { + "description": "Output-only Previous cluster statuses.", "type": "array", "items": { "$ref": "ClusterStatus" - }, - "description": "Output-only Previous cluster statuses." + } }, "clusterName": { "description": "Required The cluster name. Cluster names within a project must be unique. Names from deleted clusters can be reused.", "type": "string" }, "clusterUuid": { - "type": "string", - "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster." + "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.", + "type": "string" }, "projectId": { "description": "Required The Google Cloud Platform project ID that the cluster belongs to.", "type": "string" - }, - "configuration": { - "$ref": "ClusterConfiguration", - "description": "Required The cluster configuration. It may differ from a user's initial configuration due to Cloud Dataproc setting of default values and updating clusters." } }, "id": "Cluster", @@ -997,6 +999,8 @@ "type": "object" }, "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "type": "object", "properties": { "nextPageToken": { "description": "The standard List next-page token.", @@ -1010,21 +1014,46 @@ } } }, - "id": "ListOperationsResponse", - "description": "The response message for Operations.ListOperations.", - "type": "object" + "id": "ListOperationsResponse" }, "OperationMetadata": { - "description": "Metadata describing the operation.", - "type": "object", "properties": { + "warnings": { + "description": "Output-only Errors encountered during operation execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "insertTime": { + "description": "The time that the operation was requested.", + "format": "google-datetime", + "type": "string" + }, + "statusHistory": { + "description": "Output-only Previous operation status.", + "type": "array", + "items": { + "$ref": "OperationStatus" + } + }, + "operationType": { + "description": "Output-only The operation type.", + "type": "string" + }, + "description": { + "description": "Output-only Short description of operation.", + "type": "string" + }, "status": { - "description": "Output-only Current operation status.", - "$ref": "OperationStatus" + "$ref": "OperationStatus", + "description": "Output-only Current operation status." + }, + "details": { + "description": "A message containing any operation metadata details.", + "type": "string" }, "state": { - "description": "A message containing the operation state.", - "type": "string", "enumDescriptions": [ "Unused.", "The operation has been created.", @@ -1036,20 +1065,18 @@ "PENDING", "RUNNING", "DONE" - ] + ], + "description": "A message containing the operation state.", + "type": "string" }, - "details": { - "description": "A message containing any operation metadata details.", + "clusterUuid": { + "description": "Cluster UUId for the operation.", "type": "string" }, "clusterName": { "description": "Name of the cluster for the operation.", "type": "string" }, - "clusterUuid": { - "type": "string", - "description": "Cluster UUId for the operation." - }, "innerState": { "description": "A message containing the detailed operation state.", "type": "string" @@ -1063,55 +1090,28 @@ "description": "The time that the operation was started by the server.", "format": "google-datetime", "type": "string" - }, - "warnings": { - "description": "Output-only Errors encountered during operation execution.", - "type": "array", - "items": { - "type": "string" - } - }, - "insertTime": { - "description": "The time that the operation was requested.", - "format": "google-datetime", - "type": "string" - }, - "statusHistory": { - "description": "Output-only Previous operation status.", - "type": "array", - "items": { - "$ref": "OperationStatus" - } - }, - "operationType": { - "description": "Output-only The operation type.", - "type": "string" - }, - "description": { - "description": "Output-only Short description of operation.", - "type": "string" } }, - "id": "OperationMetadata" + "id": "OperationMetadata", + "description": "Metadata describing the operation.", + "type": "object" }, "JobPlacement": { - "description": "Cloud Dataproc job configuration.", - "type": "object", "properties": { "clusterName": { - "type": "string", - "description": "Required The name of the cluster where the job will be submitted." + "description": "Required The name of the cluster where the job will be submitted.", + "type": "string" }, "clusterUuid": { "description": "Output-only A cluster UUID generated by the Dataproc service when the job is submitted.", "type": "string" } }, - "id": "JobPlacement" + "id": "JobPlacement", + "description": "Cloud Dataproc job configuration.", + "type": "object" }, "ClusterStatus": { - "description": "The status of a cluster and its instances.", - "type": "object", "properties": { "stateStartTime": { "description": "Time when this state was entered.", @@ -1119,8 +1119,6 @@ "type": "string" }, "substate": { - "description": "Output-only Additional state information that includes status reported by the agent.", - "type": "string", "enumDescriptions": [ "", "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", @@ -1130,22 +1128,15 @@ "UNSPECIFIED", "UNHEALTHY", "STALE_STATUS" - ] + ], + "description": "Output-only Additional state information that includes status reported by the agent.", + "type": "string" }, "detail": { "description": "Optional details of cluster's state.", "type": "string" }, "state": { - "type": "string", - "enumDescriptions": [ - "The cluster state is unknown.", - "The cluster is being created and set up. It is not ready for use.", - "The cluster is currently running and healthy. It is ready for use.", - "The cluster encountered an error. It is not ready for use.", - "The cluster is being deleted. It cannot be used.", - "The cluster is being updated. It continues to accept and process jobs." - ], "enum": [ "UNKNOWN", "CREATING", @@ -1154,34 +1145,43 @@ "DELETING", "UPDATING" ], - "description": "The cluster's state." + "description": "The cluster's state.", + "type": "string", + "enumDescriptions": [ + "The cluster state is unknown.", + "The cluster is being created and set up. It is not ready for use.", + "The cluster is currently running and healthy. It is ready for use.", + "The cluster encountered an error. It is not ready for use.", + "The cluster is being deleted. It cannot be used.", + "The cluster is being updated. It continues to accept and process jobs." + ] } }, - "id": "ClusterStatus" + "id": "ClusterStatus", + "description": "The status of a cluster and its instances.", + "type": "object" }, "PigJob": { - "description": "A Cloud Dataproc job for running Pig queries on YARN.", - "type": "object", "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", + "type": "object" + }, "continueOnFailure": { "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", "type": "boolean" }, + "queryList": { + "$ref": "QueryList", + "description": "A list of queries." + }, "queryFileUri": { "description": "The HCFS URI of the script that contains the Pig queries.", "type": "string" }, - "queryList": { - "description": "A list of queries.", - "$ref": "QueryList" - }, - "jarFileUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs." - }, "scriptVariables": { "additionalProperties": { "type": "string" @@ -1189,54 +1189,39 @@ "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: \"name=value\").", "type": "object" }, - "loggingConfiguration": { - "$ref": "LoggingConfiguration", - "description": "Optional The runtime log configuration for job execution." - }, - "properties": { - "additionalProperties": { + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", + "type": "array", + "items": { "type": "string" - }, - "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", - "type": "object" + } + }, + "loggingConfiguration": { + "description": "Optional The runtime log configuration for job execution.", + "$ref": "LoggingConfiguration" } }, - "id": "PigJob" + "id": "PigJob", + "description": "A Cloud Dataproc job for running Pig queries on YARN.", + "type": "object" }, "AcceleratorConfiguration": { + "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).", "type": "object", "properties": { - "acceleratorTypeUri": { - "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)", - "type": "string" - }, "acceleratorCount": { - "type": "integer", "description": "The number of the accelerator cards of this type exposed to this instance.", - "format": "int32" - } - }, - "id": "AcceleratorConfiguration", - "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine)." - }, - "ManagedGroupConfiguration": { - "description": "Specifies the resources used to actively manage an instance group.", - "type": "object", - "properties": { - "instanceGroupManagerName": { - "description": "Output-only The name of Instance Group Manager managing this group.", - "type": "string" + "format": "int32", + "type": "integer" }, - "instanceTemplateName": { - "type": "string", - "description": "Output-only The name of Instance Template used for Managed Instance Group." + "acceleratorTypeUri": { + "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)", + "type": "string" } }, - "id": "ManagedGroupConfiguration" + "id": "AcceleratorConfiguration" }, "ListClustersResponse": { - "description": "The list of all clusters in a project.", - "type": "object", "properties": { "clusters": { "description": "Output-only The clusters in the project.", @@ -1250,30 +1235,32 @@ "type": "string" } }, - "id": "ListClustersResponse" + "id": "ListClustersResponse", + "description": "The list of all clusters in a project.", + "type": "object" }, - "Job": { - "description": "A Cloud Dataproc job resource.", + "ManagedGroupConfiguration": { + "description": "Specifies the resources used to actively manage an instance group.", "type": "object", "properties": { - "driverOutputUri": { - "description": "Output-only A URI pointing to the location of the mixed stdout/stderr of the job's driver program—for example, \u003ccode\u003egs://sysbucket123/foo-cluster/jobid-123/driver/output\u003c/code\u003e.", + "instanceGroupManagerName": { + "description": "Output-only The name of Instance Group Manager managing this group.", "type": "string" }, - "hiveJob": { - "description": "Job is a Hive job.", - "$ref": "HiveJob" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.", - "type": "object" - }, - "driverOutputResourceUri": { - "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.", + "instanceTemplateName": { + "description": "Output-only The name of Instance Template used for Managed Instance Group.", "type": "string" + } + }, + "id": "ManagedGroupConfiguration" + }, + "Job": { + "description": "A Cloud Dataproc job resource.", + "type": "object", + "properties": { + "sparkSqlJob": { + "$ref": "SparkSqlJob", + "description": "Job is a SparkSql job." }, "statusHistory": { "description": "Output-only The previous job status.", @@ -1282,10 +1269,6 @@ "$ref": "JobStatus" } }, - "sparkSqlJob": { - "description": "Job is a SparkSql job.", - "$ref": "SparkSqlJob" - }, "sparkJob": { "$ref": "SparkJob", "description": "Job is a Spark job." @@ -1298,8 +1281,8 @@ } }, "pysparkJob": { - "$ref": "PySparkJob", - "description": "Job is a Pyspark job." + "description": "Job is a Pyspark job.", + "$ref": "PySparkJob" }, "reference": { "$ref": "JobReference", @@ -1317,14 +1300,14 @@ "description": "Job is a Hadoop job.", "$ref": "HadoopJob" }, - "status": { - "$ref": "JobStatus", - "description": "Output-only The job status. Additional application-specific status information may be contained in the \u003ccode\u003etype_job\u003c/code\u003e and \u003ccode\u003eyarn_applications\u003c/code\u003e fields." - }, "placement": { "description": "Required Job information, including how, when, and where to run the job.", "$ref": "JobPlacement" }, + "status": { + "$ref": "JobStatus", + "description": "Output-only The job status. Additional application-specific status information may be contained in the \u003ccode\u003etype_job\u003c/code\u003e and \u003ccode\u003eyarn_applications\u003c/code\u003e fields." + }, "driverControlFilesUri": { "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", "type": "string" @@ -1340,14 +1323,46 @@ "pigJob": { "$ref": "PigJob", "description": "Job is a Pig job." + }, + "driverOutputUri": { + "description": "Output-only A URI pointing to the location of the mixed stdout/stderr of the job's driver program—for example, \u003ccode\u003egs://sysbucket123/foo-cluster/jobid-123/driver/output\u003c/code\u003e.", + "type": "string" + }, + "hiveJob": { + "description": "Job is a Hive job.", + "$ref": "HiveJob" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.", + "type": "object" + }, + "driverOutputResourceUri": { + "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.", + "type": "string" } }, "id": "Job" }, "SparkJob": { - "description": "A Cloud Dataproc job for running Spark applications on YARN.", - "type": "object", "properties": { + "mainClass": { + "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", + "type": "string" + }, + "archiveUris": { + "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", + "type": "array", + "items": { + "type": "string" + } + }, + "mainJarFileUri": { + "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file that contains the main class.", + "type": "string" + }, "jarFileUris": { "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.", "type": "array", @@ -1356,15 +1371,15 @@ } }, "loggingConfiguration": { - "description": "Optional The runtime log configuration for job execution.", - "$ref": "LoggingConfiguration" + "$ref": "LoggingConfiguration", + "description": "Optional The runtime log configuration for job execution." }, "properties": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code." + "description": "Optional A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", + "type": "object" }, "args": { "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", @@ -1379,30 +1394,46 @@ "items": { "type": "string" } + } + }, + "id": "SparkJob", + "description": "A Cloud Dataproc job for running Spark applications on YARN.", + "type": "object" + }, + "DiskConfiguration": { + "properties": { + "bootDiskSizeGb": { + "description": "Optional Size in GB of the boot disk (default is 500GB).", + "format": "int32", + "type": "integer" }, - "mainClass": { - "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", - "type": "string" - }, - "archiveUris": { - "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", - "type": "array", - "items": { - "type": "string" - } - }, - "mainJarFileUri": { - "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file that contains the main class.", - "type": "string" + "numLocalSsds": { + "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs, and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and installed binaries.", + "format": "int32", + "type": "integer" } }, - "id": "SparkJob" + "id": "DiskConfiguration", + "description": "Specifies the configuration of disk options for a group of VM instances.", + "type": "object" }, "JobStatus": { - "id": "JobStatus", - "description": "Cloud Dataproc job status.", - "type": "object", "properties": { + "stateStartTime": { + "description": "Output-only The time when this state was entered.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time when the job completed.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "The time when the server started the job.", + "format": "google-datetime", + "type": "string" + }, "substate": { "enumDescriptions": [ "", @@ -1424,11 +1455,19 @@ "format": "google-datetime", "type": "string" }, - "details": { - "description": "Optional Job state details, such as an error description if the state is \u003ccode\u003eERROR\u003c/code\u003e.", - "type": "string" - }, "state": { + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "SETUP_DONE", + "RUNNING", + "CANCEL_PENDING", + "CANCEL_STARTED", + "CANCELLED", + "DONE", + "ERROR", + "ATTEMPT_FAILURE" + ], "description": "Required A state message specifying the overall job state.", "type": "string", "enumDescriptions": [ @@ -1442,68 +1481,28 @@ "The job has completed successfully.", "The job has completed, but encountered an error.", "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only." - ], - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "SETUP_DONE", - "RUNNING", - "CANCEL_PENDING", - "CANCEL_STARTED", - "CANCELLED", - "DONE", - "ERROR", - "ATTEMPT_FAILURE" ] }, - "stateStartTime": { - "description": "Output-only The time when this state was entered.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time when the job completed.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "The time when the server started the job.", - "format": "google-datetime", + "details": { + "description": "Optional Job state details, such as an error description if the state is \u003ccode\u003eERROR\u003c/code\u003e.", "type": "string" } - } - }, - "DiskConfiguration": { - "description": "Specifies the configuration of disk options for a group of VM instances.", - "type": "object", - "properties": { - "numLocalSsds": { - "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs, and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and installed binaries.", - "format": "int32", - "type": "integer" - }, - "bootDiskSizeGb": { - "description": "Optional Size in GB of the boot disk (default is 500GB).", - "format": "int32", - "type": "integer" - } }, - "id": "DiskConfiguration" + "id": "JobStatus", + "description": "Cloud Dataproc job status.", + "type": "object" }, "ClusterOperationStatus": { "description": "The status of the operation.", "type": "object", "properties": { - "innerState": { - "description": "Output-only A message containing the detailed operation state.", - "type": "string" - }, - "stateStartTime": { - "description": "Output-only The time this state was entered.", - "format": "google-datetime", - "type": "string" - }, "state": { + "enum": [ + "UNKNOWN", + "PENDING", + "RUNNING", + "DONE" + ], "description": "Output-only A message containing the operation state.", "type": "string", "enumDescriptions": [ @@ -1511,25 +1510,79 @@ "The operation has been created.", "The operation is running.", "The operation is done; either cancelled or completed." - ], - "enum": [ - "UNKNOWN", - "PENDING", - "RUNNING", - "DONE" ] }, "details": { "description": "Output-onlyA message containing any operation metadata details.", "type": "string" + }, + "innerState": { + "description": "Output-only A message containing the detailed operation state.", + "type": "string" + }, + "stateStartTime": { + "description": "Output-only The time this state was entered.", + "format": "google-datetime", + "type": "string" } }, "id": "ClusterOperationStatus" }, + "YarnApplication": { + "properties": { + "state": { + "enum": [ + "STATE_UNSPECIFIED", + "NEW", + "NEW_SAVING", + "SUBMITTED", + "ACCEPTED", + "RUNNING", + "FINISHED", + "FAILED", + "KILLED" + ], + "description": "Required The application state.", + "type": "string", + "enumDescriptions": [ + "Status is unspecified.", + "Status is NEW.", + "Status is NEW_SAVING.", + "Status is SUBMITTED.", + "Status is ACCEPTED.", + "Status is RUNNING.", + "Status is FINISHED.", + "Status is FAILED.", + "Status is KILLED." + ] + }, + "name": { + "description": "Required The application name.", + "type": "string" + }, + "trackingUrl": { + "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", + "type": "string" + }, + "progress": { + "description": "Required The numerical progress of the application, from 1 to 100.", + "format": "float", + "type": "number" + } + }, + "id": "YarnApplication", + "description": "A YARN application created by a job. Application information is a subset of \u003ccode\u003eorg.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto\u003c/code\u003e.", + "type": "object" + }, "HadoopJob": { - "description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN.", - "type": "object", "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.", + "type": "object" + }, "args": { "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", "type": "array", @@ -1549,11 +1602,11 @@ "type": "string" }, "archiveUris": { + "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", "type": "array", "items": { "type": "string" - }, - "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip." + } }, "mainJarFileUri": { "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar hdfs:/tmp/test-samples/custom-wordcount.jar file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar", @@ -1567,18 +1620,13 @@ } }, "loggingConfiguration": { - "$ref": "LoggingConfiguration", - "description": "Optional The runtime log configuration for job execution." - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.", - "type": "object" + "description": "Optional The runtime log configuration for job execution.", + "$ref": "LoggingConfiguration" } }, - "id": "HadoopJob" + "id": "HadoopJob", + "description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN.", + "type": "object" }, "QueryList": { "description": "A list of queries to run on a cluster.", @@ -1594,52 +1642,6 @@ }, "id": "QueryList" }, - "YarnApplication": { - "properties": { - "name": { - "description": "Required The application name.", - "type": "string" - }, - "trackingUrl": { - "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", - "type": "string" - }, - "progress": { - "description": "Required The numerical progress of the application, from 1 to 100.", - "format": "float", - "type": "number" - }, - "state": { - "enumDescriptions": [ - "Status is unspecified.", - "Status is NEW.", - "Status is NEW_SAVING.", - "Status is SUBMITTED.", - "Status is ACCEPTED.", - "Status is RUNNING.", - "Status is FINISHED.", - "Status is FAILED.", - "Status is KILLED." - ], - "enum": [ - "STATE_UNSPECIFIED", - "NEW", - "NEW_SAVING", - "SUBMITTED", - "ACCEPTED", - "RUNNING", - "FINISHED", - "FAILED", - "KILLED" - ], - "description": "Required The application state.", - "type": "string" - } - }, - "id": "YarnApplication", - "description": "A YARN application created by a job. Application information is a subset of \u003ccode\u003eorg.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto\u003c/code\u003e.", - "type": "object" - }, "ClusterOperationMetadata": { "description": "Metadata describing the operation.", "type": "object", @@ -1651,14 +1653,14 @@ "$ref": "ClusterOperationStatus" } }, - "clusterUuid": { - "description": "Output-only Cluster UUID for the operation.", - "type": "string" - }, "clusterName": { "description": "Output-only Name of the cluster for the operation.", "type": "string" }, + "clusterUuid": { + "description": "Output-only Cluster UUID for the operation.", + "type": "string" + }, "operationType": { "description": "Output-only The operation type.", "type": "string" @@ -1668,18 +1670,18 @@ "type": "string" }, "warnings": { + "description": "Output-only Errors encountered during operation execution.", "type": "array", "items": { "type": "string" - }, - "description": "Output-only Errors encountered during operation execution." + } }, "labels": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Output-only Labels associated with the operation" + "description": "Output-only Labels associated with the operation", + "type": "object" }, "status": { "description": "Output-only Current operation status.", @@ -1688,28 +1690,34 @@ }, "id": "ClusterOperationMetadata" }, + "Empty": { + "properties": {}, + "id": "Empty", + "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", + "type": "object" + }, "HiveJob": { "description": "A Cloud Dataproc job for running Hive queries on YARN.", "type": "object", "properties": { "continueOnFailure": { - "type": "boolean", - "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries." + "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", + "type": "boolean" }, "queryFileUri": { "description": "The HCFS URI of the script that contains Hive queries.", "type": "string" }, "queryList": { - "$ref": "QueryList", - "description": "A list of queries." + "description": "A list of queries.", + "$ref": "QueryList" }, "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.", "type": "array", "items": { "type": "string" - }, - "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs." + } }, "scriptVariables": { "additionalProperties": { @@ -1719,32 +1727,15 @@ "type": "object" }, "properties": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code." + "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", + "type": "object" } }, "id": "HiveJob" }, - "Empty": { - "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", - "type": "object", - "properties": {}, - "id": "Empty" - }, - "DiagnoseClusterResults": { - "description": "The location of diagnostic output.", - "type": "object", - "properties": { - "outputUri": { - "description": "Output-only The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.", - "type": "string" - } - }, - "id": "DiagnoseClusterResults" - }, "ListJobsRequest": { "description": "A request to list jobs in a project.", "type": "object", @@ -1754,7 +1745,6 @@ "type": "string" }, "jobStateMatcher": { - "type": "string", "enumDescriptions": [ "Match all jobs, regardless of state.", "Only match jobs in non-terminal states: PENDING, RUNNING, CANCEL_PENDING", @@ -1765,11 +1755,12 @@ "ACTIVE", "NON_ACTIVE" ], - "description": "Optional Specifies enumerated categories of jobs to list." + "description": "Optional Specifies enumerated categories of jobs to list.", + "type": "string" }, "pageToken": { - "type": "string", - "description": "Optional The page token, returned by a previous call, to request the next page of results." + "description": "Optional The page token, returned by a previous call, to request the next page of results.", + "type": "string" }, "clusterName": { "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster.", @@ -1783,20 +1774,21 @@ }, "id": "ListJobsRequest" }, - "GceConfiguration": { + "DiagnoseClusterResults": { + "description": "The location of diagnostic output.", + "type": "object", "properties": { - "zoneUri": { - "description": "Deprecated The zone where the Google Compute Engine cluster will be located. Example: \"compute.googleapis.com/projects/project_id /zones/us-east1-a\".", - "type": "string" - }, - "imageUri": { - "type": "string", - "description": "Deprecated The Google Compute Engine image resource used for cluster instances. Example: \"compute.googleapis.com/projects/debian-cloud /global/images/backports-debian-7-wheezy-v20140904\"." - }, - "machineTypeUri": { - "description": "Deprecated The Google Compute Engine machine type used for cluster instances. Example: \"compute.googleapis.com/projects/project_id /zones/us-east1-a/machineTypes/n1-standard-2\".", + "outputUri": { + "description": "Output-only The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.", "type": "string" - }, + } + }, + "id": "DiagnoseClusterResults" + }, + "GceConfiguration": { + "description": "Deprecated Common configuration settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", + "type": "object", + "properties": { "networkUri": { "description": "Deprecated The Google Compute Engine network to be used for machine communications. Inbound SSH connections are necessary to complete cluster configuration. Example \"compute.googleapis.com/projects/project_id /zones/us-east1-a/default\".", "type": "string" @@ -1807,34 +1799,53 @@ "items": { "type": "string" } + }, + "zoneUri": { + "description": "Deprecated The zone where the Google Compute Engine cluster will be located. Example: \"compute.googleapis.com/projects/project_id /zones/us-east1-a\".", + "type": "string" + }, + "imageUri": { + "description": "Deprecated The Google Compute Engine image resource used for cluster instances. Example: \"compute.googleapis.com/projects/debian-cloud /global/images/backports-debian-7-wheezy-v20140904\".", + "type": "string" + }, + "machineTypeUri": { + "description": "Deprecated The Google Compute Engine machine type used for cluster instances. Example: \"compute.googleapis.com/projects/project_id /zones/us-east1-a/machineTypes/n1-standard-2\".", + "type": "string" } }, - "id": "GceConfiguration", - "description": "Deprecated Common configuration settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", - "type": "object" + "id": "GceConfiguration" }, "SoftwareConfiguration": { - "type": "object", "properties": { - "imageVersion": { - "description": "Optional The version of software inside the cluster. It must match the regular expression 0-9+.0-9+. If unspecified it will default to latest version.", - "type": "string" - }, "properties": { - "description": "Optional The properties to set on daemon configuration files.Property keys are specified in \"prefix:property\" format, such as \"core:fs.defaultFS\". The following are supported prefixes and their mappings: core - core-site.xml hdfs - hdfs-site.xml mapred - mapred-site.xml yarn - yarn-site.xml hive - hive-site.xml pig - pig.properties spark - spark-defaults.conf", - "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Optional The properties to set on daemon configuration files.Property keys are specified in \"prefix:property\" format, such as \"core:fs.defaultFS\". The following are supported prefixes and their mappings: core - core-site.xml hdfs - hdfs-site.xml mapred - mapred-site.xml yarn - yarn-site.xml hive - hive-site.xml pig - pig.properties spark - spark-defaults.conf", + "type": "object" + }, + "imageVersion": { + "description": "Optional The version of software inside the cluster. It must match the regular expression 0-9+.0-9+. If unspecified it will default to latest version.", + "type": "string" } }, "id": "SoftwareConfiguration", - "description": "Specifies the selection and configuration of software inside the cluster." + "description": "Specifies the selection and configuration of software inside the cluster.", + "type": "object" }, "PySparkJob": { - "description": "A Cloud Dataproc job for running PySpark applications on YARN.", - "type": "object", "properties": { + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", + "type": "array", + "items": { + "type": "string" + } + }, + "loggingConfiguration": { + "$ref": "LoggingConfiguration", + "description": "Optional The runtime log configuration for job execution." + }, "properties": { "additionalProperties": { "type": "string" @@ -1873,20 +1884,11 @@ "items": { "type": "string" } - }, - "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", - "type": "array", - "items": { - "type": "string" - } - }, - "loggingConfiguration": { - "description": "Optional The runtime log configuration for job execution.", - "$ref": "LoggingConfiguration" } }, - "id": "PySparkJob" + "id": "PySparkJob", + "description": "A Cloud Dataproc job for running PySpark applications on YARN.", + "type": "object" }, "LoggingConfiguration": { "description": "The runtime logging configuration of the job.", @@ -1917,6 +1919,18 @@ "description": "The cluster configuration.", "type": "object", "properties": { + "gceConfiguration": { + "description": "Deprecated The Google Compute Engine configuration settings for cluster resources.", + "$ref": "GceConfiguration" + }, + "workerDiskConfiguration": { + "$ref": "DiskConfiguration", + "description": "Deprecated The configuration settings of worker node disk options." + }, + "masterConfiguration": { + "description": "Optional The Google Compute Engine configuration settings for the master instance in a cluster.", + "$ref": "InstanceGroupConfiguration" + }, "secondaryWorkerConfiguration": { "$ref": "InstanceGroupConfiguration", "description": "Optional The Google Compute Engine configuration settings for additional worker instances in a cluster." @@ -1940,17 +1954,17 @@ } }, "workerConfiguration": { - "$ref": "InstanceGroupConfiguration", - "description": "Optional The Google Compute Engine configuration settings for worker instances in a cluster." - }, - "gceClusterConfiguration": { - "$ref": "GceClusterConfiguration", - "description": "Optional The shared Google Compute Engine configuration settings for all instances in a cluster." + "description": "Optional The Google Compute Engine configuration settings for worker instances in a cluster.", + "$ref": "InstanceGroupConfiguration" }, "softwareConfiguration": { "$ref": "SoftwareConfiguration", "description": "Optional The configuration settings for software inside the cluster." }, + "gceClusterConfiguration": { + "description": "Optional The shared Google Compute Engine configuration settings for all instances in a cluster.", + "$ref": "GceClusterConfiguration" + }, "configurationBucket": { "description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and configuration. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, then it will create and manage this project-level, per-location bucket for you.", "type": "string" @@ -1963,24 +1977,11 @@ "masterDiskConfiguration": { "$ref": "DiskConfiguration", "description": "Deprecated The configuration settings of master node disk options." - }, - "gceConfiguration": { - "$ref": "GceConfiguration", - "description": "Deprecated The Google Compute Engine configuration settings for cluster resources." - }, - "workerDiskConfiguration": { - "$ref": "DiskConfiguration", - "description": "Deprecated The configuration settings of worker node disk options." - }, - "masterConfiguration": { - "$ref": "InstanceGroupConfiguration", - "description": "Optional The Google Compute Engine configuration settings for the master instance in a cluster." } }, "id": "ClusterConfiguration" }, "ClusterMetrics": { - "id": "ClusterMetrics", "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.", "type": "object", "properties": { @@ -2000,29 +2001,13 @@ "description": "The HDFS metrics.", "type": "object" } - } + }, + "id": "ClusterMetrics" }, "InstanceGroupConfiguration": { - "id": "InstanceGroupConfiguration", "description": "The configuration settings for Google Compute Engine resources in an instance group, such as a master or worker group.", "type": "object", "properties": { - "diskConfiguration": { - "$ref": "DiskConfiguration", - "description": "Disk option configuration settings." - }, - "isPreemptible": { - "type": "boolean", - "description": "Specifies that this instance group contains Preemptible Instances." - }, - "imageUri": { - "type": "string", - "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_version. Example: \"compute.googleapis.com/projects/debian-cloud /global/images/backports-debian-7-wheezy-v20140904\"." - }, - "machineTypeUri": { - "description": "The Google Compute Engine machine type used for cluster instances. Example: \"compute.googleapis.com/projects/project_id /zones/us-east1-a/machineTypes/n1-standard-2\".", - "type": "string" - }, "managedGroupConfiguration": { "description": "Output-only The configuration for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.", "$ref": "ManagedGroupConfiguration" @@ -2045,15 +2030,32 @@ "description": "The number of VM instances in the instance group. For master instance groups, must be set to 1.", "format": "int32", "type": "integer" + }, + "diskConfiguration": { + "$ref": "DiskConfiguration", + "description": "Disk option configuration settings." + }, + "imageUri": { + "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_version. Example: \"compute.googleapis.com/projects/debian-cloud /global/images/backports-debian-7-wheezy-v20140904\".", + "type": "string" + }, + "isPreemptible": { + "description": "Specifies that this instance group contains Preemptible Instances.", + "type": "boolean" + }, + "machineTypeUri": { + "description": "The Google Compute Engine machine type used for cluster instances. Example: \"compute.googleapis.com/projects/project_id /zones/us-east1-a/machineTypes/n1-standard-2\".", + "type": "string" } - } + }, + "id": "InstanceGroupConfiguration" } }, + "protocol": "rest", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, - "protocol": "rest", "version": "v1alpha1", "baseUrl": "https://dataproc.googleapis.com/", "auth": { @@ -2065,9 +2067,9 @@ } } }, - "servicePath": "", - "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", "kind": "discovery#restDescription", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "servicePath": "", "rootUrl": "https://dataproc.googleapis.com/", "basePath": "", "ownerDomain": "google.com", @@ -2076,7 +2078,5 @@ "revision": "20170321", "documentationLink": "https://cloud.google.com/dataproc/", "id": "dataproc:v1alpha1", - "title": "Google Cloud Dataproc API", - "discoveryVersion": "v1", - "ownerName": "Google" + "title": "Google Cloud Dataproc API" } diff --git a/DiscoveryJson/dataproc_v1beta1.json b/DiscoveryJson/dataproc_v1beta1.json index ca2d4a4be7..225b6d7d3e 100644 --- a/DiscoveryJson/dataproc_v1beta1.json +++ b/DiscoveryJson/dataproc_v1beta1.json @@ -1,648 +1,660 @@ { - "schemas": { - "ClusterMetrics": { - "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.", - "type": "object", - "properties": { - "yarnMetrics": { - "type": "object", - "additionalProperties": { - "format": "int64", - "type": "string" + "documentationLink": "https://cloud.google.com/dataproc/", + "revision": "20170321", + "id": "dataproc:v1beta1", + "title": "Google Cloud Dataproc API", + "discoveryVersion": "v1", + "ownerName": "Google", + "resources": { + "operations": { + "methods": { + "delete": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^operations/.+$", + "location": "path", + "description": "The name of the operation resource to be deleted." + } }, - "description": "The YARN metrics." - }, - "hdfsMetrics": { - "description": "The HDFS metrics.", - "type": "object", - "additionalProperties": { - "format": "int64", - "type": "string" + "flatPath": "v1beta1/operations/{operationsId}", + "id": "dataproc.operations.delete", + "path": "v1beta1/{+name}", + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", + "httpMethod": "DELETE", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" } - } - }, - "id": "ClusterMetrics" - }, - "ClusterConfiguration": { - "description": "The cluster configuration.", - "type": "object", - "properties": { - "softwareConfiguration": { - "$ref": "SoftwareConfiguration", - "description": "Optional The configuration settings for software inside the cluster." - }, - "gceClusterConfiguration": { - "$ref": "GceClusterConfiguration", - "description": "Required The shared Google Compute Engine configuration settings for all instances in a cluster." - }, - "configurationBucket": { - "description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and configuration. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.", - "type": "string" }, - "masterConfiguration": { - "$ref": "InstanceGroupConfiguration", - "description": "Optional The Google Compute Engine configuration settings for the master instance in a cluster." - }, - "secondaryWorkerConfiguration": { - "description": "Optional The Google Compute Engine configuration settings for additional worker instances in a cluster.", - "$ref": "InstanceGroupConfiguration" - }, - "workerConfiguration": { - "description": "Optional The Google Compute Engine configuration settings for worker instances in a cluster.", - "$ref": "InstanceGroupConfiguration" - }, - "initializationActions": { - "description": "Optional Commands to execute on each node after configuration is completed. By default, executables are run on master and all worker nodes. You can test a node's \u003ccode\u003erole\u003c/code\u003e metadata to run an executable on a master or worker node, as shown below:\nROLE=$(/usr/share/google/get_metadata_value attributes/role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n", - "type": "array", - "items": { - "$ref": "NodeInitializationAction" - } - } - }, - "id": "ClusterConfiguration" - }, - "LoggingConfiguration": { - "type": "object", - "properties": { - "driverLogLevels": { - "additionalProperties": { - "enum": [ - "LEVEL_UNSPECIFIED", - "ALL", - "TRACE", - "DEBUG", - "INFO", - "WARN", - "ERROR", - "FATAL", - "OFF" - ], - "type": "string" + "get": { + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Operation" }, - "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'", - "type": "object" - } - }, - "id": "LoggingConfiguration", - "description": "The runtime logging configuration of the job." - }, - "InstanceGroupConfiguration": { - "type": "object", - "properties": { - "managedGroupConfiguration": { - "$ref": "ManagedGroupConfiguration", - "description": "Output-only The configuration for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups." - }, - "instanceNames": { - "description": "The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Dataproc derive the name).", - "type": "array", - "items": { - "type": "string" - } - }, - "accelerators": { - "description": "Optional The Google Compute Engine accelerator configuration for these instances.", - "type": "array", - "items": { - "$ref": "AcceleratorConfiguration" - } - }, - "numInstances": { - "description": "The number of VM instances in the instance group. For master instance groups, must be set to 1.", - "format": "int32", - "type": "integer" - }, - "diskConfiguration": { - "description": "Disk option configuration settings.", - "$ref": "DiskConfiguration" - }, - "machineTypeUri": { - "description": "The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.", - "type": "string" + "parameters": { + "name": { + "location": "path", + "description": "The name of the operation resource.", + "required": true, + "type": "string", + "pattern": "^operations/.+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/operations/{operationsId}", + "id": "dataproc.operations.get", + "path": "v1beta1/{+name}", + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service." }, - "isPreemptible": { - "description": "Specifies that this instance group contains Preemptible Instances.", - "type": "boolean" + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations.", + "response": { + "$ref": "ListOperationsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "filter": { + "location": "query", + "description": "The standard list filter.", + "type": "string" + }, + "name": { + "location": "path", + "description": "The name of the operation collection.", + "required": true, + "type": "string", + "pattern": "^operations$" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "The standard list page size.", + "format": "int32", + "type": "integer" + } + }, + "flatPath": "v1beta1/operations", + "path": "v1beta1/{+name}", + "id": "dataproc.operations.list" }, - "imageUri": { - "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_version.", - "type": "string" + "cancel": { + "id": "dataproc.operations.cancel", + "path": "v1beta1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use operations.get or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation.", + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string", + "pattern": "^operations/.+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/operations/{operationsId}:cancel" } - }, - "id": "InstanceGroupConfiguration", - "description": "The configuration settings for Google Compute Engine resources in an instance group, such as a master or worker group." + } }, - "GceClusterConfiguration": { - "id": "GceClusterConfiguration", - "description": "Common configuration settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", - "type": "object", - "properties": { - "tags": { - "description": "The Google Compute Engine tags to add to all instances.", - "type": "array", - "items": { - "type": "string" - } - }, - "serviceAccount": { - "description": "Optional The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com", - "type": "string" - }, - "subnetworkUri": { - "description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.", - "type": "string" - }, - "networkUri": { - "description": "The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://cloud.google.com/compute/docs/subnetworks for more information). Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.", - "type": "string" - }, - "zoneUri": { - "description": "Required The zone where the Google Compute Engine cluster will be located. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone].", - "type": "string" - }, - "internalIpOnly": { - "type": "boolean", - "description": "If true, all instances in the cluser will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses." - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "The Google Compute Engine metadata entries to add to all instances.", - "type": "object" - }, - "serviceAccountScopes": { - "description": "The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - https://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.com/auth/logging.write If no scopes are specfied, the following defaults are also provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.com/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - https://www.googleapis.com/auth/devstorage.full_control", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "CancelOperationRequest": { - "properties": {}, - "id": "CancelOperationRequest", - "description": "The request message for Operations.CancelOperation.", - "type": "object" - }, - "DiagnoseClusterOutputLocation": { - "id": "DiagnoseClusterOutputLocation", - "description": "The location of diagnostic output.", - "type": "object", - "properties": { - "outputUri": { - "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This is a plain text file with a summary of collected diagnostics.", - "type": "string" - } - } - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "type": "object", - "properties": { - "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" - }, - "metadata": { - "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, - "done": { - "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", - "type": "boolean" - }, - "response": { - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.", - "type": "string" - } - }, - "id": "Operation" - }, - "OperationStatus": { - "description": "The status of the operation.", - "type": "object", - "properties": { - "innerState": { - "description": "A message containing the detailed operation state.", - "type": "string" - }, - "stateStartTime": { - "description": "The time this state was entered.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "type": "string", - "enumDescriptions": [ - "Unused.", - "The operation has been created.", - "The operation is running.", - "The operation is done; either cancelled or completed." - ], - "enum": [ - "UNKNOWN", - "PENDING", - "RUNNING", - "DONE" - ], - "description": "A message containing the operation state." - }, - "details": { - "description": "A message containing any operation metadata details.", - "type": "string" - } - }, - "id": "OperationStatus" - }, - "JobReference": { - "description": "Encapsulates the full scoping used to reference a job.", - "type": "object", - "properties": { - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "type": "string" - }, - "jobId": { - "description": "Required The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.", - "type": "string" - } - }, - "id": "JobReference" - }, - "SubmitJobRequest": { - "description": "A request to submit a job.", - "type": "object", - "properties": { - "job": { - "$ref": "Job", - "description": "Required The job resource." - } - }, - "id": "SubmitJobRequest" - }, - "Status": { - "id": "Status", - "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:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe 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 mappingThe 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 usesThe 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:\nPartial 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.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch 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.\nAsynchronous 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.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.", - "type": "object", - "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "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.", - "type": "string" - }, - "details": { - "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "projects": { + "resources": { + "clusters": { + "methods": { + "create": { + "description": "Creates a cluster in a project.", + "request": { + "$ref": "Cluster" + }, + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}/clusters", + "path": "v1beta1/projects/{projectId}/clusters", + "id": "dataproc.projects.clusters.create" }, - "type": "object" - } - } - } - }, - "JobScheduling": { - "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.", - "type": "object", - "properties": { - "maxFailuresPerHour": { - "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.", - "format": "int32", - "type": "integer" - } - }, - "id": "JobScheduling" - }, - "ListJobsResponse": { - "description": "A list of jobs in a project.", - "type": "object", - "properties": { - "jobs": { - "description": "Output-only Jobs list.", - "type": "array", - "items": { - "$ref": "Job" - } - }, - "nextPageToken": { - "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListJobsRequest\u003c/code\u003e.", - "type": "string" - } - }, - "id": "ListJobsResponse" - }, - "NodeInitializationAction": { - "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", - "type": "object", - "properties": { - "executionTimeout": { - "type": "string", - "description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.", - "format": "google-duration" - }, - "executableFile": { - "description": "Required Google Cloud Storage URI of executable file.", - "type": "string" - } - }, - "id": "NodeInitializationAction" - }, - "CancelJobRequest": { - "id": "CancelJobRequest", - "description": "A request to cancel a job.", - "type": "object", - "properties": {} - }, - "SparkSqlJob": { - "description": "A Cloud Dataproc job for running Spark SQL queries.", - "type": "object", - "properties": { - "scriptVariables": { - "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "jarFileUris": { - "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", - "type": "array", - "items": { - "type": "string" - } - }, - "loggingConfiguration": { - "$ref": "LoggingConfiguration", - "description": "Optional The runtime log configuration for job execution." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten." - }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains SQL queries.", - "type": "string" - } - }, - "id": "SparkSqlJob" - }, - "Cluster": { - "properties": { - "projectId": { - "description": "Required The Google Cloud Platform project ID that the cluster belongs to.", - "type": "string" - }, - "configuration": { - "$ref": "ClusterConfiguration", - "description": "Required The cluster configuration. Note that Cloud Dataproc may set default values, and values may change when clusters are updated." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given cluster.", - "type": "object" - }, - "metrics": { - "$ref": "ClusterMetrics", - "description": "Contains cluster daemon metrics such as HDFS and YARN stats." - }, - "status": { - "$ref": "ClusterStatus", - "description": "Output-only Cluster status." - }, - "statusHistory": { - "description": "Output-only Previous cluster statuses.", - "type": "array", - "items": { - "$ref": "ClusterStatus" - } - }, - "clusterName": { - "description": "Required The cluster name. Cluster names within a project must be unique. Names from deleted clusters can be reused.", - "type": "string" - }, - "clusterUuid": { - "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.", - "type": "string" - } - }, - "id": "Cluster", - "description": "Describes the identifying information, configuration, and status of a cluster of Google Compute Engine instances.", - "type": "object" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" + "patch": { + "description": "Updates a cluster in a project.", + "request": { + "$ref": "Cluster" + }, + "httpMethod": "PATCH", + "parameterOrder": [ + "projectId", + "clusterName" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.", + "required": true, + "type": "string", + "location": "path" + }, + "updateMask": { + "type": "string", + "location": "query", + "description": "Required Specifies the path, relative to \u003ccode\u003eCluster\u003c/code\u003e, of the field to update. For example, to change the number of workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003econfiguration.worker_configuration.num_instances\u003c/code\u003e, and the PATCH request body would specify the new value, as follows:\n{\n \"configuration\":{\n \"workerConfiguration\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n\u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003econfig.worker_config.num_instances\u003c/code\u003e and \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e are the only fields that can be updated.", + "format": "google-fieldmask" + }, + "clusterName": { + "location": "path", + "description": "Required The cluster name.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}", + "id": "dataproc.projects.clusters.patch", + "path": "v1beta1/projects/{projectId}/clusters/{clusterName}" + }, + "get": { + "response": { + "$ref": "Cluster" + }, + "parameterOrder": [ + "projectId", + "clusterName" + ], + "httpMethod": "GET", + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string" + }, + "clusterName": { + "required": true, + "type": "string", + "location": "path", + "description": "Required The cluster name." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}", + "path": "v1beta1/projects/{projectId}/clusters/{clusterName}", + "id": "dataproc.projects.clusters.get", + "description": "Gets the resource representation for a cluster in a project." + }, + "diagnose": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "projectId", + "clusterName" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string" + }, + "clusterName": { + "location": "path", + "description": "Required The cluster name.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}:diagnose", + "path": "v1beta1/projects/{projectId}/clusters/{clusterName}:diagnose", + "id": "dataproc.projects.clusters.diagnose", + "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.", + "request": { + "$ref": "DiagnoseClusterRequest" + } + }, + "delete": { + "description": "Deletes a cluster in a project.", + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "projectId", + "clusterName" + ], + "httpMethod": "DELETE", + "parameters": { + "clusterName": { + "location": "path", + "description": "Required The cluster name.", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}", + "path": "v1beta1/projects/{projectId}/clusters/{clusterName}", + "id": "dataproc.projects.clusters.delete" + }, + "list": { + "httpMethod": "GET", + "parameterOrder": [ + "projectId" + ], + "response": { + "$ref": "ListClustersResponse" + }, + "parameters": { + "filter": { + "location": "query", + "description": "Optional A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)", + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The standard List page token.", + "type": "string" + }, + "pageSize": { + "description": "The standard List page size.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", + "required": true, + "type": "string", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectId}/clusters", + "id": "dataproc.projects.clusters.list", + "path": "v1beta1/projects/{projectId}/clusters", + "description": "Lists all clusters in a project." + } } - } - }, - "id": "ListOperationsResponse" - }, - "OperationMetadata": { - "id": "OperationMetadata", - "description": "Metadata describing the operation.", - "type": "object", - "properties": { - "operationType": { - "description": "Output-only The operation type.", - "type": "string" - }, - "description": { - "type": "string", - "description": "Output-only Short description of operation." - }, - "warnings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Output-only Errors encountered during operation execution." }, - "status": { - "description": "Output-only Current operation status.", - "$ref": "OperationStatus" - }, - "statusHistory": { - "description": "Output-only Previous operation status.", - "type": "array", - "items": { - "$ref": "OperationStatus" + "jobs": { + "methods": { + "submit": { + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], + "response": { + "$ref": "Job" + }, + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectId}/jobs:submit", + "id": "dataproc.projects.jobs.submit", + "path": "v1beta1/projects/{projectId}/jobs:submit", + "request": { + "$ref": "SubmitJobRequest" + }, + "description": "Submits a job to a cluster." + }, + "delete": { + "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.", + "httpMethod": "DELETE", + "parameterOrder": [ + "projectId", + "jobId" + ], + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string" + }, + "jobId": { + "location": "path", + "description": "Required The job ID.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}", + "id": "dataproc.projects.jobs.delete", + "path": "v1beta1/projects/{projectId}/jobs/{jobId}" + }, + "list": { + "description": "Lists jobs in a project.", + "httpMethod": "GET", + "response": { + "$ref": "ListJobsResponse" + }, + "parameterOrder": [ + "projectId" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "clusterName": { + "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster.", + "type": "string", + "location": "query" + }, + "projectId": { + "required": true, + "type": "string", + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to." + }, + "filter": { + "type": "string", + "location": "query", + "description": "Optional A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)" + }, + "jobStateMatcher": { + "enum": [ + "ALL", + "ACTIVE", + "NON_ACTIVE" + ], + "description": "Optional Specifies enumerated categories of jobs to list.", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "Optional The page token, returned by a previous call, to request the next page of results.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "Optional The number of results to return in each response.", + "format": "int32", + "type": "integer" + } + }, + "flatPath": "v1beta1/projects/{projectId}/jobs", + "id": "dataproc.projects.jobs.list", + "path": "v1beta1/projects/{projectId}/jobs" + }, + "cancel": { + "description": "Starts a job cancellation request. To access the job resource after cancellation, call jobs.list or jobs.get.", + "request": { + "$ref": "CancelJobRequest" + }, + "response": { + "$ref": "Job" + }, + "parameterOrder": [ + "projectId", + "jobId" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string" + }, + "jobId": { + "location": "path", + "description": "Required The job ID.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}:cancel", + "path": "v1beta1/projects/{projectId}/jobs/{jobId}:cancel", + "id": "dataproc.projects.jobs.cancel" + }, + "patch": { + "request": { + "$ref": "Job" + }, + "description": "Updates a job in a project.", + "httpMethod": "PATCH", + "parameterOrder": [ + "projectId", + "jobId" + ], + "response": { + "$ref": "Job" + }, + "parameters": { + "projectId": { + "location": "path", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string" + }, + "jobId": { + "location": "path", + "description": "Required The job ID.", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required Specifies the path, relative to \u003ccode\u003eJob\u003c/code\u003e, of the field to update. For example, to update the labels of a Job the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003elabels\u003c/code\u003e, and the PATCH request body would specify the new value. \u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003elabels\u003c/code\u003e is the only field that can be updated.", + "format": "google-fieldmask", + "type": "string", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}", + "id": "dataproc.projects.jobs.patch", + "path": "v1beta1/projects/{projectId}/jobs/{jobId}" + }, + "get": { + "httpMethod": "GET", + "parameterOrder": [ + "projectId", + "jobId" + ], + "response": { + "$ref": "Job" + }, + "parameters": { + "projectId": { + "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", + "required": true, + "type": "string", + "location": "path" + }, + "jobId": { + "location": "path", + "description": "Required The job ID.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}", + "id": "dataproc.projects.jobs.get", + "path": "v1beta1/projects/{projectId}/jobs/{jobId}", + "description": "Gets the resource representation for a job in a project." + } } - }, - "clusterUuid": { - "description": "Cluster UUId for the operation.", - "type": "string" - }, - "clusterName": { - "description": "Name of the cluster for the operation.", - "type": "string" } } + } + }, + "parameters": { + "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ] }, - "JobPlacement": { - "description": "Cloud Dataproc job configuration.", - "type": "object", - "properties": { - "clusterName": { - "description": "Required The name of the cluster where the job will be submitted.", - "type": "string" - }, - "clusterUuid": { - "description": "Output-only A cluster UUID generated by the Dataproc service when the job is submitted.", - "type": "string" - } - }, - "id": "JobPlacement" + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" }, - "PigJob": { - "type": "object", - "properties": { - "continueOnFailure": { - "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", - "type": "boolean" - }, - "queryList": { - "description": "A list of queries.", - "$ref": "QueryList" - }, - "queryFileUri": { - "description": "The HCFS URI of the script that contains the Pig queries.", - "type": "string" - }, - "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", - "type": "array", - "items": { - "type": "string" - } - }, - "scriptVariables": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", - "type": "object" - }, - "loggingConfiguration": { - "$ref": "LoggingConfiguration", - "description": "Optional The runtime log configuration for job execution." - }, - "properties": { - "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "id": "PigJob", - "description": "A Cloud Dataproc job for running Pig queries on YARN." + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" }, - "ClusterStatus": { - "id": "ClusterStatus", - "description": "The status of a cluster and its instances.", - "type": "object", - "properties": { - "stateStartTime": { - "description": "Time when this state was entered.", - "format": "google-datetime", - "type": "string" - }, - "substate": { - "enum": [ - "UNSPECIFIED", - "UNHEALTHY", - "STALE_STATUS" - ], - "description": "Output-only Additional state information that includes status reported by the agent.", - "type": "string", - "enumDescriptions": [ - "", - "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", - "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state." - ] - }, - "detail": { - "description": "Optional details of cluster's state.", - "type": "string" - }, - "state": { - "type": "string", - "enumDescriptions": [ - "The cluster state is unknown.", - "The cluster is being created and set up. It is not ready for use.", - "The cluster is currently running and healthy. It is ready for use.", - "The cluster encountered an error. It is not ready for use.", - "The cluster is being deleted. It cannot be used.", - "The cluster is being updated. It continues to accept and process jobs." - ], - "enum": [ - "UNKNOWN", - "CREATING", - "RUNNING", - "ERROR", - "DELETING", - "UPDATING" - ], - "description": "The cluster's state." - } - } + "key": { + "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.", + "type": "string", + "location": "query" }, - "AcceleratorConfiguration": { - "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).", - "type": "object", - "properties": { - "acceleratorCount": { - "type": "integer", - "description": "The number of the accelerator cards of this type exposed to this instance.", - "format": "int32" - }, - "acceleratorTypeUri": { - "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)", - "type": "string" - } - }, - "id": "AcceleratorConfiguration" + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Pretty-print response." + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "upload_protocol": { + "type": "string", + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + } + }, + "schemas": { "ManagedGroupConfiguration": { + "description": "Specifies the resources used to actively manage an instance group.", + "type": "object", "properties": { "instanceGroupManagerName": { "description": "Output-only The name of the Instance Group Manager for this group.", @@ -653,9 +665,7 @@ "type": "string" } }, - "id": "ManagedGroupConfiguration", - "description": "Specifies the resources used to actively manage an instance group.", - "type": "object" + "id": "ManagedGroupConfiguration" }, "ListClustersResponse": { "description": "The list of all clusters in a project.", @@ -669,25 +679,47 @@ } }, "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" + "type": "string", + "description": "The standard List next-page token." } }, "id": "ListClustersResponse" }, "Job": { + "id": "Job", + "description": "A Cloud Dataproc job resource.", + "type": "object", "properties": { - "driverOutputResourceUri": { - "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.", + "driverControlFilesUri": { + "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", "type": "string" }, - "sparkJob": { - "$ref": "SparkJob", - "description": "Job is a Spark job." + "submittedBy": { + "description": "Output-only The email address of the user submitting the job. For jobs submitted on the cluster, the address is \u003ccode\u003eusername@hostname\u003c/code\u003e.", + "type": "string" }, - "sparkSqlJob": { - "$ref": "SparkSqlJob", - "description": "Job is a SparkSql job." + "scheduling": { + "description": "Optional Job scheduling configuration.", + "$ref": "JobScheduling" + }, + "pigJob": { + "$ref": "PigJob", + "description": "Job is a Pig job." + }, + "hiveJob": { + "$ref": "HiveJob", + "description": "Job is a Hive job." + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.", + "type": "object" + }, + "driverOutputResourceUri": { + "description": "Output-only A URI pointing to the location of the stdout of the job's driver program.", + "type": "string" }, "statusHistory": { "description": "Output-only The previous job status.", @@ -696,6 +728,14 @@ "$ref": "JobStatus" } }, + "sparkSqlJob": { + "description": "Job is a SparkSql job.", + "$ref": "SparkSqlJob" + }, + "sparkJob": { + "$ref": "SparkJob", + "description": "Job is a Spark job." + }, "yarnApplications": { "description": "Output-only The collection of YARN applications spun up by this job.", "type": "array", @@ -704,8 +744,8 @@ } }, "pysparkJob": { - "description": "Job is a Pyspark job.", - "$ref": "PySparkJob" + "$ref": "PySparkJob", + "description": "Job is a Pyspark job." }, "reference": { "$ref": "JobReference", @@ -724,47 +764,24 @@ "$ref": "HadoopJob" }, "placement": { - "$ref": "JobPlacement", - "description": "Required Job information, including how, when, and where to run the job." + "description": "Required Job information, including how, when, and where to run the job.", + "$ref": "JobPlacement" }, "status": { - "$ref": "JobStatus", - "description": "Output-only The job status. Additional application-specific status information may be contained in the \u003ccode\u003etype_job\u003c/code\u003e and \u003ccode\u003eyarn_applications\u003c/code\u003e fields." - }, - "driverControlFilesUri": { - "description": "Output-only If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.", - "type": "string" - }, - "submittedBy": { - "description": "Output-only The email address of the user submitting the job. For jobs submitted on the cluster, the address is \u003ccode\u003eusername@hostname\u003c/code\u003e.", - "type": "string" - }, - "scheduling": { - "description": "Optional Job scheduling configuration.", - "$ref": "JobScheduling" - }, - "pigJob": { - "description": "Job is a Pig job.", - "$ref": "PigJob" - }, - "hiveJob": { - "$ref": "HiveJob", - "description": "Job is a Hive job." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.", - "type": "object" + "description": "Output-only The job status. Additional application-specific status information may be contained in the \u003ccode\u003etype_job\u003c/code\u003e and \u003ccode\u003eyarn_applications\u003c/code\u003e fields.", + "$ref": "JobStatus" } - }, - "id": "Job", - "description": "A Cloud Dataproc job resource.", - "type": "object" + } }, "SparkJob": { + "id": "SparkJob", + "description": "A Cloud Dataproc job for running Spark applications on YARN.", + "type": "object", "properties": { + "mainClass": { + "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", + "type": "string" + }, "archiveUris": { "description": "Optional HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", "type": "array", @@ -777,11 +794,11 @@ "type": "string" }, "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.", "type": "array", "items": { "type": "string" - }, - "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks." + } }, "loggingConfiguration": { "description": "Optional The runtime log configuration for job execution.", @@ -807,15 +824,25 @@ "items": { "type": "string" } + } + } + }, + "DiskConfiguration": { + "id": "DiskConfiguration", + "description": "Specifies the configuration of disk options for a group of VM instances.", + "type": "object", + "properties": { + "bootDiskSizeGb": { + "description": "Optional Size in GB of the boot disk (default is 500GB).", + "format": "int32", + "type": "integer" }, - "mainClass": { - "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.", - "type": "string" + "numLocalSsds": { + "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and installed binaries.", + "format": "int32", + "type": "integer" } - }, - "id": "SparkJob", - "description": "A Cloud Dataproc job for running Spark applications on YARN.", - "type": "object" + } }, "JobStatus": { "properties": { @@ -825,8 +852,6 @@ "type": "string" }, "substate": { - "description": "Output-only Additional state information, which includes status reported by the agent.", - "type": "string", "enumDescriptions": [ "", "The Job is submitted to the agent.Applies to RUNNING state.", @@ -838,10 +863,11 @@ "SUBMITTED", "QUEUED", "STALE_STATUS" - ] + ], + "description": "Output-only Additional state information, which includes status reported by the agent.", + "type": "string" }, "state": { - "type": "string", "enumDescriptions": [ "The job state is unknown.", "The job is pending; it has been submitted, but is not yet running.", @@ -866,7 +892,8 @@ "ERROR", "ATTEMPT_FAILURE" ], - "description": "Required A state message specifying the overall job state." + "description": "Required A state message specifying the overall job state.", + "type": "string" }, "details": { "description": "Optional Job state details, such as an error description if the state is \u003ccode\u003eERROR\u003c/code\u003e.", @@ -877,25 +904,14 @@ "description": "Cloud Dataproc job status.", "type": "object" }, - "DiskConfiguration": { - "description": "Specifies the configuration of disk options for a group of VM instances.", + "ClusterOperationStatus": { + "description": "The status of the operation.", "type": "object", "properties": { - "numLocalSsds": { - "type": "integer", - "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and installed binaries.", - "format": "int32" + "innerState": { + "description": "Output-only A message containing the detailed operation state.", + "type": "string" }, - "bootDiskSizeGb": { - "description": "Optional Size in GB of the boot disk (default is 500GB).", - "format": "int32", - "type": "integer" - } - }, - "id": "DiskConfiguration" - }, - "ClusterOperationStatus": { - "properties": { "stateStartTime": { "description": "Output-only The time this state was entered.", "format": "google-datetime", @@ -920,34 +936,74 @@ "details": { "description": "Output-onlyA message containing any operation metadata details.", "type": "string" - }, - "innerState": { - "description": "Output-only A message containing the detailed operation state.", - "type": "string" } }, - "id": "ClusterOperationStatus", - "description": "The status of the operation.", - "type": "object" + "id": "ClusterOperationStatus" }, - "HadoopJob": { + "YarnApplication": { + "description": "A YARN application created by a job. Application information is a subset of \u003ccode\u003eorg.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto\u003c/code\u003e.", "type": "object", "properties": { - "mainClass": { - "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.", + "trackingUrl": { + "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", "type": "string" }, - "archiveUris": { - "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", + "progress": { + "type": "number", + "description": "Required The numerical progress of the application, from 1 to 100.", + "format": "float" + }, + "state": { + "enumDescriptions": [ + "Status is unspecified.", + "Status is NEW.", + "Status is NEW_SAVING.", + "Status is SUBMITTED.", + "Status is ACCEPTED.", + "Status is RUNNING.", + "Status is FINISHED.", + "Status is FAILED.", + "Status is KILLED." + ], + "enum": [ + "STATE_UNSPECIFIED", + "NEW", + "NEW_SAVING", + "SUBMITTED", + "ACCEPTED", + "RUNNING", + "FINISHED", + "FAILED", + "KILLED" + ], + "description": "Required The application state.", + "type": "string" + }, + "name": { + "description": "Required The application name.", + "type": "string" + } + }, + "id": "YarnApplication" + }, + "QueryList": { + "id": "QueryList", + "description": "A list of queries to run on a cluster.", + "type": "object", + "properties": { + "queries": { + "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": {\n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n", "type": "array", "items": { "type": "string" } - }, - "mainJarFileUri": { - "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'", - "type": "string" - }, + } + } + }, + "HadoopJob": { + "description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN.", + "type": "object", + "properties": { "jarFileUris": { "description": "Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.", "type": "array", @@ -956,8 +1012,8 @@ } }, "loggingConfiguration": { - "description": "Optional The runtime log configuration for job execution.", - "$ref": "LoggingConfiguration" + "$ref": "LoggingConfiguration", + "description": "Optional The runtime log configuration for job execution." }, "properties": { "additionalProperties": { @@ -967,11 +1023,11 @@ "type": "object" }, "args": { - "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", "type": "array", "items": { "type": "string" - } + }, + "description": "Optional The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission." }, "fileUris": { "description": "Optional HCFS URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.", @@ -979,70 +1035,24 @@ "items": { "type": "string" } - } - }, - "id": "HadoopJob", - "description": "A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN." - }, - "QueryList": { - "description": "A list of queries to run on a cluster.", - "type": "object", - "properties": { - "queries": { - "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": {\n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n", + }, + "mainClass": { + "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.", + "type": "string" + }, + "archiveUris": { + "description": "Optional HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", "type": "array", "items": { "type": "string" } - } - }, - "id": "QueryList" - }, - "YarnApplication": { - "type": "object", - "properties": { - "state": { - "enum": [ - "STATE_UNSPECIFIED", - "NEW", - "NEW_SAVING", - "SUBMITTED", - "ACCEPTED", - "RUNNING", - "FINISHED", - "FAILED", - "KILLED" - ], - "description": "Required The application state.", - "type": "string", - "enumDescriptions": [ - "Status is unspecified.", - "Status is NEW.", - "Status is NEW_SAVING.", - "Status is SUBMITTED.", - "Status is ACCEPTED.", - "Status is RUNNING.", - "Status is FINISHED.", - "Status is FAILED.", - "Status is KILLED." - ] - }, - "name": { - "description": "Required The application name.", - "type": "string" }, - "trackingUrl": { - "description": "Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", + "mainJarFileUri": { + "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'", "type": "string" - }, - "progress": { - "description": "Required The numerical progress of the application, from 1 to 100.", - "format": "float", - "type": "number" } }, - "id": "YarnApplication", - "description": "A YARN application created by a job. Application information is a subset of \u003ccode\u003eorg.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto\u003c/code\u003e." + "id": "HadoopJob" }, "DiagnoseClusterRequest": { "description": "A request to collect cluster diagnostic information.", @@ -1055,8 +1065,8 @@ "type": "object", "properties": { "operationType": { - "type": "string", - "description": "Output-only The operation type." + "description": "Output-only The operation type.", + "type": "string" }, "description": { "description": "Output-only Short description of operation.", @@ -1098,16 +1108,27 @@ }, "id": "ClusterOperationMetadata" }, + "Empty": { + "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", + "type": "object", + "properties": {}, + "id": "Empty" + }, "HiveJob": { "description": "A Cloud Dataproc job for running Hive queries on YARN.", "type": "object", "properties": { - "jarFileUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs." + "continueOnFailure": { + "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", + "type": "boolean" + }, + "queryFileUri": { + "description": "The HCFS URI of the script that contains Hive queries.", + "type": "string" + }, + "queryList": { + "$ref": "QueryList", + "description": "A list of queries." }, "scriptVariables": { "additionalProperties": { @@ -1116,34 +1137,23 @@ "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).", "type": "object" }, + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.", + "type": "array", + "items": { + "type": "string" + } + }, "properties": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code." - }, - "continueOnFailure": { - "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", - "type": "boolean" - }, - "queryList": { - "$ref": "QueryList", - "description": "A list of queries." - }, - "queryFileUri": { - "type": "string", - "description": "The HCFS URI of the script that contains Hive queries." + "description": "Optional A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", + "type": "object" } }, "id": "HiveJob" }, - "Empty": { - "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", - "type": "object", - "properties": {}, - "id": "Empty" - }, "DiagnoseClusterResults": { "description": "The location of diagnostic output.", "type": "object", @@ -1178,30 +1188,12 @@ "description": "A Cloud Dataproc job for running PySpark applications on YARN.", "type": "object", "properties": { - "jarFileUris": { - "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", - "type": "array", - "items": { - "type": "string" - } - }, - "loggingConfiguration": { - "$ref": "LoggingConfiguration", - "description": "Optional The runtime log configuration for job execution." - }, - "properties": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", - "type": "object" - }, "args": { + "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", "type": "array", "items": { "type": "string" - }, - "description": "Optional The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission." + } }, "fileUris": { "description": "Optional HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.", @@ -1218,8 +1210,8 @@ } }, "mainPythonFileUri": { - "description": "Required The Hadoop Compatible Filesystem (HCFS) URI of the main Python file to use as the driver. Must be a .py file.", - "type": "string" + "type": "string", + "description": "Required The Hadoop Compatible Filesystem (HCFS) URI of the main Python file to use as the driver. Must be a .py file." }, "archiveUris": { "description": "Optional HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", @@ -1227,684 +1219,692 @@ "items": { "type": "string" } + }, + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", + "type": "array", + "items": { + "type": "string" + } + }, + "loggingConfiguration": { + "$ref": "LoggingConfiguration", + "description": "Optional The runtime log configuration for job execution." + }, + "properties": { + "description": "Optional A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", + "type": "object", + "additionalProperties": { + "type": "string" + } } } - } - }, - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "protocol": "rest", - "version": "v1beta1", - "baseUrl": "https://dataproc.googleapis.com/", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "kind": "discovery#restDescription", - "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", - "servicePath": "", - "rootUrl": "https://dataproc.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "dataproc", - "batchPath": "batch", - "documentationLink": "https://cloud.google.com/dataproc/", - "id": "dataproc:v1beta1", - "revision": "20170321", - "title": "Google Cloud Dataproc API", - "ownerName": "Google", - "discoveryVersion": "v1", - "resources": { - "operations": { - "methods": { - "get": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "parameters": { - "name": { - "description": "The name of the operation resource.", - "required": true, - "type": "string", - "pattern": "^operations/.+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/operations/{operationsId}", - "path": "v1beta1/{+name}", - "id": "dataproc.operations.get", - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service." + }, + "ClusterMetrics": { + "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.", + "type": "object", + "properties": { + "yarnMetrics": { + "description": "The YARN metrics.", + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "string" + } }, - "list": { - "response": { - "$ref": "ListOperationsResponse" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "type": "string", - "location": "query" - }, - "name": { - "location": "path", - "description": "The name of the operation collection.", - "required": true, - "type": "string", - "pattern": "^operations$" - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The standard list page size.", - "format": "int32", - "type": "integer" - } + "hdfsMetrics": { + "additionalProperties": { + "format": "int64", + "type": "string" }, - "flatPath": "v1beta1/operations", - "path": "v1beta1/{+name}", - "id": "dataproc.operations.list", - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to override the binding to use different resource name schemes, such as users/*/operations." + "description": "The HDFS metrics.", + "type": "object" + } + }, + "id": "ClusterMetrics" + }, + "ClusterConfiguration": { + "description": "The cluster configuration.", + "type": "object", + "properties": { + "initializationActions": { + "description": "Optional Commands to execute on each node after configuration is completed. By default, executables are run on master and all worker nodes. You can test a node's \u003ccode\u003erole\u003c/code\u003e metadata to run an executable on a master or worker node, as shown below:\nROLE=$(/usr/share/google/get_metadata_value attributes/role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n", + "type": "array", + "items": { + "$ref": "NodeInitializationAction" + } }, - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use operations.get or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation.", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "location": "path", - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", - "pattern": "^operations/.+$" - } - }, - "flatPath": "v1beta1/operations/{operationsId}:cancel", - "path": "v1beta1/{+name}:cancel", - "id": "dataproc.operations.cancel" + "workerConfiguration": { + "$ref": "InstanceGroupConfiguration", + "description": "Optional The Google Compute Engine configuration settings for worker instances in a cluster." }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", - "httpMethod": "DELETE", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Empty" - }, - "parameters": { - "name": { - "location": "path", - "description": "The name of the operation resource to be deleted.", - "required": true, - "type": "string", - "pattern": "^operations/.+$" - } + "softwareConfiguration": { + "description": "Optional The configuration settings for software inside the cluster.", + "$ref": "SoftwareConfiguration" + }, + "gceClusterConfiguration": { + "$ref": "GceClusterConfiguration", + "description": "Required The shared Google Compute Engine configuration settings for all instances in a cluster." + }, + "configurationBucket": { + "description": "Optional A Google Cloud Storage staging bucket used for sharing generated SSH keys and configuration. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.", + "type": "string" + }, + "masterConfiguration": { + "$ref": "InstanceGroupConfiguration", + "description": "Optional The Google Compute Engine configuration settings for the master instance in a cluster." + }, + "secondaryWorkerConfiguration": { + "$ref": "InstanceGroupConfiguration", + "description": "Optional The Google Compute Engine configuration settings for additional worker instances in a cluster." + } + }, + "id": "ClusterConfiguration" + }, + "LoggingConfiguration": { + "description": "The runtime logging configuration of the job.", + "type": "object", + "properties": { + "driverLogLevels": { + "additionalProperties": { + "type": "string", + "enum": [ + "LEVEL_UNSPECIFIED", + "ALL", + "TRACE", + "DEBUG", + "INFO", + "WARN", + "ERROR", + "FATAL", + "OFF" + ] }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/operations/{operationsId}", - "id": "dataproc.operations.delete", - "path": "v1beta1/{+name}" + "description": "The per-package log levels for the driver. This may include \"root\" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'", + "type": "object" } - } + }, + "id": "LoggingConfiguration" }, - "projects": { - "resources": { - "jobs": { - "methods": { - "submit": { - "description": "Submits a job to a cluster.", - "request": { - "$ref": "SubmitJobRequest" - }, - "response": { - "$ref": "Job" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectId}/jobs:submit", - "path": "v1beta1/projects/{projectId}/jobs:submit", - "id": "dataproc.projects.jobs.submit" - }, - "delete": { - "id": "dataproc.projects.jobs.delete", - "path": "v1beta1/projects/{projectId}/jobs/{jobId}", - "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.", - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "projectId", - "jobId" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string", - "location": "path" - }, - "jobId": { - "location": "path", - "description": "Required The job ID.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}" - }, - "list": { - "description": "Lists jobs in a project.", - "response": { - "$ref": "ListJobsResponse" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "GET", - "parameters": { - "pageToken": { - "location": "query", - "description": "Optional The page token, returned by a previous call, to request the next page of results.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "Optional The number of results to return in each response.", - "format": "int32", - "type": "integer" - }, - "clusterName": { - "location": "query", - "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster.", - "type": "string" - }, - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string", - "location": "path" - }, - "filter": { - "description": "Optional A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)", - "type": "string", - "location": "query" - }, - "jobStateMatcher": { - "description": "Optional Specifies enumerated categories of jobs to list.", - "type": "string", - "location": "query", - "enum": [ - "ALL", - "ACTIVE", - "NON_ACTIVE" - ] - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectId}/jobs", - "path": "v1beta1/projects/{projectId}/jobs", - "id": "dataproc.projects.jobs.list" - }, - "cancel": { - "description": "Starts a job cancellation request. To access the job resource after cancellation, call jobs.list or jobs.get.", - "request": { - "$ref": "CancelJobRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "projectId", - "jobId" - ], - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string", - "location": "path" - }, - "jobId": { - "location": "path", - "description": "Required The job ID.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}:cancel", - "id": "dataproc.projects.jobs.cancel", - "path": "v1beta1/projects/{projectId}/jobs/{jobId}:cancel" - }, - "get": { - "path": "v1beta1/projects/{projectId}/jobs/{jobId}", - "id": "dataproc.projects.jobs.get", - "description": "Gets the resource representation for a job in a project.", - "response": { - "$ref": "Job" - }, - "httpMethod": "GET", - "parameterOrder": [ - "projectId", - "jobId" - ], - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string" - }, - "jobId": { - "location": "path", - "description": "Required The job ID.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}" - }, - "patch": { - "flatPath": "v1beta1/projects/{projectId}/jobs/{jobId}", - "id": "dataproc.projects.jobs.patch", - "path": "v1beta1/projects/{projectId}/jobs/{jobId}", - "request": { - "$ref": "Job" - }, - "description": "Updates a job in a project.", - "httpMethod": "PATCH", - "parameterOrder": [ - "projectId", - "jobId" - ], - "response": { - "$ref": "Job" - }, - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the job belongs to.", - "required": true, - "type": "string" - }, - "jobId": { - "description": "Required The job ID.", - "required": true, - "type": "string", - "location": "path" - }, - "updateMask": { - "description": "Required Specifies the path, relative to \u003ccode\u003eJob\u003c/code\u003e, of the field to update. For example, to update the labels of a Job the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003elabels\u003c/code\u003e, and the PATCH request body would specify the new value. \u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003elabels\u003c/code\u003e is the only field that can be updated.", - "format": "google-fieldmask", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } + "InstanceGroupConfiguration": { + "properties": { + "diskConfiguration": { + "$ref": "DiskConfiguration", + "description": "Disk option configuration settings." + }, + "isPreemptible": { + "description": "Specifies that this instance group contains Preemptible Instances.", + "type": "boolean" + }, + "imageUri": { + "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_version.", + "type": "string" + }, + "machineTypeUri": { + "type": "string", + "description": "The Google Compute Engine machine type used for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2." + }, + "managedGroupConfiguration": { + "$ref": "ManagedGroupConfiguration", + "description": "Output-only The configuration for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups." + }, + "instanceNames": { + "description": "The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Dataproc derive the name).", + "type": "array", + "items": { + "type": "string" + } + }, + "accelerators": { + "type": "array", + "items": { + "$ref": "AcceleratorConfiguration" + }, + "description": "Optional The Google Compute Engine accelerator configuration for these instances." + }, + "numInstances": { + "description": "The number of VM instances in the instance group. For master instance groups, must be set to 1.", + "format": "int32", + "type": "integer" + } + }, + "id": "InstanceGroupConfiguration", + "description": "The configuration settings for Google Compute Engine resources in an instance group, such as a master or worker group.", + "type": "object" + }, + "GceClusterConfiguration": { + "id": "GceClusterConfiguration", + "description": "Common configuration settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster.", + "type": "object", + "properties": { + "internalIpOnly": { + "type": "boolean", + "description": "If true, all instances in the cluser will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses." + }, + "metadata": { + "description": "The Google Compute Engine metadata entries to add to all instances.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "clusters": { - "methods": { - "patch": { - "path": "v1beta1/projects/{projectId}/clusters/{clusterName}", - "id": "dataproc.projects.clusters.patch", - "request": { - "$ref": "Cluster" - }, - "description": "Updates a cluster in a project.", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "projectId", - "clusterName" - ], - "httpMethod": "PATCH", - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project the cluster belongs to.", - "required": true, - "type": "string" - }, - "updateMask": { - "location": "query", - "description": "Required Specifies the path, relative to \u003ccode\u003eCluster\u003c/code\u003e, of the field to update. For example, to change the number of workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be specified as \u003ccode\u003econfiguration.worker_configuration.num_instances\u003c/code\u003e, and the PATCH request body would specify the new value, as follows:\n{\n \"configuration\":{\n \"workerConfiguration\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cluster to 5, the \u003ccode\u003eupdate_mask\u003c/code\u003e parameter would be \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e, and the PATCH request body would be set as follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\n\u003cstrong\u003eNote:\u003c/strong\u003e Currently, \u003ccode\u003econfig.worker_config.num_instances\u003c/code\u003e and \u003ccode\u003econfig.secondary_worker_config.num_instances\u003c/code\u003e are the only fields that can be updated.", - "format": "google-fieldmask", - "type": "string" - }, - "clusterName": { - "description": "Required The cluster name.", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}" - }, - "get": { - "response": { - "$ref": "Cluster" - }, - "parameterOrder": [ - "projectId", - "clusterName" - ], - "httpMethod": "GET", - "parameters": { - "clusterName": { - "required": true, - "type": "string", - "location": "path", - "description": "Required The cluster name." - }, - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}", - "path": "v1beta1/projects/{projectId}/clusters/{clusterName}", - "id": "dataproc.projects.clusters.get", - "description": "Gets the resource representation for a cluster in a project." - }, - "diagnose": { - "path": "v1beta1/projects/{projectId}/clusters/{clusterName}:diagnose", - "id": "dataproc.projects.clusters.diagnose", - "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.", - "request": { - "$ref": "DiagnoseClusterRequest" - }, - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "projectId", - "clusterName" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "clusterName": { - "description": "Required The cluster name.", - "required": true, - "type": "string", - "location": "path" - }, - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}:diagnose" - }, - "delete": { - "parameters": { - "clusterName": { - "description": "Required The cluster name.", - "required": true, - "type": "string", - "location": "path" - }, - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectId}/clusters/{clusterName}", - "id": "dataproc.projects.clusters.delete", - "path": "v1beta1/projects/{projectId}/clusters/{clusterName}", - "description": "Deletes a cluster in a project.", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "projectId", - "clusterName" - ] - }, - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListClustersResponse" - }, - "parameterOrder": [ - "projectId" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageToken": { - "location": "query", - "description": "The standard List page token.", - "type": "string" - }, - "pageSize": { - "type": "integer", - "location": "query", - "description": "The standard List page size.", - "format": "int32" - }, - "projectId": { - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string", - "location": "path" - }, - "filter": { - "location": "query", - "description": "Optional A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)", - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectId}/clusters", - "id": "dataproc.projects.clusters.list", - "path": "v1beta1/projects/{projectId}/clusters", - "description": "Lists all clusters in a project." - }, - "create": { - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "projectId": { - "location": "path", - "description": "Required The ID of the Google Cloud Platform project that the cluster belongs to.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectId}/clusters", - "id": "dataproc.projects.clusters.create", - "path": "v1beta1/projects/{projectId}/clusters", - "description": "Creates a cluster in a project.", - "request": { - "$ref": "Cluster" - } - } + "serviceAccountScopes": { + "description": "The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - https://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.com/auth/logging.write If no scopes are specfied, the following defaults are also provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.com/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - https://www.googleapis.com/auth/devstorage.full_control", + "type": "array", + "items": { + "type": "string" + } + }, + "tags": { + "description": "The Google Compute Engine tags to add to all instances.", + "type": "array", + "items": { + "type": "string" + } + }, + "serviceAccount": { + "description": "Optional The service account of the instances. Defaults to the default Google Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com", + "type": "string" + }, + "subnetworkUri": { + "description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0.", + "type": "string" + }, + "networkUri": { + "description": "The Google Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://cloud.google.com/compute/docs/subnetworks for more information). Example: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.", + "type": "string" + }, + "zoneUri": { + "description": "Required The zone where the Google Compute Engine cluster will be located. Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone].", + "type": "string" + } + } + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "type": "object", + "properties": {}, + "id": "CancelOperationRequest" + }, + "DiagnoseClusterOutputLocation": { + "description": "The location of diagnostic output.", + "type": "object", + "properties": { + "outputUri": { + "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This is a plain text file with a summary of collected diagnostics.", + "type": "string" + } + }, + "id": "DiagnoseClusterOutputLocation" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "type": "object", + "properties": { + "response": { + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse." + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" } + }, + "done": { + "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", + "type": "boolean" } - } - } - }, - "parameters": { - "upload_protocol": { - "type": "string", - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "id": "Operation" }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" + "OperationStatus": { + "type": "object", + "properties": { + "state": { + "enumDescriptions": [ + "Unused.", + "The operation has been created.", + "The operation is running.", + "The operation is done; either cancelled or completed." + ], + "enum": [ + "UNKNOWN", + "PENDING", + "RUNNING", + "DONE" + ], + "description": "A message containing the operation state.", + "type": "string" + }, + "details": { + "description": "A message containing any operation metadata details.", + "type": "string" + }, + "innerState": { + "description": "A message containing the detailed operation state.", + "type": "string" + }, + "stateStartTime": { + "description": "The time this state was entered.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "OperationStatus", + "description": "The status of the operation." }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "JobReference": { + "description": "Encapsulates the full scoping used to reference a job.", + "type": "object", + "properties": { + "projectId": { + "type": "string", + "description": "Required The ID of the Google Cloud Platform project that the job belongs to." + }, + "jobId": { + "description": "Required The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.", + "type": "string" + } + }, + "id": "JobReference" }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" + "SubmitJobRequest": { + "description": "A request to submit a job.", + "type": "object", + "properties": { + "job": { + "$ref": "Job", + "description": "Required The job resource." + } + }, + "id": "SubmitJobRequest" }, - "$.xgafv": { - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query" + "Status": { + "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:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe 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 mappingThe 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 usesThe 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:\nPartial 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.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose.\nBatch 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.\nAsynchronous 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.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { + "message": { + "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.", + "type": "string" + }, + "details": { + "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + } + }, + "id": "Status" }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + "JobScheduling": { + "description": "Job scheduling options.Beta Feature: These options are available for testing purposes only. They may be changed before final release.", + "type": "object", + "properties": { + "maxFailuresPerHour": { + "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.", + "format": "int32", + "type": "integer" + } + }, + "id": "JobScheduling" }, - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + "ListJobsResponse": { + "description": "A list of jobs in a project.", + "type": "object", + "properties": { + "jobs": { + "description": "Output-only Jobs list.", + "type": "array", + "items": { + "$ref": "Job" + } + }, + "nextPageToken": { + "description": "Optional This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent \u003ccode\u003eListJobsRequest\u003c/code\u003e.", + "type": "string" + } + }, + "id": "ListJobsResponse" + }, + "NodeInitializationAction": { + "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", + "type": "object", + "properties": { + "executionTimeout": { + "description": "Optional Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.", + "format": "google-duration", + "type": "string" + }, + "executableFile": { + "description": "Required Google Cloud Storage URI of executable file.", + "type": "string" + } + }, + "id": "NodeInitializationAction" + }, + "CancelJobRequest": { + "description": "A request to cancel a job.", + "type": "object", + "properties": {}, + "id": "CancelJobRequest" + }, + "SparkSqlJob": { + "description": "A Cloud Dataproc job for running Spark SQL queries.", + "type": "object", + "properties": { + "scriptVariables": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", + "type": "object" + }, + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", + "type": "array", + "items": { + "type": "string" + } + }, + "loggingConfiguration": { + "$ref": "LoggingConfiguration", + "description": "Optional The runtime log configuration for job execution." + }, + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.", + "type": "object" + }, + "queryFileUri": { + "description": "The HCFS URI of the script that contains SQL queries.", + "type": "string" + }, + "queryList": { + "$ref": "QueryList", + "description": "A list of queries." + } + }, + "id": "SparkSqlJob" }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" + "Cluster": { + "description": "Describes the identifying information, configuration, and status of a cluster of Google Compute Engine instances.", + "type": "object", + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given cluster." + }, + "status": { + "$ref": "ClusterStatus", + "description": "Output-only Cluster status." + }, + "metrics": { + "description": "Contains cluster daemon metrics such as HDFS and YARN stats.", + "$ref": "ClusterMetrics" + }, + "statusHistory": { + "description": "Output-only Previous cluster statuses.", + "type": "array", + "items": { + "$ref": "ClusterStatus" + } + }, + "clusterUuid": { + "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.", + "type": "string" + }, + "clusterName": { + "description": "Required The cluster name. Cluster names within a project must be unique. Names from deleted clusters can be reused.", + "type": "string" + }, + "projectId": { + "description": "Required The Google Cloud Platform project ID that the cluster belongs to.", + "type": "string" + }, + "configuration": { + "$ref": "ClusterConfiguration", + "description": "Required The cluster configuration. Note that Cloud Dataproc may set default values, and values may change when clusters are updated." + } + }, + "id": "Cluster" }, - "key": { - "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.", - "type": "string", - "location": "query" + "ListOperationsResponse": { + "id": "ListOperationsResponse", + "description": "The response message for Operations.ListOperations.", + "type": "object", + "properties": { + "operations": { + "type": "array", + "items": { + "$ref": "Operation" + }, + "description": "A list of operations that matches the specified filter in the request." + }, + "nextPageToken": { + "type": "string", + "description": "The standard List next-page token." + } + } }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" + "OperationMetadata": { + "description": "Metadata describing the operation.", + "type": "object", + "properties": { + "operationType": { + "description": "Output-only The operation type.", + "type": "string" + }, + "description": { + "description": "Output-only Short description of operation.", + "type": "string" + }, + "warnings": { + "description": "Output-only Errors encountered during operation execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "$ref": "OperationStatus", + "description": "Output-only Current operation status." + }, + "statusHistory": { + "description": "Output-only Previous operation status.", + "type": "array", + "items": { + "$ref": "OperationStatus" + } + }, + "clusterName": { + "description": "Name of the cluster for the operation.", + "type": "string" + }, + "clusterUuid": { + "description": "Cluster UUId for the operation.", + "type": "string" + } + }, + "id": "OperationMetadata" }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" + "JobPlacement": { + "description": "Cloud Dataproc job configuration.", + "type": "object", + "properties": { + "clusterName": { + "type": "string", + "description": "Required The name of the cluster where the job will be submitted." + }, + "clusterUuid": { + "description": "Output-only A cluster UUID generated by the Dataproc service when the job is submitted.", + "type": "string" + } + }, + "id": "JobPlacement" }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "PigJob": { + "type": "object", + "properties": { + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", + "type": "object" + }, + "continueOnFailure": { + "description": "Optional Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", + "type": "boolean" + }, + "queryList": { + "$ref": "QueryList", + "description": "A list of queries." + }, + "queryFileUri": { + "description": "The HCFS URI of the script that contains the Pig queries.", + "type": "string" + }, + "scriptVariables": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", + "type": "object" + }, + "jarFileUris": { + "description": "Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", + "type": "array", + "items": { + "type": "string" + } + }, + "loggingConfiguration": { + "$ref": "LoggingConfiguration", + "description": "Optional The runtime log configuration for job execution." + } + }, + "id": "PigJob", + "description": "A Cloud Dataproc job for running Pig queries on YARN." }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "ClusterStatus": { + "type": "object", + "properties": { + "detail": { + "description": "Optional details of cluster's state.", + "type": "string" + }, + "state": { + "description": "The cluster's state.", + "type": "string", + "enumDescriptions": [ + "The cluster state is unknown.", + "The cluster is being created and set up. It is not ready for use.", + "The cluster is currently running and healthy. It is ready for use.", + "The cluster encountered an error. It is not ready for use.", + "The cluster is being deleted. It cannot be used.", + "The cluster is being updated. It continues to accept and process jobs." + ], + "enum": [ + "UNKNOWN", + "CREATING", + "RUNNING", + "ERROR", + "DELETING", + "UPDATING" + ] + }, + "stateStartTime": { + "description": "Time when this state was entered.", + "format": "google-datetime", + "type": "string" + }, + "substate": { + "enumDescriptions": [ + "", + "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", + "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state." + ], + "enum": [ + "UNSPECIFIED", + "UNHEALTHY", + "STALE_STATUS" + ], + "description": "Output-only Additional state information that includes status reported by the agent.", + "type": "string" + } + }, + "id": "ClusterStatus", + "description": "The status of a cluster and its instances." + }, + "AcceleratorConfiguration": { + "description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).", + "type": "object", + "properties": { + "acceleratorCount": { + "description": "The number of the accelerator cards of this type exposed to this instance.", + "format": "int32", + "type": "integer" + }, + "acceleratorTypeUri": { + "description": "Full or partial URI of the accelerator type resource to expose to this instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)", + "type": "string" + } + }, + "id": "AcceleratorConfiguration" + } + }, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "protocol": "rest", + "version": "v1beta1", + "baseUrl": "https://dataproc.googleapis.com/", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } } - } + }, + "servicePath": "", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "kind": "discovery#restDescription", + "rootUrl": "https://dataproc.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "dataproc", + "batchPath": "batch" } diff --git a/DiscoveryJson/datastore_v1.json b/DiscoveryJson/datastore_v1.json index c042d17605..7908989466 100644 --- a/DiscoveryJson/datastore_v1.json +++ b/DiscoveryJson/datastore_v1.json @@ -1,15 +1,22 @@ { + "ownerName": "Google", + "discoveryVersion": "v1", + "version_module": "True", "resources": { "projects": { "methods": { "allocateIds": { + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], "response": { "$ref": "AllocateIdsResponse" }, - "parameterOrder": [ - "projectId" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/datastore" ], - "httpMethod": "POST", "parameters": { "projectId": { "description": "The ID of the project against which to make the request.", @@ -18,32 +25,15 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/datastore" - ], "flatPath": "v1/projects/{projectId}:allocateIds", - "path": "v1/projects/{projectId}:allocateIds", "id": "datastore.projects.allocateIds", + "path": "v1/projects/{projectId}:allocateIds", + "description": "Allocates IDs for the given keys, which is useful for referencing an entity\nbefore it is inserted.", "request": { "$ref": "AllocateIdsRequest" - }, - "description": "Allocates IDs for the given keys, which is useful for referencing an entity\nbefore it is inserted." + } }, - "commit": { - "path": "v1/projects/{projectId}:commit", - "id": "datastore.projects.commit", - "description": "Commits a transaction, optionally creating, deleting or modifying some\nentities.", - "request": { - "$ref": "CommitRequest" - }, - "response": { - "$ref": "CommitResponse" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "POST", + "beginTransaction": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore" @@ -56,54 +46,63 @@ "location": "path" } }, - "flatPath": "v1/projects/{projectId}:commit" - }, - "beginTransaction": { + "flatPath": "v1/projects/{projectId}:beginTransaction", + "id": "datastore.projects.beginTransaction", + "path": "v1/projects/{projectId}:beginTransaction", + "description": "Begins a new transaction.", "request": { "$ref": "BeginTransactionRequest" }, - "description": "Begins a new transaction.", + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], "response": { "$ref": "BeginTransactionResponse" + } + }, + "commit": { + "description": "Commits a transaction, optionally creating, deleting or modifying some\nentities.", + "request": { + "$ref": "CommitRequest" }, + "httpMethod": "POST", "parameterOrder": [ "projectId" ], - "httpMethod": "POST", - "parameters": { - "projectId": { - "required": true, - "type": "string", - "location": "path", - "description": "The ID of the project against which to make the request." - } + "response": { + "$ref": "CommitResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore" ], - "flatPath": "v1/projects/{projectId}:beginTransaction", - "path": "v1/projects/{projectId}:beginTransaction", - "id": "datastore.projects.beginTransaction" + "parameters": { + "projectId": { + "location": "path", + "description": "The ID of the project against which to make the request.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectId}:commit", + "id": "datastore.projects.commit", + "path": "v1/projects/{projectId}:commit" }, "runQuery": { - "request": { - "$ref": "RunQueryRequest" - }, - "description": "Queries for entities.", - "response": { - "$ref": "RunQueryResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "projectId" ], - "httpMethod": "POST", + "response": { + "$ref": "RunQueryResponse" + }, "parameters": { "projectId": { + "location": "path", "description": "The ID of the project against which to make the request.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ @@ -111,23 +110,27 @@ "https://www.googleapis.com/auth/datastore" ], "flatPath": "v1/projects/{projectId}:runQuery", + "id": "datastore.projects.runQuery", "path": "v1/projects/{projectId}:runQuery", - "id": "datastore.projects.runQuery" + "request": { + "$ref": "RunQueryRequest" + }, + "description": "Queries for entities." }, "rollback": { - "response": { - "$ref": "RollbackResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "projectId" ], - "httpMethod": "POST", + "response": { + "$ref": "RollbackResponse" + }, "parameters": { "projectId": { + "location": "path", "description": "The ID of the project against which to make the request.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ @@ -135,61 +138,47 @@ "https://www.googleapis.com/auth/datastore" ], "flatPath": "v1/projects/{projectId}:rollback", - "path": "v1/projects/{projectId}:rollback", "id": "datastore.projects.rollback", + "path": "v1/projects/{projectId}:rollback", "request": { "$ref": "RollbackRequest" }, "description": "Rolls back a transaction." }, "lookup": { - "path": "v1/projects/{projectId}:lookup", - "id": "datastore.projects.lookup", - "description": "Looks up entities by key.", - "request": { - "$ref": "LookupRequest" - }, - "response": { - "$ref": "LookupResponse" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore" ], "parameters": { "projectId": { - "location": "path", "description": "The ID of the project against which to make the request.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, - "flatPath": "v1/projects/{projectId}:lookup" + "flatPath": "v1/projects/{projectId}:lookup", + "id": "datastore.projects.lookup", + "path": "v1/projects/{projectId}:lookup", + "description": "Looks up entities by key.", + "request": { + "$ref": "LookupRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], + "response": { + "$ref": "LookupResponse" + } } } } }, "parameters": { - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "$.xgafv": { + "location": "query", "enum": [ "1", "2" @@ -199,10 +188,20 @@ "enumDescriptions": [ "v1 error format", "v2 error format" - ], - "location": "query" + ] + }, + "callback": { + "type": "string", + "location": "query", + "description": "JSONP" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -210,23 +209,17 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" + "default": "json" }, "key": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "access_token": { - "type": "string", "location": "query", - "description": "OAuth access token." + "description": "OAuth access token.", + "type": "string" }, "quotaUser": { "location": "query", @@ -234,386 +227,117 @@ "type": "string" }, "pp": { + "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true", - "location": "query" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" + "default": "true" }, "oauth_token": { "location": "query", "description": "OAuth 2.0 token for the current user.", "type": "string" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "bearer_token": { + "description": "OAuth bearer token.", "type": "string", "location": "query" }, - "prettyPrint": { + "upload_protocol": { + "type": "string", "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "prettyPrint": { "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true" + "default": "true", + "location": "query" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" } }, "schemas": { - "EntityResult": { + "RunQueryResponse": { + "description": "The response for Datastore.RunQuery.", + "type": "object", "properties": { - "version": { - "description": "The version of the entity, a strictly positive number that monotonically\nincreases with changes to the entity.\n\nThis field is set for `FULL` entity\nresults.\n\nFor missing entities in `LookupResponse`, this\nis the version of the snapshot that was used to look up the entity, and it\nis always set except for eventually consistent reads.", - "format": "int64", - "type": "string" - }, - "entity": { - "$ref": "Entity", - "description": "The resulting entity." + "query": { + "$ref": "Query", + "description": "The parsed form of the `GqlQuery` from the request, if it was set." }, - "cursor": { - "description": "A cursor that points to the position after the result entity.\nSet only when the `EntityResult` is part of a `QueryResultBatch` message.", - "format": "byte", - "type": "string" + "batch": { + "$ref": "QueryResultBatch", + "description": "A batch of query results (always present)." } }, - "id": "EntityResult", - "description": "The result of fetching an entity from Datastore.", - "type": "object" + "id": "RunQueryResponse" }, - "Value": { - "id": "Value", - "description": "A message that can hold any of the supported value types and associated\nmetadata.", + "LookupResponse": { + "description": "The response for Datastore.Lookup.", "type": "object", "properties": { - "arrayValue": { - "description": "An array value.\nCannot contain another array value.\nA `Value` instance that sets field `array_value` must not set fields\n`meaning` or `exclude_from_indexes`.", - "$ref": "ArrayValue" - }, - "entityValue": { - "$ref": "Entity", - "description": "An entity value.\n\n- May have no key.\n- May have a key with an incomplete key path.\n- May have a reserved/read-only key." - }, - "geoPointValue": { - "description": "A geo point value representing a point on the surface of Earth.", - "$ref": "LatLng" - }, - "keyValue": { - "description": "A key value.", - "$ref": "Key" + "deferred": { + "description": "A list of keys that were not looked up due to resource constraints. The\norder of results in this field is undefined and has no relation to the\norder of the keys in the input.", + "type": "array", + "items": { + "$ref": "Key" + } }, - "integerValue": { - "description": "An integer value.", - "format": "int64", - "type": "string" + "found": { + "description": "Entities found as `ResultType.FULL` entities. The order of results in this\nfield is undefined and has no relation to the order of the keys in the\ninput.", + "type": "array", + "items": { + "$ref": "EntityResult" + } }, - "stringValue": { - "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.", - "type": "string" - }, - "excludeFromIndexes": { - "description": "If the value should be excluded from all indexes including those defined\nexplicitly.", - "type": "boolean" - }, - "doubleValue": { - "description": "A double value.", - "format": "double", - "type": "number" - }, - "timestampValue": { - "description": "A timestamp value.\nWhen stored in the Datastore, precise only to microseconds;\nany additional precision is rounded down.", - "format": "google-datetime", - "type": "string" - }, - "nullValue": { - "description": "A null value.", - "type": "string", - "enumDescriptions": [ - "Null value." - ], - "enum": [ - "NULL_VALUE" - ] - }, - "booleanValue": { - "description": "A boolean value.", - "type": "boolean" - }, - "blobValue": { - "description": "A blob value.\nMay have at most 1,000,000 bytes.\nWhen `exclude_from_indexes` is false, may have at most 1500 bytes.\nIn JSON requests, must be base64-encoded.", - "format": "byte", - "type": "string" - }, - "meaning": { - "description": "The `meaning` field should only be populated for backwards compatibility.", - "format": "int32", - "type": "integer" - } - } - }, - "CommitResponse": { - "description": "The response for Datastore.Commit.", - "type": "object", - "properties": { - "indexUpdates": { - "description": "The number of index entries updated during the commit, or zero if none were\nupdated.", - "format": "int32", - "type": "integer" - }, - "mutationResults": { - "type": "array", - "items": { - "$ref": "MutationResult" - }, - "description": "The result of performing the mutations.\nThe i-th mutation result corresponds to the i-th mutation in the request." - } - }, - "id": "CommitResponse" - }, - "PartitionId": { - "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.\n\nPartition dimensions:\n\n- May be `\"\"`.\n- Must be valid UTF-8 bytes.\n- Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}`\nIf the value of any dimension matches regex `__.*__`, the partition is\nreserved/read-only.\nA reserved/read-only partition ID is forbidden in certain documented\ncontexts.\n\nForeign partition IDs (in which the project ID does\nnot match the context project ID ) are discouraged.\nReads and writes of foreign partition IDs may fail if the project is not in an active state.", - "type": "object", - "properties": { - "projectId": { - "description": "The ID of the project to which the entities belong.", - "type": "string" - }, - "namespaceId": { - "description": "If not empty, the ID of the namespace to which the entities belong.", - "type": "string" - } - }, - "id": "PartitionId" - }, - "Entity": { - "id": "Entity", - "description": "A Datastore data object.\n\nAn entity is limited to 1 megabyte when stored. That _roughly_\ncorresponds to a limit of 1 megabyte for the serialized form of this\nmessage.", - "type": "object", - "properties": { - "key": { - "description": "The entity's key.\n\nAn entity must have a key, unless otherwise documented (for example,\nan entity in `Value.entity_value` may have no key).\nAn entity's kind is its key path's last element's kind,\nor null if it has no key.", - "$ref": "Key" - }, - "properties": { - "additionalProperties": { - "$ref": "Value" - }, - "description": "The entity's properties.\nThe map's keys are property names.\nA property name matching regex `__.*__` is reserved.\nA reserved property name is forbidden in certain documented contexts.\nThe name must not contain more than 500 characters.\nThe name cannot be `\"\"`.", - "type": "object" - } - } - }, - "QueryResultBatch": { - "type": "object", - "properties": { - "moreResults": { - "enum": [ - "MORE_RESULTS_TYPE_UNSPECIFIED", - "NOT_FINISHED", - "MORE_RESULTS_AFTER_LIMIT", - "MORE_RESULTS_AFTER_CURSOR", - "NO_MORE_RESULTS" - ], - "description": "The state of the query after the current batch.", - "type": "string", - "enumDescriptions": [ - "Unspecified. This value is never used.", - "There may be additional batches to fetch from this query.", - "The query is finished, but there may be more results after the limit.", - "The query is finished, but there may be more results after the end\ncursor.", - "The query has been exhausted." - ] - }, - "endCursor": { - "description": "A cursor that points to the position after the last result in the batch.", - "format": "byte", - "type": "string" - }, - "snapshotVersion": { - "description": "The version number of the snapshot this batch was returned from.\nThis applies to the range of results from the query's `start_cursor` (or\nthe beginning of the query if no cursor was given) to this batch's\n`end_cursor` (not the query's `end_cursor`).\n\nIn a single transaction, subsequent query result batches for the same query\ncan have a greater snapshot version number. Each batch's snapshot version\nis valid for all preceding batches.\nThe value will be zero for eventually consistent queries.", - "format": "int64", - "type": "string" - }, - "skippedCursor": { - "description": "A cursor that points to the position after the last skipped result.\nWill be set when `skipped_results` != 0.", - "format": "byte", - "type": "string" - }, - "skippedResults": { - "description": "The number of results skipped, typically because of an offset.", - "format": "int32", - "type": "integer" - }, - "entityResultType": { - "enum": [ - "RESULT_TYPE_UNSPECIFIED", - "FULL", - "PROJECTION", - "KEY_ONLY" - ], - "description": "The result type for every entity in `entity_results`.", - "type": "string", - "enumDescriptions": [ - "Unspecified. This value is never used.", - "The key and properties.", - "A projected subset of properties. The entity may have no key.", - "Only the key." - ] - }, - "entityResults": { - "description": "The results for this batch.", + "missing": { + "description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results\nin this field is undefined and has no relation to the order of the keys\nin the input.", "type": "array", "items": { "$ref": "EntityResult" } } }, - "id": "QueryResultBatch", - "description": "A batch of results produced by a query." - }, - "LookupRequest": { - "id": "LookupRequest", - "description": "The request for Datastore.Lookup.", - "type": "object", - "properties": { - "keys": { - "description": "Keys of entities to look up.", - "type": "array", - "items": { - "$ref": "Key" - } - }, - "readOptions": { - "$ref": "ReadOptions", - "description": "The options for this lookup request." - } - } - }, - "PathElement": { - "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", - "type": "object", - "properties": { - "id": { - "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", - "type": "string" - }, - "kind": { - "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", - "type": "string" - } - }, - "id": "PathElement" - }, - "GqlQueryParameter": { - "description": "A binding parameter for a GQL query.", - "type": "object", - "properties": { - "cursor": { - "description": "A query cursor. Query cursors are returned in query\nresult batches.", - "format": "byte", - "type": "string" - }, - "value": { - "$ref": "Value", - "description": "A value parameter." - } - }, - "id": "GqlQueryParameter" - }, - "BeginTransactionResponse": { - "description": "The response for Datastore.BeginTransaction.", - "type": "object", - "properties": { - "transaction": { - "description": "The transaction identifier (always present).", - "format": "byte", - "type": "string" - } - }, - "id": "BeginTransactionResponse" + "id": "LookupResponse" }, "AllocateIdsRequest": { - "description": "The request for Datastore.AllocateIds.", "type": "object", "properties": { "keys": { - "type": "array", - "items": { - "$ref": "Key" - }, - "description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only." - } - }, - "id": "AllocateIdsRequest" - }, - "LookupResponse": { - "properties": { - "deferred": { - "description": "A list of keys that were not looked up due to resource constraints. The\norder of results in this field is undefined and has no relation to the\norder of the keys in the input.", + "description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only.", "type": "array", "items": { "$ref": "Key" } - }, - "found": { - "description": "Entities found as `ResultType.FULL` entities. The order of results in this\nfield is undefined and has no relation to the order of the keys in the\ninput.", - "type": "array", - "items": { - "$ref": "EntityResult" - } - }, - "missing": { - "description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results\nin this field is undefined and has no relation to the order of the keys\nin the input.", - "type": "array", - "items": { - "$ref": "EntityResult" - } } }, - "id": "LookupResponse", - "description": "The response for Datastore.Lookup.", - "type": "object" + "id": "AllocateIdsRequest", + "description": "The request for Datastore.AllocateIds." }, - "RunQueryResponse": { - "description": "The response for Datastore.RunQuery.", + "BeginTransactionRequest": { + "description": "The request for Datastore.BeginTransaction.", "type": "object", - "properties": { - "query": { - "$ref": "Query", - "description": "The parsed form of the `GqlQuery` from the request, if it was set." - }, - "batch": { - "$ref": "QueryResultBatch", - "description": "A batch of query results (always present)." - } - }, - "id": "RunQueryResponse" + "properties": {}, + "id": "BeginTransactionRequest" }, "CommitRequest": { + "description": "The request for Datastore.Commit.", "type": "object", "properties": { - "mutations": { - "description": "The mutations to perform.\n\nWhen mode is `TRANSACTIONAL`, mutations affecting a single entity are\napplied in order. The following sequences of mutations affecting a single\nentity are not permitted in a single `Commit` request:\n\n- `insert` followed by `insert`\n- `update` followed by `insert`\n- `upsert` followed by `insert`\n- `delete` followed by `update`\n\nWhen mode is `NON_TRANSACTIONAL`, no two mutations may affect a single\nentity.", - "type": "array", - "items": { - "$ref": "Mutation" - } - }, "transaction": { "description": "The identifier of the transaction associated with the commit. A\ntransaction identifier is returned by a call to\nDatastore.BeginTransaction.", "format": "byte", "type": "string" }, "mode": { - "description": "The type of commit to perform. Defaults to `TRANSACTIONAL`.", - "type": "string", "enumDescriptions": [ "Unspecified. This value must not be used.", "Transactional: The mutations are either all applied, or none are applied.\nLearn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).", @@ -623,17 +347,19 @@ "MODE_UNSPECIFIED", "TRANSACTIONAL", "NON_TRANSACTIONAL" - ] + ], + "description": "The type of commit to perform. Defaults to `TRANSACTIONAL`.", + "type": "string" + }, + "mutations": { + "description": "The mutations to perform.\n\nWhen mode is `TRANSACTIONAL`, mutations affecting a single entity are\napplied in order. The following sequences of mutations affecting a single\nentity are not permitted in a single `Commit` request:\n\n- `insert` followed by `insert`\n- `update` followed by `insert`\n- `upsert` followed by `insert`\n- `delete` followed by `update`\n\nWhen mode is `NON_TRANSACTIONAL`, no two mutations may affect a single\nentity.", + "type": "array", + "items": { + "$ref": "Mutation" + } } }, - "id": "CommitRequest", - "description": "The request for Datastore.Commit." - }, - "BeginTransactionRequest": { - "description": "The request for Datastore.BeginTransaction.", - "type": "object", - "properties": {}, - "id": "BeginTransactionRequest" + "id": "CommitRequest" }, "PropertyOrder": { "description": "The desired order for a specific property.", @@ -661,6 +387,7 @@ "id": "PropertyOrder" }, "KindExpression": { + "description": "A representation of a kind.", "type": "object", "properties": { "name": { @@ -668,42 +395,41 @@ "type": "string" } }, - "id": "KindExpression", - "description": "A representation of a kind." + "id": "KindExpression" }, - "Key": { - "description": "A unique identifier for an entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", + "LatLng": { + "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", "type": "object", "properties": { - "partitionId": { - "$ref": "PartitionId", - "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition." + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "type": "number" }, + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "type": "number" + } + }, + "id": "LatLng" + }, + "Key": { + "properties": { "path": { "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nAn entity path is always fully complete: *all* of the entity's ancestors\nare required to be in the path along with the entity identifier itself.\nThe only exception is that in some documented cases, the identifier in the\nlast path element (for the entity) itself may be omitted. For example,\nthe last path element of the key of `Mutation.insert` may have no\nidentifier.\n\nA path can never be empty, and a path can have at most 100 elements.", "type": "array", "items": { "$ref": "PathElement" } - } - }, - "id": "Key" - }, - "LatLng": { - "properties": { - "longitude": { - "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", - "format": "double", - "type": "number" }, - "latitude": { - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", - "format": "double", - "type": "number" + "partitionId": { + "$ref": "PartitionId", + "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition." } }, - "id": "LatLng", - "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", + "id": "Key", + "description": "A unique identifier for an entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", "type": "object" }, "PropertyReference": { @@ -732,18 +458,17 @@ "id": "ArrayValue" }, "Projection": { + "description": "A representation of a property in a projection.", + "type": "object", "properties": { "property": { "$ref": "PropertyReference", "description": "The property to project." } }, - "id": "Projection", - "description": "A representation of a property in a projection.", - "type": "object" + "id": "Projection" }, "Mutation": { - "id": "Mutation", "description": "A mutation to apply to an entity.", "type": "object", "properties": { @@ -757,18 +482,19 @@ "type": "string" }, "update": { - "$ref": "Entity", - "description": "The entity to update. The entity must already exist.\nMust have a complete key path." + "description": "The entity to update. The entity must already exist.\nMust have a complete key path.", + "$ref": "Entity" }, "upsert": { "description": "The entity to upsert. The entity may or may not already exist.\nThe entity key's final path element may be incomplete.", "$ref": "Entity" }, "delete": { - "description": "The key of the entity to delete. The entity may or may not already exist.\nMust have a complete key path and must not be reserved/read-only.", - "$ref": "Key" + "$ref": "Key", + "description": "The key of the entity to delete. The entity may or may not already exist.\nMust have a complete key path and must not be reserved/read-only." } - } + }, + "id": "Mutation" }, "ReadOptions": { "description": "The options shared by read requests.", @@ -789,9 +515,9 @@ "type": "string" }, "transaction": { - "type": "string", "description": "The identifier of the transaction in which to read. A\ntransaction identifier is returned by a call to\nDatastore.BeginTransaction.", - "format": "byte" + "format": "byte", + "type": "string" } }, "id": "ReadOptions" @@ -815,9 +541,9 @@ "description": "The automatically allocated key.\nSet only when the mutation allocated a key." }, "version": { + "type": "string", "description": "The version of the entity on the server after processing the mutation. If\nthe mutation doesn't change anything on the server, then the version will\nbe the version of the current entity or, if no entity is present, a version\nthat is strictly greater than the version of any previous entity and less\nthan the version of any possible future entity.", - "format": "int64", - "type": "string" + "format": "int64" } }, "id": "MutationResult" @@ -852,224 +578,498 @@ "id": "GqlQuery" }, "Filter": { - "description": "A holder for any type of filter.", "type": "object", "properties": { + "compositeFilter": { + "$ref": "CompositeFilter", + "description": "A composite filter." + }, "propertyFilter": { "$ref": "PropertyFilter", "description": "A filter on a property." + } + }, + "id": "Filter", + "description": "A holder for any type of filter." + }, + "RollbackRequest": { + "description": "The request for Datastore.Rollback.", + "type": "object", + "properties": { + "transaction": { + "description": "The transaction identifier, returned by a call to\nDatastore.BeginTransaction.", + "format": "byte", + "type": "string" + } + }, + "id": "RollbackRequest" + }, + "RunQueryRequest": { + "type": "object", + "properties": { + "readOptions": { + "description": "The options for this query.", + "$ref": "ReadOptions" + }, + "query": { + "$ref": "Query", + "description": "The query to run." + }, + "partitionId": { + "description": "Entities are partitioned into subsets, identified by a partition ID.\nQueries are scoped to a single partition.\nThis partition ID is normalized with the standard default context\npartition ID.", + "$ref": "PartitionId" + }, + "gqlQuery": { + "description": "The GQL query to run.", + "$ref": "GqlQuery" + } + }, + "id": "RunQueryRequest", + "description": "The request for Datastore.RunQuery." + }, + "CompositeFilter": { + "id": "CompositeFilter", + "description": "A filter that merges multiple other filters using the given operator.", + "type": "object", + "properties": { + "filters": { + "description": "The list of filters to combine.\nMust contain at least one filter.", + "type": "array", + "items": { + "$ref": "Filter" + } + }, + "op": { + "enum": [ + "OPERATOR_UNSPECIFIED", + "AND" + ], + "description": "The operator for combining multiple filters.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value must not be used.", + "The results are required to satisfy each of the combined filters." + ] + } + } + }, + "AllocateIdsResponse": { + "description": "The response for Datastore.AllocateIds.", + "type": "object", + "properties": { + "keys": { + "description": "The keys specified in the request (in the same order), each with\nits key path completed with a newly allocated ID.", + "type": "array", + "items": { + "$ref": "Key" + } + } + }, + "id": "AllocateIdsResponse" + }, + "Query": { + "type": "object", + "properties": { + "projection": { + "type": "array", + "items": { + "$ref": "Projection" + }, + "description": "The projection to return. Defaults to returning all properties." + }, + "endCursor": { + "description": "An ending point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", + "format": "byte", + "type": "string" + }, + "filter": { + "description": "The filter to apply.", + "$ref": "Filter" + }, + "limit": { + "description": "The maximum number of results to return. Applies after all other\nconstraints. Optional.\nUnspecified is interpreted as no limit.\nMust be \u003e= 0 if specified.", + "format": "int32", + "type": "integer" + }, + "startCursor": { + "description": "A starting point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", + "format": "byte", + "type": "string" + }, + "offset": { + "type": "integer", + "description": "The number of results to skip. Applies before limit, but after all other\nconstraints. Optional. Must be \u003e= 0 if specified.", + "format": "int32" + }, + "kind": { + "type": "array", + "items": { + "$ref": "KindExpression" + }, + "description": "The kinds to query (if empty, returns entities of all kinds).\nCurrently at most 1 kind may be specified." + }, + "distinctOn": { + "type": "array", + "items": { + "$ref": "PropertyReference" + }, + "description": "The properties to make distinct. The query results will contain the first\nresult for each distinct combination of values for the given properties\n(if empty, all results are returned)." + }, + "order": { + "description": "The order to apply to the query results (if empty, order is unspecified).", + "type": "array", + "items": { + "$ref": "PropertyOrder" + } + } + }, + "id": "Query", + "description": "A query for entities." + }, + "PropertyFilter": { + "description": "A filter on a specific property.", + "type": "object", + "properties": { + "value": { + "$ref": "Value", + "description": "The value to compare the property to." + }, + "property": { + "$ref": "PropertyReference", + "description": "The property to filter by." + }, + "op": { + "description": "The operator to filter by.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value must not be used.", + "Less than.", + "Less than or equal.", + "Greater than.", + "Greater than or equal.", + "Equal.", + "Has ancestor." + ], + "enum": [ + "OPERATOR_UNSPECIFIED", + "LESS_THAN", + "LESS_THAN_OR_EQUAL", + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL", + "EQUAL", + "HAS_ANCESTOR" + ] + } + }, + "id": "PropertyFilter" + }, + "EntityResult": { + "description": "The result of fetching an entity from Datastore.", + "type": "object", + "properties": { + "entity": { + "description": "The resulting entity.", + "$ref": "Entity" + }, + "cursor": { + "type": "string", + "description": "A cursor that points to the position after the result entity.\nSet only when the `EntityResult` is part of a `QueryResultBatch` message.", + "format": "byte" + }, + "version": { + "description": "The version of the entity, a strictly positive number that monotonically\nincreases with changes to the entity.\n\nThis field is set for `FULL` entity\nresults.\n\nFor missing entities in `LookupResponse`, this\nis the version of the snapshot that was used to look up the entity, and it\nis always set except for eventually consistent reads.", + "format": "int64", + "type": "string" + } + }, + "id": "EntityResult" + }, + "CommitResponse": { + "properties": { + "indexUpdates": { + "description": "The number of index entries updated during the commit, or zero if none were\nupdated.", + "format": "int32", + "type": "integer" + }, + "mutationResults": { + "description": "The result of performing the mutations.\nThe i-th mutation result corresponds to the i-th mutation in the request.", + "type": "array", + "items": { + "$ref": "MutationResult" + } + } + }, + "id": "CommitResponse", + "description": "The response for Datastore.Commit.", + "type": "object" + }, + "Value": { + "description": "A message that can hold any of the supported value types and associated\nmetadata.", + "type": "object", + "properties": { + "meaning": { + "description": "The `meaning` field should only be populated for backwards compatibility.", + "format": "int32", + "type": "integer" + }, + "arrayValue": { + "$ref": "ArrayValue", + "description": "An array value.\nCannot contain another array value.\nA `Value` instance that sets field `array_value` must not set fields\n`meaning` or `exclude_from_indexes`." + }, + "entityValue": { + "$ref": "Entity", + "description": "An entity value.\n\n- May have no key.\n- May have a key with an incomplete key path.\n- May have a reserved/read-only key." + }, + "geoPointValue": { + "$ref": "LatLng", + "description": "A geo point value representing a point on the surface of Earth." + }, + "keyValue": { + "$ref": "Key", + "description": "A key value." + }, + "integerValue": { + "description": "An integer value.", + "format": "int64", + "type": "string" + }, + "stringValue": { + "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.", + "type": "string" + }, + "excludeFromIndexes": { + "description": "If the value should be excluded from all indexes including those defined\nexplicitly.", + "type": "boolean" + }, + "doubleValue": { + "description": "A double value.", + "format": "double", + "type": "number" + }, + "timestampValue": { + "description": "A timestamp value.\nWhen stored in the Datastore, precise only to microseconds;\nany additional precision is rounded down.", + "format": "google-datetime", + "type": "string" + }, + "booleanValue": { + "type": "boolean", + "description": "A boolean value." + }, + "nullValue": { + "description": "A null value.", + "type": "string", + "enumDescriptions": [ + "Null value." + ], + "enum": [ + "NULL_VALUE" + ] }, - "compositeFilter": { - "$ref": "CompositeFilter", - "description": "A composite filter." + "blobValue": { + "type": "string", + "description": "A blob value.\nMay have at most 1,000,000 bytes.\nWhen `exclude_from_indexes` is false, may have at most 1500 bytes.\nIn JSON requests, must be base64-encoded.", + "format": "byte" } }, - "id": "Filter" + "id": "Value" }, - "RollbackRequest": { - "id": "RollbackRequest", - "description": "The request for Datastore.Rollback.", + "PartitionId": { + "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.\n\nPartition dimensions:\n\n- May be `\"\"`.\n- Must be valid UTF-8 bytes.\n- Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}`\nIf the value of any dimension matches regex `__.*__`, the partition is\nreserved/read-only.\nA reserved/read-only partition ID is forbidden in certain documented\ncontexts.\n\nForeign partition IDs (in which the project ID does\nnot match the context project ID ) are discouraged.\nReads and writes of foreign partition IDs may fail if the project is not in an active state.", "type": "object", "properties": { - "transaction": { - "description": "The transaction identifier, returned by a call to\nDatastore.BeginTransaction.", - "format": "byte", + "projectId": { + "description": "The ID of the project to which the entities belong.", "type": "string" - } - } - }, - "RunQueryRequest": { - "properties": { - "partitionId": { - "$ref": "PartitionId", - "description": "Entities are partitioned into subsets, identified by a partition ID.\nQueries are scoped to a single partition.\nThis partition ID is normalized with the standard default context\npartition ID." - }, - "gqlQuery": { - "description": "The GQL query to run.", - "$ref": "GqlQuery" - }, - "readOptions": { - "description": "The options for this query.", - "$ref": "ReadOptions" }, - "query": { - "description": "The query to run.", - "$ref": "Query" + "namespaceId": { + "description": "If not empty, the ID of the namespace to which the entities belong.", + "type": "string" } }, - "id": "RunQueryRequest", - "description": "The request for Datastore.RunQuery.", - "type": "object" + "id": "PartitionId" }, - "CompositeFilter": { - "description": "A filter that merges multiple other filters using the given operator.", + "Entity": { + "id": "Entity", + "description": "A Datastore data object.\n\nAn entity is limited to 1 megabyte when stored. That _roughly_\ncorresponds to a limit of 1 megabyte for the serialized form of this\nmessage.", "type": "object", "properties": { - "op": { - "enumDescriptions": [ - "Unspecified. This value must not be used.", - "The results are required to satisfy each of the combined filters." - ], - "enum": [ - "OPERATOR_UNSPECIFIED", - "AND" - ], - "description": "The operator for combining multiple filters.", - "type": "string" + "properties": { + "additionalProperties": { + "$ref": "Value" + }, + "description": "The entity's properties.\nThe map's keys are property names.\nA property name matching regex `__.*__` is reserved.\nA reserved property name is forbidden in certain documented contexts.\nThe name must not contain more than 500 characters.\nThe name cannot be `\"\"`.", + "type": "object" }, - "filters": { - "description": "The list of filters to combine.\nMust contain at least one filter.", - "type": "array", - "items": { - "$ref": "Filter" - } + "key": { + "description": "The entity's key.\n\nAn entity must have a key, unless otherwise documented (for example,\nan entity in `Value.entity_value` may have no key).\nAn entity's kind is its key path's last element's kind,\nor null if it has no key.", + "$ref": "Key" } - }, - "id": "CompositeFilter" + } }, - "AllocateIdsResponse": { - "description": "The response for Datastore.AllocateIds.", + "LookupRequest": { "type": "object", "properties": { + "readOptions": { + "description": "The options for this lookup request.", + "$ref": "ReadOptions" + }, "keys": { - "description": "The keys specified in the request (in the same order), each with\nits key path completed with a newly allocated ID.", + "description": "Keys of entities to look up.", "type": "array", "items": { "$ref": "Key" } } }, - "id": "AllocateIdsResponse" + "id": "LookupRequest", + "description": "The request for Datastore.Lookup." }, - "Query": { + "QueryResultBatch": { + "description": "A batch of results produced by a query.", "type": "object", "properties": { - "limit": { - "description": "The maximum number of results to return. Applies after all other\nconstraints. Optional.\nUnspecified is interpreted as no limit.\nMust be \u003e= 0 if specified.", - "format": "int32", - "type": "integer" - }, - "filter": { - "$ref": "Filter", - "description": "The filter to apply." + "moreResults": { + "description": "The state of the query after the current batch.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value is never used.", + "There may be additional batches to fetch from this query.", + "The query is finished, but there may be more results after the limit.", + "The query is finished, but there may be more results after the end\ncursor.", + "The query has been exhausted." + ], + "enum": [ + "MORE_RESULTS_TYPE_UNSPECIFIED", + "NOT_FINISHED", + "MORE_RESULTS_AFTER_LIMIT", + "MORE_RESULTS_AFTER_CURSOR", + "NO_MORE_RESULTS" + ] }, - "startCursor": { - "description": "A starting point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", + "endCursor": { + "description": "A cursor that points to the position after the last result in the batch.", "format": "byte", "type": "string" }, - "offset": { - "description": "The number of results to skip. Applies before limit, but after all other\nconstraints. Optional. Must be \u003e= 0 if specified.", + "snapshotVersion": { + "description": "The version number of the snapshot this batch was returned from.\nThis applies to the range of results from the query's `start_cursor` (or\nthe beginning of the query if no cursor was given) to this batch's\n`end_cursor` (not the query's `end_cursor`).\n\nIn a single transaction, subsequent query result batches for the same query\ncan have a greater snapshot version number. Each batch's snapshot version\nis valid for all preceding batches.\nThe value will be zero for eventually consistent queries.", + "format": "int64", + "type": "string" + }, + "skippedCursor": { + "type": "string", + "description": "A cursor that points to the position after the last skipped result.\nWill be set when `skipped_results` != 0.", + "format": "byte" + }, + "skippedResults": { + "description": "The number of results skipped, typically because of an offset.", "format": "int32", "type": "integer" }, - "kind": { - "description": "The kinds to query (if empty, returns entities of all kinds).\nCurrently at most 1 kind may be specified.", - "type": "array", - "items": { - "$ref": "KindExpression" - } - }, - "distinctOn": { - "description": "The properties to make distinct. The query results will contain the first\nresult for each distinct combination of values for the given properties\n(if empty, all results are returned).", - "type": "array", - "items": { - "$ref": "PropertyReference" - } + "entityResultType": { + "description": "The result type for every entity in `entity_results`.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value is never used.", + "The key and properties.", + "A projected subset of properties. The entity may have no key.", + "Only the key." + ], + "enum": [ + "RESULT_TYPE_UNSPECIFIED", + "FULL", + "PROJECTION", + "KEY_ONLY" + ] }, - "order": { - "description": "The order to apply to the query results (if empty, order is unspecified).", + "entityResults": { "type": "array", "items": { - "$ref": "PropertyOrder" - } + "$ref": "EntityResult" + }, + "description": "The results for this batch." + } + }, + "id": "QueryResultBatch" + }, + "PathElement": { + "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", + "type": "object", + "properties": { + "kind": { + "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", + "type": "string" }, - "projection": { - "description": "The projection to return. Defaults to returning all properties.", - "type": "array", - "items": { - "$ref": "Projection" - } + "id": { + "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", + "format": "int64", + "type": "string" }, - "endCursor": { - "description": "An ending point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", - "format": "byte", + "name": { + "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", "type": "string" } }, - "id": "Query", - "description": "A query for entities." + "id": "PathElement" }, - "PropertyFilter": { + "GqlQueryParameter": { + "description": "A binding parameter for a GQL query.", + "type": "object", "properties": { + "cursor": { + "description": "A query cursor. Query cursors are returned in query\nresult batches.", + "format": "byte", + "type": "string" + }, "value": { "$ref": "Value", - "description": "The value to compare the property to." - }, - "property": { - "description": "The property to filter by.", - "$ref": "PropertyReference" - }, - "op": { - "description": "The operator to filter by.", - "type": "string", - "enumDescriptions": [ - "Unspecified. This value must not be used.", - "Less than.", - "Less than or equal.", - "Greater than.", - "Greater than or equal.", - "Equal.", - "Has ancestor." - ], - "enum": [ - "OPERATOR_UNSPECIFIED", - "LESS_THAN", - "LESS_THAN_OR_EQUAL", - "GREATER_THAN", - "GREATER_THAN_OR_EQUAL", - "EQUAL", - "HAS_ANCESTOR" - ] + "description": "A value parameter." } }, - "id": "PropertyFilter", - "description": "A filter on a specific property.", - "type": "object" + "id": "GqlQueryParameter" + }, + "BeginTransactionResponse": { + "description": "The response for Datastore.BeginTransaction.", + "type": "object", + "properties": { + "transaction": { + "description": "The transaction identifier (always present).", + "format": "byte", + "type": "string" + } + }, + "id": "BeginTransactionResponse" } }, "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, "version": "v1", "baseUrl": "https://datastore.googleapis.com/", "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, "https://www.googleapis.com/auth/datastore": { "description": "View and manage your Google Cloud Datastore data" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" } } } }, - "servicePath": "", - "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n", "kind": "discovery#restDescription", + "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n", + "servicePath": "", "rootUrl": "https://datastore.googleapis.com/", "basePath": "", "ownerDomain": "google.com", "name": "datastore", "batchPath": "batch", - "documentationLink": "https://cloud.google.com/datastore/", "revision": "20170314", + "documentationLink": "https://cloud.google.com/datastore/", "id": "datastore:v1", - "title": "Google Cloud Datastore API", - "discoveryVersion": "v1", - "ownerName": "Google", - "version_module": "True" + "title": "Google Cloud Datastore API" } diff --git a/DiscoveryJson/datastore_v1beta3.json b/DiscoveryJson/datastore_v1beta3.json index b107332e2c..8b92c0e04f 100644 --- a/DiscoveryJson/datastore_v1beta3.json +++ b/DiscoveryJson/datastore_v1beta3.json @@ -12,7 +12,39 @@ "resources": { "projects": { "methods": { + "allocateIds": { + "httpMethod": "POST", + "parameterOrder": [ + "projectId" + ], + "response": { + "$ref": "AllocateIdsResponse" + }, + "parameters": { + "projectId": { + "location": "path", + "description": "The ID of the project against which to make the request.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/datastore" + ], + "flatPath": "v1beta3/projects/{projectId}:allocateIds", + "id": "datastore.projects.allocateIds", + "path": "v1beta3/projects/{projectId}:allocateIds", + "request": { + "$ref": "AllocateIdsRequest" + }, + "description": "Allocates IDs for the given keys, which is useful for referencing an entity\nbefore it is inserted." + }, "commit": { + "description": "Commits a transaction, optionally creating, deleting or modifying some\nentities.", + "request": { + "$ref": "CommitRequest" + }, "httpMethod": "POST", "parameterOrder": [ "projectId" @@ -34,30 +66,26 @@ }, "flatPath": "v1beta3/projects/{projectId}:commit", "id": "datastore.projects.commit", - "path": "v1beta3/projects/{projectId}:commit", - "description": "Commits a transaction, optionally creating, deleting or modifying some\nentities.", - "request": { - "$ref": "CommitRequest" - } + "path": "v1beta3/projects/{projectId}:commit" }, "beginTransaction": { "request": { "$ref": "BeginTransactionRequest" }, "description": "Begins a new transaction.", - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], "response": { "$ref": "BeginTransactionResponse" }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "POST", "parameters": { "projectId": { + "location": "path", "description": "The ID of the project against which to make the request.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ @@ -65,70 +93,73 @@ "https://www.googleapis.com/auth/datastore" ], "flatPath": "v1beta3/projects/{projectId}:beginTransaction", - "id": "datastore.projects.beginTransaction", - "path": "v1beta3/projects/{projectId}:beginTransaction" + "path": "v1beta3/projects/{projectId}:beginTransaction", + "id": "datastore.projects.beginTransaction" }, "runQuery": { - "id": "datastore.projects.runQuery", "path": "v1beta3/projects/{projectId}:runQuery", + "id": "datastore.projects.runQuery", "description": "Queries for entities.", "request": { "$ref": "RunQueryRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], "response": { "$ref": "RunQueryResponse" }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore" ], "parameters": { "projectId": { - "location": "path", "description": "The ID of the project against which to make the request.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, "flatPath": "v1beta3/projects/{projectId}:runQuery" }, "rollback": { + "response": { + "$ref": "RollbackResponse" + }, + "parameterOrder": [ + "projectId" + ], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/datastore" ], "parameters": { "projectId": { - "location": "path", "description": "The ID of the project against which to make the request.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, "flatPath": "v1beta3/projects/{projectId}:rollback", - "id": "datastore.projects.rollback", "path": "v1beta3/projects/{projectId}:rollback", + "id": "datastore.projects.rollback", "description": "Rolls back a transaction.", "request": { "$ref": "RollbackRequest" - }, + } + }, + "lookup": { "httpMethod": "POST", "parameterOrder": [ "projectId" ], "response": { - "$ref": "RollbackResponse" - } - }, - "lookup": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/datastore" - ], + "$ref": "LookupResponse" + }, "parameters": { "projectId": { "location": "path", @@ -137,107 +168,49 @@ "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/datastore" + ], "flatPath": "v1beta3/projects/{projectId}:lookup", "id": "datastore.projects.lookup", "path": "v1beta3/projects/{projectId}:lookup", - "description": "Looks up entities by key.", "request": { "$ref": "LookupRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "projectId" - ], - "response": { - "$ref": "LookupResponse" - } - }, - "allocateIds": { - "description": "Allocates IDs for the given keys, which is useful for referencing an entity\nbefore it is inserted.", - "request": { - "$ref": "AllocateIdsRequest" - }, - "response": { - "$ref": "AllocateIdsResponse" - }, - "parameterOrder": [ - "projectId" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/datastore" - ], - "parameters": { - "projectId": { - "location": "path", - "description": "The ID of the project against which to make the request.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta3/projects/{projectId}:allocateIds", - "path": "v1beta3/projects/{projectId}:allocateIds", - "id": "datastore.projects.allocateIds" + "description": "Looks up entities by key." } } } }, "parameters": { - "key": { - "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.", - "type": "string", - "location": "query" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "quotaUser": { + "upload_protocol": { "location": "query", - "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.", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" }, - "pp": { + "prettyPrint": { "location": "query", - "description": "Pretty-print response.", + "description": "Returns response with indentations and line breaks.", "type": "boolean", "default": "true" }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "oauth_token": { + "fields": { "location": "query", - "description": "OAuth 2.0 token for the current user.", + "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" - }, "uploadType": { "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "fields": { + "callback": { + "description": "JSONP", "type": "string", - "location": "query", - "description": "Selector specifying which fields to include in a partial response." + "location": "query" }, "$.xgafv": { - "location": "query", "enum": [ "1", "2" @@ -247,17 +220,10 @@ "enumDescriptions": [ "v1 error format", "v2 error format" - ] - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + ], + "location": "query" }, "alt": { - "location": "query", - "description": "Data format for response.", - "default": "json", "enum": [ "json", "media", @@ -268,789 +234,823 @@ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" - ] + ], + "location": "query", + "description": "Data format for response.", + "default": "json" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" } }, "schemas": { - "RollbackResponse": { - "description": "The response for Datastore.Rollback.\n(an empty message).", - "type": "object", - "properties": {}, - "id": "RollbackResponse" - }, - "MutationResult": { - "description": "The result of applying a mutation.", - "type": "object", + "AllocateIdsRequest": { "properties": { - "version": { - "description": "The version of the entity on the server after processing the mutation. If\nthe mutation doesn't change anything on the server, then the version will\nbe the version of the current entity or, if no entity is present, a version\nthat is strictly greater than the version of any previous entity and less\nthan the version of any possible future entity.", - "format": "int64", - "type": "string" - }, - "conflictDetected": { - "description": "Whether a conflict was detected for this mutation. Always false when a\nconflict detection strategy field is not set in the mutation.", - "type": "boolean" - }, - "key": { - "$ref": "Key", - "description": "The automatically allocated key.\nSet only when the mutation allocated a key." + "keys": { + "description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only.", + "type": "array", + "items": { + "$ref": "Key" + } } }, - "id": "MutationResult" + "id": "AllocateIdsRequest", + "description": "The request for Datastore.AllocateIds.", + "type": "object" }, - "GqlQuery": { - "description": "A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", - "type": "object", + "LookupResponse": { "properties": { - "queryString": { - "description": "A string of the format described\n[here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", - "type": "string" - }, - "allowLiterals": { - "description": "When false, the query string must not contain any literals and instead must\nbind all values. For example,\n`SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while\n`SELECT * FROM Kind WHERE a = @value` is.", - "type": "boolean" + "deferred": { + "description": "A list of keys that were not looked up due to resource constraints. The\norder of results in this field is undefined and has no relation to the\norder of the keys in the input.", + "type": "array", + "items": { + "$ref": "Key" + } }, - "namedBindings": { - "additionalProperties": { - "$ref": "GqlQueryParameter" - }, - "description": "For each non-reserved named binding site in the query string, there must be\na named parameter with that name, but not necessarily the inverse.\n\nKey must match regex `A-Za-z_$*`, must not match regex\n`__.*__`, and must not be `\"\"`.", - "type": "object" - }, - "positionalBindings": { - "description": "Numbered binding site @1 references the first numbered parameter,\neffectively using 1-based indexing, rather than the usual 0.\n\nFor each binding site numbered i in `query_string`, there must be an i-th\nnumbered parameter. The inverse must also be true.", + "found": { + "description": "Entities found as `ResultType.FULL` entities. The order of results in this\nfield is undefined and has no relation to the order of the keys in the\ninput.", "type": "array", "items": { - "$ref": "GqlQueryParameter" + "$ref": "EntityResult" } - } - }, - "id": "GqlQuery" - }, - "Filter": { - "type": "object", - "properties": { - "compositeFilter": { - "$ref": "CompositeFilter", - "description": "A composite filter." }, - "propertyFilter": { - "$ref": "PropertyFilter", - "description": "A filter on a property." + "missing": { + "description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results\nin this field is undefined and has no relation to the order of the keys\nin the input.", + "type": "array", + "items": { + "$ref": "EntityResult" + } } }, - "id": "Filter", - "description": "A holder for any type of filter." + "id": "LookupResponse", + "description": "The response for Datastore.Lookup.", + "type": "object" }, - "RunQueryRequest": { - "description": "The request for Datastore.RunQuery.", - "type": "object", + "RunQueryResponse": { "properties": { - "partitionId": { - "$ref": "PartitionId", - "description": "Entities are partitioned into subsets, identified by a partition ID.\nQueries are scoped to a single partition.\nThis partition ID is normalized with the standard default context\npartition ID." - }, - "gqlQuery": { - "$ref": "GqlQuery", - "description": "The GQL query to run." - }, - "readOptions": { - "description": "The options for this query.", - "$ref": "ReadOptions" - }, "query": { "$ref": "Query", - "description": "The query to run." + "description": "The parsed form of the `GqlQuery` from the request, if it was set." + }, + "batch": { + "description": "A batch of query results (always present).", + "$ref": "QueryResultBatch" } }, - "id": "RunQueryRequest" + "id": "RunQueryResponse", + "description": "The response for Datastore.RunQuery.", + "type": "object" }, - "RollbackRequest": { - "description": "The request for Datastore.Rollback.", - "type": "object", + "CommitRequest": { "properties": { "transaction": { - "description": "The transaction identifier, returned by a call to\nDatastore.BeginTransaction.", + "description": "The identifier of the transaction associated with the commit. A\ntransaction identifier is returned by a call to\nDatastore.BeginTransaction.", "format": "byte", "type": "string" - } - }, - "id": "RollbackRequest" - }, - "CompositeFilter": { - "description": "A filter that merges multiple other filters using the given operator.", - "type": "object", - "properties": { - "filters": { - "description": "The list of filters to combine.\nMust contain at least one filter.", - "type": "array", - "items": { - "$ref": "Filter" - } }, - "op": { - "type": "string", + "mode": { "enumDescriptions": [ "Unspecified. This value must not be used.", - "The results are required to satisfy each of the combined filters." + "Transactional: The mutations are either all applied, or none are applied.\nLearn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).", + "Non-transactional: The mutations may not apply as all or none." ], "enum": [ - "OPERATOR_UNSPECIFIED", - "AND" + "MODE_UNSPECIFIED", + "TRANSACTIONAL", + "NON_TRANSACTIONAL" ], - "description": "The operator for combining multiple filters." - } - }, - "id": "CompositeFilter" - }, - "AllocateIdsResponse": { - "properties": { - "keys": { - "description": "The keys specified in the request (in the same order), each with\nits key path completed with a newly allocated ID.", - "type": "array", - "items": { - "$ref": "Key" - } - } - }, - "id": "AllocateIdsResponse", - "description": "The response for Datastore.AllocateIds.", - "type": "object" - }, - "Query": { - "description": "A query for entities.", - "type": "object", - "properties": { - "projection": { - "description": "The projection to return. Defaults to returning all properties.", - "type": "array", - "items": { - "$ref": "Projection" - } - }, - "endCursor": { - "description": "An ending point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", - "format": "byte", - "type": "string" - }, - "limit": { - "description": "The maximum number of results to return. Applies after all other\nconstraints. Optional.\nUnspecified is interpreted as no limit.\nMust be \u003e= 0 if specified.", - "format": "int32", - "type": "integer" - }, - "filter": { - "$ref": "Filter", - "description": "The filter to apply." - }, - "offset": { - "description": "The number of results to skip. Applies before limit, but after all other\nconstraints. Optional. Must be \u003e= 0 if specified.", - "format": "int32", - "type": "integer" - }, - "startCursor": { - "description": "A starting point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", - "format": "byte", + "description": "The type of commit to perform. Defaults to `TRANSACTIONAL`.", "type": "string" }, - "kind": { - "description": "The kinds to query (if empty, returns entities of all kinds).\nCurrently at most 1 kind may be specified.", - "type": "array", - "items": { - "$ref": "KindExpression" - } - }, - "distinctOn": { - "description": "The properties to make distinct. The query results will contain the first\nresult for each distinct combination of values for the given properties\n(if empty, all results are returned).", - "type": "array", - "items": { - "$ref": "PropertyReference" - } - }, - "order": { - "description": "The order to apply to the query results (if empty, order is unspecified).", + "mutations": { + "description": "The mutations to perform.\n\nWhen mode is `TRANSACTIONAL`, mutations affecting a single entity are\napplied in order. The following sequences of mutations affecting a single\nentity are not permitted in a single `Commit` request:\n\n- `insert` followed by `insert`\n- `update` followed by `insert`\n- `upsert` followed by `insert`\n- `delete` followed by `update`\n\nWhen mode is `NON_TRANSACTIONAL`, no two mutations may affect a single\nentity.", "type": "array", "items": { - "$ref": "PropertyOrder" + "$ref": "Mutation" } } }, - "id": "Query" + "id": "CommitRequest", + "description": "The request for Datastore.Commit.", + "type": "object" }, - "PropertyFilter": { - "type": "object", + "BeginTransactionRequest": { + "properties": {}, + "id": "BeginTransactionRequest", + "description": "The request for Datastore.BeginTransaction.", + "type": "object" + }, + "PropertyOrder": { "properties": { - "op": { - "description": "The operator to filter by.", - "type": "string", + "property": { + "description": "The property to order by.", + "$ref": "PropertyReference" + }, + "direction": { "enumDescriptions": [ "Unspecified. This value must not be used.", - "Less than.", - "Less than or equal.", - "Greater than.", - "Greater than or equal.", - "Equal.", - "Has ancestor." + "Ascending.", + "Descending." ], "enum": [ - "OPERATOR_UNSPECIFIED", - "LESS_THAN", - "LESS_THAN_OR_EQUAL", - "GREATER_THAN", - "GREATER_THAN_OR_EQUAL", - "EQUAL", - "HAS_ANCESTOR" - ] - }, - "value": { - "$ref": "Value", - "description": "The value to compare the property to." - }, - "property": { - "description": "The property to filter by.", - "$ref": "PropertyReference" + "DIRECTION_UNSPECIFIED", + "ASCENDING", + "DESCENDING" + ], + "description": "The direction to order by. Defaults to `ASCENDING`.", + "type": "string" } }, - "id": "PropertyFilter", - "description": "A filter on a specific property." + "id": "PropertyOrder", + "description": "The desired order for a specific property.", + "type": "object" }, - "EntityResult": { - "description": "The result of fetching an entity from Datastore.", + "KindExpression": { + "description": "A representation of a kind.", "type": "object", "properties": { - "cursor": { - "type": "string", - "description": "A cursor that points to the position after the result entity.\nSet only when the `EntityResult` is part of a `QueryResultBatch` message.", - "format": "byte" - }, - "version": { - "description": "The version of the entity, a strictly positive number that monotonically\nincreases with changes to the entity.\n\nThis field is set for `FULL` entity\nresults.\n\nFor missing entities in `LookupResponse`, this\nis the version of the snapshot that was used to look up the entity, and it\nis always set except for eventually consistent reads.", - "format": "int64", + "name": { + "description": "The name of the kind.", "type": "string" - }, - "entity": { - "$ref": "Entity", - "description": "The resulting entity." } }, - "id": "EntityResult" + "id": "KindExpression" }, - "Value": { - "description": "A message that can hold any of the supported value types and associated\nmetadata.", + "LatLng": { + "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", "type": "object", "properties": { - "blobValue": { - "description": "A blob value.\nMay have at most 1,000,000 bytes.\nWhen `exclude_from_indexes` is false, may have at most 1500 bytes.\nIn JSON requests, must be base64-encoded.", - "format": "byte", - "type": "string" - }, - "meaning": { - "type": "integer", - "description": "The `meaning` field should only be populated for backwards compatibility.", - "format": "int32" - }, - "arrayValue": { - "$ref": "ArrayValue", - "description": "An array value.\nCannot contain another array value.\nA `Value` instance that sets field `array_value` must not set fields\n`meaning` or `exclude_from_indexes`." - }, - "entityValue": { - "$ref": "Entity", - "description": "An entity value.\n\n- May have no key.\n- May have a key with an incomplete key path.\n- May have a reserved/read-only key." - }, - "geoPointValue": { - "description": "A geo point value representing a point on the surface of Earth.", - "$ref": "LatLng" - }, - "keyValue": { - "description": "A key value.", - "$ref": "Key" - }, - "integerValue": { - "description": "An integer value.", - "format": "int64", - "type": "string" - }, - "stringValue": { - "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.", - "type": "string" - }, - "excludeFromIndexes": { - "description": "If the value should be excluded from all indexes including those defined\nexplicitly.", - "type": "boolean" - }, - "doubleValue": { - "description": "A double value.", + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", "format": "double", "type": "number" }, - "timestampValue": { - "description": "A timestamp value.\nWhen stored in the Datastore, precise only to microseconds;\nany additional precision is rounded down.", - "format": "google-datetime", - "type": "string" - }, - "booleanValue": { - "description": "A boolean value.", - "type": "boolean" - }, - "nullValue": { - "type": "string", - "enumDescriptions": [ - "Null value." - ], - "enum": [ - "NULL_VALUE" - ], - "description": "A null value." + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "type": "number" } }, - "id": "Value" + "id": "LatLng" }, - "CommitResponse": { - "description": "The response for Datastore.Commit.", + "Key": { + "description": "A unique identifier for an entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", "type": "object", "properties": { - "indexUpdates": { - "description": "The number of index entries updated during the commit, or zero if none were\nupdated.", - "format": "int32", - "type": "integer" - }, - "mutationResults": { + "path": { + "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nAn entity path is always fully complete: *all* of the entity's ancestors\nare required to be in the path along with the entity identifier itself.\nThe only exception is that in some documented cases, the identifier in the\nlast path element (for the entity) itself may be omitted. For example,\nthe last path element of the key of `Mutation.insert` may have no\nidentifier.\n\nA path can never be empty, and a path can have at most 100 elements.", "type": "array", "items": { - "$ref": "MutationResult" - }, - "description": "The result of performing the mutations.\nThe i-th mutation result corresponds to the i-th mutation in the request." + "$ref": "PathElement" + } + }, + "partitionId": { + "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition.", + "$ref": "PartitionId" } }, - "id": "CommitResponse" + "id": "Key" }, - "PartitionId": { - "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.\n\nPartition dimensions:\n\n- May be `\"\"`.\n- Must be valid UTF-8 bytes.\n- Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}`\nIf the value of any dimension matches regex `__.*__`, the partition is\nreserved/read-only.\nA reserved/read-only partition ID is forbidden in certain documented\ncontexts.\n\nForeign partition IDs (in which the project ID does\nnot match the context project ID ) are discouraged.\nReads and writes of foreign partition IDs may fail if the project is not in an active state.", + "PropertyReference": { + "description": "A reference to a property relative to the kind expressions.", "type": "object", "properties": { - "projectId": { - "description": "The ID of the project to which the entities belong.", + "name": { + "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", "type": "string" - }, - "namespaceId": { - "type": "string", - "description": "If not empty, the ID of the namespace to which the entities belong." } }, - "id": "PartitionId" + "id": "PropertyReference" }, - "Entity": { - "description": "A Datastore data object.\n\nAn entity is limited to 1 megabyte when stored. That _roughly_\ncorresponds to a limit of 1 megabyte for the serialized form of this\nmessage.", - "type": "object", + "ArrayValue": { "properties": { - "key": { - "$ref": "Key", - "description": "The entity's key.\n\nAn entity must have a key, unless otherwise documented (for example,\nan entity in `Value.entity_value` may have no key).\nAn entity's kind is its key path's last element's kind,\nor null if it has no key." - }, - "properties": { - "description": "The entity's properties.\nThe map's keys are property names.\nA property name matching regex `__.*__` is reserved.\nA reserved property name is forbidden in certain documented contexts.\nThe name must not contain more than 500 characters.\nThe name cannot be `\"\"`.", - "type": "object", - "additionalProperties": { + "values": { + "description": "Values in the array.\nThe order of this array may not be preserved if it contains a mix of\nindexed and unindexed values.", + "type": "array", + "items": { "$ref": "Value" } } }, - "id": "Entity" + "id": "ArrayValue", + "description": "An array value.", + "type": "object" }, - "QueryResultBatch": { - "description": "A batch of results produced by a query.", + "Projection": { + "description": "A representation of a property in a projection.", "type": "object", "properties": { - "snapshotVersion": { - "description": "The version number of the snapshot this batch was returned from.\nThis applies to the range of results from the query's `start_cursor` (or\nthe beginning of the query if no cursor was given) to this batch's\n`end_cursor` (not the query's `end_cursor`).\n\nIn a single transaction, subsequent query result batches for the same query\ncan have a greater snapshot version number. Each batch's snapshot version\nis valid for all preceding batches.\nThe value will be zero for eventually consistent queries.", - "format": "int64", - "type": "string" + "property": { + "description": "The property to project.", + "$ref": "PropertyReference" + } + }, + "id": "Projection" + }, + "Mutation": { + "properties": { + "update": { + "$ref": "Entity", + "description": "The entity to update. The entity must already exist.\nMust have a complete key path." }, - "skippedCursor": { - "description": "A cursor that points to the position after the last skipped result.\nWill be set when `skipped_results` != 0.", - "format": "byte", - "type": "string" + "upsert": { + "$ref": "Entity", + "description": "The entity to upsert. The entity may or may not already exist.\nThe entity key's final path element may be incomplete." }, - "skippedResults": { - "description": "The number of results skipped, typically because of an offset.", - "format": "int32", - "type": "integer" + "delete": { + "description": "The key of the entity to delete. The entity may or may not already exist.\nMust have a complete key path and must not be reserved/read-only.", + "$ref": "Key" }, - "entityResultType": { - "type": "string", - "enumDescriptions": [ - "Unspecified. This value is never used.", - "The key and properties.", - "A projected subset of properties. The entity may have no key.", - "Only the key." - ], + "insert": { + "description": "The entity to insert. The entity must not already exist.\nThe entity key's final path element may be incomplete.", + "$ref": "Entity" + }, + "baseVersion": { + "description": "The version of the entity that this mutation is being applied to. If this\ndoes not match the current version on the server, the mutation conflicts.", + "format": "int64", + "type": "string" + } + }, + "id": "Mutation", + "description": "A mutation to apply to an entity.", + "type": "object" + }, + "ReadOptions": { + "properties": { + "readConsistency": { "enum": [ - "RESULT_TYPE_UNSPECIFIED", - "FULL", - "PROJECTION", - "KEY_ONLY" + "READ_CONSISTENCY_UNSPECIFIED", + "STRONG", + "EVENTUAL" ], - "description": "The result type for every entity in `entity_results`." - }, - "entityResults": { - "description": "The results for this batch.", - "type": "array", - "items": { - "$ref": "EntityResult" - } + "description": "The non-transactional read consistency to use.\nCannot be set to `STRONG` for global queries.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value must not be used.", + "Strong consistency.", + "Eventual consistency." + ] }, - "endCursor": { - "description": "A cursor that points to the position after the last result in the batch.", + "transaction": { + "description": "The identifier of the transaction in which to read. A\ntransaction identifier is returned by a call to\nDatastore.BeginTransaction.", "format": "byte", "type": "string" + } + }, + "id": "ReadOptions", + "description": "The options shared by read requests.", + "type": "object" + }, + "RollbackResponse": { + "description": "The response for Datastore.Rollback.\n(an empty message).", + "type": "object", + "properties": {}, + "id": "RollbackResponse" + }, + "MutationResult": { + "properties": { + "version": { + "description": "The version of the entity on the server after processing the mutation. If\nthe mutation doesn't change anything on the server, then the version will\nbe the version of the current entity or, if no entity is present, a version\nthat is strictly greater than the version of any previous entity and less\nthan the version of any possible future entity.", + "format": "int64", + "type": "string" }, - "moreResults": { - "description": "The state of the query after the current batch.", - "type": "string", - "enumDescriptions": [ - "Unspecified. This value is never used.", - "There may be additional batches to fetch from this query.", - "The query is finished, but there may be more results after the limit.", - "The query is finished, but there may be more results after the end\ncursor.", - "The query has been exhausted." - ], - "enum": [ - "MORE_RESULTS_TYPE_UNSPECIFIED", - "NOT_FINISHED", - "MORE_RESULTS_AFTER_LIMIT", - "MORE_RESULTS_AFTER_CURSOR", - "NO_MORE_RESULTS" - ] + "conflictDetected": { + "description": "Whether a conflict was detected for this mutation. Always false when a\nconflict detection strategy field is not set in the mutation.", + "type": "boolean" + }, + "key": { + "$ref": "Key", + "description": "The automatically allocated key.\nSet only when the mutation allocated a key." } }, - "id": "QueryResultBatch" + "id": "MutationResult", + "description": "The result of applying a mutation.", + "type": "object" }, - "LookupRequest": { - "description": "The request for Datastore.Lookup.", + "GqlQuery": { + "description": "A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", "type": "object", "properties": { - "keys": { - "type": "array", - "items": { - "$ref": "Key" + "queryString": { + "description": "A string of the format described\n[here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).", + "type": "string" + }, + "allowLiterals": { + "description": "When false, the query string must not contain any literals and instead must\nbind all values. For example,\n`SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while\n`SELECT * FROM Kind WHERE a = @value` is.", + "type": "boolean" + }, + "namedBindings": { + "additionalProperties": { + "$ref": "GqlQueryParameter" }, - "description": "Keys of entities to look up." + "description": "For each non-reserved named binding site in the query string, there must be\na named parameter with that name, but not necessarily the inverse.\n\nKey must match regex `A-Za-z_$*`, must not match regex\n`__.*__`, and must not be `\"\"`.", + "type": "object" }, - "readOptions": { - "$ref": "ReadOptions", - "description": "The options for this lookup request." + "positionalBindings": { + "description": "Numbered binding site @1 references the first numbered parameter,\neffectively using 1-based indexing, rather than the usual 0.\n\nFor each binding site numbered i in `query_string`, there must be an i-th\nnumbered parameter. The inverse must also be true.", + "type": "array", + "items": { + "$ref": "GqlQueryParameter" + } } }, - "id": "LookupRequest" + "id": "GqlQuery" }, - "PathElement": { - "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", - "type": "object", + "Filter": { "properties": { - "id": { - "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", - "type": "string" + "compositeFilter": { + "$ref": "CompositeFilter", + "description": "A composite filter." }, - "kind": { - "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", - "type": "string" + "propertyFilter": { + "$ref": "PropertyFilter", + "description": "A filter on a property." } }, - "id": "PathElement" + "id": "Filter", + "description": "A holder for any type of filter.", + "type": "object" }, - "GqlQueryParameter": { + "RunQueryRequest": { "properties": { - "cursor": { - "description": "A query cursor. Query cursors are returned in query\nresult batches.", - "format": "byte", - "type": "string" + "partitionId": { + "$ref": "PartitionId", + "description": "Entities are partitioned into subsets, identified by a partition ID.\nQueries are scoped to a single partition.\nThis partition ID is normalized with the standard default context\npartition ID." }, - "value": { - "$ref": "Value", - "description": "A value parameter." + "gqlQuery": { + "description": "The GQL query to run.", + "$ref": "GqlQuery" + }, + "readOptions": { + "description": "The options for this query.", + "$ref": "ReadOptions" + }, + "query": { + "$ref": "Query", + "description": "The query to run." } }, - "id": "GqlQueryParameter", - "description": "A binding parameter for a GQL query.", + "id": "RunQueryRequest", + "description": "The request for Datastore.RunQuery.", "type": "object" }, - "BeginTransactionResponse": { - "description": "The response for Datastore.BeginTransaction.", + "RollbackRequest": { + "description": "The request for Datastore.Rollback.", "type": "object", "properties": { "transaction": { - "description": "The transaction identifier (always present).", + "description": "The transaction identifier, returned by a call to\nDatastore.BeginTransaction.", "format": "byte", "type": "string" } }, - "id": "BeginTransactionResponse" + "id": "RollbackRequest" }, - "RunQueryResponse": { - "type": "object", + "CompositeFilter": { "properties": { - "batch": { - "description": "A batch of query results (always present).", - "$ref": "QueryResultBatch" + "filters": { + "description": "The list of filters to combine.\nMust contain at least one filter.", + "type": "array", + "items": { + "$ref": "Filter" + } }, - "query": { - "$ref": "Query", - "description": "The parsed form of the `GqlQuery` from the request, if it was set." + "op": { + "enum": [ + "OPERATOR_UNSPECIFIED", + "AND" + ], + "description": "The operator for combining multiple filters.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value must not be used.", + "The results are required to satisfy each of the combined filters." + ] } }, - "id": "RunQueryResponse", - "description": "The response for Datastore.RunQuery." + "id": "CompositeFilter", + "description": "A filter that merges multiple other filters using the given operator.", + "type": "object" }, - "LookupResponse": { - "id": "LookupResponse", - "description": "The response for Datastore.Lookup.", - "type": "object", + "AllocateIdsResponse": { "properties": { - "deferred": { - "description": "A list of keys that were not looked up due to resource constraints. The\norder of results in this field is undefined and has no relation to the\norder of the keys in the input.", + "keys": { + "description": "The keys specified in the request (in the same order), each with\nits key path completed with a newly allocated ID.", "type": "array", "items": { "$ref": "Key" } + } + }, + "id": "AllocateIdsResponse", + "description": "The response for Datastore.AllocateIds.", + "type": "object" + }, + "Query": { + "properties": { + "projection": { + "description": "The projection to return. Defaults to returning all properties.", + "type": "array", + "items": { + "$ref": "Projection" + } }, - "found": { - "description": "Entities found as `ResultType.FULL` entities. The order of results in this\nfield is undefined and has no relation to the order of the keys in the\ninput.", + "endCursor": { + "description": "An ending point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", + "format": "byte", + "type": "string" + }, + "limit": { + "description": "The maximum number of results to return. Applies after all other\nconstraints. Optional.\nUnspecified is interpreted as no limit.\nMust be \u003e= 0 if specified.", + "format": "int32", + "type": "integer" + }, + "filter": { + "$ref": "Filter", + "description": "The filter to apply." + }, + "startCursor": { + "description": "A starting point for the query results. Query cursors are\nreturned in query result batches and\n[can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).", + "format": "byte", + "type": "string" + }, + "offset": { + "description": "The number of results to skip. Applies before limit, but after all other\nconstraints. Optional. Must be \u003e= 0 if specified.", + "format": "int32", + "type": "integer" + }, + "kind": { + "description": "The kinds to query (if empty, returns entities of all kinds).\nCurrently at most 1 kind may be specified.", "type": "array", "items": { - "$ref": "EntityResult" + "$ref": "KindExpression" } }, - "missing": { - "description": "Entities not found as `ResultType.KEY_ONLY` entities. The order of results\nin this field is undefined and has no relation to the order of the keys\nin the input.", + "distinctOn": { + "description": "The properties to make distinct. The query results will contain the first\nresult for each distinct combination of values for the given properties\n(if empty, all results are returned).", "type": "array", "items": { - "$ref": "EntityResult" + "$ref": "PropertyReference" } - } - } - }, - "AllocateIdsRequest": { - "description": "The request for Datastore.AllocateIds.", - "type": "object", - "properties": { - "keys": { + }, + "order": { + "description": "The order to apply to the query results (if empty, order is unspecified).", "type": "array", "items": { - "$ref": "Key" - }, - "description": "A list of keys with incomplete key paths for which to allocate IDs.\nNo key may be reserved/read-only." + "$ref": "PropertyOrder" + } } }, - "id": "AllocateIdsRequest" - }, - "BeginTransactionRequest": { - "description": "The request for Datastore.BeginTransaction.", - "type": "object", - "properties": {}, - "id": "BeginTransactionRequest" + "id": "Query", + "description": "A query for entities.", + "type": "object" }, - "CommitRequest": { - "description": "The request for Datastore.Commit.", + "PropertyFilter": { + "description": "A filter on a specific property.", "type": "object", "properties": { - "transaction": { - "description": "The identifier of the transaction associated with the commit. A\ntransaction identifier is returned by a call to\nDatastore.BeginTransaction.", - "format": "byte", - "type": "string" + "value": { + "$ref": "Value", + "description": "The value to compare the property to." }, - "mode": { + "property": { + "description": "The property to filter by.", + "$ref": "PropertyReference" + }, + "op": { "enumDescriptions": [ "Unspecified. This value must not be used.", - "Transactional: The mutations are either all applied, or none are applied.\nLearn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).", - "Non-transactional: The mutations may not apply as all or none." + "Less than.", + "Less than or equal.", + "Greater than.", + "Greater than or equal.", + "Equal.", + "Has ancestor." ], "enum": [ - "MODE_UNSPECIFIED", - "TRANSACTIONAL", - "NON_TRANSACTIONAL" + "OPERATOR_UNSPECIFIED", + "LESS_THAN", + "LESS_THAN_OR_EQUAL", + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL", + "EQUAL", + "HAS_ANCESTOR" ], - "description": "The type of commit to perform. Defaults to `TRANSACTIONAL`.", + "description": "The operator to filter by.", + "type": "string" + } + }, + "id": "PropertyFilter" + }, + "EntityResult": { + "description": "The result of fetching an entity from Datastore.", + "type": "object", + "properties": { + "cursor": { + "description": "A cursor that points to the position after the result entity.\nSet only when the `EntityResult` is part of a `QueryResultBatch` message.", + "format": "byte", "type": "string" }, - "mutations": { - "description": "The mutations to perform.\n\nWhen mode is `TRANSACTIONAL`, mutations affecting a single entity are\napplied in order. The following sequences of mutations affecting a single\nentity are not permitted in a single `Commit` request:\n\n- `insert` followed by `insert`\n- `update` followed by `insert`\n- `upsert` followed by `insert`\n- `delete` followed by `update`\n\nWhen mode is `NON_TRANSACTIONAL`, no two mutations may affect a single\nentity.", - "type": "array", - "items": { - "$ref": "Mutation" - } + "version": { + "description": "The version of the entity, a strictly positive number that monotonically\nincreases with changes to the entity.\n\nThis field is set for `FULL` entity\nresults.\n\nFor missing entities in `LookupResponse`, this\nis the version of the snapshot that was used to look up the entity, and it\nis always set except for eventually consistent reads.", + "format": "int64", + "type": "string" + }, + "entity": { + "$ref": "Entity", + "description": "The resulting entity." } }, - "id": "CommitRequest" + "id": "EntityResult" }, - "PropertyOrder": { - "description": "The desired order for a specific property.", + "Value": { + "description": "A message that can hold any of the supported value types and associated\nmetadata.", "type": "object", "properties": { - "property": { - "description": "The property to order by.", - "$ref": "PropertyReference" + "geoPointValue": { + "$ref": "LatLng", + "description": "A geo point value representing a point on the surface of Earth." + }, + "keyValue": { + "$ref": "Key", + "description": "A key value." + }, + "integerValue": { + "description": "An integer value.", + "format": "int64", + "type": "string" + }, + "stringValue": { + "description": "A UTF-8 encoded string value.\nWhen `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.\nOtherwise, may be set to at least 1,000,000 bytes.", + "type": "string" + }, + "excludeFromIndexes": { + "description": "If the value should be excluded from all indexes including those defined\nexplicitly.", + "type": "boolean" + }, + "doubleValue": { + "description": "A double value.", + "format": "double", + "type": "number" + }, + "timestampValue": { + "description": "A timestamp value.\nWhen stored in the Datastore, precise only to microseconds;\nany additional precision is rounded down.", + "format": "google-datetime", + "type": "string" }, - "direction": { - "enumDescriptions": [ - "Unspecified. This value must not be used.", - "Ascending.", - "Descending." - ], + "nullValue": { "enum": [ - "DIRECTION_UNSPECIFIED", - "ASCENDING", - "DESCENDING" + "NULL_VALUE" ], - "description": "The direction to order by. Defaults to `ASCENDING`.", + "description": "A null value.", + "type": "string", + "enumDescriptions": [ + "Null value." + ] + }, + "booleanValue": { + "description": "A boolean value.", + "type": "boolean" + }, + "blobValue": { + "description": "A blob value.\nMay have at most 1,000,000 bytes.\nWhen `exclude_from_indexes` is false, may have at most 1500 bytes.\nIn JSON requests, must be base64-encoded.", + "format": "byte", "type": "string" + }, + "meaning": { + "description": "The `meaning` field should only be populated for backwards compatibility.", + "format": "int32", + "type": "integer" + }, + "arrayValue": { + "$ref": "ArrayValue", + "description": "An array value.\nCannot contain another array value.\nA `Value` instance that sets field `array_value` must not set fields\n`meaning` or `exclude_from_indexes`." + }, + "entityValue": { + "description": "An entity value.\n\n- May have no key.\n- May have a key with an incomplete key path.\n- May have a reserved/read-only key.", + "$ref": "Entity" } }, - "id": "PropertyOrder" + "id": "Value" }, - "KindExpression": { - "description": "A representation of a kind.", + "CommitResponse": { + "description": "The response for Datastore.Commit.", "type": "object", "properties": { - "name": { - "description": "The name of the kind.", - "type": "string" + "mutationResults": { + "description": "The result of performing the mutations.\nThe i-th mutation result corresponds to the i-th mutation in the request.", + "type": "array", + "items": { + "$ref": "MutationResult" + } + }, + "indexUpdates": { + "description": "The number of index entries updated during the commit, or zero if none were\nupdated.", + "format": "int32", + "type": "integer" } }, - "id": "KindExpression" + "id": "CommitResponse" }, - "LatLng": { + "PartitionId": { "properties": { - "latitude": { - "type": "number", - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", - "format": "double" + "projectId": { + "description": "The ID of the project to which the entities belong.", + "type": "string" }, - "longitude": { - "type": "number", - "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", - "format": "double" + "namespaceId": { + "description": "If not empty, the ID of the namespace to which the entities belong.", + "type": "string" } }, - "id": "LatLng", - "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", + "id": "PartitionId", + "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.\n\nPartition dimensions:\n\n- May be `\"\"`.\n- Must be valid UTF-8 bytes.\n- Must have values that match regex `[A-Za-z\\d\\.\\-_]{1,100}`\nIf the value of any dimension matches regex `__.*__`, the partition is\nreserved/read-only.\nA reserved/read-only partition ID is forbidden in certain documented\ncontexts.\n\nForeign partition IDs (in which the project ID does\nnot match the context project ID ) are discouraged.\nReads and writes of foreign partition IDs may fail if the project is not in an active state.", "type": "object" }, - "Key": { - "description": "A unique identifier for an entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", - "type": "object", + "Entity": { "properties": { - "path": { - "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nAn entity path is always fully complete: *all* of the entity's ancestors\nare required to be in the path along with the entity identifier itself.\nThe only exception is that in some documented cases, the identifier in the\nlast path element (for the entity) itself may be omitted. For example,\nthe last path element of the key of `Mutation.insert` may have no\nidentifier.\n\nA path can never be empty, and a path can have at most 100 elements.", - "type": "array", - "items": { - "$ref": "PathElement" - } + "properties": { + "additionalProperties": { + "$ref": "Value" + }, + "description": "The entity's properties.\nThe map's keys are property names.\nA property name matching regex `__.*__` is reserved.\nA reserved property name is forbidden in certain documented contexts.\nThe name must not contain more than 500 characters.\nThe name cannot be `\"\"`.", + "type": "object" }, - "partitionId": { - "$ref": "PartitionId", - "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition." + "key": { + "$ref": "Key", + "description": "The entity's key.\n\nAn entity must have a key, unless otherwise documented (for example,\nan entity in `Value.entity_value` may have no key).\nAn entity's kind is its key path's last element's kind,\nor null if it has no key." } }, - "id": "Key" + "id": "Entity", + "description": "A Datastore data object.\n\nAn entity is limited to 1 megabyte when stored. That _roughly_\ncorresponds to a limit of 1 megabyte for the serialized form of this\nmessage.", + "type": "object" }, - "PropertyReference": { - "description": "A reference to a property relative to the kind expressions.", - "type": "object", + "QueryResultBatch": { "properties": { - "name": { - "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", + "endCursor": { + "description": "A cursor that points to the position after the last result in the batch.", + "format": "byte", "type": "string" - } - }, - "id": "PropertyReference" - }, - "ArrayValue": { - "properties": { - "values": { - "description": "Values in the array.\nThe order of this array may not be preserved if it contains a mix of\nindexed and unindexed values.", + }, + "moreResults": { + "enum": [ + "MORE_RESULTS_TYPE_UNSPECIFIED", + "NOT_FINISHED", + "MORE_RESULTS_AFTER_LIMIT", + "MORE_RESULTS_AFTER_CURSOR", + "NO_MORE_RESULTS" + ], + "description": "The state of the query after the current batch.", + "type": "string", + "enumDescriptions": [ + "Unspecified. This value is never used.", + "There may be additional batches to fetch from this query.", + "The query is finished, but there may be more results after the limit.", + "The query is finished, but there may be more results after the end\ncursor.", + "The query has been exhausted." + ] + }, + "snapshotVersion": { + "description": "The version number of the snapshot this batch was returned from.\nThis applies to the range of results from the query's `start_cursor` (or\nthe beginning of the query if no cursor was given) to this batch's\n`end_cursor` (not the query's `end_cursor`).\n\nIn a single transaction, subsequent query result batches for the same query\ncan have a greater snapshot version number. Each batch's snapshot version\nis valid for all preceding batches.\nThe value will be zero for eventually consistent queries.", + "format": "int64", + "type": "string" + }, + "skippedCursor": { + "description": "A cursor that points to the position after the last skipped result.\nWill be set when `skipped_results` != 0.", + "format": "byte", + "type": "string" + }, + "skippedResults": { + "description": "The number of results skipped, typically because of an offset.", + "format": "int32", + "type": "integer" + }, + "entityResultType": { + "enumDescriptions": [ + "Unspecified. This value is never used.", + "The key and properties.", + "A projected subset of properties. The entity may have no key.", + "Only the key." + ], + "enum": [ + "RESULT_TYPE_UNSPECIFIED", + "FULL", + "PROJECTION", + "KEY_ONLY" + ], + "description": "The result type for every entity in `entity_results`.", + "type": "string" + }, + "entityResults": { + "description": "The results for this batch.", "type": "array", "items": { - "$ref": "Value" + "$ref": "EntityResult" } } }, - "id": "ArrayValue", - "description": "An array value.", + "id": "QueryResultBatch", + "description": "A batch of results produced by a query.", "type": "object" }, - "Projection": { - "description": "A representation of a property in a projection.", + "LookupRequest": { + "description": "The request for Datastore.Lookup.", "type": "object", "properties": { - "property": { - "description": "The property to project.", - "$ref": "PropertyReference" + "keys": { + "description": "Keys of entities to look up.", + "type": "array", + "items": { + "$ref": "Key" + } + }, + "readOptions": { + "$ref": "ReadOptions", + "description": "The options for this lookup request." } }, - "id": "Projection" + "id": "LookupRequest" }, - "Mutation": { + "PathElement": { + "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", "type": "object", "properties": { - "update": { - "$ref": "Entity", - "description": "The entity to update. The entity must already exist.\nMust have a complete key path." - }, - "upsert": { - "$ref": "Entity", - "description": "The entity to upsert. The entity may or may not already exist.\nThe entity key's final path element may be incomplete." - }, - "delete": { - "description": "The key of the entity to delete. The entity may or may not already exist.\nMust have a complete key path and must not be reserved/read-only.", - "$ref": "Key" + "id": { + "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", + "format": "int64", + "type": "string" }, - "insert": { - "$ref": "Entity", - "description": "The entity to insert. The entity must not already exist.\nThe entity key's final path element may be incomplete." + "name": { + "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", + "type": "string" }, - "baseVersion": { - "description": "The version of the entity that this mutation is being applied to. If this\ndoes not match the current version on the server, the mutation conflicts.", - "format": "int64", + "kind": { + "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", "type": "string" } }, - "id": "Mutation", - "description": "A mutation to apply to an entity." + "id": "PathElement" }, - "ReadOptions": { - "description": "The options shared by read requests.", + "GqlQueryParameter": { + "description": "A binding parameter for a GQL query.", "type": "object", "properties": { - "readConsistency": { - "enumDescriptions": [ - "Unspecified. This value must not be used.", - "Strong consistency.", - "Eventual consistency." - ], - "enum": [ - "READ_CONSISTENCY_UNSPECIFIED", - "STRONG", - "EVENTUAL" - ], - "description": "The non-transactional read consistency to use.\nCannot be set to `STRONG` for global queries.", + "cursor": { + "description": "A query cursor. Query cursors are returned in query\nresult batches.", + "format": "byte", "type": "string" }, + "value": { + "$ref": "Value", + "description": "A value parameter." + } + }, + "id": "GqlQueryParameter" + }, + "BeginTransactionResponse": { + "properties": { "transaction": { - "description": "The identifier of the transaction in which to read. A\ntransaction identifier is returned by a call to\nDatastore.BeginTransaction.", + "description": "The transaction identifier (always present).", "format": "byte", "type": "string" } }, - "id": "ReadOptions" + "id": "BeginTransactionResponse", + "description": "The response for Datastore.BeginTransaction.", + "type": "object" } }, "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "protocol": "rest", "version": "v1beta3", @@ -1058,18 +1058,18 @@ "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/datastore": { - "description": "View and manage your Google Cloud Datastore data" - }, "https://www.googleapis.com/auth/cloud-platform": { "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/datastore": { + "description": "View and manage your Google Cloud Datastore data" } } } }, + "kind": "discovery#restDescription", "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n", "servicePath": "", - "kind": "discovery#restDescription", "rootUrl": "https://datastore.googleapis.com/", "basePath": "" } diff --git a/DiscoveryJson/dlp_v2beta1.json b/DiscoveryJson/dlp_v2beta1.json index 9517c9fd5a..89ffa7c104 100644 --- a/DiscoveryJson/dlp_v2beta1.json +++ b/DiscoveryJson/dlp_v2beta1.json @@ -1,405 +1,109 @@ { - "rootUrl": "https://dlp.googleapis.com/", - "ownerDomain": "google.com", - "name": "dlp", - "batchPath": "batch", - "title": "DLP API", - "ownerName": "Google", - "resources": { - "inspect": { - "resources": { - "results": { - "resources": { - "findings": { - "methods": { - "list": { - "description": "Returns list of results for given inspect operation result set id.", - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "response": { - "$ref": "ListInspectFindingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "Identifier of the results set returned as metadata of\nthe longrunning operation created by a call to CreateInspectOperation.\nShould be in the format of `inspect/results/{id}.", - "required": true, - "type": "string", - "pattern": "^inspect/results/[^/]+$", - "location": "path" - }, - "pageToken": { - "location": "query", - "description": "The value returned by the last `ListInspectFindingsResponse`; indicates\nthat this is a continuation of a prior `ListInspectFindings` call, and that\nthe system should return the next page of data.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "Maximum number of results to return.\nIf 0, the implementation will select a reasonable value.", - "format": "int32", - "type": "integer" - } - }, - "flatPath": "v2beta1/inspect/results/{resultsId}/findings", - "path": "v2beta1/{+name}/findings", - "id": "dlp.inspect.results.findings.list" - } - } - } - } - }, - "operations": { - "methods": { - "create": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {}, - "flatPath": "v2beta1/inspect/operations", - "path": "v2beta1/inspect/operations", - "id": "dlp.inspect.operations.create", - "description": "Schedule a job scanning content in a Google Cloud Platform data repository.", - "request": { - "$ref": "CreateInspectOperationRequest" - } - }, - "cancel": { - "path": "v2beta1/{+name}:cancel", - "id": "dlp.inspect.operations.cancel", - "description": "Cancels an operation. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", - "pattern": "^inspect/operations/[^/]+$", - "location": "path" - } - }, - "flatPath": "v2beta1/inspect/operations/{operationsId}:cancel" - }, - "delete": { - "description": "This method is not supported and the server returns `UNIMPLEMENTED`.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "required": true, - "type": "string", - "pattern": "^inspect/operations/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v2beta1/inspect/operations/{operationsId}", - "path": "v2beta1/{+name}", - "id": "dlp.inspect.operations.delete" - }, - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListOperationsResponse" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "pattern": "^inspect/operations$", - "location": "path", - "description": "The name of the operation collection.", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The list page token.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "The list page size. The max allowed value is 256 and default is 100.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "filter": { - "location": "query", - "description": "This parameter supports filtering by done, ie done=true or done=false.", - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v2beta1/inspect/operations", - "id": "dlp.inspect.operations.list", - "path": "v2beta1/{+name}", - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`." - }, - "get": { - "httpMethod": "GET", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "name" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^inspect/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource.", - "required": true, - "type": "string" - } - }, - "flatPath": "v2beta1/inspect/operations/{operationsId}", - "id": "dlp.inspect.operations.get", - "path": "v2beta1/{+name}", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." - } + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { + "KindExpression": { + "description": "A representation of a Datastore kind.", + "type": "object", + "properties": { + "name": { + "description": "The name of the kind.", + "type": "string" + } + }, + "id": "KindExpression" + }, + "ListInfoTypesResponse": { + "properties": { + "infoTypes": { + "description": "Set of sensitive info types belonging to a category.", + "type": "array", + "items": { + "$ref": "InfoTypeDescription" } } - } + }, + "id": "ListInfoTypesResponse", + "description": "Response to the ListInfoTypes request.", + "type": "object" }, - "content": { - "methods": { - "inspect": { - "description": "Find potentially sensitive info in a list of strings.\nThis method has limits on input size, processing time, and output size.", - "request": { - "$ref": "InspectContentRequest" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "InspectContentResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {}, - "flatPath": "v2beta1/content:inspect", - "id": "dlp.content.inspect", - "path": "v2beta1/content:inspect" + "Key": { + "description": "A unique identifier for a Datastore entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", + "type": "object", + "properties": { + "path": { + "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.", + "type": "array", + "items": { + "$ref": "PathElement" + } }, - "redact": { - "id": "dlp.content.redact", - "path": "v2beta1/content:redact", - "request": { - "$ref": "RedactContentRequest" - }, - "description": "Redact potentially sensitive info from a list of strings.\nThis method has limits on input size, processing time, and output size.", - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "RedactContentResponse" - }, - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v2beta1/content:redact" + "partitionId": { + "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition.", + "$ref": "PartitionId" } - } + }, + "id": "Key" }, - "rootCategories": { - "resources": { - "infoTypes": { - "methods": { - "list": { - "description": "Returns sensitive information types for given category.", - "response": { - "$ref": "ListInfoTypesResponse" - }, - "parameterOrder": [ - "category" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "category": { - "description": "Category name as returned by ListRootCategories.", - "required": true, - "type": "string", - "pattern": "^[^/]+$", - "location": "path" - }, - "languageCode": { - "description": "Optional BCP-47 language code for localized info type friendly\nnames. If omitted, or if localized strings are not available,\nen-US strings will be returned.", - "type": "string", - "location": "query" - } - }, - "flatPath": "v2beta1/rootCategories/{rootCategoriesId}/infoTypes", - "path": "v2beta1/rootCategories/{+category}/infoTypes", - "id": "dlp.rootCategories.infoTypes.list" - } + "ListOperationsResponse": { + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "type": "array", + "items": { + "$ref": "Operation" } } }, - "methods": { - "list": { - "path": "v2beta1/rootCategories", - "id": "dlp.rootCategories.list", - "description": "Returns the list of root categories of sensitive information.", - "response": { - "$ref": "ListRootCategoriesResponse" - }, - "parameterOrder": [], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "languageCode": { - "description": "Optional language code for localized friendly category names.\nIf omitted or if localized strings are not available,\nen-US strings will be returned.", - "type": "string", - "location": "query" - } - }, - "flatPath": "v2beta1/rootCategories" - } - } - } - }, - "parameters": { - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string" - }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" - }, - "alt": { - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json" - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" + "id": "ListOperationsResponse", + "description": "The response message for Operations.ListOperations.", + "type": "object" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "InspectContentRequest": { + "description": "Request to search for potentially sensitive info in a list of items.", + "type": "object", + "properties": { + "items": { + "description": "The list of items to inspect. Items in a single request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.", + "type": "array", + "items": { + "$ref": "ContentItem" + } + }, + "inspectConfig": { + "$ref": "InspectConfig", + "description": "Configuration for the inspector." + } + }, + "id": "InspectContentRequest" + }, + "PropertyReference": { + "properties": { + "name": { + "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", + "type": "string" + } + }, + "id": "PropertyReference", + "description": "A reference to a property relative to the Datastore kind expressions.", + "type": "object" + }, + "Projection": { + "properties": { + "property": { + "description": "The property to project.", + "$ref": "PropertyReference" + } + }, + "id": "Projection", + "description": "A representation of a Datastore property in a projection.", + "type": "object" }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" - } - }, - "version": "v2beta1", - "baseUrl": "https://dlp.googleapis.com/", - "servicePath": "", - "description": "The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", - "kind": "discovery#restDescription", - "basePath": "", - "id": "dlp:v2beta1", - "revision": "20170328", - "documentationLink": "https://cloud.google.com/dlp/docs/", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { "InfoTypeDescription": { - "description": "Info type description.", - "type": "object", "properties": { "name": { "description": "Internal name of the info type.", @@ -417,17 +121,14 @@ } } }, - "id": "InfoTypeDescription" + "id": "InfoTypeDescription", + "description": "Info type description.", + "type": "object" }, "ImageLocation": { "description": "Bounding box encompassing detected text within an image.", "type": "object", "properties": { - "width": { - "description": "Width of the bounding box in pixels.", - "format": "int32", - "type": "integer" - }, "height": { "description": "Height of the bounding box in pixels.", "format": "int32", @@ -442,6 +143,11 @@ "description": "Left coordinate of the bounding box. (0,0) is upper left.", "format": "int32", "type": "integer" + }, + "width": { + "description": "Width of the bounding box in pixels.", + "format": "int32", + "type": "integer" } }, "id": "ImageLocation" @@ -467,635 +173,929 @@ "type": "object", "properties": { "partitionId": { - "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.", - "$ref": "PartitionId" + "$ref": "PartitionId", + "description": "A partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty." + }, + "kind": { + "description": "The kind to process.", + "$ref": "KindExpression" + }, + "projection": { + "description": "Properties to scan. If none are specified, all properties will be scanned\nby default.", + "type": "array", + "items": { + "$ref": "Projection" + } + } + }, + "id": "DatastoreOptions" + }, + "Empty": { + "properties": {}, + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object" + }, + "DatastoreKey": { + "description": "Record key for a finding in Cloud Datastore.", + "type": "object", + "properties": { + "entityKey": { + "$ref": "Key", + "description": "Datastore entity key." + } + }, + "id": "DatastoreKey" + }, + "ListRootCategoriesResponse": { + "description": "Response for ListRootCategories request.", + "type": "object", + "properties": { + "categories": { + "description": "List of all into type categories supported by the API.", + "type": "array", + "items": { + "$ref": "CategoryDescription" + } + } + }, + "id": "ListRootCategoriesResponse" + }, + "Location": { + "properties": { + "imageBoxes": { + "description": "Location within an image's pixels.", + "type": "array", + "items": { + "$ref": "ImageLocation" + } + }, + "byteRange": { + "$ref": "Range", + "description": "Zero-based byte offsets within a content item." + }, + "recordKey": { + "description": "Key of the finding.", + "$ref": "RecordKey" + }, + "codepointRange": { + "description": "Character offsets within a content item, included when content type\nis a text. Default charset assumed to be UTF-8.", + "$ref": "Range" + }, + "fieldId": { + "$ref": "FieldId", + "description": "Field id of the field containing the finding." + } + }, + "id": "Location", + "description": "Specifies the location of a finding within its source item.", + "type": "object" + }, + "ListInspectFindingsResponse": { + "properties": { + "nextPageToken": { + "description": "If not empty, indicates that there may be more results that match the\nrequest; this value should be passed in a new `ListInspectFindingsRequest`.", + "type": "string" + }, + "result": { + "description": "The results.", + "$ref": "InspectResult" + } + }, + "id": "ListInspectFindingsResponse", + "description": "Response to the ListInspectFindings request.", + "type": "object" + }, + "RecordKey": { + "description": "Message for a unique key indicating a record that contains a finding.", + "type": "object", + "properties": { + "datastoreKey": { + "$ref": "DatastoreKey" + }, + "cloudStorageKey": { + "$ref": "CloudStorageKey" + } + }, + "id": "RecordKey" + }, + "CreateInspectOperationRequest": { + "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", + "type": "object", + "properties": { + "inspectConfig": { + "description": "Configuration for the inspector.", + "$ref": "InspectConfig" + }, + "storageConfig": { + "description": "Specification of the data set to process.", + "$ref": "StorageConfig" + } + }, + "id": "CreateInspectOperationRequest" + }, + "InspectContentResponse": { + "description": "Results of inspecting a list of items.", + "type": "object", + "properties": { + "results": { + "description": "Each content_item from the request will have a result in this list, in the\nsame order as the request.", + "type": "array", + "items": { + "$ref": "InspectResult" + } + } + }, + "id": "InspectContentResponse" + }, + "ContentItem": { + "description": "Container structure for the content to inspect.", + "type": "object", + "properties": { + "data": { + "description": "Content data to inspect or redact.", + "format": "byte", + "type": "string" + }, + "type": { + "description": "Type of the content, as defined in Content-Type HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG images,\nJPEG images.", + "type": "string" + }, + "value": { + "description": "String data to inspect or redact.", + "type": "string" + } + }, + "id": "ContentItem" + }, + "Finding": { + "properties": { + "likelihood": { + "enum": [ + "LIKELIHOOD_UNSPECIFIED", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY" + ], + "description": "Estimate of how likely it is that the info_type is correct.", + "type": "string", + "enumDescriptions": [ + "Default value; information with all likelihoods will be included.", + "Few matching elements.", + "", + "Some matching elements.", + "", + "Many matching elements." + ] + }, + "infoType": { + "$ref": "InfoType", + "description": "The specific type of info the string might be." + }, + "createTime": { + "description": "Timestamp when finding was detected.", + "format": "google-datetime", + "type": "string" + }, + "quote": { + "description": "The specific string that may be potentially sensitive info.", + "type": "string" + }, + "location": { + "description": "Location of the info found.", + "$ref": "Location" + } + }, + "id": "Finding", + "description": "Container structure describing a single finding within a string or image.", + "type": "object" + }, + "FileSet": { + "description": "Set of files to scan.", + "type": "object", + "properties": { + "url": { + "description": "The url, in the format gs://\u003cbucket\u003e/\u003cpath\u003e. Trailing wildcard in the\npath is allowed.", + "type": "string" + } + }, + "id": "FileSet" + }, + "ReplaceConfig": { + "type": "object", + "properties": { + "replaceWith": { + "description": "Content replacing sensitive information of given type. Max 256 chars.", + "type": "string" + }, + "infoType": { + "description": "Type of information to replace. Only one ReplaceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, we'll\nmatch it against all info_types that are found but not specified in\nanother ReplaceConfig.", + "$ref": "InfoType" + } + }, + "id": "ReplaceConfig" + }, + "InfoType": { + "description": "Type of information detected by the API.", + "type": "object", + "properties": { + "name": { + "description": "Name of the information type, provided by the API call ListInfoTypes.", + "type": "string" + } + }, + "id": "InfoType" + }, + "InspectConfig": { + "description": "Configuration description of the scanning process.\nWhen used with redactContent only info_types and min_likelihood are currently\nused.", + "type": "object", + "properties": { + "minLikelihood": { + "enum": [ + "LIKELIHOOD_UNSPECIFIED", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY" + ], + "description": "Only return findings equal or above this threshold.", + "type": "string", + "enumDescriptions": [ + "Default value; information with all likelihoods will be included.", + "Few matching elements.", + "", + "Some matching elements.", + "", + "Many matching elements." + ] }, - "kind": { - "$ref": "KindExpression", - "description": "The kind to process." + "maxFindings": { + "description": "Limit the number of findings per content item.", + "format": "int32", + "type": "integer" }, - "projection": { - "description": "Properties to scan. If none are specified, all properties will be scanned\nby default.", + "infoTypes": { + "description": "Restrict what info_types to look for. The values must correspond to\nInfoType values returned by ListInfoTypes or found in documentation.\nEmpty info_types runs all enabled detectors.", "type": "array", "items": { - "$ref": "Projection" + "$ref": "InfoType" } + }, + "excludeTypes": { + "description": "When true, exclude type information of the findings.", + "type": "boolean" + }, + "includeQuote": { + "description": "When true, a contextual quote from the data that triggered a finding will\nbe included in the response; see Finding.quote.", + "type": "boolean" } }, - "id": "DatastoreOptions" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object" + "id": "InspectConfig" }, - "ListRootCategoriesResponse": { + "StorageConfig": { "properties": { - "categories": { - "description": "List of all into type categories supported by the API.", - "type": "array", - "items": { - "$ref": "CategoryDescription" - } + "datastoreOptions": { + "$ref": "DatastoreOptions", + "description": "Google Cloud Datastore options specification." + }, + "cloudStorageOptions": { + "description": "Google Cloud Storage options specification.", + "$ref": "CloudStorageOptions" } }, - "id": "ListRootCategoriesResponse", - "description": "Response for ListRootCategories request.", + "id": "StorageConfig", + "description": "Shared message indicating Cloud storage type.", "type": "object" }, - "DatastoreKey": { - "description": "Record key for a finding in Cloud Datastore.", - "type": "object", - "properties": { - "entityKey": { - "description": "Datastore entity key.", - "$ref": "Key" - } - }, - "id": "DatastoreKey" - }, - "Location": { + "RedactContentRequest": { "properties": { - "recordKey": { - "description": "Key of the finding.", - "$ref": "RecordKey" - }, - "codepointRange": { - "$ref": "Range", - "description": "Character offsets within a content item, included when content type\nis a text. Default charset assumed to be UTF-8." + "replaceConfigs": { + "description": "The strings to replace findings with. Must specify at least one.", + "type": "array", + "items": { + "$ref": "ReplaceConfig" + } }, - "fieldId": { - "description": "Field id of the field containing the finding.", - "$ref": "FieldId" + "inspectConfig": { + "$ref": "InspectConfig", + "description": "Configuration for the inspector." }, - "imageBoxes": { - "description": "Location within an image's pixels.", + "items": { + "description": "The list of items to inspect. Up to 100 are allowed per request.", "type": "array", "items": { - "$ref": "ImageLocation" + "$ref": "ContentItem" } - }, - "byteRange": { - "$ref": "Range", - "description": "Zero-based byte offsets within a content item." } }, - "id": "Location", - "description": "Specifies the location of a finding within its source item.", + "id": "RedactContentRequest", + "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.", "type": "object" }, - "ListInspectFindingsResponse": { + "PartitionId": { "properties": { - "nextPageToken": { - "description": "If not empty, indicates that there may be more results that match the\nrequest; this value should be passed in a new `ListInspectFindingsRequest`.", + "projectId": { + "description": "The ID of the project to which the entities belong.", "type": "string" }, - "result": { - "description": "The results.", - "$ref": "InspectResult" + "databaseId": { + "description": "If not empty, the ID of the database to which the entities\nbelong.", + "type": "string" + }, + "namespaceId": { + "description": "If not empty, the ID of the namespace to which the entities belong.", + "type": "string" } }, - "id": "ListInspectFindingsResponse", - "description": "Response to the ListInspectFindings request.", + "id": "PartitionId", + "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.", "type": "object" }, - "RecordKey": { + "CategoryDescription": { + "description": "Info Type Category description.", + "type": "object", "properties": { - "datastoreKey": { - "$ref": "DatastoreKey" + "name": { + "description": "Internal name of the category.", + "type": "string" }, - "cloudStorageKey": { - "$ref": "CloudStorageKey" + "displayName": { + "description": "Human readable form of the category name.", + "type": "string" } }, - "id": "RecordKey", - "description": "Message for a unique key indicating a record that contains a finding.", + "id": "CategoryDescription" + }, + "CancelOperationRequest": { + "properties": {}, + "id": "CancelOperationRequest", + "description": "The request message for Operations.CancelOperation.", "type": "object" }, - "CreateInspectOperationRequest": { + "Operation": { "properties": { - "inspectConfig": { - "description": "Configuration for the inspector.", - "$ref": "InspectConfig" + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" }, - "storageConfig": { - "description": "Specification of the data set to process.", - "$ref": "StorageConfig" + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "This field will contain an `InspectOperationResult` object.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, The `name` should have the format of `inspect/operations/\u003cidentifier\u003e`.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "This field will contain an `InspectOperationMetdata` object.", + "type": "object" } }, - "id": "CreateInspectOperationRequest", - "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", + "id": "Operation", + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object" }, - "InspectContentResponse": { - "description": "Results of inspecting a list of items.", - "type": "object", + "CloudStorageOptions": { "properties": { - "results": { - "description": "Each content_item from the request will have a result in this list, in the\nsame order as the request.", - "type": "array", - "items": { - "$ref": "InspectResult" - } + "fileSet": { + "$ref": "FileSet" } }, - "id": "InspectContentResponse" + "id": "CloudStorageOptions", + "description": "Options defining a file or a set of files (path ending with *) within\na Google Cloud Storage bucket.", + "type": "object" }, - "Finding": { - "description": "Container structure describing a single finding within a string or image.", - "type": "object", + "PathElement": { "properties": { - "likelihood": { - "enum": [ - "LIKELIHOOD_UNSPECIFIED", - "VERY_UNLIKELY", - "UNLIKELY", - "POSSIBLE", - "LIKELY", - "VERY_LIKELY" - ], - "description": "Estimate of how likely it is that the info_type is correct.", - "type": "string", - "enumDescriptions": [ - "Default value; information with all likelihoods will be included.", - "Few matching elements.", - "", - "Some matching elements.", - "", - "Many matching elements." - ] - }, - "infoType": { - "$ref": "InfoType", - "description": "The specific type of info the string might be." - }, - "createTime": { - "description": "Timestamp when finding was detected.", - "format": "google-datetime", + "name": { + "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", "type": "string" }, - "quote": { - "description": "The specific string that may be potentially sensitive info.", + "kind": { + "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", "type": "string" }, - "location": { - "description": "Location of the info found.", - "$ref": "Location" + "id": { + "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", + "format": "int64", + "type": "string" } }, - "id": "Finding" + "id": "PathElement", + "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", + "type": "object" }, - "ContentItem": { - "description": "Container structure for the content to inspect.", + "InspectResult": { + "description": "All the findings for a single scanned item.", "type": "object", "properties": { - "value": { - "description": "String data to inspect or redact.", - "type": "string" - }, - "data": { - "description": "Content data to inspect or redact.", - "format": "byte", - "type": "string" + "findingsTruncated": { + "description": "If true, then this item might have more findings than were returned,\nand the findings returned are an arbitrary subset of all findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallowed for a single API call. For best results, divide the input into\nsmaller batches.", + "type": "boolean" }, - "type": { - "description": "Type of the content, as defined in Content-Type HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG images,\nJPEG images.", - "type": "string" + "findings": { + "description": "List of findings for an item.", + "type": "array", + "items": { + "$ref": "Finding" + } } }, - "id": "ContentItem" + "id": "InspectResult" }, - "InspectConfig": { - "description": "Configuration description of the scanning process.\nWhen used with redactContent only info_types and min_likelihood are currently\nused.", + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "maxFindings": { - "description": "Limit the number of findings per content item.", - "format": "int32", - "type": "integer" - }, - "infoTypes": { - "description": "Restrict what info_types to look for. The values must correspond to\nInfoType values returned by ListInfoTypes or found in documentation.\nEmpty info_types runs all enabled detectors.", + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "$ref": "InfoType" + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" } }, - "excludeTypes": { - "description": "When true, exclude type information of the findings.", - "type": "boolean" - }, - "includeQuote": { - "description": "When true, a contextual quote from the data that triggered a finding will\nbe included in the response; see Finding.quote.", - "type": "boolean" + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" }, - "minLikelihood": { - "enumDescriptions": [ - "Default value; information with all likelihoods will be included.", - "Few matching elements.", - "", - "Some matching elements.", - "", - "Many matching elements." - ], - "enum": [ - "LIKELIHOOD_UNSPECIFIED", - "VERY_UNLIKELY", - "UNLIKELY", - "POSSIBLE", - "LIKELY", - "VERY_LIKELY" - ], - "description": "Only return findings equal or above this threshold.", + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", "type": "string" } }, - "id": "InspectConfig" + "id": "Status" }, - "InfoType": { - "description": "Type of information detected by the API.", - "type": "object", + "RedactContentResponse": { "properties": { - "name": { - "description": "Name of the information type, provided by the API call ListInfoTypes.", - "type": "string" + "items": { + "description": "The redacted content.", + "type": "array", + "items": { + "$ref": "ContentItem" + } } }, - "id": "InfoType" + "id": "RedactContentResponse", + "description": "Results of deidentifying a list of items.", + "type": "object" }, - "ReplaceConfig": { + "Range": { + "description": "Generic half-open interval [start, end)", + "type": "object", "properties": { - "replaceWith": { - "description": "Content replacing sensitive information of given type. Max 256 chars.", + "start": { + "description": "Index of the first character of the range (inclusive).", + "format": "int64", "type": "string" }, - "infoType": { - "$ref": "InfoType", - "description": "Type of information to replace. Only one ReplaceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, we'll\nmatch it against all info_types that are found but not specified in\nanother ReplaceConfig." + "end": { + "description": "Index of the last character of the range (exclusive).", + "format": "int64", + "type": "string" } }, - "id": "ReplaceConfig", - "type": "object" + "id": "Range" }, - "FileSet": { - "description": "Set of files to scan.", + "FieldId": { + "description": "General identifier of a data field in a storage service.", "type": "object", "properties": { - "url": { - "description": "The url, in the format gs://\u003cbucket\u003e/\u003cpath\u003e. Trailing wildcard in the\npath is allowed.", + "columnName": { + "description": "Column name describing the field.", "type": "string" } }, - "id": "FileSet" - }, - "StorageConfig": { - "properties": { - "datastoreOptions": { - "$ref": "DatastoreOptions", - "description": "Google Cloud Datastore options specification." - }, - "cloudStorageOptions": { - "$ref": "CloudStorageOptions", - "description": "Google Cloud Storage options specification." + "id": "FieldId" + } + }, + "protocol": "rest", + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "canonicalName": "DLP", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" } - }, - "id": "StorageConfig", - "description": "Shared message indicating Cloud storage type.", - "type": "object" - }, - "RedactContentRequest": { - "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.", - "type": "object", - "properties": { - "replaceConfigs": { - "description": "The strings to replace findings with. Must specify at least one.", - "type": "array", - "items": { - "$ref": "ReplaceConfig" + } + } + }, + "rootUrl": "https://dlp.googleapis.com/", + "ownerDomain": "google.com", + "name": "dlp", + "batchPath": "batch", + "title": "DLP API", + "ownerName": "Google", + "resources": { + "inspect": { + "resources": { + "results": { + "resources": { + "findings": { + "methods": { + "list": { + "description": "Returns list of results for given inspect operation result set id.", + "response": { + "$ref": "ListInspectFindingsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "description": "Identifier of the results set returned as metadata of\nthe longrunning operation created by a call to CreateInspectOperation.\nShould be in the format of `inspect/results/{id}.", + "required": true, + "type": "string", + "pattern": "^inspect/results/[^/]+$", + "location": "path" + }, + "pageToken": { + "description": "The value returned by the last `ListInspectFindingsResponse`; indicates\nthat this is a continuation of a prior `ListInspectFindings` call, and that\nthe system should return the next page of data.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "Maximum number of results to return.\nIf 0, the implementation will select a reasonable value.", + "format": "int32", + "type": "integer" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v2beta1/inspect/results/{resultsId}/findings", + "path": "v2beta1/{+name}/findings", + "id": "dlp.inspect.results.findings.list" + } + } + } } }, - "inspectConfig": { - "$ref": "InspectConfig", - "description": "Configuration for the inspector." - }, - "items": { - "description": "The list of items to inspect. Up to 100 are allowed per request.", - "type": "array", - "items": { - "$ref": "ContentItem" + "operations": { + "methods": { + "cancel": { + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string", + "pattern": "^inspect/operations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v2beta1/inspect/operations/{operationsId}:cancel", + "id": "dlp.inspect.operations.cancel", + "path": "v2beta1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "description": "Cancels an operation. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation." + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "required": true, + "type": "string", + "pattern": "^inspect/operations/[^/]+$", + "location": "path" + } + }, + "flatPath": "v2beta1/inspect/operations/{operationsId}", + "path": "v2beta1/{+name}", + "id": "dlp.inspect.operations.delete", + "description": "This method is not supported and the server returns `UNIMPLEMENTED`." + }, + "list": { + "path": "v2beta1/{+name}", + "id": "dlp.inspect.operations.list", + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", + "response": { + "$ref": "ListOperationsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "pattern": "^inspect/operations$", + "location": "path", + "description": "The name of the operation collection.", + "required": true, + "type": "string" + }, + "pageToken": { + "description": "The list page token.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "The list page size. The max allowed value is 256 and default is 100.", + "format": "int32", + "type": "integer" + }, + "filter": { + "description": "This parameter supports filtering by done, ie done=true or done=false.", + "type": "string", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v2beta1/inspect/operations" + }, + "get": { + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "required": true, + "type": "string", + "pattern": "^inspect/operations/[^/]+$", + "location": "path" + } + }, + "flatPath": "v2beta1/inspect/operations/{operationsId}", + "path": "v2beta1/{+name}", + "id": "dlp.inspect.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." + }, + "create": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v2beta1/inspect/operations", + "path": "v2beta1/inspect/operations", + "id": "dlp.inspect.operations.create", + "request": { + "$ref": "CreateInspectOperationRequest" + }, + "description": "Schedule a job scanning content in a Google Cloud Platform data repository." + } } } - }, - "id": "RedactContentRequest" - }, - "PartitionId": { - "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\nproject ID and namespace ID.", - "type": "object", - "properties": { - "databaseId": { - "description": "If not empty, the ID of the database to which the entities\nbelong.", - "type": "string" - }, - "namespaceId": { - "description": "If not empty, the ID of the namespace to which the entities belong.", - "type": "string" - }, - "projectId": { - "description": "The ID of the project to which the entities belong.", - "type": "string" - } - }, - "id": "PartitionId" - }, - "CategoryDescription": { - "description": "Info Type Category description.", - "type": "object", - "properties": { - "name": { - "description": "Internal name of the category.", - "type": "string" - }, - "displayName": { - "description": "Human readable form of the category name.", - "type": "string" - } - }, - "id": "CategoryDescription" - }, - "CancelOperationRequest": { - "properties": {}, - "id": "CancelOperationRequest", - "description": "The request message for Operations.CancelOperation.", - "type": "object" + } }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "type": "object", - "properties": { - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "content": { + "methods": { + "inspect": { + "response": { + "$ref": "InspectContentResponse" }, - "description": "This field will contain an `InspectOperationResult` object.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, The `name` should have the format of `inspect/operations/\u003cidentifier\u003e`.", - "type": "string" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v2beta1/content:inspect", + "path": "v2beta1/content:inspect", + "id": "dlp.content.inspect", + "description": "Find potentially sensitive info in a list of strings.\nThis method has limits on input size, processing time, and output size.", + "request": { + "$ref": "InspectContentRequest" + } }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "redact": { + "response": { + "$ref": "RedactContentResponse" }, - "description": "This field will contain an `InspectOperationMetdata` object.", - "type": "object" - }, - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - } - }, - "id": "Operation" - }, - "CloudStorageOptions": { - "properties": { - "fileSet": { - "$ref": "FileSet" + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v2beta1/content:redact", + "path": "v2beta1/content:redact", + "id": "dlp.content.redact", + "request": { + "$ref": "RedactContentRequest" + }, + "description": "Redact potentially sensitive info from a list of strings.\nThis method has limits on input size, processing time, and output size." } - }, - "id": "CloudStorageOptions", - "description": "Options defining a file or a set of files (path ending with *) within\na Google Cloud Storage bucket.", - "type": "object" + } }, - "PathElement": { - "properties": { - "name": { - "description": "The name of the entity.\nA name matching regex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", - "type": "string" - }, - "kind": { - "description": "The kind of the entity.\nA kind matching regex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.", - "type": "string" - }, - "id": { - "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported in the future.", - "format": "int64", - "type": "string" + "rootCategories": { + "methods": { + "list": { + "description": "Returns the list of root categories of sensitive information.", + "parameterOrder": [], + "httpMethod": "GET", + "response": { + "$ref": "ListRootCategoriesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "languageCode": { + "description": "Optional language code for localized friendly category names.\nIf omitted or if localized strings are not available,\nen-US strings will be returned.", + "type": "string", + "location": "query" + } + }, + "flatPath": "v2beta1/rootCategories", + "path": "v2beta1/rootCategories", + "id": "dlp.rootCategories.list" } }, - "id": "PathElement", - "description": "A (kind, ID/name) pair used to construct a key path.\n\nIf either name or ID is set, the element is complete.\nIf neither is set, the element is incomplete.", - "type": "object" - }, - "InspectResult": { - "properties": { - "findingsTruncated": { - "description": "If true, then this item might have more findings than were returned,\nand the findings returned are an arbitrary subset of all findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallowed for a single API call. For best results, divide the input into\nsmaller batches.", - "type": "boolean" - }, - "findings": { - "description": "List of findings for an item.", - "type": "array", - "items": { - "$ref": "Finding" + "resources": { + "infoTypes": { + "methods": { + "list": { + "httpMethod": "GET", + "response": { + "$ref": "ListInfoTypesResponse" + }, + "parameterOrder": [ + "category" + ], + "parameters": { + "category": { + "description": "Category name as returned by ListRootCategories.", + "required": true, + "type": "string", + "pattern": "^[^/]+$", + "location": "path" + }, + "languageCode": { + "location": "query", + "description": "Optional BCP-47 language code for localized info type friendly\nnames. If omitted, or if localized strings are not available,\nen-US strings will be returned.", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v2beta1/rootCategories/{rootCategoriesId}/infoTypes", + "id": "dlp.rootCategories.infoTypes.list", + "path": "v2beta1/rootCategories/{+category}/infoTypes", + "description": "Returns sensitive information types for given category." + } } } - }, - "id": "InspectResult", - "description": "All the findings for a single scanned item.", - "type": "object" + } + } + }, + "parameters": { + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object", - "properties": { - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - }, - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - } - }, - "id": "Status" + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" }, - "RedactContentResponse": { - "properties": { - "items": { - "description": "The redacted content.", - "type": "array", - "items": { - "$ref": "ContentItem" - } - } - }, - "id": "RedactContentResponse", - "description": "Results of deidentifying a list of items.", - "type": "object" + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, - "Range": { - "properties": { - "start": { - "description": "Index of the first character of the range (inclusive).", - "format": "int64", - "type": "string" - }, - "end": { - "description": "Index of the last character of the range (exclusive).", - "format": "int64", - "type": "string" - } - }, - "id": "Range", - "description": "Generic half-open interval [start, end)", - "type": "object" + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" }, - "FieldId": { - "description": "General identifier of a data field in a storage service.", - "type": "object", - "properties": { - "columnName": { - "description": "Column name describing the field.", - "type": "string" - } - }, - "id": "FieldId" + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" }, - "KindExpression": { - "description": "A representation of a Datastore kind.", - "type": "object", - "properties": { - "name": { - "description": "The name of the kind.", - "type": "string" - } - }, - "id": "KindExpression" + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, - "ListInfoTypesResponse": { - "description": "Response to the ListInfoTypes request.", - "type": "object", - "properties": { - "infoTypes": { - "description": "Set of sensitive info types belonging to a category.", - "type": "array", - "items": { - "$ref": "InfoTypeDescription" - } - } - }, - "id": "ListInfoTypesResponse" + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" }, - "ListOperationsResponse": { - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } - } - }, - "id": "ListOperationsResponse", - "description": "The response message for Operations.ListOperations.", - "type": "object" + "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" }, - "InspectContentRequest": { - "properties": { - "inspectConfig": { - "$ref": "InspectConfig", - "description": "Configuration for the inspector." - }, - "items": { - "description": "The list of items to inspect. Items in a single request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.", - "type": "array", - "items": { - "$ref": "ContentItem" - } - } - }, - "id": "InspectContentRequest", - "description": "Request to search for potentially sensitive info in a list of items.", - "type": "object" + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" }, - "Key": { - "description": "A unique identifier for a Datastore entity.\nIf a key's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain documented contexts.", - "type": "object", - "properties": { - "path": { - "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the second element identifies\na _child_ of the root entity, the third element identifies a child of the\nsecond entity, and so forth. The entities identified by all prefixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.", - "type": "array", - "items": { - "$ref": "PathElement" - } - }, - "partitionId": { - "description": "Entities are partitioned into subsets, currently identified by a project\nID and namespace ID.\nQueries are scoped to a single partition.", - "$ref": "PartitionId" - } - }, - "id": "Key" + "key": { + "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.", + "type": "string", + "location": "query" }, - "PropertyReference": { - "description": "A reference to a property relative to the Datastore kind expressions.", - "type": "object", - "properties": { - "name": { - "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", - "type": "string" - } - }, - "id": "PropertyReference" + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" }, - "Projection": { - "description": "A representation of a Datastore property in a projection.", - "type": "object", - "properties": { - "property": { - "$ref": "PropertyReference", - "description": "The property to project." - } - }, - "id": "Projection" + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" } }, - "protocol": "rest", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "canonicalName": "DLP", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - } + "version": "v2beta1", + "baseUrl": "https://dlp.googleapis.com/", + "kind": "discovery#restDescription", + "description": "The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", + "servicePath": "", + "basePath": "", + "revision": "20170328", + "documentationLink": "https://cloud.google.com/dlp/docs/", + "id": "dlp:v2beta1" } diff --git a/DiscoveryJson/firebasedynamiclinks_v1.json b/DiscoveryJson/firebasedynamiclinks_v1.json index e69af53e66..27241f8b42 100644 --- a/DiscoveryJson/firebasedynamiclinks_v1.json +++ b/DiscoveryJson/firebasedynamiclinks_v1.json @@ -1,66 +1,70 @@ { - "rootUrl": "https://firebasedynamiclinks.googleapis.com/", - "ownerDomain": "google.com", - "name": "firebasedynamiclinks", - "batchPath": "batch", - "title": "Firebase Dynamic Links API", - "ownerName": "Google", "resources": { "shortLinks": { "methods": { "create": { - "flatPath": "v1/shortLinks", - "path": "v1/shortLinks", - "id": "firebasedynamiclinks.shortLinks.create", - "description": "Creates a short Dynamic Link given either a valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS app information.\nThe created short Dynamic Link will not expire.\n\nRepeated calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project.", - "request": { - "$ref": "CreateShortDynamicLinkRequest" - }, + "httpMethod": "POST", + "parameterOrder": [], "response": { "$ref": "CreateShortDynamicLinkResponse" }, - "parameterOrder": [], - "httpMethod": "POST", + "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/firebase" ], - "parameters": {} + "flatPath": "v1/shortLinks", + "id": "firebasedynamiclinks.shortLinks.create", + "path": "v1/shortLinks", + "request": { + "$ref": "CreateShortDynamicLinkRequest" + }, + "description": "Creates a short Dynamic Link given either a valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS app information.\nThe created short Dynamic Link will not expire.\n\nRepeated calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project." } } } }, "parameters": { + "access_token": { + "type": "string", + "location": "query", + "description": "OAuth access token." + }, + "key": { + "type": "string", + "location": "query", + "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." + }, "quotaUser": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "pp": { - "description": "Pretty-print response.", "type": "boolean", "default": "true", - "location": "query" + "location": "query", + "description": "Pretty-print response." }, - "bearer_token": { - "description": "OAuth bearer token.", + "oauth_token": { "type": "string", - "location": "query" + "location": "query", + "description": "OAuth 2.0 token for the current user." }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", + "bearer_token": { "type": "string", - "location": "query" + "location": "query", + "description": "OAuth bearer token." }, "upload_protocol": { + "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "type": "string" }, "prettyPrint": { - "description": "Returns response with indentations and line breaks.", "type": "boolean", "default": "true", - "location": "query" + "location": "query", + "description": "Returns response with indentations and line breaks." }, "fields": { "location": "query", @@ -72,26 +76,25 @@ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" ] }, + "callback": { + "type": "string", + "location": "query", + "description": "JSONP" + }, "alt": { - "description": "Data format for response.", "default": "json", "enum": [ "json", @@ -104,17 +107,8 @@ "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], - "location": "query" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "access_token": { "location": "query", - "description": "OAuth access token.", - "type": "string" + "description": "Data format for response." } }, "version": "v1", @@ -123,50 +117,50 @@ "description": "Firebase Dynamic Links API enables third party developers to programmatically create and manage Dynamic Links.", "servicePath": "", "basePath": "", - "documentationLink": "https://firebase.google.com/docs/dynamic-links/", - "revision": "20170323", "id": "firebasedynamiclinks:v1", + "revision": "20170323", + "documentationLink": "https://firebase.google.com/docs/dynamic-links/", "discoveryVersion": "v1", "version_module": "True", "schemas": { "CreateShortDynamicLinkResponse": { - "description": "Response to create a short Dynamic Link.", "type": "object", "properties": { + "previewLink": { + "description": "Preivew link to show the link flow chart.", + "type": "string" + }, "warning": { - "description": "Information about potential warnings on link creation.", "type": "array", "items": { "$ref": "DynamicLinkWarning" - } + }, + "description": "Information about potential warnings on link creation." }, "shortLink": { "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz", "type": "string" - }, - "previewLink": { - "description": "Preivew link to show the link flow chart.", - "type": "string" } }, - "id": "CreateShortDynamicLinkResponse" + "id": "CreateShortDynamicLinkResponse", + "description": "Response to create a short Dynamic Link." }, "Suffix": { "description": "Short Dynamic Link suffix.", "type": "object", "properties": { "option": { + "enum": [ + "OPTION_UNSPECIFIED", + "UNGUESSABLE", + "SHORT" + ], "description": "Suffix option.", "type": "string", "enumDescriptions": [ "The suffix option is not specified, performs as NOT_GUESSABLE .", "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.", "Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied." - ], - "enum": [ - "OPTION_UNSPECIFIED", - "UNGUESSABLE", - "SHORT" ] } }, @@ -177,25 +171,25 @@ "type": "object", "properties": { "utmMedium": { - "description": "Campaign medium; used to identify a medium such as email or cost-per-click.", - "type": "string" + "type": "string", + "description": "Campaign medium; used to identify a medium such as email or cost-per-click." }, "utmTerm": { - "description": "Campaign term; used with paid search to supply the keywords for ads.", - "type": "string" + "type": "string", + "description": "Campaign term; used with paid search to supply the keywords for ads." }, "utmSource": { - "description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.", - "type": "string" + "type": "string", + "description": "Campaign source; used to identify a search engine, newsletter, or other\nsource." + }, + "gclid": { + "type": "string", + "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified." }, "utmCampaign": { "description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.", "type": "string" }, - "gclid": { - "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.", - "type": "string" - }, "utmContent": { "description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.", "type": "string" @@ -204,78 +198,78 @@ "id": "GooglePlayAnalytics" }, "DynamicLinkInfo": { - "description": "Information about a Dynamic Link.", "type": "object", "properties": { - "analyticsInfo": { - "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).", - "$ref": "AnalyticsInfo" - }, "dynamicLinkDomain": { - "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.", - "type": "string" + "type": "string", + "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired." }, "link": { - "description": "The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).\n\nRequired.", - "type": "string" + "type": "string", + "description": "The link your app will open, You can specify any URL your app can handle.\nThis link must be a well-formatted URL, be properly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).\n\nRequired." }, "iosInfo": { - "description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically).", - "$ref": "IosInfo" + "$ref": "IosInfo", + "description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically)." }, "socialMetaTagInfo": { "$ref": "SocialMetaTagInfo", "description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites." }, "androidInfo": { - "description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).", - "$ref": "AndroidInfo" + "$ref": "AndroidInfo", + "description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." }, "navigationInfo": { - "description": "Information of navigation behavior of a Firebase Dynamic Links.", - "$ref": "NavigationInfo" + "$ref": "NavigationInfo", + "description": "Information of navigation behavior of a Firebase Dynamic Links." + }, + "analyticsInfo": { + "$ref": "AnalyticsInfo", + "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." } }, - "id": "DynamicLinkInfo" + "id": "DynamicLinkInfo", + "description": "Information about a Dynamic Link." }, "ITunesConnectAnalytics": { - "description": "Parameters for iTunes Connect App Analytics.", "type": "object", "properties": { "at": { - "description": "Affiliate token used to create affiliate-coded links.", - "type": "string" + "type": "string", + "description": "Affiliate token used to create affiliate-coded links." }, "ct": { - "description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.", - "type": "string" + "type": "string", + "description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign." }, "mt": { - "description": "iTune media types, including music, podcasts, audiobooks and so on.", - "type": "string" + "type": "string", + "description": "iTune media types, including music, podcasts, audiobooks and so on." }, "pt": { "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.", "type": "string" } }, - "id": "ITunesConnectAnalytics" + "id": "ITunesConnectAnalytics", + "description": "Parameters for iTunes Connect App Analytics." }, "SocialMetaTagInfo": { "description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.", "type": "object", "properties": { + "socialDescription": { + "type": "string", + "description": "A short description of the link. Optional." + }, "socialTitle": { "description": "Title to be displayed. Optional.", "type": "string" }, "socialImageLink": { - "description": "An image url string. Optional.", - "type": "string" - }, - "socialDescription": { - "description": "A short description of the link. Optional.", - "type": "string" + "type": "string", + "description": "An image url string. Optional." } }, "id": "SocialMetaTagInfo" @@ -284,8 +278,11 @@ "description": "Dynamic Links warning messages.", "type": "object", "properties": { + "warningMessage": { + "description": "The warning message to help developers improve their requests.", + "type": "string" + }, "warningCode": { - "description": "The warning code.", "type": "string", "enumDescriptions": [ "Unknown code.", @@ -348,11 +345,8 @@ "LINK_LENGTH_TOO_LONG", "LINK_WITH_FRAGMENTS", "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID" - ] - }, - "warningMessage": { - "description": "The warning message to help developers improve their requests.", - "type": "string" + ], + "description": "The warning code." } }, "id": "DynamicLinkWarning" @@ -361,21 +355,21 @@ "description": "Android related attributes to the Dynamic Link.", "type": "object", "properties": { + "androidPackageName": { + "type": "string", + "description": "Android package name of the app." + }, + "androidMinPackageVersionCode": { + "type": "string", + "description": "Minimum version code for the Android app. If the installed app’s version\ncode is lower, then the user is taken to the Play Store." + }, "androidLink": { "description": "If specified, this overrides the ‘link’ parameter on Android.", "type": "string" }, "androidFallbackLink": { - "description": "Link to open on Android if the app is not installed.", - "type": "string" - }, - "androidPackageName": { - "description": "Android package name of the app.", - "type": "string" - }, - "androidMinPackageVersionCode": { - "description": "Minimum version code for the Android app. If the installed app’s version\ncode is lower, then the user is taken to the Play Store.", - "type": "string" + "type": "string", + "description": "Link to open on Android if the app is not installed." } }, "id": "AndroidInfo" @@ -392,7 +386,6 @@ "id": "NavigationInfo" }, "IosInfo": { - "description": "iOS related attributes to the Dynamic Link..", "type": "object", "properties": { "iosIpadBundleId": { @@ -404,62 +397,63 @@ "type": "string" }, "iosBundleId": { - "description": "iOS bundle ID of the app.", - "type": "string" + "type": "string", + "description": "iOS bundle ID of the app." }, "iosFallbackLink": { "description": "Link to open on iOS if the app is not installed.", "type": "string" }, "iosAppStoreId": { - "description": "iOS App Store ID.", - "type": "string" + "type": "string", + "description": "iOS App Store ID." }, "iosIpadFallbackLink": { "description": "If specified, this overrides the ios_fallback_link value on iPads.", "type": "string" } }, - "id": "IosInfo" + "id": "IosInfo", + "description": "iOS related attributes to the Dynamic Link.." }, "AnalyticsInfo": { - "description": "Tracking parameters supported by Dynamic Link.", "type": "object", "properties": { - "itunesConnectAnalytics": { - "description": "iTunes Connect App Analytics.", - "$ref": "ITunesConnectAnalytics" - }, "googlePlayAnalytics": { "$ref": "GooglePlayAnalytics", "description": "Google Play Campaign Measurements." + }, + "itunesConnectAnalytics": { + "$ref": "ITunesConnectAnalytics", + "description": "iTunes Connect App Analytics." } }, - "id": "AnalyticsInfo" + "id": "AnalyticsInfo", + "description": "Tracking parameters supported by Dynamic Link." }, "CreateShortDynamicLinkRequest": { - "description": "Request to create a short Dynamic Link.", "type": "object", "properties": { - "suffix": { - "description": "Short Dynamic Link suffix. Optional.", - "$ref": "Suffix" - }, "dynamicLinkInfo": { - "description": "Information about the Dynamic Link to be shortened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).", - "$ref": "DynamicLinkInfo" + "$ref": "DynamicLinkInfo", + "description": "Information about the Dynamic Link to be shortened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." }, "longDynamicLink": { "description": "Full long Dynamic Link URL with desired query parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically).", "type": "string" + }, + "suffix": { + "$ref": "Suffix", + "description": "Short Dynamic Link suffix. Optional." } }, - "id": "CreateShortDynamicLinkRequest" + "id": "CreateShortDynamicLinkRequest", + "description": "Request to create a short Dynamic Link." } }, "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "protocol": "rest", "canonicalName": "Firebase Dynamic Links", @@ -471,5 +465,11 @@ } } } - } + }, + "rootUrl": "https://firebasedynamiclinks.googleapis.com/", + "ownerDomain": "google.com", + "name": "firebasedynamiclinks", + "batchPath": "batch", + "title": "Firebase Dynamic Links API", + "ownerName": "Google" } diff --git a/DiscoveryJson/firebaserules_v1.json b/DiscoveryJson/firebaserules_v1.json index 9e1cafbff7..229e3bb898 100644 --- a/DiscoveryJson/firebaserules_v1.json +++ b/DiscoveryJson/firebaserules_v1.json @@ -1,67 +1,7 @@ { - "id": "firebaserules:v1", - "revision": "20170327", - "documentationLink": "https://firebase.google.com/docs/storage/security", "discoveryVersion": "v1", "version_module": "True", "schemas": { - "TestResult": { - "id": "TestResult", - "description": "Test result message containing the state of the test as well as a\ndescription and source position for test failures.", - "type": "object", - "properties": { - "errorPosition": { - "$ref": "SourcePosition", - "description": "Position in the `Source` or `Ruleset` where the principle runtime error\noccurs.\n\nEvaluation of an expression may result in an error. Rules are deny by\ndefault, so a `DENY` expectation when an error is generated is valid.\nWhen there is a `DENY` with an error, the `SourcePosition` is returned.\n\nE.g. `error_position { line: 19 column: 37 }`" - }, - "functionCalls": { - "description": "The set of function calls made to service-defined methods.\n\nFunction calls are included in the order in which they are encountered\nduring evaluation, are provided for both mocked and unmocked functions,\nand included on the response regardless of the test `state`.", - "type": "array", - "items": { - "$ref": "FunctionCall" - } - }, - "state": { - "enum": [ - "STATE_UNSPECIFIED", - "SUCCESS", - "FAILURE" - ], - "description": "State of the test.", - "type": "string", - "enumDescriptions": [ - "Test state is not set.", - "Test is a success.", - "Test is a failure." - ] - }, - "debugMessages": { - "description": "Debug messages related to test execution issues encountered during\nevaluation.\n\nDebug messages may be related to too many or too few invocations of\nfunction mocks or to runtime errors that occur during evaluation.\n\nFor example: ```Unable to read variable [name: \"resource\"]```", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ListRulesetsResponse": { - "description": "The response for FirebaseRulesService.ListRulesets.", - "type": "object", - "properties": { - "rulesets": { - "description": "List of `Ruleset` instances.", - "type": "array", - "items": { - "$ref": "Ruleset" - } - }, - "nextPageToken": { - "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.", - "type": "string" - } - }, - "id": "ListRulesetsResponse" - }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", @@ -69,6 +9,8 @@ "id": "Empty" }, "Source": { + "description": "`Source` is one or more `File` messages comprising a logical set of rules.", + "type": "object", "properties": { "files": { "description": "`File` set constituting the `Source` bundle.", @@ -78,18 +20,12 @@ } } }, - "id": "Source", - "description": "`Source` is one or more `File` messages comprising a logical set of rules.", - "type": "object" + "id": "Source" }, "SourcePosition": { + "description": "Position in the `Source` content including its line, column number, and an\nindex of the `File` in the `Source` message. Used for debug purposes.", "type": "object", "properties": { - "column": { - "type": "integer", - "description": "First column on the source line associated with the source fragment.", - "format": "int32" - }, "fileName": { "description": "Name of the `File`.", "type": "string" @@ -98,43 +34,17 @@ "description": "Line number of the source fragment. 1-based.", "format": "int32", "type": "integer" - } - }, - "id": "SourcePosition", - "description": "Position in the `Source` content including its line, column number, and an\nindex of the `File` in the `Source` message. Used for debug purposes." - }, - "Ruleset": { - "description": "`Ruleset` is an immutable copy of `Source` with a globally unique identifier\nand a creation time.", - "type": "object", - "properties": { - "source": { - "description": "`Source` for the `Ruleset`.", - "$ref": "Source" - }, - "createTime": { - "description": "Time the `Ruleset` was created.\nOutput only.", - "format": "google-datetime", - "type": "string" }, - "name": { - "description": "Name of the `Ruleset`. The ruleset_id is auto generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`\nOutput only.", - "type": "string" - } - }, - "id": "Ruleset" - }, - "TestRulesetRequest": { - "description": "The request for FirebaseRulesService.TestRuleset.", - "type": "object", - "properties": { - "source": { - "description": "Optional `Source` to be checked for correctness.\n\nThis field must not be set when the resource name refers to a `Ruleset`.", - "$ref": "Source" + "column": { + "description": "First column on the source line associated with the source fragment.", + "format": "int32", + "type": "integer" } }, - "id": "TestRulesetRequest" + "id": "SourcePosition" }, "Issue": { + "description": "Issues include warnings, errors, and deprecation notices.", "type": "object", "properties": { "description": { @@ -146,8 +56,6 @@ "description": "Position of the issue in the `Source`." }, "severity": { - "description": "The severity of the issue.", - "type": "string", "enumDescriptions": [ "An unspecified severity.", "Deprecation issue for statements and method that may no longer be\nsupported or maintained.", @@ -159,34 +67,70 @@ "DEPRECATION", "WARNING", "ERROR" - ] + ], + "description": "The severity of the issue.", + "type": "string" } }, - "id": "Issue", - "description": "Issues include warnings, errors, and deprecation notices." + "id": "Issue" }, - "ListReleasesResponse": { - "description": "The response for FirebaseRulesService.ListReleases.", + "TestRulesetRequest": { + "description": "The request for FirebaseRulesService.TestRuleset.", "type": "object", "properties": { - "releases": { - "description": "List of `Release` instances.", + "source": { + "$ref": "Source", + "description": "Optional `Source` to be checked for correctness.\n\nThis field must not be set when the resource name refers to a `Ruleset`." + } + }, + "id": "TestRulesetRequest" + }, + "Ruleset": { + "description": "`Ruleset` is an immutable copy of `Source` with a globally unique identifier\nand a creation time.", + "type": "object", + "properties": { + "source": { + "description": "`Source` for the `Ruleset`.", + "$ref": "Source" + }, + "createTime": { + "description": "Time the `Ruleset` was created.\nOutput only.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "Name of the `Ruleset`. The ruleset_id is auto generated by the service.\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`\nOutput only.", + "type": "string" + } + }, + "id": "Ruleset" + }, + "FunctionCall": { + "description": "Represents a service-defined function call that was invoked during test\nexecution.", + "type": "object", + "properties": { + "args": { + "description": "The arguments that were provided to the function.", "type": "array", "items": { - "$ref": "Release" + "type": "any" } }, - "nextPageToken": { - "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.", + "function": { + "description": "Name of the function invoked.", "type": "string" } }, - "id": "ListReleasesResponse" + "id": "FunctionCall" }, "File": { "description": "`File` containing source content.", "type": "object", "properties": { + "content": { + "description": "Textual Content.", + "type": "string" + }, "fingerprint": { "description": "Fingerprint (e.g. github sha) associated with the `File`.", "format": "byte", @@ -195,36 +139,37 @@ "name": { "description": "File name.", "type": "string" - }, - "content": { - "description": "Textual Content.", - "type": "string" } }, "id": "File" }, - "FunctionCall": { - "description": "Represents a service-defined function call that was invoked during test\nexecution.", + "ListReleasesResponse": { + "description": "The response for FirebaseRulesService.ListReleases.", "type": "object", "properties": { - "args": { - "description": "The arguments that were provided to the function.", + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.", + "type": "string" + }, + "releases": { + "description": "List of `Release` instances.", "type": "array", "items": { - "type": "any" + "$ref": "Release" } - }, - "function": { - "type": "string", - "description": "Name of the function invoked." } }, - "id": "FunctionCall" + "id": "ListReleasesResponse" }, "Release": { "description": "`Release` is a named reference to a `Ruleset`. Once a `Release` refers to a\n`Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.", "type": "object", "properties": { + "createTime": { + "description": "Time the release was created.\nOutput only.", + "format": "google-datetime", + "type": "string" + }, "updateTime": { "description": "Time the release was updated.\nOutput only.", "format": "google-datetime", @@ -237,11 +182,6 @@ "rulesetName": { "description": "Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must\nexist the `Release` to be created.", "type": "string" - }, - "createTime": { - "description": "Time the release was created.\nOutput only.", - "format": "google-datetime", - "type": "string" } }, "id": "Release" @@ -266,13 +206,70 @@ } }, "id": "TestRulesetResponse" + }, + "ListRulesetsResponse": { + "description": "The response for FirebaseRulesService.ListRulesets.", + "type": "object", + "properties": { + "rulesets": { + "description": "List of `Ruleset` instances.", + "type": "array", + "items": { + "$ref": "Ruleset" + } + }, + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If the value is\nempty, no further results remain.", + "type": "string" + } + }, + "id": "ListRulesetsResponse" + }, + "TestResult": { + "description": "Test result message containing the state of the test as well as a\ndescription and source position for test failures.", + "type": "object", + "properties": { + "errorPosition": { + "description": "Position in the `Source` or `Ruleset` where the principle runtime error\noccurs.\n\nEvaluation of an expression may result in an error. Rules are deny by\ndefault, so a `DENY` expectation when an error is generated is valid.\nWhen there is a `DENY` with an error, the `SourcePosition` is returned.\n\nE.g. `error_position { line: 19 column: 37 }`", + "$ref": "SourcePosition" + }, + "functionCalls": { + "description": "The set of function calls made to service-defined methods.\n\nFunction calls are included in the order in which they are encountered\nduring evaluation, are provided for both mocked and unmocked functions,\nand included on the response regardless of the test `state`.", + "type": "array", + "items": { + "$ref": "FunctionCall" + } + }, + "state": { + "description": "State of the test.", + "type": "string", + "enumDescriptions": [ + "Test state is not set.", + "Test is a success.", + "Test is a failure." + ], + "enum": [ + "STATE_UNSPECIFIED", + "SUCCESS", + "FAILURE" + ] + }, + "debugMessages": { + "description": "Debug messages related to test execution issues encountered during\nevaluation.\n\nDebug messages may be related to too many or too few invocations of\nfunction mocks or to runtime errors that occur during evaluation.\n\nFor example: ```Unable to read variable [name: \"resource\"]```", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "TestResult" } }, + "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "protocol": "rest", "canonicalName": "Firebase Rules", "auth": { "oauth2": { @@ -299,8 +296,6 @@ "projects": { "methods": { "test": { - "path": "v1/{+name}:test", - "id": "firebaserules.projects.test", "request": { "$ref": "TestRulesetRequest" }, @@ -326,40 +321,15 @@ "https://www.googleapis.com/auth/firebase", "https://www.googleapis.com/auth/firebase.readonly" ], - "flatPath": "v1/projects/{projectsId}:test" + "flatPath": "v1/projects/{projectsId}:test", + "path": "v1/{+name}:test", + "id": "firebaserules.projects.test" } }, "resources": { "rulesets": { "methods": { - "delete": { - "path": "v1/{+name}", - "id": "firebaserules.projects.rulesets.delete", - "description": "Delete a `Ruleset` by resource name.\n\nIf the `Ruleset` is referenced by a `Release` the operation will fail.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "parameters": { - "name": { - "location": "path", - "description": "Resource name for the ruleset to delete.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/rulesets/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase" - ], - "flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}" - }, "get": { - "description": "Get a `Ruleset` by name including the full `Source` contents.", "response": { "$ref": "Ruleset" }, @@ -367,42 +337,45 @@ "name" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase", + "https://www.googleapis.com/auth/firebase.readonly" + ], "parameters": { "name": { - "pattern": "^projects/[^/]+/rulesets/[^/]+$", "location": "path", "description": "Resource name for the ruleset to get.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/rulesets/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase", - "https://www.googleapis.com/auth/firebase.readonly" - ], "flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}", "path": "v1/{+name}", - "id": "firebaserules.projects.rulesets.get" + "id": "firebaserules.projects.rulesets.get", + "description": "Get a `Ruleset` by name including the full `Source` contents." }, "list": { - "response": { - "$ref": "ListRulesetsResponse" - }, + "description": "List `Ruleset` metadata only and optionally filter the results by `Ruleset`\nname.\n\nThe full `Source` contents of a `Ruleset` may be retrieved with\nGetRuleset.", + "httpMethod": "GET", "parameterOrder": [ "name" ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase", - "https://www.googleapis.com/auth/firebase.readonly" - ], + "response": { + "$ref": "ListRulesetsResponse" + }, "parameters": { + "pageSize": { + "description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load less\nthan `page_size` due to the size of the output. To traverse all of the\nreleases, caller should iterate until the `page_token` is empty.", + "format": "int32", + "type": "integer", + "location": "query" + }, "filter": { + "location": "query", "description": "`Ruleset` filter. The list method supports filters with restrictions on\n`Ruleset.name`.\n\nFilters on `Ruleset.create_time` should use the `date` function which\nparses strings that conform to the RFC 3339 date/time specifications.\n\nExample: `create_time \u003e date(\"2017-01-01\") AND name=UUID-*`", - "type": "string", - "location": "query" + "type": "string" }, "name": { "location": "path", @@ -415,47 +388,71 @@ "description": "Next page token for loading the next batch of `Ruleset` instances.", "type": "string", "location": "query" - }, - "pageSize": { - "description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load less\nthan `page_size` due to the size of the output. To traverse all of the\nreleases, caller should iterate until the `page_token` is empty.", - "format": "int32", - "type": "integer", - "location": "query" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase", + "https://www.googleapis.com/auth/firebase.readonly" + ], "flatPath": "v1/projects/{projectsId}/rulesets", - "path": "v1/{+name}/rulesets", "id": "firebaserules.projects.rulesets.list", - "description": "List `Ruleset` metadata only and optionally filter the results by `Ruleset`\nname.\n\nThe full `Source` contents of a `Ruleset` may be retrieved with\nGetRuleset." + "path": "v1/{+name}/rulesets" }, "create": { - "response": { + "request": { "$ref": "Ruleset" }, + "description": "Create a `Ruleset` from `Source`.\n\nThe `Ruleset` is given a unique generated name which is returned to the\ncaller. `Source` containing syntactic or semantics errors will result in an\nerror response indicating the first error encountered. For a detailed view\nof `Source` issues, use TestRuleset.", + "httpMethod": "POST", "parameterOrder": [ "name" ], - "httpMethod": "POST", + "response": { + "$ref": "Ruleset" + }, + "parameters": { + "name": { + "description": "Resource name for Project which owns this `Ruleset`.\n\nFormat: `projects/{project_id}`", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/firebase" ], + "flatPath": "v1/projects/{projectsId}/rulesets", + "id": "firebaserules.projects.rulesets.create", + "path": "v1/{+name}/rulesets" + }, + "delete": { + "description": "Delete a `Ruleset` by resource name.\n\nIf the `Ruleset` is referenced by a `Release` the operation will fail.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", "parameters": { "name": { - "pattern": "^projects/[^/]+$", "location": "path", - "description": "Resource name for Project which owns this `Ruleset`.\n\nFormat: `projects/{project_id}`", + "description": "Resource name for the ruleset to delete.\n\nFormat: `projects/{project_id}/rulesets/{ruleset_id}`", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/rulesets/[^/]+$" } }, - "flatPath": "v1/projects/{projectsId}/rulesets", - "path": "v1/{+name}/rulesets", - "id": "firebaserules.projects.rulesets.create", - "description": "Create a `Ruleset` from `Source`.\n\nThe `Ruleset` is given a unique generated name which is returned to the\ncaller. `Source` containing syntactic or semantics errors will result in an\nerror response indicating the first error encountered. For a detailed view\nof `Source` issues, use TestRuleset.", - "request": { - "$ref": "Ruleset" - } + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ], + "flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}", + "path": "v1/{+name}", + "id": "firebaserules.projects.rulesets.delete" } } }, @@ -463,58 +460,61 @@ "methods": { "delete": { "httpMethod": "DELETE", + "parameterOrder": [ + "name" + ], "response": { "$ref": "Empty" }, - "parameterOrder": [ - "name" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" ], "parameters": { "name": { + "location": "path", "description": "Resource name for the `Release` to delete.\n\nFormat: `projects/{project_id}/releases/{release_id}`", "required": true, "type": "string", - "pattern": "^projects/[^/]+/releases/.+$", - "location": "path" + "pattern": "^projects/[^/]+/releases/.+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase" - ], "flatPath": "v1/projects/{projectsId}/releases/{releasesId}", "id": "firebaserules.projects.releases.delete", "path": "v1/{+name}", "description": "Delete a `Release` by resource name." }, "get": { - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], + "description": "Get a `Release` by name.", "response": { "$ref": "Release" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase", - "https://www.googleapis.com/auth/firebase.readonly" + "parameterOrder": [ + "name" ], + "httpMethod": "GET", "parameters": { "name": { - "location": "path", "description": "Resource name of the `Release`.\n\nFormat: `projects/{project_id}/releases/{release_id}`", "required": true, "type": "string", - "pattern": "^projects/[^/]+/releases/.+$" + "pattern": "^projects/[^/]+/releases/.+$", + "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase", + "https://www.googleapis.com/auth/firebase.readonly" + ], "flatPath": "v1/projects/{projectsId}/releases/{releasesId}", - "id": "firebaserules.projects.releases.get", "path": "v1/{+name}", - "description": "Get a `Release` by name." + "id": "firebaserules.projects.releases.get" }, "list": { + "flatPath": "v1/projects/{projectsId}/releases", + "path": "v1/{+name}/releases", + "id": "firebaserules.projects.releases.list", "description": "List the `Release` values for a project. This list may optionally be\nfiltered by `Release` name, `Ruleset` name, `TestSuite` name, or any\ncombination thereof.", "response": { "$ref": "ListReleasesResponse" @@ -524,51 +524,48 @@ ], "httpMethod": "GET", "parameters": { + "filter": { + "location": "query", + "description": "`Release` filter. The list method supports filters with restrictions on the\n`Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.\n\nExample 1: A filter of 'name=prod*' might return `Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888\n\nExample 2: A filter of `name=prod* ruleset_name=uuid1234` would return only\n`Release` instances for 'projects/foo' with names prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filter parameters refer to the search filters are\nrelative to the project. Fully qualified prefixed may also be used. e.g.\n`test_suite_name=projects/foo/testsuites/uuid1`", + "type": "string" + }, "name": { + "location": "path", "description": "Resource name for the project.\n\nFormat: `projects/{project_id}`", "required": true, "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+$" }, "pageToken": { + "location": "query", "description": "Next page token for the next batch of `Release` instances.", - "type": "string", - "location": "query" + "type": "string" }, "pageSize": { "location": "query", "description": "Page size to load. Maximum of 100. Defaults to 10.\nNote: `page_size` is just a hint and the service may choose to load fewer\nthan `page_size` results due to the size of the output. To traverse all of\nthe releases, the caller should iterate until the `page_token` on the\nresponse is empty.", "format": "int32", "type": "integer" - }, - "filter": { - "location": "query", - "description": "`Release` filter. The list method supports filters with restrictions on the\n`Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.\n\nExample 1: A filter of 'name=prod*' might return `Release`s with names\nwithin 'projects/foo' prefixed with 'prod':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234\nprojects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888\n\nExample 2: A filter of `name=prod* ruleset_name=uuid1234` would return only\n`Release` instances for 'projects/foo' with names prefixed with 'prod'\nreferring to the same `Ruleset` name of 'uuid1234':\n\nName | Ruleset Name\n------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/1234\nprojects/foo/releases/prod/v1 | projects/foo/rulesets/1234\n\nIn the examples, the filter parameters refer to the search filters are\nrelative to the project. Fully qualified prefixed may also be used. e.g.\n`test_suite_name=projects/foo/testsuites/uuid1`", - "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/firebase", "https://www.googleapis.com/auth/firebase.readonly" - ], - "flatPath": "v1/projects/{projectsId}/releases", - "path": "v1/{+name}/releases", - "id": "firebaserules.projects.releases.list" + ] }, "update": { - "response": { + "request": { "$ref": "Release" }, + "description": "Update a `Release`.\n\nOnly updates to the `ruleset_name` and `test_suite_name` fields will be\nhonored. `Release` rename is not supported. To create a `Release` use the\nCreateRelease method.", + "httpMethod": "PUT", "parameterOrder": [ "name" ], - "httpMethod": "PUT", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase" - ], + "response": { + "$ref": "Release" + }, "parameters": { "name": { "description": "Resource name for the `Release`.\n\n`Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`\nwhich affords developers a great deal of flexibility in mapping the name\nto the style that best fits their existing development practices. For\nexample, a name could refer to an environment, an app, a version, or some\ncombination of three.\n\nIn the table below, for the project name `projects/foo`, the following\nrelative release paths show how flat and structured names might be chosen\nto match a desired development / deployment strategy.\n\nUse Case | Flat Name | Structured Name\n-------------|---------------------|----------------\nEnvironments | releases/qa | releases/qa\nApps | releases/app1_qa | releases/app1/qa\nVersions | releases/app1_v2_qa | releases/app1/v2/qa\n\nThe delimiter between the release name path elements can be almost anything\nand it should work equally well with the release name list filter, but in\nmany ways the structured paths provide a clearer picture of the\nrelationship between `Release` instances.\n\nFormat: `projects/{project_id}/releases/{release_id}`", @@ -578,28 +575,26 @@ "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ], "flatPath": "v1/projects/{projectsId}/releases/{releasesId}", - "path": "v1/{+name}", "id": "firebaserules.projects.releases.update", - "description": "Update a `Release`.\n\nOnly updates to the `ruleset_name` and `test_suite_name` fields will be\nhonored. `Release` rename is not supported. To create a `Release` use the\nCreateRelease method.", - "request": { - "$ref": "Release" - } + "path": "v1/{+name}" }, "create": { - "id": "firebaserules.projects.releases.create", - "path": "v1/{+name}/releases", - "request": { + "response": { "$ref": "Release" }, - "description": "Create a `Release`.\n\nRelease names should reflect the developer's deployment practices. For\nexample, the release name may include the environment name, application\nname, application version, or any other name meaningful to the developer.\nOnce a `Release` refers to a `Ruleset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore than one `Release` may be 'live' concurrently. Consider the following\nthree `Release` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease Name | Ruleset Name\n--------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` rollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be\nupdated using the UpdateRelease method.", - "httpMethod": "POST", "parameterOrder": [ "name" ], - "response": { - "$ref": "Release" - }, + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ], "parameters": { "name": { "description": "Resource name for the project which owns this `Release`.\n\nFormat: `projects/{project_id}`", @@ -609,11 +604,13 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/firebase" - ], - "flatPath": "v1/projects/{projectsId}/releases" + "flatPath": "v1/projects/{projectsId}/releases", + "path": "v1/{+name}/releases", + "id": "firebaserules.projects.releases.create", + "description": "Create a `Release`.\n\nRelease names should reflect the developer's deployment practices. For\nexample, the release name may include the environment name, application\nname, application version, or any other name meaningful to the developer.\nOnce a `Release` refers to a `Ruleset`, the rules can be enforced by\nFirebase Rules-enabled services.\n\nMore than one `Release` may be 'live' concurrently. Consider the following\nthree `Release` names for `projects/foo` and the `Ruleset` to which they\nrefer.\n\nRelease Name | Ruleset Name\n--------------------------------|-------------\nprojects/foo/releases/prod | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/beta | projects/foo/rulesets/uuid123\nprojects/foo/releases/prod/v23 | projects/foo/rulesets/uuid456\n\nThe table reflects the `Ruleset` rollout in progress. The `prod` and\n`prod/beta` releases refer to the same `Ruleset`. However, `prod/v23`\nrefers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be\nupdated using the UpdateRelease method.", + "request": { + "$ref": "Release" + } } } } @@ -622,35 +619,30 @@ }, "parameters": { "pp": { + "location": "query", + "description": "Pretty-print response.", "type": "boolean", - "default": "true", + "default": "true" + }, + "oauth_token": { "location": "query", - "description": "Pretty-print response." + "description": "OAuth 2.0 token for the current user.", + "type": "string" }, "bearer_token": { "location": "query", "description": "OAuth bearer token.", "type": "string" }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, "upload_protocol": { "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" }, "prettyPrint": { - "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", + "default": "true", "location": "query" }, "uploadType": { @@ -658,9 +650,9 @@ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "callback": { + "fields": { "location": "query", - "description": "JSONP", + "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, "$.xgafv": { @@ -676,6 +668,11 @@ "description": "V1 error format.", "type": "string" }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, "alt": { "enum": [ "json", @@ -692,26 +689,29 @@ "description": "Data format for response.", "default": "json" }, - "key": { + "access_token": { "location": "query", - "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.", + "description": "OAuth access token.", "type": "string" }, - "access_token": { + "key": { "location": "query", - "description": "OAuth access token.", + "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.", "type": "string" }, "quotaUser": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" } }, "version": "v1", "baseUrl": "https://firebaserules.googleapis.com/", "kind": "discovery#restDescription", - "description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.\n", "servicePath": "", - "basePath": "" + "description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.\n", + "basePath": "", + "documentationLink": "https://firebase.google.com/docs/storage/security", + "revision": "20170327", + "id": "firebaserules:v1" } diff --git a/DiscoveryJson/genomics_v1.json b/DiscoveryJson/genomics_v1.json index 09be58054d..a5002e9142 100644 --- a/DiscoveryJson/genomics_v1.json +++ b/DiscoveryJson/genomics_v1.json @@ -1,221 +1,362 @@ { "resources": { - "annotationsets": { + "readgroupsets": { "methods": { - "delete": { - "description": "Deletes an annotation set. Caller must have WRITE permission\nfor the associated annotation set.", - "response": { - "$ref": "Empty" - }, + "export": { + "httpMethod": "POST", "parameterOrder": [ - "annotationSetId" + "readGroupSetId" ], - "httpMethod": "DELETE", + "response": { + "$ref": "Operation" + }, + "parameters": { + "readGroupSetId": { + "required": true, + "type": "string", + "location": "path", + "description": "Required. The ID of the read group set to export. The caller must have\nREAD access to this read group set." + } + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/devstorage.read_write", "https://www.googleapis.com/auth/genomics" ], - "parameters": { - "annotationSetId": { - "location": "path", - "description": "The ID of the annotation set to be deleted.", - "required": true, - "type": "string" - } + "flatPath": "v1/readgroupsets/{readGroupSetId}:export", + "id": "genomics.readgroupsets.export", + "path": "v1/readgroupsets/{readGroupSetId}:export", + "request": { + "$ref": "ExportReadGroupSetRequest" }, - "flatPath": "v1/annotationsets/{annotationSetId}", - "path": "v1/annotationsets/{annotationSetId}", - "id": "genomics.annotationsets.delete" + "description": "Exports a read group set to a BAM file in Google Cloud Storage.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nNote that currently there may be some differences between exported BAM\nfiles and the original BAM file at the time of import. See\nImportReadGroupSets\nfor caveats." }, "search": { - "description": "Searches for annotation sets that match the given criteria. Annotation sets\nare returned in an unspecified order. This order is consistent, such that\ntwo queries for the same content (regardless of page size) yield annotation\nsets in the same order across their respective streams of paginated\nresponses. Caller must have READ permission for the queried datasets.", - "request": { - "$ref": "SearchAnnotationSetsRequest" - }, + "httpMethod": "POST", + "parameterOrder": [], "response": { - "$ref": "SearchAnnotationSetsResponse" + "$ref": "SearchReadGroupSetsResponse" }, - "parameterOrder": [], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" ], "parameters": {}, - "flatPath": "v1/annotationsets/search", - "path": "v1/annotationsets/search", - "id": "genomics.annotationsets.search" + "flatPath": "v1/readgroupsets/search", + "id": "genomics.readgroupsets.search", + "path": "v1/readgroupsets/search", + "description": "Searches for read group sets matching the criteria.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).", + "request": { + "$ref": "SearchReadGroupSetsRequest" + } }, "get": { - "flatPath": "v1/annotationsets/{annotationSetId}", - "id": "genomics.annotationsets.get", - "path": "v1/annotationsets/{annotationSetId}", - "description": "Gets an annotation set. Caller must have READ permission for\nthe associated dataset.", - "httpMethod": "GET", - "parameterOrder": [ - "annotationSetId" - ], "response": { - "$ref": "AnnotationSet" + "$ref": "ReadGroupSet" }, + "parameterOrder": [ + "readGroupSetId" + ], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" ], "parameters": { - "annotationSetId": { + "readGroupSetId": { "location": "path", - "description": "The ID of the annotation set to be retrieved.", + "description": "The ID of the read group set.", "required": true, "type": "string" } - } + }, + "flatPath": "v1/readgroupsets/{readGroupSetId}", + "path": "v1/readgroupsets/{readGroupSetId}", + "id": "genomics.readgroupsets.get", + "description": "Gets a read group set by ID.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" }, - "update": { + "patch": { + "flatPath": "v1/readgroupsets/{readGroupSetId}", + "path": "v1/readgroupsets/{readGroupSetId}", + "id": "genomics.readgroupsets.patch", + "description": "Updates a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.", "request": { - "$ref": "AnnotationSet" + "$ref": "ReadGroupSet" }, - "description": "Updates an annotation set. The update must respect all mutability\nrestrictions and other invariants described on the annotation set resource.\nCaller must have WRITE permission for the associated dataset.", "response": { - "$ref": "AnnotationSet" + "$ref": "ReadGroupSet" }, "parameterOrder": [ - "annotationSetId" + "readGroupSetId" ], - "httpMethod": "PUT", - "parameters": { - "updateMask": { - "location": "query", - "description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nsource_uri, and\ninfo. If unspecified, all\nmutable fields will be updated.", - "format": "google-fieldmask", - "type": "string" - }, - "annotationSetId": { - "location": "path", - "description": "The ID of the annotation set to be updated.", - "required": true, - "type": "string" - } - }, + "httpMethod": "PATCH", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], - "flatPath": "v1/annotationsets/{annotationSetId}", - "path": "v1/annotationsets/{annotationSetId}", - "id": "genomics.annotationsets.update" + "parameters": { + "readGroupSetId": { + "required": true, + "type": "string", + "location": "path", + "description": "The ID of the read group set to be updated. The caller must have WRITE\npermissions to the dataset associated with this read group set." + }, + "updateMask": { + "type": "string", + "location": "query", + "description": "An optional mask specifying which fields to update. Supported fields:\n\n* name.\n* referenceSetId.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.", + "format": "google-fieldmask" + } + } }, - "create": { - "description": "Creates a new annotation set. Caller must have WRITE permission for the\nassociated dataset.\n\nThe following fields are required:\n\n * datasetId\n * referenceSetId\n\nAll other fields may be optionally specified, unless documented as being\nserver-generated (for example, the `id` field).", + "import": { + "flatPath": "v1/readgroupsets:import", + "id": "genomics.readgroupsets.import", + "path": "v1/readgroupsets:import", + "description": "Creates read group sets by asynchronously importing the provided\ninformation.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe caller must have WRITE permissions to the dataset.\n\n## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import\n\n- Tags will be converted to strings - tag types are not preserved\n- Comments (`@CO`) in the input file header will not be preserved\n- Original header order of references (`@SQ`) will not be preserved\n- Any reverse stranded unmapped reads will be reverse complemented, and\ntheir qualities (also the \"BQ\" and \"OQ\" tags, if any) will be reversed\n- Unmapped reads will be stripped of positional information (reference name\nand position)", "request": { - "$ref": "AnnotationSet" + "$ref": "ImportReadGroupSetsRequest" }, "httpMethod": "POST", "parameterOrder": [], "response": { - "$ref": "AnnotationSet" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/devstorage.read_write", "https://www.googleapis.com/auth/genomics" ], - "parameters": {}, - "flatPath": "v1/annotationsets", - "id": "genomics.annotationsets.create", - "path": "v1/annotationsets" - } - } - }, - "variants": { - "methods": { + "parameters": {} + }, "delete": { - "description": "Deletes a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "response": { "$ref": "Empty" }, "parameterOrder": [ - "variantId" + "readGroupSetId" ], "httpMethod": "DELETE", "parameters": { - "variantId": { - "description": "The ID of the variant to be deleted.", + "readGroupSetId": { "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the read group set to be deleted. The caller must have WRITE\npermissions to the dataset associated with this read group set." } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], - "flatPath": "v1/variants/{variantId}", - "path": "v1/variants/{variantId}", - "id": "genomics.variants.delete" - }, - "import": { - "description": "Creates variant data by asynchronously importing the provided information.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe variants for import will be merged with any existing variant that\nmatches its reference sequence, start, end, reference bases, and\nalternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant, and Variant info fields are merged\nas specified in\ninfoMergeConfig.\nAs a special case, for single-sample VCF files, QUAL and FILTER fields will\nbe moved to the call level; these are sometimes interpreted in a\ncall-specific context.\nImported VCF headers are appended to the metadata already in a variant set.", - "request": { - "$ref": "ImportVariantsRequest" - }, + "flatPath": "v1/readgroupsets/{readGroupSetId}", + "path": "v1/readgroupsets/{readGroupSetId}", + "id": "genomics.readgroupsets.delete", + "description": "Deletes a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" + } + }, + "resources": { + "coveragebuckets": { + "methods": { + "list": { + "description": "Lists fixed width coverage buckets for a read group set, each of which\ncorrespond to a range of a reference sequence. Each bucket summarizes\ncoverage information across its corresponding genomic range.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nCoverage is defined as the number of reads which are aligned to a given\nbase in the reference sequence. Coverage buckets are available at several\nprecomputed bucket widths, enabling retrieval of various coverage 'zoom\nlevels'. The caller must have READ permissions for the target read group\nset.", + "httpMethod": "GET", + "parameterOrder": [ + "readGroupSetId" + ], + "response": { + "$ref": "ListCoverageBucketsResponse" + }, + "parameters": { + "start": { + "location": "query", + "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified. Defaults to 0.", + "format": "int64", + "type": "string" + }, + "targetBucketWidth": { + "location": "query", + "description": "The desired width of each reported coverage bucket in base pairs. This\nwill be rounded down to the nearest precomputed bucket width; the value\nof which is returned as `bucketWidth` in the response. Defaults\nto infinity (each bucket spans an entire reference sequence) or the length\nof the target range, if specified. The smallest precomputed\n`bucketWidth` is currently 2048 base pairs; this is subject to\nchange.", + "format": "int64", + "type": "string" + }, + "readGroupSetId": { + "location": "path", + "description": "Required. The ID of the read group set over which coverage is requested.", + "required": true, + "type": "string" + }, + "referenceName": { + "type": "string", + "location": "query", + "description": "The name of the reference to query, within the reference set associated\nwith this query. Optional." + }, + "end": { + "type": "string", + "location": "query", + "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified. If unset or 0, defaults\nto the length of the reference.", + "format": "int64" + }, + "pageToken": { + "type": "string", + "location": "query", + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response." + }, + "pageSize": { + "type": "integer", + "location": "query", + "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 2048.", + "format": "int32" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ], + "flatPath": "v1/readgroupsets/{readGroupSetId}/coveragebuckets", + "id": "genomics.readgroupsets.coveragebuckets.list", + "path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets" + } + } + } + } + }, + "reads": { + "methods": { + "search": { "response": { - "$ref": "Operation" + "$ref": "SearchReadsResponse" }, "parameterOrder": [], "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/devstorage.read_write", - "https://www.googleapis.com/auth/genomics" + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" ], "parameters": {}, - "flatPath": "v1/variants:import", - "path": "v1/variants:import", - "id": "genomics.variants.import" - }, - "merge": { - "description": "Merges the given variants with existing variants.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach variant will be\nmerged with an existing variant that matches its reference sequence,\nstart, end, reference bases, and alternative bases. If no such variant\nexists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant. Variant info fields are merged as\nspecified in the\ninfoMergeConfig\nfield of the MergeVariantsRequest.\n\nPlease exercise caution when using this method! It is easy to introduce\nmistakes in existing variants and difficult to back out of them. For\nexample,\nsuppose you were trying to merge a new variant with an existing one and\nboth\nvariants contain calls that belong to callsets with the same callset ID.\n\n // Existing variant - irrelevant fields trimmed for clarity\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 0,\n 1\n ],\n }\n ]\n }\n\n // New variant with conflicting call information\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThe resulting merged variant would overwrite the existing calls with those\nfrom the new variant:\n\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThis may be the desired outcome, but it is up to the user to determine if\nif that is indeed the case.", + "flatPath": "v1/reads/search", + "path": "v1/reads/search", + "id": "genomics.reads.search", + "description": "Gets a list of reads for one or more read group sets.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nReads search operates over a genomic coordinate space of reference sequence\n& position defined over the reference sequences to which the requested\nread group sets are aligned.\n\nIf a target positional range is specified, search returns all reads whose\nalignment to the reference genome overlap the range. A query which\nspecifies only read group set IDs yields all reads in those read group\nsets, including unmapped reads.\n\nAll reads returned (including reads on subsequent pages) are ordered by\ngenomic coordinate (by reference sequence, then position). Reads with\nequivalent genomic coordinates are returned in an unspecified order. This\norder is consistent, such that two queries for the same content (regardless\nof page size) yield reads in the same order across their respective streams\nof paginated responses.\n\nImplements\n[GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).", "request": { - "$ref": "MergeVariantsRequest" + "$ref": "SearchReadsRequest" + } + } + } + }, + "callsets": { + "methods": { + "patch": { + "flatPath": "v1/callsets/{callSetId}", + "id": "genomics.callsets.patch", + "path": "v1/callsets/{callSetId}", + "description": "Updates a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.", + "request": { + "$ref": "CallSet" }, + "httpMethod": "PATCH", + "parameterOrder": [ + "callSetId" + ], "response": { - "$ref": "Empty" + "$ref": "CallSet" }, - "parameterOrder": [], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], - "parameters": {}, - "flatPath": "v1/variants:merge", - "path": "v1/variants:merge", - "id": "genomics.variants.merge" + "parameters": { + "callSetId": { + "location": "path", + "description": "The ID of the call set to be updated.", + "required": true, + "type": "string" + }, + "updateMask": { + "location": "query", + "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.", + "format": "google-fieldmask", + "type": "string" + } + } }, - "create": { - "description": "Creates a new variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "request": { - "$ref": "Variant" - }, + "get": { "response": { - "$ref": "Variant" + "$ref": "CallSet" }, - "parameterOrder": [], + "parameterOrder": [ + "callSetId" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ], + "parameters": { + "callSetId": { + "location": "path", + "description": "The ID of the call set.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/callsets/{callSetId}", + "path": "v1/callsets/{callSetId}", + "id": "genomics.callsets.get", + "description": "Gets a call set by ID.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" + }, + "create": { "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "CallSet" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": {}, - "flatPath": "v1/variants", - "path": "v1/variants", - "id": "genomics.variants.create" + "flatPath": "v1/callsets", + "id": "genomics.callsets.create", + "path": "v1/callsets", + "description": "Creates a new call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "request": { + "$ref": "CallSet" + } + }, + "delete": { + "httpMethod": "DELETE", + "parameterOrder": [ + "callSetId" + ], + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "parameters": { + "callSetId": { + "required": true, + "type": "string", + "location": "path", + "description": "The ID of the call set to be deleted." + } + }, + "flatPath": "v1/callsets/{callSetId}", + "id": "genomics.callsets.delete", + "path": "v1/callsets/{callSetId}", + "description": "Deletes a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" }, "search": { "response": { - "$ref": "SearchVariantsResponse" + "$ref": "SearchCallSetsResponse" }, "parameterOrder": [], "httpMethod": "POST", @@ -225,15 +366,22 @@ "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" ], - "flatPath": "v1/variants/search", - "path": "v1/variants/search", - "id": "genomics.variants.search", + "flatPath": "v1/callsets/search", + "path": "v1/callsets/search", + "id": "genomics.callsets.search", "request": { - "$ref": "SearchVariantsRequest" + "$ref": "SearchCallSetsRequest" }, - "description": "Gets a list of variants matching the criteria.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126)." - }, + "description": "Gets a list of call sets matching the criteria.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178)." + } + } + }, + "variants": { + "methods": { "get": { + "flatPath": "v1/variants/{variantId}", + "path": "v1/variants/{variantId}", + "id": "genomics.variants.get", "description": "Gets a variant by ID.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "response": { "$ref": "Variant" @@ -244,113 +392,338 @@ "httpMethod": "GET", "parameters": { "variantId": { - "description": "The ID of the variant.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the variant." } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" - ], - "flatPath": "v1/variants/{variantId}", - "path": "v1/variants/{variantId}", - "id": "genomics.variants.get" + ] }, "patch": { + "httpMethod": "PATCH", + "parameterOrder": [ + "variantId" + ], + "response": { + "$ref": "Variant" + }, + "parameters": { + "variantId": { + "location": "path", + "description": "The ID of the variant to be updated.", + "required": true, + "type": "string" + }, + "updateMask": { + "type": "string", + "location": "query", + "description": "An optional mask specifying which fields to update. At this time, mutable\nfields are names and\ninfo. Acceptable values are \"names\" and\n\"info\". If unspecified, all mutable fields will be updated.", + "format": "google-fieldmask" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], "flatPath": "v1/variants/{variantId}", - "path": "v1/variants/{variantId}", "id": "genomics.variants.patch", + "path": "v1/variants/{variantId}", "request": { "$ref": "Variant" }, - "description": "Updates a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics. Returns the modified variant without\nits calls.", + "description": "Updates a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics. Returns the modified variant without\nits calls." + }, + "import": { + "request": { + "$ref": "ImportVariantsRequest" + }, + "description": "Creates variant data by asynchronously importing the provided information.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe variants for import will be merged with any existing variant that\nmatches its reference sequence, start, end, reference bases, and\nalternative bases. If no such variant exists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant, and Variant info fields are merged\nas specified in\ninfoMergeConfig.\nAs a special case, for single-sample VCF files, QUAL and FILTER fields will\nbe moved to the call level; these are sometimes interpreted in a\ncall-specific context.\nImported VCF headers are appended to the metadata already in a variant set.", + "httpMethod": "POST", + "parameterOrder": [], "response": { - "$ref": "Variant" + "$ref": "Operation" + }, + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/devstorage.read_write", + "https://www.googleapis.com/auth/genomics" + ], + "flatPath": "v1/variants:import", + "id": "genomics.variants.import", + "path": "v1/variants:import" + }, + "delete": { + "flatPath": "v1/variants/{variantId}", + "path": "v1/variants/{variantId}", + "id": "genomics.variants.delete", + "description": "Deletes a variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "response": { + "$ref": "Empty" }, "parameterOrder": [ "variantId" ], - "httpMethod": "PATCH", + "httpMethod": "DELETE", "parameters": { "variantId": { - "location": "path", - "description": "The ID of the variant to be updated.", "required": true, - "type": "string" - }, - "updateMask": { - "description": "An optional mask specifying which fields to update. At this time, mutable\nfields are names and\ninfo. Acceptable values are \"names\" and\n\"info\". If unspecified, all mutable fields will be updated.", - "format": "google-fieldmask", "type": "string", - "location": "query" + "location": "path", + "description": "The ID of the variant to be deleted." } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ] - } - } - }, - "references": { - "methods": { + }, + "merge": { + "flatPath": "v1/variants:merge", + "path": "v1/variants:merge", + "id": "genomics.variants.merge", + "request": { + "$ref": "MergeVariantsRequest" + }, + "description": "Merges the given variants with existing variants.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach variant will be\nmerged with an existing variant that matches its reference sequence,\nstart, end, reference bases, and alternative bases. If no such variant\nexists, a new one will be created.\n\nWhen variants are merged, the call information from the new variant\nis added to the existing variant. Variant info fields are merged as\nspecified in the\ninfoMergeConfig\nfield of the MergeVariantsRequest.\n\nPlease exercise caution when using this method! It is easy to introduce\nmistakes in existing variants and difficult to back out of them. For\nexample,\nsuppose you were trying to merge a new variant with an existing one and\nboth\nvariants contain calls that belong to callsets with the same callset ID.\n\n // Existing variant - irrelevant fields trimmed for clarity\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 0,\n 1\n ],\n }\n ]\n }\n\n // New variant with conflicting call information\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThe resulting merged variant would overwrite the existing calls with those\nfrom the new variant:\n\n {\n \"variantSetId\": \"10473108253681171589\",\n \"referenceName\": \"1\",\n \"start\": \"10582\",\n \"referenceBases\": \"G\",\n \"alternateBases\": [\n \"A\"\n ],\n \"calls\": [\n {\n \"callSetId\": \"10473108253681171589-0\",\n \"callSetName\": \"CALLSET0\",\n \"genotype\": [\n 1,\n 1\n ],\n }\n ]\n }\n\nThis may be the desired outcome, but it is up to the user to determine if\nif that is indeed the case.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "create": { + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "Variant" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "parameters": {}, + "flatPath": "v1/variants", + "id": "genomics.variants.create", + "path": "v1/variants", + "description": "Creates a new variant.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "request": { + "$ref": "Variant" + } + }, "search": { - "flatPath": "v1/references/search", - "id": "genomics.references.search", - "path": "v1/references/search", "request": { - "$ref": "SearchReferencesRequest" + "$ref": "SearchVariantsRequest" }, - "description": "Searches for references which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).", + "description": "Gets a list of variants matching the criteria.\n\nFor the definitions of variants and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).", "httpMethod": "POST", "parameterOrder": [], "response": { - "$ref": "SearchReferencesResponse" + "$ref": "SearchVariantsResponse" }, "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" - ] - }, - "get": { - "description": "Gets a reference.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).", - "response": { - "$ref": "Reference" - }, + ], + "flatPath": "v1/variants/search", + "id": "genomics.variants.search", + "path": "v1/variants/search" + } + } + }, + "annotationsets": { + "methods": { + "delete": { + "httpMethod": "DELETE", "parameterOrder": [ - "referenceId" + "annotationSetId" ], - "httpMethod": "GET", + "response": { + "$ref": "Empty" + }, "parameters": { - "referenceId": { - "description": "The ID of the reference.", + "annotationSetId": { "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the annotation set to be deleted." } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "flatPath": "v1/annotationsets/{annotationSetId}", + "id": "genomics.annotationsets.delete", + "path": "v1/annotationsets/{annotationSetId}", + "description": "Deletes an annotation set. Caller must have WRITE permission\nfor the associated annotation set." + }, + "search": { + "response": { + "$ref": "SearchAnnotationSetsResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" ], - "flatPath": "v1/references/{referenceId}", - "path": "v1/references/{referenceId}", - "id": "genomics.references.get" + "parameters": {}, + "flatPath": "v1/annotationsets/search", + "path": "v1/annotationsets/search", + "id": "genomics.annotationsets.search", + "description": "Searches for annotation sets that match the given criteria. Annotation sets\nare returned in an unspecified order. This order is consistent, such that\ntwo queries for the same content (regardless of page size) yield annotation\nsets in the same order across their respective streams of paginated\nresponses. Caller must have READ permission for the queried datasets.", + "request": { + "$ref": "SearchAnnotationSetsRequest" + } + }, + "get": { + "response": { + "$ref": "AnnotationSet" + }, + "parameterOrder": [ + "annotationSetId" + ], + "httpMethod": "GET", + "parameters": { + "annotationSetId": { + "location": "path", + "description": "The ID of the annotation set to be retrieved.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ], + "flatPath": "v1/annotationsets/{annotationSetId}", + "path": "v1/annotationsets/{annotationSetId}", + "id": "genomics.annotationsets.get", + "description": "Gets an annotation set. Caller must have READ permission for\nthe associated dataset." + }, + "update": { + "httpMethod": "PUT", + "parameterOrder": [ + "annotationSetId" + ], + "response": { + "$ref": "AnnotationSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "parameters": { + "updateMask": { + "location": "query", + "description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nsource_uri, and\ninfo. If unspecified, all\nmutable fields will be updated.", + "format": "google-fieldmask", + "type": "string" + }, + "annotationSetId": { + "location": "path", + "description": "The ID of the annotation set to be updated.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/annotationsets/{annotationSetId}", + "id": "genomics.annotationsets.update", + "path": "v1/annotationsets/{annotationSetId}", + "description": "Updates an annotation set. The update must respect all mutability\nrestrictions and other invariants described on the annotation set resource.\nCaller must have WRITE permission for the associated dataset.", + "request": { + "$ref": "AnnotationSet" + } + }, + "create": { + "flatPath": "v1/annotationsets", + "path": "v1/annotationsets", + "id": "genomics.annotationsets.create", + "description": "Creates a new annotation set. Caller must have WRITE permission for the\nassociated dataset.\n\nThe following fields are required:\n\n * datasetId\n * referenceSetId\n\nAll other fields may be optionally specified, unless documented as being\nserver-generated (for example, the `id` field).", + "request": { + "$ref": "AnnotationSet" + }, + "response": { + "$ref": "AnnotationSet" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "parameters": {} + } + } + }, + "references": { + "methods": { + "search": { + "response": { + "$ref": "SearchReferencesResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ], + "parameters": {}, + "flatPath": "v1/references/search", + "path": "v1/references/search", + "id": "genomics.references.search", + "description": "Searches for references which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).", + "request": { + "$ref": "SearchReferencesRequest" + } + }, + "get": { + "description": "Gets a reference.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).", + "httpMethod": "GET", + "parameterOrder": [ + "referenceId" + ], + "response": { + "$ref": "Reference" + }, + "parameters": { + "referenceId": { + "required": true, + "type": "string", + "location": "path", + "description": "The ID of the reference." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ], + "flatPath": "v1/references/{referenceId}", + "id": "genomics.references.get", + "path": "v1/references/{referenceId}" } }, "resources": { "bases": { "methods": { "list": { - "flatPath": "v1/references/{referenceId}/bases", - "path": "v1/references/{referenceId}/bases", - "id": "genomics.references.bases.list", "description": "Lists the bases in a reference, optionally restricted to a range.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).", "response": { "$ref": "ListBasesResponse" @@ -360,22 +733,16 @@ ], "httpMethod": "GET", "parameters": { - "end": { - "description": "The end position (0-based, exclusive) of this query. Defaults to the length\nof this reference.", - "format": "int64", - "type": "string", - "location": "query" - }, "pageToken": { + "type": "string", "location": "query", - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", - "type": "string" + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response." }, "pageSize": { + "location": "query", "description": "The maximum number of bases to return in a single page. If unspecified,\ndefaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base\npairs).", "format": "int32", - "type": "integer", - "location": "query" + "type": "integer" }, "start": { "location": "query", @@ -388,13 +755,22 @@ "description": "The ID of the reference.", "required": true, "type": "string" + }, + "end": { + "location": "query", + "description": "The end position (0-based, exclusive) of this query. Defaults to the length\nof this reference.", + "format": "int64", + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" - ] + ], + "flatPath": "v1/references/{referenceId}/bases", + "path": "v1/references/{referenceId}/bases", + "id": "genomics.references.bases.list" } } } @@ -402,96 +778,14 @@ }, "datasets": { "methods": { - "list": { - "description": "Lists datasets within a project.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "httpMethod": "GET", - "parameterOrder": [], - "response": { - "$ref": "ListDatasetsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], - "parameters": { - "pageSize": { - "location": "query", - "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 50. The maximum value is 1024.", - "format": "int32", - "type": "integer" - }, - "projectId": { - "description": "Required. The Google Cloud project ID to list datasets for.", - "type": "string", - "location": "query" - }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", - "type": "string", - "location": "query" - } - }, - "flatPath": "v1/datasets", - "id": "genomics.datasets.list", - "path": "v1/datasets" - }, - "setIamPolicy": { - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.", - "required": true, - "type": "string", - "pattern": "^datasets/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "flatPath": "v1/datasets/{datasetsId}:setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "id": "genomics.datasets.setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on the specified dataset. Replaces any\nexisting policy.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nSee \u003ca href=\"/iam/docs/managing-policies#setting_a_policy\"\u003eSetting a\nPolicy\u003c/a\u003e for more information." - }, - "create": { - "description": "Creates a new dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "request": { - "$ref": "Dataset" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "Dataset" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "parameters": {}, - "flatPath": "v1/datasets", - "id": "genomics.datasets.create", - "path": "v1/datasets" - }, "getIamPolicy": { "flatPath": "v1/datasets/{datasetsId}:getIamPolicy", "path": "v1/{+resource}:getIamPolicy", "id": "genomics.datasets.getIamPolicy", + "description": "Gets the access control policy for the dataset. This is empty if the\npolicy or resource does not exist.\n\nSee \u003ca href=\"/iam/docs/managing-policies#getting_a_policy\"\u003eGetting a\nPolicy\u003c/a\u003e for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "request": { "$ref": "GetIamPolicyRequest" }, - "description": "Gets the access control policy for the dataset. This is empty if the\npolicy or resource does not exist.\n\nSee \u003ca href=\"/iam/docs/managing-policies#getting_a_policy\"\u003eGetting a\nPolicy\u003c/a\u003e for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "response": { "$ref": "Policy" }, @@ -499,25 +793,21 @@ "resource" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], "parameters": { "resource": { + "location": "path", "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.", "required": true, "type": "string", - "pattern": "^datasets/[^/]+$", - "location": "path" + "pattern": "^datasets/[^/]+$" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] + } }, "patch": { - "description": "Updates a dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.", - "request": { - "$ref": "Dataset" - }, "response": { "$ref": "Dataset" }, @@ -525,29 +815,37 @@ "datasetId" ], "httpMethod": "PATCH", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], "parameters": { "datasetId": { + "location": "path", "description": "The ID of the dataset to be updated.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "updateMask": { - "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.", - "format": "google-fieldmask", "type": "string", - "location": "query" + "location": "query", + "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.", + "format": "google-fieldmask" } }, - "flatPath": "v1/datasets/{datasetId}", - "path": "v1/datasets/{datasetId}", - "id": "genomics.datasets.patch" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "flatPath": "v1/datasets/{datasetId}", + "path": "v1/datasets/{datasetId}", + "id": "genomics.datasets.patch", + "request": { + "$ref": "Dataset" + }, + "description": "Updates a dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics." }, "get": { + "flatPath": "v1/datasets/{datasetId}", + "path": "v1/datasets/{datasetId}", + "id": "genomics.datasets.get", + "description": "Gets a dataset by ID.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "response": { "$ref": "Dataset" }, @@ -555,79 +853,75 @@ "datasetId" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], "parameters": { "datasetId": { - "description": "The ID of the dataset.", "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the dataset." } }, - "flatPath": "v1/datasets/{datasetId}", - "path": "v1/datasets/{datasetId}", - "id": "genomics.datasets.get", - "description": "Gets a dataset by ID.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ] }, "undelete": { - "response": { - "$ref": "Dataset" + "description": "Undeletes a dataset by restoring a dataset which was deleted via this API.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis operation is only possible for a week after the deletion occurred.", + "request": { + "$ref": "UndeleteDatasetRequest" }, + "httpMethod": "POST", "parameterOrder": [ "datasetId" ], - "httpMethod": "POST", - "parameters": { - "datasetId": { - "location": "path", - "description": "The ID of the dataset to be undeleted.", - "required": true, - "type": "string" - } + "response": { + "$ref": "Dataset" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], + "parameters": { + "datasetId": { + "required": true, + "type": "string", + "location": "path", + "description": "The ID of the dataset to be undeleted." + } + }, "flatPath": "v1/datasets/{datasetId}:undelete", - "path": "v1/datasets/{datasetId}:undelete", "id": "genomics.datasets.undelete", - "request": { - "$ref": "UndeleteDatasetRequest" - }, - "description": "Undeletes a dataset by restoring a dataset which was deleted via this API.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis operation is only possible for a week after the deletion occurred." + "path": "v1/datasets/{datasetId}:undelete" }, "testIamPermissions": { - "flatPath": "v1/datasets/{datasetsId}:testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "id": "genomics.datasets.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.\nSee \u003ca href=\"/iam/docs/managing-policies#testing_permissions\"\u003eTesting\nPermissions\u003c/a\u003e for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "TestIamPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": { "resource": { - "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.", "required": true, "type": "string", "pattern": "^datasets/[^/]+$", - "location": "path" + "location": "path", + "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`." } + }, + "flatPath": "v1/datasets/{datasetsId}:testIamPermissions", + "id": "genomics.datasets.testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "description": "Returns permissions that a caller has on the specified resource.\nSee \u003ca href=\"/iam/docs/managing-policies#testing_permissions\"\u003eTesting\nPermissions\u003c/a\u003e for more information.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "request": { + "$ref": "TestIamPermissionsRequest" } }, "delete": { @@ -645,106 +939,203 @@ ], "parameters": { "datasetId": { + "location": "path", "description": "The ID of the dataset to be deleted.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "flatPath": "v1/datasets/{datasetId}", "path": "v1/datasets/{datasetId}", "id": "genomics.datasets.delete" - } - } - }, - "variantsets": { - "methods": { - "create": { - "flatPath": "v1/variantsets", - "id": "genomics.variantsets.create", - "path": "v1/variantsets", + }, + "list": { + "description": "Lists datasets within a project.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "httpMethod": "GET", + "parameterOrder": [], + "response": { + "$ref": "ListDatasetsResponse" + }, + "parameters": { + "pageToken": { + "type": "string", + "location": "query", + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response." + }, + "pageSize": { + "location": "query", + "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 50. The maximum value is 1024.", + "format": "int32", + "type": "integer" + }, + "projectId": { + "type": "string", + "location": "query", + "description": "Required. The Google Cloud project ID to list datasets for." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ], + "flatPath": "v1/datasets", + "id": "genomics.datasets.list", + "path": "v1/datasets" + }, + "setIamPolicy": { + "flatPath": "v1/datasets/{datasetsId}:setIamPolicy", + "id": "genomics.datasets.setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", "request": { - "$ref": "VariantSet" + "$ref": "SetIamPolicyRequest" }, - "description": "Creates a new variant set.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe provided variant set must have a valid `datasetId` set - all other\nfields are optional. Note that the `id` field will be ignored, as this is\nassigned by the server.", + "description": "Sets the access control policy on the specified dataset. Replaces any\nexisting policy.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nSee \u003ca href=\"/iam/docs/managing-policies#setting_a_policy\"\u003eSetting a\nPolicy\u003c/a\u003e for more information.", "httpMethod": "POST", - "parameterOrder": [], + "parameterOrder": [ + "resource" + ], "response": { - "$ref": "VariantSet" + "$ref": "Policy" + }, + "parameters": { + "resource": { + "location": "path", + "description": "REQUIRED: The resource for which policy is being specified. Format is\n`datasets/\u003cdataset ID\u003e`.", + "required": true, + "type": "string", + "pattern": "^datasets/[^/]+$" + } }, - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ] }, - "export": { - "description": "Exports variant set data to an external destination.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "create": { "request": { - "$ref": "ExportVariantSetRequest" + "$ref": "Dataset" }, + "description": "Creates a new dataset.\n\nFor the definitions of datasets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "response": { - "$ref": "Operation" + "$ref": "Dataset" }, - "parameterOrder": [ - "variantSetId" - ], + "parameterOrder": [], "httpMethod": "POST", + "parameters": {}, "scopes": [ - "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], + "flatPath": "v1/datasets", + "path": "v1/datasets", + "id": "genomics.datasets.create" + } + } + }, + "annotations": { + "methods": { + "delete": { + "flatPath": "v1/annotations/{annotationId}", + "id": "genomics.annotations.delete", + "path": "v1/annotations/{annotationId}", + "description": "Deletes an annotation. Caller must have WRITE permission for\nthe associated annotation set.", + "httpMethod": "DELETE", + "parameterOrder": [ + "annotationId" + ], + "response": { + "$ref": "Empty" + }, "parameters": { - "variantSetId": { - "description": "Required. The ID of the variant set that contains variant data which\nshould be exported. The caller must have READ access to this variant set.", + "annotationId": { "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the annotation to be deleted." } }, - "flatPath": "v1/variantsets/{variantSetId}:export", - "path": "v1/variantsets/{variantSetId}:export", - "id": "genomics.variantsets.export" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] }, - "search": { - "flatPath": "v1/variantsets/search", - "id": "genomics.variantsets.search", - "path": "v1/variantsets/search", - "description": "Returns a list of all variant sets matching search criteria.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).", + "create": { + "flatPath": "v1/annotations", + "path": "v1/annotations", + "id": "genomics.annotations.create", "request": { - "$ref": "SearchVariantSetsRequest" + "$ref": "Annotation" + }, + "description": "Creates a new annotation. Caller must have WRITE permission\nfor the associated annotation set.\n\nThe following fields are required:\n\n* annotationSetId\n* referenceName or\n referenceId\n\n### Transcripts\n\nFor annotations of type TRANSCRIPT, the following fields of\ntranscript must be provided:\n\n* exons.start\n* exons.end\n\nAll other fields may be optionally specified, unless documented as being\nserver-generated (for example, the `id` field). The annotated\nrange must be no longer than 100Mbp (mega base pairs). See the\nAnnotation resource\nfor additional restrictions on each field.", + "response": { + "$ref": "Annotation" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] + }, + "batchCreate": { + "response": { + "$ref": "BatchCreateAnnotationsResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "flatPath": "v1/annotations:batchCreate", + "path": "v1/annotations:batchCreate", + "id": "genomics.annotations.batchCreate", + "request": { + "$ref": "BatchCreateAnnotationsRequest" }, + "description": "Creates one or more new annotations atomically. All annotations must\nbelong to the same annotation set. Caller must have WRITE\npermission for this annotation set. For optimal performance, batch\npositionally adjacent annotations together.\n\nIf the request has a systemic issue, such as an attempt to write to\nan inaccessible annotation set, the entire RPC will fail accordingly. For\nlesser data issues, when possible an error will be isolated to the\ncorresponding batch entry in the response; the remaining well formed\nannotations will be created normally.\n\nFor details on the requirements for each individual annotation resource,\nsee\nCreateAnnotation." + }, + "search": { "httpMethod": "POST", "parameterOrder": [], "response": { - "$ref": "SearchVariantSetsResponse" + "$ref": "SearchAnnotationsResponse" }, + "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" ], - "parameters": {} + "flatPath": "v1/annotations/search", + "id": "genomics.annotations.search", + "path": "v1/annotations/search", + "request": { + "$ref": "SearchAnnotationsRequest" + }, + "description": "Searches for annotations that match the given criteria. Results are\nordered by genomic coordinate (by reference sequence, then position).\nAnnotations with equivalent genomic coordinates are returned in an\nunspecified order. This order is consistent, such that two queries for the\nsame content (regardless of page size) yield annotations in the same order\nacross their respective streams of paginated responses. Caller must have\nREAD permission for the queried annotation sets." }, "get": { - "flatPath": "v1/variantsets/{variantSetId}", - "path": "v1/variantsets/{variantSetId}", - "id": "genomics.variantsets.get", - "description": "Gets a variant set by ID.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "flatPath": "v1/annotations/{annotationId}", + "id": "genomics.annotations.get", + "path": "v1/annotations/{annotationId}", + "description": "Gets an annotation. Caller must have READ permission\nfor the associated annotation set.", + "httpMethod": "GET", "parameterOrder": [ - "variantSetId" + "annotationId" ], "response": { - "$ref": "VariantSet" + "$ref": "Annotation" }, - "httpMethod": "GET", "parameters": { - "variantSetId": { - "location": "path", - "description": "Required. The ID of the variant set.", + "annotationId": { "required": true, - "type": "string" + "type": "string", + "location": "path", + "description": "The ID of the annotation to be retrieved." } }, "scopes": [ @@ -753,155 +1144,110 @@ "https://www.googleapis.com/auth/genomics.readonly" ] }, - "patch": { - "httpMethod": "PATCH", - "parameterOrder": [ - "variantSetId" - ], + "update": { + "flatPath": "v1/annotations/{annotationId}", + "path": "v1/annotations/{annotationId}", + "id": "genomics.annotations.update", + "description": "Updates an annotation. Caller must have\nWRITE permission for the associated dataset.", + "request": { + "$ref": "Annotation" + }, "response": { - "$ref": "VariantSet" + "$ref": "Annotation" }, + "parameterOrder": [ + "annotationId" + ], + "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": { - "updateMask": { - "location": "query", - "description": "An optional mask specifying which fields to update. Supported fields:\n\n* metadata.\n* name.\n* description.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.", - "format": "google-fieldmask", - "type": "string" - }, - "variantSetId": { - "description": "The ID of the variant to be updated (must already exist).", + "annotationId": { "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the annotation to be updated." + }, + "updateMask": { + "type": "string", + "location": "query", + "description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nvariant,\ntranscript, and\ninfo. If unspecified, all mutable\nfields will be updated.", + "format": "google-fieldmask" } + } + } + } + }, + "variantsets": { + "methods": { + "patch": { + "request": { + "$ref": "VariantSet" }, - "flatPath": "v1/variantsets/{variantSetId}", - "id": "genomics.variantsets.patch", - "path": "v1/variantsets/{variantSetId}", "description": "Updates a variant set using patch semantics.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "request": { + "response": { "$ref": "VariantSet" - } - }, - "delete": { - "httpMethod": "DELETE", + }, "parameterOrder": [ "variantSetId" ], - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], + "httpMethod": "PATCH", "parameters": { "variantSetId": { "location": "path", - "description": "The ID of the variant set to be deleted.", + "description": "The ID of the variant to be updated (must already exist).", "required": true, "type": "string" + }, + "updateMask": { + "location": "query", + "description": "An optional mask specifying which fields to update. Supported fields:\n\n* metadata.\n* name.\n* description.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.", + "format": "google-fieldmask", + "type": "string" } }, - "flatPath": "v1/variantsets/{variantSetId}", - "id": "genomics.variantsets.delete", - "path": "v1/variantsets/{variantSetId}", - "description": "Deletes a variant set including all variants, call sets, and calls within.\nThis is not reversible.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" - } - } - }, - "annotations": { - "methods": { - "search": { - "description": "Searches for annotations that match the given criteria. Results are\nordered by genomic coordinate (by reference sequence, then position).\nAnnotations with equivalent genomic coordinates are returned in an\nunspecified order. This order is consistent, such that two queries for the\nsame content (regardless of page size) yield annotations in the same order\nacross their respective streams of paginated responses. Caller must have\nREAD permission for the queried annotation sets.", - "request": { - "$ref": "SearchAnnotationsRequest" - }, - "response": { - "$ref": "SearchAnnotationsResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" + "https://www.googleapis.com/auth/genomics" ], - "parameters": {}, - "flatPath": "v1/annotations/search", - "path": "v1/annotations/search", - "id": "genomics.annotations.search" + "flatPath": "v1/variantsets/{variantSetId}", + "path": "v1/variantsets/{variantSetId}", + "id": "genomics.variantsets.patch" }, "get": { - "flatPath": "v1/annotations/{annotationId}", - "path": "v1/annotations/{annotationId}", - "id": "genomics.annotations.get", - "description": "Gets an annotation. Caller must have READ permission\nfor the associated annotation set.", - "response": { - "$ref": "Annotation" - }, + "description": "Gets a variant set by ID.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "httpMethod": "GET", "parameterOrder": [ - "annotationId" + "variantSetId" ], - "httpMethod": "GET", + "response": { + "$ref": "VariantSet" + }, "parameters": { - "annotationId": { - "description": "The ID of the annotation to be retrieved.", + "variantSetId": { + "location": "path", + "description": "Required. The ID of the variant set.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" - ] - }, - "update": { - "description": "Updates an annotation. Caller must have\nWRITE permission for the associated dataset.", - "request": { - "$ref": "Annotation" - }, - "response": { - "$ref": "Annotation" - }, - "parameterOrder": [ - "annotationId" - ], - "httpMethod": "PUT", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" ], - "parameters": { - "updateMask": { - "description": "An optional mask specifying which fields to update. Mutable fields are\nname,\nvariant,\ntranscript, and\ninfo. If unspecified, all mutable\nfields will be updated.", - "format": "google-fieldmask", - "type": "string", - "location": "query" - }, - "annotationId": { - "location": "path", - "description": "The ID of the annotation to be updated.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/annotations/{annotationId}", - "path": "v1/annotations/{annotationId}", - "id": "genomics.annotations.update" + "flatPath": "v1/variantsets/{variantSetId}", + "id": "genomics.variantsets.get", + "path": "v1/variantsets/{variantSetId}" }, "delete": { "response": { "$ref": "Empty" }, "parameterOrder": [ - "annotationId" + "variantSetId" ], "httpMethod": "DELETE", "scopes": [ @@ -909,85 +1255,123 @@ "https://www.googleapis.com/auth/genomics" ], "parameters": { - "annotationId": { + "variantSetId": { "location": "path", - "description": "The ID of the annotation to be deleted.", + "description": "The ID of the variant set to be deleted.", "required": true, "type": "string" } }, - "flatPath": "v1/annotations/{annotationId}", - "path": "v1/annotations/{annotationId}", - "id": "genomics.annotations.delete", - "description": "Deletes an annotation. Caller must have WRITE permission for\nthe associated annotation set." + "flatPath": "v1/variantsets/{variantSetId}", + "path": "v1/variantsets/{variantSetId}", + "id": "genomics.variantsets.delete", + "description": "Deletes a variant set including all variants, call sets, and calls within.\nThis is not reversible.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" }, "create": { + "httpMethod": "POST", + "parameterOrder": [], "response": { - "$ref": "Annotation" + "$ref": "VariantSet" }, - "parameterOrder": [], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": {}, - "flatPath": "v1/annotations", - "path": "v1/annotations", - "id": "genomics.annotations.create", - "description": "Creates a new annotation. Caller must have WRITE permission\nfor the associated annotation set.\n\nThe following fields are required:\n\n* annotationSetId\n* referenceName or\n referenceId\n\n### Transcripts\n\nFor annotations of type TRANSCRIPT, the following fields of\ntranscript must be provided:\n\n* exons.start\n* exons.end\n\nAll other fields may be optionally specified, unless documented as being\nserver-generated (for example, the `id` field). The annotated\nrange must be no longer than 100Mbp (mega base pairs). See the\nAnnotation resource\nfor additional restrictions on each field.", + "flatPath": "v1/variantsets", + "id": "genomics.variantsets.create", + "path": "v1/variantsets", + "description": "Creates a new variant set.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe provided variant set must have a valid `datasetId` set - all other\nfields are optional. Note that the `id` field will be ignored, as this is\nassigned by the server.", "request": { - "$ref": "Annotation" + "$ref": "VariantSet" } }, - "batchCreate": { - "description": "Creates one or more new annotations atomically. All annotations must\nbelong to the same annotation set. Caller must have WRITE\npermission for this annotation set. For optimal performance, batch\npositionally adjacent annotations together.\n\nIf the request has a systemic issue, such as an attempt to write to\nan inaccessible annotation set, the entire RPC will fail accordingly. For\nlesser data issues, when possible an error will be isolated to the\ncorresponding batch entry in the response; the remaining well formed\nannotations will be created normally.\n\nFor details on the requirements for each individual annotation resource,\nsee\nCreateAnnotation.", + "export": { "request": { - "$ref": "BatchCreateAnnotationsRequest" + "$ref": "ExportVariantSetRequest" }, + "description": "Exports variant set data to an external destination.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "response": { - "$ref": "BatchCreateAnnotationsResponse" + "$ref": "Operation" }, - "parameterOrder": [], + "parameterOrder": [ + "variantSetId" + ], "httpMethod": "POST", + "parameters": { + "variantSetId": { + "location": "path", + "description": "Required. The ID of the variant set that contains variant data which\nshould be exported. The caller must have READ access to this variant set.", + "required": true, + "type": "string" + } + }, "scopes": [ + "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], + "flatPath": "v1/variantsets/{variantSetId}:export", + "path": "v1/variantsets/{variantSetId}:export", + "id": "genomics.variantsets.export" + }, + "search": { + "flatPath": "v1/variantsets/search", + "path": "v1/variantsets/search", + "id": "genomics.variantsets.search", + "request": { + "$ref": "SearchVariantSetsRequest" + }, + "description": "Returns a list of all variant sets matching search criteria.\n\nFor the definitions of variant sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).", + "response": { + "$ref": "SearchVariantSetsResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", "parameters": {}, - "flatPath": "v1/annotations:batchCreate", - "path": "v1/annotations:batchCreate", - "id": "genomics.annotations.batchCreate" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" + ] } } }, "operations": { "methods": { "list": { + "flatPath": "v1/operations", + "id": "genomics.operations.list", + "path": "v1/{+name}", + "description": "Lists operations that match the specified filter in the request.", + "httpMethod": "GET", "parameterOrder": [ "name" ], "response": { "$ref": "ListOperationsResponse" }, - "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], "parameters": { "filter": { - "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `\u003c=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime \u003e= 1432140000`\n* `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`", "type": "string", - "location": "query" + "location": "query", + "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `\u003c=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime \u003e= 1432140000`\n* `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`" }, "name": { - "location": "path", - "description": "The name of the operation collection.", "required": true, "type": "string", - "pattern": "^operations$" + "pattern": "^operations$", + "location": "path", + "description": "The name of the operation collection." }, "pageToken": { - "description": "The standard list page token.", "type": "string", - "location": "query" + "location": "query", + "description": "The standard list page token." }, "pageSize": { "location": "query", @@ -995,21 +1379,9 @@ "format": "int32", "type": "integer" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "flatPath": "v1/operations", - "path": "v1/{+name}", - "id": "genomics.operations.list", - "description": "Lists operations that match the specified filter in the request." + } }, "get": { - "flatPath": "v1/operations/{operationsId}", - "path": "v1/{+name}", - "id": "genomics.operations.get", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", "response": { "$ref": "Operation" }, @@ -1017,6 +1389,10 @@ "name" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], "parameters": { "name": { "location": "path", @@ -1026,349 +1402,47 @@ "pattern": "^operations/.+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ] + "flatPath": "v1/operations/{operationsId}", + "path": "v1/{+name}", + "id": "genomics.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." }, "cancel": { + "flatPath": "v1/operations/{operationsId}:cancel", + "id": "genomics.operations.cancel", + "path": "v1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.", "request": { "$ref": "CancelOperationRequest" }, - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "parameters": { - "name": { - "location": "path", - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", - "pattern": "^operations/.+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "flatPath": "v1/operations/{operationsId}:cancel", - "path": "v1/{+name}:cancel", - "id": "genomics.operations.cancel" - } - } - }, - "referencesets": { - "methods": { - "search": { - "description": "Searches for reference sets which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)", - "request": { - "$ref": "SearchReferenceSetsRequest" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "SearchReferenceSetsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], - "parameters": {}, - "flatPath": "v1/referencesets/search", - "id": "genomics.referencesets.search", - "path": "v1/referencesets/search" - }, - "get": { - "description": "Gets a reference set.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).", - "httpMethod": "GET", - "parameterOrder": [ - "referenceSetId" - ], - "response": { - "$ref": "ReferenceSet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], - "parameters": { - "referenceSetId": { - "description": "The ID of the reference set.", - "required": true, - "type": "string", - "location": "path" - } - }, - "flatPath": "v1/referencesets/{referenceSetId}", - "id": "genomics.referencesets.get", - "path": "v1/referencesets/{referenceSetId}" - } - } - }, - "readgroupsets": { - "methods": { - "export": { - "description": "Exports a read group set to a BAM file in Google Cloud Storage.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nNote that currently there may be some differences between exported BAM\nfiles and the original BAM file at the time of import. See\nImportReadGroupSets\nfor caveats.", - "request": { - "$ref": "ExportReadGroupSetRequest" - }, "httpMethod": "POST", "parameterOrder": [ - "readGroupSetId" + "name" ], "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/devstorage.read_write", - "https://www.googleapis.com/auth/genomics" - ], - "parameters": { - "readGroupSetId": { - "location": "path", - "description": "Required. The ID of the read group set to export. The caller must have\nREAD access to this read group set.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/readgroupsets/{readGroupSetId}:export", - "id": "genomics.readgroupsets.export", - "path": "v1/readgroupsets/{readGroupSetId}:export" - }, - "search": { - "flatPath": "v1/readgroupsets/search", - "id": "genomics.readgroupsets.search", - "path": "v1/readgroupsets/search", - "request": { - "$ref": "SearchReadGroupSetsRequest" - }, - "description": "Searches for read group sets matching the criteria.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).", - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "SearchReadGroupSetsResponse" - }, - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ] - }, - "patch": { - "description": "Updates a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.", - "request": { - "$ref": "ReadGroupSet" - }, - "response": { - "$ref": "ReadGroupSet" + "$ref": "Empty" }, - "parameterOrder": [ - "readGroupSetId" - ], - "httpMethod": "PATCH", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": { - "readGroupSetId": { - "description": "The ID of the read group set to be updated. The caller must have WRITE\npermissions to the dataset associated with this read group set.", - "required": true, - "type": "string", - "location": "path" - }, - "updateMask": { - "description": "An optional mask specifying which fields to update. Supported fields:\n\n* name.\n* referenceSetId.\n\nLeaving `updateMask` unset is equivalent to specifying all mutable\nfields.", - "format": "google-fieldmask", - "type": "string", - "location": "query" - } - }, - "flatPath": "v1/readgroupsets/{readGroupSetId}", - "path": "v1/readgroupsets/{readGroupSetId}", - "id": "genomics.readgroupsets.patch" - }, - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "readGroupSetId" - ], - "response": { - "$ref": "ReadGroupSet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], - "parameters": { - "readGroupSetId": { - "description": "The ID of the read group set.", + "name": { "required": true, "type": "string", - "location": "path" - } - }, - "flatPath": "v1/readgroupsets/{readGroupSetId}", - "id": "genomics.readgroupsets.get", - "path": "v1/readgroupsets/{readGroupSetId}", - "description": "Gets a read group set by ID.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" - }, - "delete": { - "description": "Deletes a read group set.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "parameterOrder": [ - "readGroupSetId" - ], - "response": { - "$ref": "Empty" - }, - "httpMethod": "DELETE", - "parameters": { - "readGroupSetId": { + "pattern": "^operations/.+$", "location": "path", - "description": "The ID of the read group set to be deleted. The caller must have WRITE\npermissions to the dataset associated with this read group set.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "flatPath": "v1/readgroupsets/{readGroupSetId}", - "path": "v1/readgroupsets/{readGroupSetId}", - "id": "genomics.readgroupsets.delete" - }, - "import": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/devstorage.read_write", - "https://www.googleapis.com/auth/genomics" - ], - "parameters": {}, - "flatPath": "v1/readgroupsets:import", - "path": "v1/readgroupsets:import", - "id": "genomics.readgroupsets.import", - "description": "Creates read group sets by asynchronously importing the provided\ninformation.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThe caller must have WRITE permissions to the dataset.\n\n## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import\n\n- Tags will be converted to strings - tag types are not preserved\n- Comments (`@CO`) in the input file header will not be preserved\n- Original header order of references (`@SQ`) will not be preserved\n- Any reverse stranded unmapped reads will be reverse complemented, and\ntheir qualities (also the \"BQ\" and \"OQ\" tags, if any) will be reversed\n- Unmapped reads will be stripped of positional information (reference name\nand position)", - "request": { - "$ref": "ImportReadGroupSetsRequest" - } - } - }, - "resources": { - "coveragebuckets": { - "methods": { - "list": { - "description": "Lists fixed width coverage buckets for a read group set, each of which\ncorrespond to a range of a reference sequence. Each bucket summarizes\ncoverage information across its corresponding genomic range.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nCoverage is defined as the number of reads which are aligned to a given\nbase in the reference sequence. Coverage buckets are available at several\nprecomputed bucket widths, enabling retrieval of various coverage 'zoom\nlevels'. The caller must have READ permissions for the target read group\nset.", - "response": { - "$ref": "ListCoverageBucketsResponse" - }, - "parameterOrder": [ - "readGroupSetId" - ], - "httpMethod": "GET", - "parameters": { - "end": { - "location": "query", - "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified. If unset or 0, defaults\nto the length of the reference.", - "format": "int64", - "type": "string" - }, - "pageToken": { - "location": "query", - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 2048.", - "format": "int32", - "type": "integer" - }, - "start": { - "location": "query", - "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified. Defaults to 0.", - "format": "int64", - "type": "string" - }, - "targetBucketWidth": { - "location": "query", - "description": "The desired width of each reported coverage bucket in base pairs. This\nwill be rounded down to the nearest precomputed bucket width; the value\nof which is returned as `bucketWidth` in the response. Defaults\nto infinity (each bucket spans an entire reference sequence) or the length\nof the target range, if specified. The smallest precomputed\n`bucketWidth` is currently 2048 base pairs; this is subject to\nchange.", - "format": "int64", - "type": "string" - }, - "readGroupSetId": { - "location": "path", - "description": "Required. The ID of the read group set over which coverage is requested.", - "required": true, - "type": "string" - }, - "referenceName": { - "location": "query", - "description": "The name of the reference to query, within the reference set associated\nwith this query. Optional.", - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], - "flatPath": "v1/readgroupsets/{readGroupSetId}/coveragebuckets", - "path": "v1/readgroupsets/{readGroupSetId}/coveragebuckets", - "id": "genomics.readgroupsets.coveragebuckets.list" + "description": "The name of the operation resource to be cancelled." } } } } }, - "reads": { - "methods": { - "search": { - "request": { - "$ref": "SearchReadsRequest" - }, - "description": "Gets a list of reads for one or more read group sets.\n\nFor the definitions of read group sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nReads search operates over a genomic coordinate space of reference sequence\n& position defined over the reference sequences to which the requested\nread group sets are aligned.\n\nIf a target positional range is specified, search returns all reads whose\nalignment to the reference genome overlap the range. A query which\nspecifies only read group set IDs yields all reads in those read group\nsets, including unmapped reads.\n\nAll reads returned (including reads on subsequent pages) are ordered by\ngenomic coordinate (by reference sequence, then position). Reads with\nequivalent genomic coordinates are returned in an unspecified order. This\norder is consistent, such that two queries for the same content (regardless\nof page size) yield reads in the same order across their respective streams\nof paginated responses.\n\nImplements\n[GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).", - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "SearchReadsResponse" - }, - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" - ], - "flatPath": "v1/reads/search", - "id": "genomics.reads.search", - "path": "v1/reads/search" - } - } - }, - "callsets": { + "referencesets": { "methods": { "search": { - "request": { - "$ref": "SearchCallSetsRequest" - }, - "description": "Gets a list of call sets matching the criteria.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).", "response": { - "$ref": "SearchCallSetsResponse" + "$ref": "SearchReferenceSetsResponse" }, "parameterOrder": [], "httpMethod": "POST", @@ -1378,122 +1452,79 @@ "https://www.googleapis.com/auth/genomics", "https://www.googleapis.com/auth/genomics.readonly" ], - "flatPath": "v1/callsets/search", - "path": "v1/callsets/search", - "id": "genomics.callsets.search" - }, - "patch": { - "description": "Updates a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nThis method supports patch semantics.", + "flatPath": "v1/referencesets/search", + "path": "v1/referencesets/search", + "id": "genomics.referencesets.search", "request": { - "$ref": "CallSet" - }, - "response": { - "$ref": "CallSet" - }, - "parameterOrder": [ - "callSetId" - ], - "httpMethod": "PATCH", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "parameters": { - "updateMask": { - "location": "query", - "description": "An optional mask specifying which fields to update. At this time, the only\nmutable field is name. The only\nacceptable value is \"name\". If unspecified, all mutable fields will be\nupdated.", - "format": "google-fieldmask", - "type": "string" - }, - "callSetId": { - "location": "path", - "description": "The ID of the call set to be updated.", - "required": true, - "type": "string" - } + "$ref": "SearchReferenceSetsRequest" }, - "flatPath": "v1/callsets/{callSetId}", - "path": "v1/callsets/{callSetId}", - "id": "genomics.callsets.patch" + "description": "Searches for reference sets which match the given criteria.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)" }, "get": { - "description": "Gets a call set by ID.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "httpMethod": "GET", - "parameterOrder": [ - "callSetId" - ], + "flatPath": "v1/referencesets/{referenceSetId}", + "path": "v1/referencesets/{referenceSetId}", + "id": "genomics.referencesets.get", + "description": "Gets a reference set.\n\nFor the definitions of references and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nImplements\n[GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).", "response": { - "$ref": "CallSet" + "$ref": "ReferenceSet" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics", - "https://www.googleapis.com/auth/genomics.readonly" + "parameterOrder": [ + "referenceSetId" ], + "httpMethod": "GET", "parameters": { - "callSetId": { - "description": "The ID of the call set.", + "referenceSetId": { "required": true, "type": "string", - "location": "path" + "location": "path", + "description": "The ID of the reference set." } }, - "flatPath": "v1/callsets/{callSetId}", - "id": "genomics.callsets.get", - "path": "v1/callsets/{callSetId}" - }, - "create": { - "flatPath": "v1/callsets", - "path": "v1/callsets", - "id": "genomics.callsets.create", - "request": { - "$ref": "CallSet" - }, - "description": "Creates a new call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "response": { - "$ref": "CallSet" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" + "https://www.googleapis.com/auth/genomics", + "https://www.googleapis.com/auth/genomics.readonly" ] - }, - "delete": { - "description": "Deletes a call set.\n\nFor the definitions of call sets and other genomics resources, see\n[Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "callSetId" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "parameters": { - "callSetId": { - "description": "The ID of the call set to be deleted.", - "required": true, - "type": "string", - "location": "path" - } - }, - "flatPath": "v1/callsets/{callSetId}", - "path": "v1/callsets/{callSetId}", - "id": "genomics.callsets.delete" } } } }, "parameters": { + "access_token": { + "type": "string", + "location": "query", + "description": "OAuth access token." + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Pretty-print response." + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string", - "location": "query" + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, "prettyPrint": { "location": "query", @@ -1501,174 +1532,142 @@ "type": "boolean", "default": "true" }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string", - "location": "query" + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." }, - "fields": { + "callback": { "location": "query", - "description": "Selector specifying which fields to include in a partial response.", + "description": "JSONP", "type": "string" }, "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" ] }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "alt": { - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" ], - "type": "string" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, - "quotaUser": { - "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.", "type": "string", - "location": "query" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" + "description": "Data format for response." } }, "schemas": { - "CigarUnit": { - "description": "A single CIGAR operation.", - "type": "object", - "properties": { - "operationLength": { - "description": "The number of genomic bases that the operation runs for. Required.", - "format": "int64", - "type": "string" - }, - "operation": { - "enumDescriptions": [ - "", - "An alignment match indicates that a sequence can be aligned to the\nreference without evidence of an INDEL. Unlike the\n`SEQUENCE_MATCH` and `SEQUENCE_MISMATCH` operators,\nthe `ALIGNMENT_MATCH` operator does not indicate whether the\nreference and read sequences are an exact match. This operator is\nequivalent to SAM's `M`.", - "The insert operator indicates that the read contains evidence of bases\nbeing inserted into the reference. This operator is equivalent to SAM's\n`I`.", - "The delete operator indicates that the read contains evidence of bases\nbeing deleted from the reference. This operator is equivalent to SAM's\n`D`.", - "The skip operator indicates that this read skips a long segment of the\nreference, but the bases have not been deleted. This operator is commonly\nused when working with RNA-seq data, where reads may skip long segments\nof the reference between exons. This operator is equivalent to SAM's\n`N`.", - "The soft clip operator indicates that bases at the start/end of a read\nhave not been considered during alignment. This may occur if the majority\nof a read maps, except for low quality bases at the start/end of a read.\nThis operator is equivalent to SAM's `S`. Bases that are soft\nclipped will still be stored in the read.", - "The hard clip operator indicates that bases at the start/end of a read\nhave been omitted from this alignment. This may occur if this linear\nalignment is part of a chimeric alignment, or if the read has been\ntrimmed (for example, during error correction or to trim poly-A tails for\nRNA-seq). This operator is equivalent to SAM's `H`.", - "The pad operator indicates that there is padding in an alignment. This\noperator is equivalent to SAM's `P`.", - "This operator indicates that this portion of the aligned sequence exactly\nmatches the reference. This operator is equivalent to SAM's `=`.", - "This operator indicates that this portion of the aligned sequence is an\nalignment match to the reference, but a sequence mismatch. This can\nindicate a SNP or a read error. This operator is equivalent to SAM's\n`X`." - ], - "enum": [ - "OPERATION_UNSPECIFIED", - "ALIGNMENT_MATCH", - "INSERT", - "DELETE", - "SKIP", - "CLIP_SOFT", - "CLIP_HARD", - "PAD", - "SEQUENCE_MATCH", - "SEQUENCE_MISMATCH" - ], - "type": "string" - }, - "referenceSequence": { - "description": "`referenceSequence` is only used at mismatches\n(`SEQUENCE_MISMATCH`) and deletions (`DELETE`).\nFilling this field replaces SAM's MD tag. If the relevant information is\nnot available, this field is unset.", - "type": "string" - } - }, - "id": "CigarUnit" - }, "ReferenceSet": { - "description": "A reference set is a set of references which typically comprise a reference\nassembly for a species, such as `GRCh38` which is representative\nof the human genome. A reference set defines a common coordinate space for\ncomparing reference-aligned experimental data. A reference set contains 1 or\nmore references.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "type": "object", "properties": { - "referenceIds": { - "description": "The IDs of the reference objects that are part of this set.\n`Reference.md5checksum` must be unique within this set.", - "type": "array", - "items": { - "type": "string" - } - }, "assemblyId": { - "description": "Public id of this reference set, such as `GRCh37`.", - "type": "string" + "type": "string", + "description": "Public id of this reference set, such as `GRCh37`." }, "md5checksum": { "description": "Order-independent MD5 checksum which identifies this reference set. The\nchecksum is computed by sorting all lower case hexidecimal string\n`reference.md5checksum` (for all reference in this set) in\nascending lexicographic order, concatenating, and taking the MD5 of that\nvalue. The resulting value is represented in lower case hexadecimal format.", "type": "string" }, "id": { - "description": "The server-generated reference set ID, unique across all reference sets.", - "type": "string" + "type": "string", + "description": "The server-generated reference set ID, unique across all reference sets." }, "description": { - "description": "Free text description of this reference set.", - "type": "string" + "type": "string", + "description": "Free text description of this reference set." }, "sourceAccessions": { - "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `NC_000001.11`.", "type": "array", "items": { "type": "string" - } + }, + "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `NC_000001.11`." + }, + "sourceUri": { + "type": "string", + "description": "The URI from which the references were obtained." }, "ncbiTaxonId": { + "type": "integer", "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)\nindicating the species which this reference set is intended to model. Note\nthat contained references may specify a different `ncbiTaxonId`, as\nassemblies may contain reference sequences which do not belong to the\nmodeled species, for example EBV in a human reference genome.", - "format": "int32", - "type": "integer" + "format": "int32" }, - "sourceUri": { - "description": "The URI from which the references were obtained.", + "referenceIds": { + "description": "The IDs of the reference objects that are part of this set.\n`Reference.md5checksum` must be unique within this set.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "ReferenceSet", + "description": "A reference set is a set of references which typically comprise a reference\nassembly for a species, such as `GRCh38` which is representative\nof the human genome. A reference set defines a common coordinate space for\ncomparing reference-aligned experimental data. A reference set contains 1 or\nmore references.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" + }, + "CigarUnit": { + "description": "A single CIGAR operation.", + "type": "object", + "properties": { + "operation": { + "enum": [ + "OPERATION_UNSPECIFIED", + "ALIGNMENT_MATCH", + "INSERT", + "DELETE", + "SKIP", + "CLIP_SOFT", + "CLIP_HARD", + "PAD", + "SEQUENCE_MATCH", + "SEQUENCE_MISMATCH" + ], + "type": "string", + "enumDescriptions": [ + "", + "An alignment match indicates that a sequence can be aligned to the\nreference without evidence of an INDEL. Unlike the\n`SEQUENCE_MATCH` and `SEQUENCE_MISMATCH` operators,\nthe `ALIGNMENT_MATCH` operator does not indicate whether the\nreference and read sequences are an exact match. This operator is\nequivalent to SAM's `M`.", + "The insert operator indicates that the read contains evidence of bases\nbeing inserted into the reference. This operator is equivalent to SAM's\n`I`.", + "The delete operator indicates that the read contains evidence of bases\nbeing deleted from the reference. This operator is equivalent to SAM's\n`D`.", + "The skip operator indicates that this read skips a long segment of the\nreference, but the bases have not been deleted. This operator is commonly\nused when working with RNA-seq data, where reads may skip long segments\nof the reference between exons. This operator is equivalent to SAM's\n`N`.", + "The soft clip operator indicates that bases at the start/end of a read\nhave not been considered during alignment. This may occur if the majority\nof a read maps, except for low quality bases at the start/end of a read.\nThis operator is equivalent to SAM's `S`. Bases that are soft\nclipped will still be stored in the read.", + "The hard clip operator indicates that bases at the start/end of a read\nhave been omitted from this alignment. This may occur if this linear\nalignment is part of a chimeric alignment, or if the read has been\ntrimmed (for example, during error correction or to trim poly-A tails for\nRNA-seq). This operator is equivalent to SAM's `H`.", + "The pad operator indicates that there is padding in an alignment. This\noperator is equivalent to SAM's `P`.", + "This operator indicates that this portion of the aligned sequence exactly\nmatches the reference. This operator is equivalent to SAM's `=`.", + "This operator indicates that this portion of the aligned sequence is an\nalignment match to the reference, but a sequence mismatch. This can\nindicate a SNP or a read error. This operator is equivalent to SAM's\n`X`." + ] + }, + "referenceSequence": { + "type": "string", + "description": "`referenceSequence` is only used at mismatches\n(`SEQUENCE_MISMATCH`) and deletions (`DELETE`).\nFilling this field replaces SAM's MD tag. If the relevant information is\nnot available, this field is unset." + }, + "operationLength": { + "description": "The number of genomic bases that the operation runs for. Required.", + "format": "int64", "type": "string" } }, - "id": "ReferenceSet" + "id": "CigarUnit" }, "Transcript": { - "description": "A transcript represents the assertion that a particular region of the\nreference genome may be transcribed as RNA.", "type": "object", "properties": { "geneId": { @@ -1676,18 +1675,19 @@ "type": "string" }, "exons": { - "description": "The \u003ca href=\"http://en.wikipedia.org/wiki/Exon\"\u003eexons\u003c/a\u003e that compose\nthis transcript. This field should be unset for genomes where transcript\nsplicing does not occur, for example prokaryotes.\n\nIntrons are regions of the transcript that are not included in the\nspliced RNA product. Though not explicitly modeled here, intron ranges can\nbe deduced; all regions of this transcript that are not exons are introns.\n\nExonic sequences do not necessarily code for a translational product\n(amino acids). Only the regions of exons bounded by the\ncodingSequence correspond\nto coding DNA sequence.\n\nExons are ordered by start position and may not overlap.", "type": "array", "items": { "$ref": "Exon" - } + }, + "description": "The \u003ca href=\"http://en.wikipedia.org/wiki/Exon\"\u003eexons\u003c/a\u003e that compose\nthis transcript. This field should be unset for genomes where transcript\nsplicing does not occur, for example prokaryotes.\n\nIntrons are regions of the transcript that are not included in the\nspliced RNA product. Though not explicitly modeled here, intron ranges can\nbe deduced; all regions of this transcript that are not exons are introns.\n\nExonic sequences do not necessarily code for a translational product\n(amino acids). Only the regions of exons bounded by the\ncodingSequence correspond\nto coding DNA sequence.\n\nExons are ordered by start position and may not overlap." }, "codingSequence": { "$ref": "CodingSequence", "description": "The range of the coding sequence for this transcript, if any. To determine\nthe exact ranges of coding sequence, intersect this range with those of the\nexons, if any. If there are any\nexons, the\ncodingSequence must start\nand end within them.\n\nNote that in some cases, the reference genome will not exactly match the\nobserved mRNA transcript e.g. due to variance in the source genome from\nreference. In these cases,\nexon.frame will not necessarily\nmatch the expected reference reading frame and coding exon reference bases\ncannot necessarily be concatenated to produce the original transcript mRNA." } }, - "id": "Transcript" + "id": "Transcript", + "description": "A transcript represents the assertion that a particular region of the\nreference genome may be transcribed as RNA." }, "AnnotationSet": { "description": "An annotation set is a logical grouping of annotations that share consistent\ntype information and provenance. Examples of annotation sets include 'all\ngenes from refseq', and 'all variant annotations from ClinVar'.", @@ -1698,8 +1698,8 @@ "type": "string" }, "sourceUri": { - "description": "The source URI describing the file from which this annotation set was\ngenerated, if any.", - "type": "string" + "type": "string", + "description": "The source URI describing the file from which this annotation set was\ngenerated, if any." }, "name": { "description": "The display name for this annotation set.", @@ -1710,6 +1710,13 @@ "type": "string" }, "type": { + "enum": [ + "ANNOTATION_TYPE_UNSPECIFIED", + "GENERIC", + "VARIANT", + "GENE", + "TRANSCRIPT" + ], "description": "The type of annotations contained within this set.", "type": "string", "enumDescriptions": [ @@ -1718,13 +1725,6 @@ "A `VARIANT` annotation type.", "A `GENE` annotation type represents the existence of a gene at the\nassociated reference coordinates. The start coordinate is typically the\ngene's transcription start site and the end is typically the end of the\ngene's last exon.", "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA." - ], - "enum": [ - "ANNOTATION_TYPE_UNSPECIFIED", - "GENERIC", - "VARIANT", - "GENE", - "TRANSCRIPT" ] }, "info": { @@ -1738,8 +1738,8 @@ "type": "object" }, "id": { - "description": "The server-generated annotation set ID, unique across all annotation sets.", - "type": "string" + "type": "string", + "description": "The server-generated annotation set ID, unique across all annotation sets." } }, "id": "AnnotationSet" @@ -1747,53 +1747,53 @@ "Experiment": { "type": "object", "properties": { - "sequencingCenter": { - "description": "The sequencing center used as part of this experiment.", - "type": "string" - }, "platformUnit": { - "description": "The platform unit used as part of this experiment, for example\nflowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the\n@RG PU field in the SAM spec.", - "type": "string" + "type": "string", + "description": "The platform unit used as part of this experiment, for example\nflowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the\n@RG PU field in the SAM spec." }, "libraryId": { - "description": "A client-supplied library identifier; a library is a collection of DNA\nfragments which have been prepared for sequencing from a sample. This\nfield is important for quality control as error or bias can be introduced\nduring sample preparation.", - "type": "string" + "type": "string", + "description": "A client-supplied library identifier; a library is a collection of DNA\nfragments which have been prepared for sequencing from a sample. This\nfield is important for quality control as error or bias can be introduced\nduring sample preparation." }, "instrumentModel": { "description": "The instrument model used as part of this experiment. This maps to\nsequencing technology in the SAM spec.", "type": "string" + }, + "sequencingCenter": { + "description": "The sequencing center used as part of this experiment.", + "type": "string" } }, "id": "Experiment" }, "ListDatasetsResponse": { - "description": "The dataset list response.", "type": "object", "properties": { "datasets": { - "description": "The list of matching Datasets.", "type": "array", "items": { "$ref": "Dataset" - } + }, + "description": "The list of matching Datasets." }, "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", - "type": "string" + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results." } }, - "id": "ListDatasetsResponse" + "id": "ListDatasetsResponse", + "description": "The dataset list response." }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { - "description": "REQUIRED: The set of permissions to check for the 'resource'.\nPermissions with wildcards (such as '*' or 'storage.*') are not allowed.\nAllowed permissions are:\n\n* `genomics.datasets.create`\n* `genomics.datasets.delete`\n* `genomics.datasets.get`\n* `genomics.datasets.list`\n* `genomics.datasets.update`\n* `genomics.datasets.getIamPolicy`\n* `genomics.datasets.setIamPolicy`", "type": "array", "items": { "type": "string" - } + }, + "description": "REQUIRED: The set of permissions to check for the 'resource'.\nPermissions with wildcards (such as '*' or 'storage.*') are not allowed.\nAllowed permissions are:\n\n* `genomics.datasets.create`\n* `genomics.datasets.delete`\n* `genomics.datasets.get`\n* `genomics.datasets.list`\n* `genomics.datasets.update`\n* `genomics.datasets.getIamPolicy`\n* `genomics.datasets.setIamPolicy`" } }, "id": "TestIamPermissionsRequest" @@ -1803,8 +1803,8 @@ "type": "object", "properties": { "exportUri": { - "description": "Required. A Google Cloud Storage URI for the exported BAM file.\nThe currently authenticated user must have write access to the new file.\nAn error will be returned if the URI already contains data.", - "type": "string" + "type": "string", + "description": "Required. A Google Cloud Storage URI for the exported BAM file.\nThe currently authenticated user must have write access to the new file.\nAn error will be returned if the URI already contains data." }, "referenceNames": { "description": "The reference names to export. If this is not specified, all reference\nsequences, including unmapped reads, are exported.\nUse `*` to export only unmapped reads.", @@ -1823,20 +1823,20 @@ "Exon": { "type": "object", "properties": { + "start": { + "type": "string", + "description": "The start position of the exon on this annotation's reference sequence,\n0-based inclusive. Note that this is relative to the reference start, and\n**not** the containing annotation start.", + "format": "int64" + }, "end": { "description": "The end position of the exon on this annotation's reference sequence,\n0-based exclusive. Note that this is relative to the reference start, and\n*not* the containing annotation start.", "format": "int64", "type": "string" }, "frame": { + "type": "integer", "description": "The frame of this exon. Contains a value of 0, 1, or 2, which indicates\nthe offset of the first coding base of the exon within the reading frame\nof the coding DNA sequence, if any. This field is dependent on the\nstrandedness of this annotation (see\nAnnotation.reverse_strand).\nFor forward stranded annotations, this offset is relative to the\nexon.start. For reverse\nstrand annotations, this offset is relative to the\nexon.end `- 1`.\n\nUnset if this exon does not intersect the coding sequence. Upon creation\nof a transcript, the frame must be populated for all or none of the\ncoding exons.", - "format": "int32", - "type": "integer" - }, - "start": { - "description": "The start position of the exon on this annotation's reference sequence,\n0-based inclusive. Note that this is relative to the reference start, and\n**not** the containing annotation start.", - "format": "int64", - "type": "string" + "format": "int32" } }, "id": "Exon" @@ -1845,38 +1845,38 @@ "description": "A call set is a collection of variant calls, typically for one sample. It\nbelongs to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "type": "object", "properties": { - "created": { - "description": "The date this call set was created in milliseconds from the epoch.", - "format": "int64", - "type": "string" - }, "sampleId": { "description": "The sample ID this call set corresponds to.", "type": "string" }, "name": { - "description": "The call set name.", - "type": "string" + "type": "string", + "description": "The call set name." }, "info": { - "description": "A map of additional call set information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object", "additionalProperties": { "type": "array", "items": { "type": "any" } - } + }, + "description": "A map of additional call set information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", + "type": "object" }, "variantSetIds": { - "description": "The IDs of the variant sets this call set belongs to. This field must\nhave exactly length one, as a call set belongs to a single variant set.\nThis field is repeated for compatibility with the\n[GA4GH 0.5.1\nAPI](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).", "type": "array", "items": { "type": "string" - } + }, + "description": "The IDs of the variant sets this call set belongs to. This field must\nhave exactly length one, as a call set belongs to a single variant set.\nThis field is repeated for compatibility with the\n[GA4GH 0.5.1\nAPI](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76)." }, "id": { - "description": "The server-generated call set ID, unique across all call sets.", + "type": "string", + "description": "The server-generated call set ID, unique across all call sets." + }, + "created": { + "description": "The date this call set was created in milliseconds from the epoch.", + "format": "int64", "type": "string" } }, @@ -1886,15 +1886,15 @@ "type": "object", "properties": { "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", - "type": "string" + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results." }, "annotationSets": { - "description": "The matching annotation sets.", "type": "array", "items": { "$ref": "AnnotationSet" - } + }, + "description": "The matching annotation sets." } }, "id": "SearchAnnotationSetsResponse" @@ -1904,7 +1904,6 @@ "type": "object", "properties": { "infoMergeConfig": { - "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them. This is plumbed down to the MergeVariantRequests\ngenerated by the resulting import job.", "type": "object", "additionalProperties": { "enum": [ @@ -1913,7 +1912,8 @@ "MOVE_TO_CALLS" ], "type": "string" - } + }, + "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them. This is plumbed down to the MergeVariantRequests\ngenerated by the resulting import job." }, "variantSetId": { "description": "Required. The variant set to which variant data should be imported.", @@ -1931,18 +1931,18 @@ "type": "boolean" }, "format": { - "enumDescriptions": [ - "", - "VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is\nalso supported. Disclaimer: gzip VCF imports are currently much slower\nthan equivalent uncompressed VCF imports. For this reason, uncompressed\nVCF is currently recommended for imports with more than 1GB combined\nuncompressed size, or for time sensitive imports.", - "Complete Genomics masterVarBeta format. The masterVarBeta files may\nbe bzip2 compressed." - ], "enum": [ "FORMAT_UNSPECIFIED", "FORMAT_VCF", "FORMAT_COMPLETE_GENOMICS" ], "description": "The format of the variant data being imported. If unspecified, defaults to\nto `VCF`.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "", + "VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is\nalso supported. Disclaimer: gzip VCF imports are currently much slower\nthan equivalent uncompressed VCF imports. For this reason, uncompressed\nVCF is currently recommended for imports with more than 1GB combined\nuncompressed size, or for time sensitive imports.", + "Complete Genomics masterVarBeta format. The masterVarBeta files may\nbe bzip2 compressed." + ] } }, "id": "ImportVariantsRequest" @@ -1962,9 +1962,9 @@ "type": "string" }, "bucketWidth": { + "type": "string", "description": "The length of each coverage bucket in base pairs. Note that buckets at the\nend of a reference sequence may be shorter. This value is omitted if the\nbucket width is infinity (the default behaviour, with no range or\n`targetBucketWidth`).", - "format": "int64", - "type": "string" + "format": "int64" } }, "id": "ListCoverageBucketsResponse" @@ -1973,10 +1973,26 @@ "type": "object", "properties": { "geneId": { - "description": "Google annotation ID of the gene affected by this variant. This should\nbe provided when the variant is created.", - "type": "string" + "type": "string", + "description": "Google annotation ID of the gene affected by this variant. This should\nbe provided when the variant is created." }, "clinicalSignificance": { + "enum": [ + "CLINICAL_SIGNIFICANCE_UNSPECIFIED", + "CLINICAL_SIGNIFICANCE_OTHER", + "UNCERTAIN", + "BENIGN", + "LIKELY_BENIGN", + "LIKELY_PATHOGENIC", + "PATHOGENIC", + "DRUG_RESPONSE", + "HISTOCOMPATIBILITY", + "CONFERS_SENSITIVITY", + "RISK_FACTOR", + "ASSOCIATION", + "PROTECTIVE", + "MULTIPLE_REPORTED" + ], "description": "Describes the clinical significance of a variant.\nIt is adapted from the ClinVar controlled vocabulary for clinical\nsignificance described at:\nhttp://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/", "type": "string", "enumDescriptions": [ @@ -1994,33 +2010,16 @@ "", "", "`MULTIPLE_REPORTED` should be used when multiple clinical\nsignficances are reported for a variant. The original clinical\nsignificance values may be provided in the `info` field." - ], - "enum": [ - "CLINICAL_SIGNIFICANCE_UNSPECIFIED", - "CLINICAL_SIGNIFICANCE_OTHER", - "UNCERTAIN", - "BENIGN", - "LIKELY_BENIGN", - "LIKELY_PATHOGENIC", - "PATHOGENIC", - "DRUG_RESPONSE", - "HISTOCOMPATIBILITY", - "CONFERS_SENSITIVITY", - "RISK_FACTOR", - "ASSOCIATION", - "PROTECTIVE", - "MULTIPLE_REPORTED" ] }, "conditions": { - "description": "The set of conditions associated with this variant.\nA condition describes the way a variant influences human health.", "type": "array", "items": { "$ref": "ClinicalCondition" - } + }, + "description": "The set of conditions associated with this variant.\nA condition describes the way a variant influences human health." }, "effect": { - "description": "Effect of the variant on the coding sequence.", "type": "string", "enumDescriptions": [ "", @@ -2043,7 +2042,8 @@ "STOP_GAIN", "STOP_LOSS", "SPLICE_SITE_DISRUPTION" - ] + ], + "description": "Effect of the variant on the coding sequence." }, "transcriptIds": { "description": "Google annotation IDs of the transcripts affected by this variant. These\nshould be provided when the variant is created.", @@ -2053,6 +2053,7 @@ } }, "type": { + "type": "string", "enumDescriptions": [ "", "`TYPE_OTHER` should be used when no other Type will suffice.\nFurther explanation of the variant type may be included in the\ninfo field.", @@ -2073,8 +2074,7 @@ "STRUCTURAL", "CNV" ], - "description": "Type has been adapted from ClinVar's list of variant types.", - "type": "string" + "description": "Type has been adapted from ClinVar's list of variant types." }, "alternateBases": { "description": "The alternate allele for this variant. If multiple alternate alleles\nexist at this location, create a separate variant for each one, as they\nmay represent distinct conditions.", @@ -2088,7 +2088,6 @@ "type": "object", "properties": { "format": { - "description": "The format for the exported data.", "type": "string", "enumDescriptions": [ "", @@ -2097,15 +2096,16 @@ "enum": [ "FORMAT_UNSPECIFIED", "FORMAT_BIGQUERY" - ] + ], + "description": "The format for the exported data." }, "bigqueryDataset": { "description": "Required. The BigQuery dataset to export data to. This dataset must already\nexist. Note that this is distinct from the Genomics concept of \"dataset\".", "type": "string" }, "bigqueryTable": { - "description": "Required. The BigQuery table to export data to.\nIf the table doesn't exist, it will be created. If it already exists, it\nwill be overwritten.", - "type": "string" + "type": "string", + "description": "Required. The BigQuery table to export data to.\nIf the table doesn't exist, it will be created. If it already exists, it\nwill be overwritten." }, "callSetIds": { "description": "If provided, only variant call information from the specified call sets\nwill be exported. By default all variant calls are exported.", @@ -2115,8 +2115,8 @@ } }, "projectId": { - "description": "Required. The Google Cloud project ID that owns the destination\nBigQuery dataset. The caller must have WRITE access to this project. This\nproject will also own the resulting export job.", - "type": "string" + "type": "string", + "description": "Required. The Google Cloud project ID that owns the destination\nBigQuery dataset. The caller must have WRITE access to this project. This\nproject will also own the resulting export job." } }, "id": "ExportVariantSetRequest" @@ -2124,28 +2124,19 @@ "SearchAnnotationsRequest": { "type": "object", "properties": { - "referenceId": { - "description": "The ID of the reference to query.", - "type": "string" - }, - "end": { - "description": "The end position of the range on the reference, 0-based exclusive. If\nreferenceId or\nreferenceName\nmust be specified, Defaults to the length of the reference.", - "format": "int64", - "type": "string" - }, "pageToken": { "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", "type": "string" }, "pageSize": { + "type": "integer", "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.", - "format": "int32", - "type": "integer" + "format": "int32" }, "start": { + "type": "string", "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified,\nreferenceId or\nreferenceName\nmust be specified. Defaults to 0.", - "format": "int64", - "type": "string" + "format": "int64" }, "annotationSetIds": { "description": "Required. The annotation sets to search within. The caller must have\n`READ` access to these annotation sets.\nAll queried annotation sets must have the same type.", @@ -2157,18 +2148,22 @@ "referenceName": { "description": "The name of the reference to query, within the reference set associated\nwith this query.", "type": "string" + }, + "referenceId": { + "type": "string", + "description": "The ID of the reference to query." + }, + "end": { + "description": "The end position of the range on the reference, 0-based exclusive. If\nreferenceId or\nreferenceName\nmust be specified, Defaults to the length of the reference.", + "format": "int64", + "type": "string" } }, "id": "SearchAnnotationsRequest" }, "OperationEvent": { - "description": "An event that occurred during an Operation.", "type": "object", "properties": { - "description": { - "description": "Required description of event.", - "type": "string" - }, "endTime": { "description": "Optional time of when event finished. An event can have a start time and no\nfinish time. If an event has a finish time, there must be a start time.", "format": "google-datetime", @@ -2178,9 +2173,14 @@ "description": "Optional time of when event started.", "format": "google-datetime", "type": "string" + }, + "description": { + "description": "Required description of event.", + "type": "string" } }, - "id": "OperationEvent" + "id": "OperationEvent", + "description": "An event that occurred during an Operation." }, "CodingSequence": { "type": "object", @@ -2191,32 +2191,32 @@ "type": "string" }, "end": { + "type": "string", "description": "The end of the coding sequence on this annotation's reference sequence,\n0-based exclusive. Note that this position is relative to the reference\nstart, and *not* the containing annotation start.", - "format": "int64", - "type": "string" + "format": "int64" } }, "id": "CodingSequence" }, "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", "type": "array", "items": { "type": "string" - } + }, + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed." } }, - "id": "TestIamPermissionsResponse" + "id": "TestIamPermissionsResponse", + "description": "Response message for `TestIamPermissions` method." }, "GetIamPolicyRequest": { - "description": "Request message for `GetIamPolicy` method.", "type": "object", "properties": {}, - "id": "GetIamPolicyRequest" + "id": "GetIamPolicyRequest", + "description": "Request message for `GetIamPolicy` method." }, "SearchReferencesResponse": { "type": "object", @@ -2238,18 +2238,14 @@ "SearchAnnotationSetsRequest": { "type": "object", "properties": { - "referenceSetId": { - "description": "If specified, only annotation sets associated with the given reference set\nare returned.", - "type": "string" - }, "pageToken": { "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", "type": "string" }, "pageSize": { + "type": "integer", "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 128. The maximum value is 1024.", - "format": "int32", - "type": "integer" + "format": "int32" }, "datasetIds": { "description": "Required. The dataset IDs to search within. Caller must have `READ` access\nto these datasets.", @@ -2280,14 +2276,17 @@ ] }, "name": { - "description": "Only return annotations sets for which a substring of the name matches this\nstring (case insensitive).", - "type": "string" + "type": "string", + "description": "Only return annotations sets for which a substring of the name matches this\nstring (case insensitive)." + }, + "referenceSetId": { + "type": "string", + "description": "If specified, only annotation sets associated with the given reference set\nare returned." } }, "id": "SearchAnnotationSetsRequest" }, "SearchReadGroupSetsResponse": { - "description": "The read group set search response.", "type": "object", "properties": { "nextPageToken": { @@ -2295,50 +2294,19 @@ "type": "string" }, "readGroupSets": { - "description": "The list of matching read group sets.", "type": "array", "items": { "$ref": "ReadGroupSet" - } - } - }, - "id": "SearchReadGroupSetsResponse" - }, - "LinearAlignment": { - "description": "A linear alignment can be represented by one CIGAR string. Describes the\nmapped position and local alignment of the read to the reference.", - "type": "object", - "properties": { - "position": { - "description": "The position of this alignment.", - "$ref": "Position" - }, - "cigar": { - "description": "Represents the local alignment of this sequence (alignment matches, indels,\netc) against the reference.", - "type": "array", - "items": { - "$ref": "CigarUnit" - } - }, - "mappingQuality": { - "description": "The mapping quality of this alignment. Represents how likely\nthe read maps to this position as opposed to other locations.\n\nSpecifically, this is -10 log10 Pr(mapping position is wrong), rounded to\nthe nearest integer.", - "format": "int32", - "type": "integer" + }, + "description": "The list of matching read group sets." } }, - "id": "LinearAlignment" + "id": "SearchReadGroupSetsResponse", + "description": "The read group set search response." }, "SearchReferencesRequest": { "type": "object", "properties": { - "referenceSetId": { - "description": "If present, return only references which belong to this reference set.", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.", - "format": "int32", - "type": "integer" - }, "md5checksums": { "description": "If present, return references for which the\nmd5checksum matches exactly.", "type": "array", @@ -2354,35 +2322,67 @@ } }, "pageToken": { - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", - "type": "string" + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response." + }, + "referenceSetId": { + "type": "string", + "description": "If present, return only references which belong to this reference set." + }, + "pageSize": { + "type": "integer", + "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.", + "format": "int32" } }, "id": "SearchReferencesRequest" }, - "Dataset": { - "description": "A Dataset is a collection of genomic data.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "LinearAlignment": { + "description": "A linear alignment can be represented by one CIGAR string. Describes the\nmapped position and local alignment of the read to the reference.", "type": "object", "properties": { - "createTime": { - "description": "The time this dataset was created, in seconds from the epoch.", - "format": "google-datetime", - "type": "string" + "position": { + "$ref": "Position", + "description": "The position of this alignment." + }, + "cigar": { + "type": "array", + "items": { + "$ref": "CigarUnit" + }, + "description": "Represents the local alignment of this sequence (alignment matches, indels,\netc) against the reference." }, + "mappingQuality": { + "type": "integer", + "description": "The mapping quality of this alignment. Represents how likely\nthe read maps to this position as opposed to other locations.\n\nSpecifically, this is -10 log10 Pr(mapping position is wrong), rounded to\nthe nearest integer.", + "format": "int32" + } + }, + "id": "LinearAlignment" + }, + "Dataset": { + "type": "object", + "properties": { "name": { - "description": "The dataset name.", - "type": "string" + "type": "string", + "description": "The dataset name." }, "projectId": { - "description": "The Google Cloud project ID that this dataset belongs to.", - "type": "string" + "type": "string", + "description": "The Google Cloud project ID that this dataset belongs to." }, "id": { "description": "The server-generated dataset ID, unique across all datasets.", "type": "string" + }, + "createTime": { + "description": "The time this dataset was created, in seconds from the epoch.", + "format": "google-datetime", + "type": "string" } }, - "id": "Dataset" + "id": "Dataset", + "description": "A Dataset is a collection of genomic data.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" }, "ImportVariantsResponse": { "description": "The variant data import response.", @@ -2399,9 +2399,34 @@ "id": "ImportVariantsResponse" }, "ReadGroup": { - "description": "A read group is all the data that's processed the same way by the sequencer.", "type": "object", "properties": { + "info": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "any" + } + }, + "description": "A map of additional read group information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values)." + }, + "id": { + "type": "string", + "description": "The server-generated read group ID, unique for all read groups.\nNote: This is different than the @RG ID field in the SAM spec. For that\nvalue, see name." + }, + "programs": { + "type": "array", + "items": { + "$ref": "Program" + }, + "description": "The programs used to generate this read group. Programs are always\nidentical for all read groups within a read group set. For this reason,\nonly the first read group in a returned set will have this field\npopulated." + }, + "predictedInsertSize": { + "type": "integer", + "description": "The predicted insert size of this read group. The insert size is the length\nthe sequenced DNA fragment from end-to-end, not including the adapters.", + "format": "int32" + }, "description": { "description": "A free-form text description of this read group.", "type": "string" @@ -2415,53 +2440,28 @@ "type": "string" }, "experiment": { - "description": "The experiment used to generate this read group.", - "$ref": "Experiment" + "$ref": "Experiment", + "description": "The experiment used to generate this read group." }, "name": { - "description": "The read group name. This corresponds to the @RG ID field in the SAM spec.", - "type": "string" + "type": "string", + "description": "The read group name. This corresponds to the @RG ID field in the SAM spec." }, "referenceSetId": { "description": "The reference set the reads in this read group are aligned to.", "type": "string" - }, - "info": { - "additionalProperties": { - "type": "array", - "items": { - "type": "any" - } - }, - "description": "A map of additional read group information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object" - }, - "id": { - "description": "The server-generated read group ID, unique for all read groups.\nNote: This is different than the @RG ID field in the SAM spec. For that\nvalue, see name.", - "type": "string" - }, - "predictedInsertSize": { - "description": "The predicted insert size of this read group. The insert size is the length\nthe sequenced DNA fragment from end-to-end, not including the adapters.", - "format": "int32", - "type": "integer" - }, - "programs": { - "description": "The programs used to generate this read group. Programs are always\nidentical for all read groups within a read group set. For this reason,\nonly the first read group in a returned set will have this field\npopulated.", - "type": "array", - "items": { - "$ref": "Program" - } } }, - "id": "ReadGroup" + "id": "ReadGroup", + "description": "A read group is all the data that's processed the same way by the sequencer." }, "ReadGroupSet": { "description": "A read group set is a logical collection of read groups, which are\ncollections of reads produced by a sequencer. A read group set typically\nmodels reads corresponding to one sample, sequenced one way, and aligned one\nway.\n\n* A read group set belongs to one dataset.\n* A read group belongs to one read group set.\n* A read belongs to one read group.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", "type": "object", "properties": { "datasetId": { - "description": "The dataset to which this read group set belongs.", - "type": "string" + "type": "string", + "description": "The dataset to which this read group set belongs." }, "readGroups": { "description": "The read groups in this set. There are typically 1-10 read groups in a read\ngroup set.", @@ -2471,26 +2471,26 @@ } }, "filename": { - "description": "The filename of the original source file for this read group set, if any.", - "type": "string" + "type": "string", + "description": "The filename of the original source file for this read group set, if any." }, "name": { - "description": "The read group set name. By default this will be initialized to the sample\nname of the sequenced data contained in this set.", - "type": "string" + "type": "string", + "description": "The read group set name. By default this will be initialized to the sample\nname of the sequenced data contained in this set." }, "referenceSetId": { - "description": "The reference set to which the reads in this read group set are aligned.", - "type": "string" + "type": "string", + "description": "The reference set to which the reads in this read group set are aligned." }, "info": { - "description": "A map of additional read group set information.", "type": "object", "additionalProperties": { "type": "array", "items": { "type": "any" } - } + }, + "description": "A map of additional read group set information." }, "id": { "description": "The server-generated read group set ID, unique for all read group sets.", @@ -2503,25 +2503,25 @@ "description": "The search variant sets response.", "type": "object", "properties": { + "nextPageToken": { + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results." + }, "variantSets": { - "description": "The variant sets belonging to the requested dataset.", "type": "array", "items": { "$ref": "VariantSet" - } - }, - "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", - "type": "string" + }, + "description": "The variant sets belonging to the requested dataset." } }, "id": "SearchVariantSetsResponse" }, "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", "properties": {}, - "id": "Empty" + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." }, "Entry": { "type": "object", @@ -2547,12 +2547,12 @@ "type": "string" }, "referenceName": { - "description": "The name of the reference in whatever reference set is being used.", - "type": "string" + "type": "string", + "description": "The name of the reference in whatever reference set is being used." }, "reverseStrand": { - "description": "Whether this position is on the reverse strand, as opposed to the forward\nstrand.", - "type": "boolean" + "type": "boolean", + "description": "Whether this position is on the reverse strand, as opposed to the forward\nstrand." } }, "id": "Position" @@ -2560,93 +2560,92 @@ "SearchReferenceSetsResponse": { "type": "object", "properties": { + "nextPageToken": { + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results." + }, "referenceSets": { - "description": "The matching references sets.", "type": "array", "items": { - "$ref": "ReferenceSet" - } - }, - "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", - "type": "string" + "$ref": "ReferenceSet" + }, + "description": "The matching references sets." } }, "id": "SearchReferenceSetsResponse" }, "SearchCallSetsRequest": { - "description": "The call set search request.", "type": "object", "properties": { + "variantSetIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Restrict the query to call sets within the given variant sets. At least one\nID must be provided." + }, "name": { "description": "Only return call sets for which a substring of the name matches this\nstring.", "type": "string" }, "pageToken": { - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", - "type": "string" + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response." }, "pageSize": { "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.", "format": "int32", "type": "integer" - }, - "variantSetIds": { - "description": "Restrict the query to call sets within the given variant sets. At least one\nID must be provided.", - "type": "array", - "items": { - "type": "string" - } } }, - "id": "SearchCallSetsRequest" + "id": "SearchCallSetsRequest", + "description": "The call set search request." }, "ImportReadGroupSetsRequest": { - "description": "The read group set import request.", "type": "object", "properties": { - "referenceSetId": { - "description": "The reference set to which the imported read group sets are aligned to, if\nany. The reference names of this reference set must be a superset of those\nfound in the imported file headers. If no reference set id is provided, a\nbest effort is made to associate with a matching reference set.", - "type": "string" - }, "partitionStrategy": { + "enum": [ + "PARTITION_STRATEGY_UNSPECIFIED", + "PER_FILE_PER_SAMPLE", + "MERGE_ALL" + ], "description": "The partition strategy describes how read groups are partitioned into read\ngroup sets.", "type": "string", "enumDescriptions": [ "", "In most cases, this strategy yields one read group set per file. This is\nthe default behavior.\n\nAllocate one read group set per file per sample. For BAM files, read\ngroups are considered to share a sample if they have identical sample\nnames. Furthermore, all reads for each file which do not belong to a read\ngroup, if any, will be grouped into a single read group set per-file.", "Includes all read groups in all imported files into a single read group\nset. Requires that the headers for all imported files are equivalent. All\nreads which do not belong to a read group, if any, will be grouped into a\nseparate read group set." - ], - "enum": [ - "PARTITION_STRATEGY_UNSPECIFIED", - "PER_FILE_PER_SAMPLE", - "MERGE_ALL" ] }, "datasetId": { - "description": "Required. The ID of the dataset these read group sets will belong to. The\ncaller must have WRITE permissions to this dataset.", - "type": "string" + "type": "string", + "description": "Required. The ID of the dataset these read group sets will belong to. The\ncaller must have WRITE permissions to this dataset." }, "sourceUris": { - "description": "A list of URIs pointing at [BAM\nfiles](https://samtools.github.io/hts-specs/SAMv1.pdf)\nin Google Cloud Storage.\nThose URIs can include wildcards (*), but do not add or remove\nmatching files before import has completed.\n\nNote that Google Cloud Storage object listing is only eventually\nconsistent: files added may be not be immediately visible to\neveryone. Thus, if using a wildcard it is preferable not to start\nthe import immediately after the files are created.", "type": "array", "items": { "type": "string" - } + }, + "description": "A list of URIs pointing at [BAM\nfiles](https://samtools.github.io/hts-specs/SAMv1.pdf)\nin Google Cloud Storage.\nThose URIs can include wildcards (*), but do not add or remove\nmatching files before import has completed.\n\nNote that Google Cloud Storage object listing is only eventually\nconsistent: files added may be not be immediately visible to\neveryone. Thus, if using a wildcard it is preferable not to start\nthe import immediately after the files are created." + }, + "referenceSetId": { + "type": "string", + "description": "The reference set to which the imported read group sets are aligned to, if\nany. The reference names of this reference set must be a superset of those\nfound in the imported file headers. If no reference set id is provided, a\nbest effort is made to associate with a matching reference set." } }, - "id": "ImportReadGroupSetsRequest" + "id": "ImportReadGroupSetsRequest", + "description": "The read group set import request." }, "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", "type": "object", "properties": { "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", "type": "array", "items": { "$ref": "Binding" - } + }, + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error." }, "etag": { "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", @@ -2659,62 +2658,45 @@ "type": "integer" } }, - "id": "Policy" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "type": "object", - "properties": {}, - "id": "CancelOperationRequest" + "id": "Policy", + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam)." }, - "SearchReadsRequest": { - "description": "The read search request.", + "Annotation": { + "description": "An annotation describes a region of reference genome. The value of an\nannotation may be one of several canonical types, supplemented by arbitrary\ninfo tags. An annotation is not inherently associated with a specific\nsample or individual (though a client could choose to use annotations in\nthis way). Example canonical annotation types are `GENE` and\n`VARIANT`.", "type": "object", "properties": { - "pageSize": { - "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.", - "format": "int32", - "type": "integer" - }, - "start": { - "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified.", - "format": "int64", - "type": "string" - }, "referenceName": { - "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to\n`*`, only unmapped reads are returned. If unspecified, all reads (mapped\nand unmapped) are returned.", + "description": "The display name corresponding to the reference specified by\n`referenceId`, for example `chr1`, `1`, or `chrX`.", "type": "string" }, - "readGroupSetIds": { - "description": "The IDs of the read groups sets within which to search for reads. All\nspecified read group sets must be aligned against a common set of reference\nsequences; this defines the genomic coordinates for the query. Must specify\none of `readGroupSetIds` or `readGroupIds`.", - "type": "array", - "items": { - "type": "string" - } - }, - "readGroupIds": { - "description": "The IDs of the read groups within which to search for reads. All specified\nread groups must belong to the same read group sets. Must specify one of\n`readGroupSetIds` or `readGroupIds`.", - "type": "array", - "items": { - "type": "string" - } + "type": { + "type": "string", + "enumDescriptions": [ + "", + "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.", + "A `VARIANT` annotation type.", + "A `GENE` annotation type represents the existence of a gene at the\nassociated reference coordinates. The start coordinate is typically the\ngene's transcription start site and the end is typically the end of the\ngene's last exon.", + "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA." + ], + "enum": [ + "ANNOTATION_TYPE_UNSPECIFIED", + "GENERIC", + "VARIANT", + "GENE", + "TRANSCRIPT" + ], + "description": "The data type for this annotation. Must match the containing annotation\nset's type." }, - "end": { - "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified.", - "format": "int64", - "type": "string" + "info": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "any" + } + }, + "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values)." }, - "pageToken": { - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", - "type": "string" - } - }, - "id": "SearchReadsRequest" - }, - "Annotation": { - "description": "An annotation describes a region of reference genome. The value of an\nannotation may be one of several canonical types, supplemented by arbitrary\ninfo tags. An annotation is not inherently associated with a specific\nsample or individual (though a client could choose to use annotations in\nthis way). Example canonical annotation types are `GENE` and\n`VARIANT`.", - "type": "object", - "properties": { "end": { "description": "The end position of the range on the reference, 0-based exclusive.", "format": "int64", @@ -2730,186 +2712,204 @@ "type": "string" }, "annotationSetId": { - "description": "The annotation set to which this annotation belongs.", - "type": "string" + "type": "string", + "description": "The annotation set to which this annotation belongs." }, "name": { - "description": "The display name of this annotation.", - "type": "string" + "type": "string", + "description": "The display name of this annotation." }, "variant": { - "description": "A variant annotation, which describes the effect of a variant on the\ngenome, the coding sequence, and/or higher level consequences at the\norganism level e.g. pathogenicity. This field is only set for annotations\nof type `VARIANT`.", - "$ref": "VariantAnnotation" + "$ref": "VariantAnnotation", + "description": "A variant annotation, which describes the effect of a variant on the\ngenome, the coding sequence, and/or higher level consequences at the\norganism level e.g. pathogenicity. This field is only set for annotations\nof type `VARIANT`." + }, + "id": { + "description": "The server-generated annotation ID, unique across all annotations.", + "type": "string" }, "referenceId": { "description": "The ID of the Google Genomics reference associated with this range.", "type": "string" }, - "id": { - "description": "The server-generated annotation ID, unique across all annotations.", + "reverseStrand": { + "type": "boolean", + "description": "Whether this range refers to the reverse strand, as opposed to the forward\nstrand. Note that regardless of this field, the start/end position of the\nrange always refer to the forward strand." + } + }, + "id": "Annotation" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "type": "object", + "properties": {}, + "id": "CancelOperationRequest" + }, + "SearchReadsRequest": { + "type": "object", + "properties": { + "readGroupIds": { + "description": "The IDs of the read groups within which to search for reads. All specified\nread groups must belong to the same read group sets. Must specify one of\n`readGroupSetIds` or `readGroupIds`.", + "type": "array", + "items": { + "type": "string" + } + }, + "end": { + "description": "The end position of the range on the reference, 0-based exclusive. If\nspecified, `referenceName` must also be specified.", + "format": "int64", "type": "string" }, - "reverseStrand": { - "description": "Whether this range refers to the reverse strand, as opposed to the forward\nstrand. Note that regardless of this field, the start/end position of the\nrange always refer to the forward strand.", - "type": "boolean" + "pageToken": { + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response." + }, + "pageSize": { + "type": "integer", + "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 256. The maximum value is 2048.", + "format": "int32" + }, + "start": { + "type": "string", + "description": "The start position of the range on the reference, 0-based inclusive. If\nspecified, `referenceName` must also be specified.", + "format": "int64" }, "referenceName": { - "description": "The display name corresponding to the reference specified by\n`referenceId`, for example `chr1`, `1`, or `chrX`.", - "type": "string" + "type": "string", + "description": "The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to\n`*`, only unmapped reads are returned. If unspecified, all reads (mapped\nand unmapped) are returned." }, - "info": { - "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "any" - } + "readGroupSetIds": { + "description": "The IDs of the read groups sets within which to search for reads. All\nspecified read group sets must be aligned against a common set of reference\nsequences; this defines the genomic coordinates for the query. Must specify\none of `readGroupSetIds` or `readGroupIds`.", + "type": "array", + "items": { + "type": "string" } - }, - "type": { - "enumDescriptions": [ - "", - "A `GENERIC` annotation type should be used when no other annotation\ntype will suffice. This represents an untyped annotation of the reference\ngenome.", - "A `VARIANT` annotation type.", - "A `GENE` annotation type represents the existence of a gene at the\nassociated reference coordinates. The start coordinate is typically the\ngene's transcription start site and the end is typically the end of the\ngene's last exon.", - "A `TRANSCRIPT` annotation type represents the assertion that a\nparticular region of the reference genome may be transcribed as RNA." - ], - "enum": [ - "ANNOTATION_TYPE_UNSPECIFIED", - "GENERIC", - "VARIANT", - "GENE", - "TRANSCRIPT" - ], - "description": "The data type for this annotation. Must match the containing annotation\nset's type.", - "type": "string" } }, - "id": "Annotation" + "id": "SearchReadsRequest", + "description": "The read search request." + }, + "RuntimeMetadata": { + "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.", + "type": "object", + "properties": { + "computeEngine": { + "$ref": "ComputeEngine", + "description": "Execution information specific to Google Compute Engine." + } + }, + "id": "RuntimeMetadata" }, "Operation": { "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, "response": { "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." }, "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For pipelines and exports, an empty response is returned.", "type": "object" }, "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", - "type": "string" + "type": "string", + "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`" }, "error": { "$ref": "Status", "description": "The error result of the operation in case of failure or cancellation." }, "metadata": { - "description": "An OperationMetadata object. This will always be returned with the Operation.", "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" - } + }, + "description": "An OperationMetadata object. This will always be returned with the Operation." + }, + "done": { + "type": "boolean", + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable." } }, "id": "Operation" }, - "RuntimeMetadata": { - "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.", - "type": "object", - "properties": { - "computeEngine": { - "description": "Execution information specific to Google Compute Engine.", - "$ref": "ComputeEngine" - } - }, - "id": "RuntimeMetadata" - }, "ImportReadGroupSetsResponse": { - "description": "The read group set import response.", "type": "object", "properties": { "readGroupSetIds": { - "description": "IDs of the read group sets that were created.", "type": "array", "items": { "type": "string" - } + }, + "description": "IDs of the read group sets that were created." } }, - "id": "ImportReadGroupSetsResponse" + "id": "ImportReadGroupSetsResponse", + "description": "The read group set import response." }, "VariantCall": { "description": "A call represents the determination of genotype with respect to a particular\nvariant. It may include associated information such as quality and phasing.\nFor example, a call might assign a probability of 0.32 to the occurrence of\na SNP named rs1234 in a call set with the name NA12345.", "type": "object", "properties": { - "info": { - "description": "A map of additional variant call information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "any" - } - } - }, - "callSetName": { - "description": "The name of the call set this variant call belongs to.", - "type": "string" - }, "genotypeLikelihood": { "description": "The genotype likelihoods for this variant call. Each array entry\nrepresents how likely a specific genotype is for this call. The value\nordering is defined by the GL tag in the VCF spec.\nIf Phred-scaled genotype likelihood scores (PL) are available and\nlog10(P) genotype likelihood scores (GL) are not, PL scores are converted\nto GL scores. If both are available, PL scores are stored in `info`.", "type": "array", "items": { - "format": "double", - "type": "number" + "type": "number", + "format": "double" } }, "callSetId": { - "description": "The ID of the call set this variant call belongs to.", - "type": "string" + "type": "string", + "description": "The ID of the call set this variant call belongs to." }, "genotype": { - "description": "The genotype of this variant call. Each value represents either the value\nof the `referenceBases` field or a 1-based index into\n`alternateBases`. If a variant had a `referenceBases`\nvalue of `T` and an `alternateBases`\nvalue of `[\"A\", \"C\"]`, and the `genotype` was\n`[2, 1]`, that would mean the call\nrepresented the heterozygous value `CA` for this variant.\nIf the `genotype` was instead `[0, 1]`, the\nrepresented value would be `TA`. Ordering of the\ngenotype values is important if the `phaseset` is present.\nIf a genotype is not called (that is, a `.` is present in the\nGT string) -1 is returned.", "type": "array", "items": { - "format": "int32", - "type": "integer" - } + "type": "integer", + "format": "int32" + }, + "description": "The genotype of this variant call. Each value represents either the value\nof the `referenceBases` field or a 1-based index into\n`alternateBases`. If a variant had a `referenceBases`\nvalue of `T` and an `alternateBases`\nvalue of `[\"A\", \"C\"]`, and the `genotype` was\n`[2, 1]`, that would mean the call\nrepresented the heterozygous value `CA` for this variant.\nIf the `genotype` was instead `[0, 1]`, the\nrepresented value would be `TA`. Ordering of the\ngenotype values is important if the `phaseset` is present.\nIf a genotype is not called (that is, a `.` is present in the\nGT string) -1 is returned." }, "phaseset": { "description": "If this field is present, this variant call's genotype ordering implies\nthe phase of the bases and is consistent with any other variant calls in\nthe same reference sequence which have the same phaseset value.\nWhen importing data from VCF, if the genotype data was phased but no\nphase set was specified this field will be set to `*`.", "type": "string" + }, + "info": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "any" + } + }, + "description": "A map of additional variant call information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values)." + }, + "callSetName": { + "description": "The name of the call set this variant call belongs to.", + "type": "string" } }, "id": "VariantCall" }, "SearchVariantsResponse": { - "description": "The variant search response.", "type": "object", "properties": { - "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", - "type": "string" - }, "variants": { - "description": "The list of matching Variants.", "type": "array", "items": { "$ref": "Variant" - } + }, + "description": "The list of matching Variants." + }, + "nextPageToken": { + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results." } }, - "id": "SearchVariantsResponse" + "id": "SearchVariantsResponse", + "description": "The variant search response." }, "ListBasesResponse": { "type": "object", @@ -2920,12 +2920,12 @@ "type": "string" }, "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", - "type": "string" + "type": "string", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results." }, "sequence": { - "description": "A substring of the bases that make up this reference.", - "type": "string" + "type": "string", + "description": "A substring of the bases that make up this reference." } }, "id": "ListBasesResponse" @@ -2934,17 +2934,7 @@ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - }, "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { "type": "object", @@ -2952,28 +2942,38 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" } - } + }, + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use." + }, + "code": { + "type": "integer", + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32" + }, + "message": { + "type": "string", + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client." } }, "id": "Status" }, "Binding": { - "description": "Associates `members` with a `role`.", "type": "object", "properties": { + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" + }, "members": { "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", "type": "array", "items": { "type": "string" } - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" } }, - "id": "Binding" + "id": "Binding", + "description": "Associates `members` with a `role`." }, "UndeleteDatasetRequest": { "type": "object", @@ -2984,19 +2984,19 @@ "description": "A 0-based half-open genomic coordinate range for search requests.", "type": "object", "properties": { + "start": { + "type": "string", + "description": "The start position of the range on the reference, 0-based inclusive.", + "format": "int64" + }, "end": { + "type": "string", "description": "The end position of the range on the reference, 0-based exclusive.", - "format": "int64", - "type": "string" + "format": "int64" }, "referenceName": { - "description": "The reference sequence name, for example `chr1`,\n`1`, or `chrX`.", - "type": "string" - }, - "start": { - "description": "The start position of the range on the reference, 0-based inclusive.", - "format": "int64", - "type": "string" + "type": "string", + "description": "The reference sequence name, for example `chr1`,\n`1`, or `chrX`." } }, "id": "Range" @@ -3006,121 +3006,120 @@ "type": "object", "properties": { "name": { - "description": "User-specified, mutable name.", - "type": "string" + "type": "string", + "description": "User-specified, mutable name." }, "referenceSetId": { "description": "The reference set to which the variant set is mapped. The reference set\ndescribes the alignment provenance of the variant set, while the\n`referenceBounds` describe the shape of the actual variant data. The\nreference set's reference names are a superset of those found in the\n`referenceBounds`.\n\nFor example, given a variant set that is mapped to the GRCh38 reference set\nand contains a single variant on reference 'X', `referenceBounds` would\ncontain only an entry for 'X', while the associated reference set\nenumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc.", "type": "string" }, "metadata": { - "description": "The metadata associated with this variant set.", "type": "array", "items": { "$ref": "VariantSetMetadata" - } + }, + "description": "The metadata associated with this variant set." }, "referenceBounds": { - "description": "A list of all references used by the variants in a variant set\nwith associated coordinate upper bounds for each one.", "type": "array", "items": { "$ref": "ReferenceBound" - } + }, + "description": "A list of all references used by the variants in a variant set\nwith associated coordinate upper bounds for each one." }, "id": { - "description": "The server-generated variant set ID, unique across all variant sets.", - "type": "string" + "type": "string", + "description": "The server-generated variant set ID, unique across all variant sets." }, "description": { - "description": "A textual description of this variant set.", - "type": "string" + "type": "string", + "description": "A textual description of this variant set." }, "datasetId": { - "description": "The dataset to which this variant set belongs.", - "type": "string" + "type": "string", + "description": "The dataset to which this variant set belongs." } }, "id": "VariantSet" }, - "ReferenceBound": { - "description": "ReferenceBound records an upper bound for the starting coordinate of\nvariants in a particular reference.", - "type": "object", - "properties": { - "referenceName": { - "description": "The name of the reference associated with this reference bound.", - "type": "string" - }, - "upperBound": { - "description": "An upper bound (inclusive) on the starting coordinate of any\nvariant in the reference sequence.", - "format": "int64", - "type": "string" - } - }, - "id": "ReferenceBound" - }, "BatchCreateAnnotationsResponse": { "type": "object", "properties": { "entries": { - "description": "The resulting per-annotation entries, ordered consistently with the\noriginal request.", "type": "array", "items": { "$ref": "Entry" - } + }, + "description": "The resulting per-annotation entries, ordered consistently with the\noriginal request." } }, "id": "BatchCreateAnnotationsResponse" }, - "SearchCallSetsResponse": { - "description": "The call set search response.", + "ReferenceBound": { + "description": "ReferenceBound records an upper bound for the starting coordinate of\nvariants in a particular reference.", "type": "object", "properties": { - "callSets": { - "description": "The list of matching call sets.", - "type": "array", - "items": { - "$ref": "CallSet" - } + "referenceName": { + "type": "string", + "description": "The name of the reference associated with this reference bound." }, + "upperBound": { + "type": "string", + "description": "An upper bound (inclusive) on the starting coordinate of any\nvariant in the reference sequence.", + "format": "int64" + } + }, + "id": "ReferenceBound" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "type": "object", + "properties": { "nextPageToken": { - "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", + "description": "The standard List next-page token.", "type": "string" + }, + "operations": { + "type": "array", + "items": { + "$ref": "Operation" + }, + "description": "A list of operations that matches the specified filter in the request." } }, - "id": "SearchCallSetsResponse" + "id": "ListOperationsResponse" }, "Variant": { - "description": "A variant represents a change in DNA sequence relative to a reference\nsequence. For example, a variant could represent a SNP or an insertion.\nVariants belong to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach of the calls on a variant represent a determination of genotype with\nrespect to that variant. For example, a call might assign probability of 0.32\nto the occurrence of a SNP named rs1234 in a sample named NA12345. A call\nbelongs to a call set, which contains related calls typically from one\nsample.", "type": "object", "properties": { "variantSetId": { - "description": "The ID of the variant set this variant belongs to.", - "type": "string" + "type": "string", + "description": "The ID of the variant set this variant belongs to." }, "referenceName": { "description": "The reference on which this variant occurs.\n(such as `chr20` or `X`)", "type": "string" }, "info": { + "type": "object", "additionalProperties": { "type": "array", "items": { "type": "any" } }, - "description": "A map of additional variant information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object" + "description": "A map of additional variant information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values)." }, "referenceBases": { - "description": "The reference bases for this variant. They start at the given\nposition.", - "type": "string" + "type": "string", + "description": "The reference bases for this variant. They start at the given\nposition." }, "alternateBases": { - "description": "The bases that appear instead of the reference bases.", "type": "array", "items": { "type": "string" - } + }, + "description": "The bases that appear instead of the reference bases." }, "names": { "description": "Names for the variant, for example a RefSNP ID.", @@ -3154,9 +3153,9 @@ "type": "string" }, "start": { + "type": "string", "description": "The position at which this variant occurs (0-based).\nThis corresponds to the first base of the string of reference bases.", - "format": "int64", - "type": "string" + "format": "int64" }, "quality": { "description": "A measure of how likely this variant is to be real.\nA higher value is better.", @@ -3164,97 +3163,37 @@ "type": "number" }, "id": { - "description": "The server-generated variant ID, unique across all variants.", - "type": "string" + "type": "string", + "description": "The server-generated variant ID, unique across all variants." } }, - "id": "Variant" + "id": "Variant", + "description": "A variant represents a change in DNA sequence relative to a reference\nsequence. For example, a variant could represent a SNP or an insertion.\nVariants belong to a variant set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\nEach of the calls on a variant represent a determination of genotype with\nrespect to that variant. For example, a call might assign probability of 0.32\nto the occurrence of a SNP named rs1234 in a sample named NA12345. A call\nbelongs to a call set, which contains related calls typically from one\nsample." }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", + "SearchCallSetsResponse": { "type": "object", "properties": { - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } - }, "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - } - }, - "id": "ListOperationsResponse" - }, - "OperationMetadata": { - "description": "Metadata describing an Operation.", - "type": "object", - "properties": { - "labels": { - "description": "Optionally provided by the caller when submitting the request that creates\nthe operation.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "createTime": { - "description": "The time at which the job was submitted to the Genomics service.", - "format": "google-datetime", - "type": "string" - }, - "projectId": { - "description": "The Google Cloud Project in which the job is scoped.", - "type": "string" - }, - "clientId": { - "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation.", - "type": "string" - }, - "endTime": { - "description": "The time at which the job stopped running.", - "format": "google-datetime", + "description": "The continuation token, which is used to page through large result sets.\nProvide this value in a subsequent request to return the next page of\nresults. This field will be empty if there aren't any additional results.", "type": "string" }, - "events": { - "description": "Optional event messages that were generated during the job's execution.\nThis also contains any warnings that were generated during import\nor export.", + "callSets": { + "description": "The list of matching call sets.", "type": "array", "items": { - "$ref": "OperationEvent" + "$ref": "CallSet" } - }, - "startTime": { - "description": "The time at which the job began to run.", - "format": "google-datetime", - "type": "string" - }, - "request": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The original request that started the operation. Note that this will be in\ncurrent version of the API. If the operation was started with v1beta2 API\nand a GetOperation is performed on v1 API, a v1 request will be returned.", - "type": "object" - }, - "runtimeMetadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Runtime metadata on this Operation.", - "type": "object" } }, - "id": "OperationMetadata" + "id": "SearchCallSetsResponse", + "description": "The call set search response." }, "SearchVariantsRequest": { - "description": "The variant search request.", "type": "object", "properties": { "referenceName": { - "description": "Required. Only return variants in this reference sequence.", - "type": "string" + "type": "string", + "description": "Required. Only return variants in this reference sequence." }, "variantSetIds": { "description": "At most one variant set ID must be provided. Only variants from this\nvariant set will be returned. If omitted, a call set id must be included in\nthe request.", @@ -3283,11 +3222,11 @@ "type": "integer" }, "callSetIds": { - "description": "Only return variant calls which belong to call sets with these ids.\nLeaving this blank returns all variant calls. If a variant has no\ncalls belonging to any of these call sets, it won't be returned at all.", "type": "array", "items": { "type": "string" - } + }, + "description": "Only return variant calls which belong to call sets with these ids.\nLeaving this blank returns all variant calls. If a variant has no\ncalls belonging to any of these call sets, it won't be returned at all." }, "start": { "description": "The beginning of the window (0-based, inclusive) for which\noverlapping variants should be returned. If unspecified, defaults to 0.", @@ -3295,19 +3234,80 @@ "type": "string" }, "variantName": { - "description": "Only return variants which have exactly this name.", + "type": "string", + "description": "Only return variants which have exactly this name." + } + }, + "id": "SearchVariantsRequest", + "description": "The variant search request." + }, + "OperationMetadata": { + "description": "Metadata describing an Operation.", + "type": "object", + "properties": { + "runtimeMetadata": { + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "description": "Runtime metadata on this Operation." + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optionally provided by the caller when submitting the request that creates\nthe operation.", + "type": "object" + }, + "createTime": { + "type": "string", + "description": "The time at which the job was submitted to the Genomics service.", + "format": "google-datetime" + }, + "projectId": { + "type": "string", + "description": "The Google Cloud Project in which the job is scoped." + }, + "clientId": { + "type": "string", + "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation." + }, + "endTime": { + "type": "string", + "description": "The time at which the job stopped running.", + "format": "google-datetime" + }, + "events": { + "type": "array", + "items": { + "$ref": "OperationEvent" + }, + "description": "Optional event messages that were generated during the job's execution.\nThis also contains any warnings that were generated during import\nor export." + }, + "startTime": { + "description": "The time at which the job began to run.", + "format": "google-datetime", "type": "string" + }, + "request": { + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "description": "The original request that started the operation. Note that this will be in\ncurrent version of the API. If the operation was started with v1beta2 API\nand a GetOperation is performed on v1 API, a v1 request will be returned." } }, - "id": "SearchVariantsRequest" + "id": "OperationMetadata" }, "SearchReadGroupSetsRequest": { "description": "The read group set search request.", "type": "object", "properties": { "name": { - "description": "Only return read group sets for which a substring of the name matches this\nstring.", - "type": "string" + "type": "string", + "description": "Only return read group sets for which a substring of the name matches this\nstring." }, "pageToken": { "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", @@ -3319,11 +3319,11 @@ "type": "integer" }, "datasetIds": { - "description": "Restricts this query to read group sets within the given datasets. At least\none ID must be provided.", "type": "array", "items": { "type": "string" - } + }, + "description": "Restricts this query to read group sets within the given datasets. At least\none ID must be provided." } }, "id": "SearchReadGroupSetsRequest" @@ -3348,26 +3348,26 @@ "ClinicalCondition": { "type": "object", "properties": { - "conceptId": { - "description": "The MedGen concept id associated with this gene.\nSearch for these IDs at http://www.ncbi.nlm.nih.gov/medgen/", - "type": "string" + "omimId": { + "type": "string", + "description": "The OMIM id for this condition.\nSearch for these IDs at http://omim.org/" }, - "names": { - "description": "A set of names for the condition.", + "externalIds": { "type": "array", "items": { - "type": "string" - } + "$ref": "ExternalId" + }, + "description": "The set of external IDs for this condition." }, - "omimId": { - "description": "The OMIM id for this condition.\nSearch for these IDs at http://omim.org/", + "conceptId": { + "description": "The MedGen concept id associated with this gene.\nSearch for these IDs at http://www.ncbi.nlm.nih.gov/medgen/", "type": "string" }, - "externalIds": { - "description": "The set of external IDs for this condition.", + "names": { + "description": "A set of names for the condition.", "type": "array", "items": { - "$ref": "ExternalId" + "type": "string" } } }, @@ -3403,8 +3403,8 @@ "type": "string" }, "prevProgramId": { - "description": "The ID of the program run before this one.", - "type": "string" + "type": "string", + "description": "The ID of the program run before this one." }, "id": { "description": "The user specified locally unique ID of the program. Used along with\n`prevProgramId` to define an ordering between programs.", @@ -3417,101 +3417,116 @@ }, "id": "Program" }, - "ComputeEngine": { - "description": "Describes a Compute Engine resource that is being managed by a running\npipeline.", + "CoverageBucket": { "type": "object", "properties": { - "instanceName": { - "description": "The instance on which the operation is running.", - "type": "string" - }, - "zone": { - "description": "The availability zone in which the instance resides.", - "type": "string" + "range": { + "$ref": "Range", + "description": "The genomic coordinate range spanned by this bucket." }, + "meanCoverage": { + "description": "The average number of reads which are aligned to each individual\nreference base in this bucket.", + "format": "float", + "type": "number" + } + }, + "id": "CoverageBucket", + "description": "A bucket over which read coverage has been precomputed. A bucket corresponds\nto a specific range of the reference sequence." + }, + "ComputeEngine": { + "type": "object", + "properties": { "machineType": { "description": "The machine type of the instance.", "type": "string" }, "diskNames": { - "description": "The names of the disks that were created for this pipeline.", "type": "array", "items": { "type": "string" - } - } - }, - "id": "ComputeEngine" - }, - "CoverageBucket": { - "description": "A bucket over which read coverage has been precomputed. A bucket corresponds\nto a specific range of the reference sequence.", - "type": "object", - "properties": { - "range": { - "description": "The genomic coordinate range spanned by this bucket.", - "$ref": "Range" + }, + "description": "The names of the disks that were created for this pipeline." }, - "meanCoverage": { - "description": "The average number of reads which are aligned to each individual\nreference base in this bucket.", - "format": "float", - "type": "number" + "instanceName": { + "description": "The instance on which the operation is running.", + "type": "string" + }, + "zone": { + "type": "string", + "description": "The availability zone in which the instance resides." } }, - "id": "CoverageBucket" + "id": "ComputeEngine", + "description": "Describes a Compute Engine resource that is being managed by a running\npipeline." }, "ExternalId": { "type": "object", "properties": { "id": { - "description": "The id used by the source of this data.", - "type": "string" + "type": "string", + "description": "The id used by the source of this data." }, "sourceName": { - "description": "The name of the source of this data.", - "type": "string" + "type": "string", + "description": "The name of the source of this data." } }, "id": "ExternalId" }, - "SearchVariantSetsRequest": { - "description": "The search variant sets request.", + "Reference": { "type": "object", "properties": { - "pageToken": { - "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", + "sourceAccessions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `GCF_000001405.26`." + }, + "sourceUri": { + "description": "The URI from which the sequence was obtained. Typically specifies a FASTA\nformat file.", "type": "string" }, - "pageSize": { - "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.", + "ncbiTaxonId": { + "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.", "format": "int32", "type": "integer" }, - "datasetIds": { - "description": "Exactly one dataset ID must be provided here. Only variant sets which\nbelong to this dataset will be returned.", - "type": "array", - "items": { - "type": "string" - } + "name": { + "description": "The name of this reference, for example `22`.", + "type": "string" + }, + "md5checksum": { + "type": "string", + "description": "MD5 of the upper-case sequence excluding all whitespace characters (this\nis equivalent to SQ:M5 in SAM). This value is represented in lower case\nhexadecimal format." + }, + "id": { + "type": "string", + "description": "The server-generated reference ID, unique across all references." + }, + "length": { + "description": "The length of this reference's sequence.", + "format": "int64", + "type": "string" } }, - "id": "SearchVariantSetsRequest" + "id": "Reference", + "description": "A reference is a canonical assembled DNA sequence, intended to act as a\nreference coordinate space for other genomic annotations. A single reference\nmight represent the human chromosome 1 or mitochandrial DNA, for instance. A\nreference belongs to one or more reference sets.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)" }, "VariantSetMetadata": { - "description": "Metadata describes a single piece of variant call metadata.\nThese data include a top level key and either a single value string (value)\nor a list of key-value pairs (info.)\nValue and info are mutually exclusive.", "type": "object", "properties": { "info": { + "type": "object", "additionalProperties": { "type": "array", "items": { "type": "any" } }, - "description": "Remaining structured metadata key-value pairs. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object" + "description": "Remaining structured metadata key-value pairs. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values)." }, "type": { - "description": "The type of data. Possible types include: Integer, Float,\nFlag, Character, and String.", "type": "string", "enumDescriptions": [ "", @@ -3528,81 +3543,59 @@ "FLAG", "CHARACTER", "STRING" - ] - }, - "id": { - "description": "User-provided ID field, not enforced by this API.\nTwo or more pieces of structured metadata with identical\nid and key fields are considered equivalent.", - "type": "string" + ], + "description": "The type of data. Possible types include: Integer, Float,\nFlag, Character, and String." }, "value": { "description": "The value field for simple metadata", "type": "string" }, + "id": { + "type": "string", + "description": "User-provided ID field, not enforced by this API.\nTwo or more pieces of structured metadata with identical\nid and key fields are considered equivalent." + }, "number": { - "description": "The number of values that can be included in a field described by this\nmetadata.", - "type": "string" + "type": "string", + "description": "The number of values that can be included in a field described by this\nmetadata." }, "key": { - "description": "The top-level key.", - "type": "string" + "type": "string", + "description": "The top-level key." }, "description": { "description": "A textual description of this metadata.", "type": "string" } }, - "id": "VariantSetMetadata" + "id": "VariantSetMetadata", + "description": "Metadata describes a single piece of variant call metadata.\nThese data include a top level key and either a single value string (value)\nor a list of key-value pairs (info.)\nValue and info are mutually exclusive." }, - "Reference": { - "description": "A reference is a canonical assembled DNA sequence, intended to act as a\nreference coordinate space for other genomic annotations. A single reference\nmight represent the human chromosome 1 or mitochandrial DNA, for instance. A\nreference belongs to one or more reference sets.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)", + "SearchVariantSetsRequest": { + "description": "The search variant sets request.", "type": "object", "properties": { - "md5checksum": { - "description": "MD5 of the upper-case sequence excluding all whitespace characters (this\nis equivalent to SQ:M5 in SAM). This value is represented in lower case\nhexadecimal format.", - "type": "string" - }, - "id": { - "description": "The server-generated reference ID, unique across all references.", + "pageToken": { + "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\n`nextPageToken` from the previous response.", "type": "string" }, - "length": { - "description": "The length of this reference's sequence.", - "format": "int64", - "type": "string" + "pageSize": { + "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024.", + "format": "int32", + "type": "integer" }, - "sourceAccessions": { - "description": "All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally\nwith a version number, for example `GCF_000001405.26`.", + "datasetIds": { + "description": "Exactly one dataset ID must be provided here. Only variant sets which\nbelong to this dataset will be returned.", "type": "array", "items": { "type": "string" } - }, - "sourceUri": { - "description": "The URI from which the sequence was obtained. Typically specifies a FASTA\nformat file.", - "type": "string" - }, - "ncbiTaxonId": { - "description": "ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "The name of this reference, for example `22`.", - "type": "string" } }, - "id": "Reference" + "id": "SearchVariantSetsRequest" }, "SearchReferenceSetsRequest": { "type": "object", "properties": { - "md5checksums": { - "description": "If present, return reference sets for which the\nmd5checksum matches exactly.", - "type": "array", - "items": { - "type": "string" - } - }, "accessions": { "description": "If present, return reference sets for which a prefix of any of\nsourceAccessions\nmatch any of these strings. Accession numbers typically have a main number\nand a version, for example `NC_000001.11`.", "type": "array", @@ -3615,27 +3608,34 @@ "type": "string" }, "pageSize": { + "type": "integer", "description": "The maximum number of results to return in a single page. If unspecified,\ndefaults to 1024. The maximum value is 4096.", - "format": "int32", - "type": "integer" + "format": "int32" }, "assemblyId": { - "description": "If present, return reference sets for which a substring of their\n`assemblyId` matches this string (case insensitive).", - "type": "string" + "type": "string", + "description": "If present, return reference sets for which a substring of their\n`assemblyId` matches this string (case insensitive)." + }, + "md5checksums": { + "type": "array", + "items": { + "type": "string" + }, + "description": "If present, return reference sets for which the\nmd5checksum matches exactly." } }, "id": "SearchReferenceSetsRequest" }, "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { "policy": { - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", - "$ref": "Policy" + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." } }, - "id": "SetIamPolicyRequest" + "id": "SetIamPolicyRequest", + "description": "Request message for `SetIamPolicy` method." }, "MergeVariantsRequest": { "type": "object", @@ -3648,6 +3648,7 @@ } }, "infoMergeConfig": { + "type": "object", "additionalProperties": { "type": "string", "enum": [ @@ -3656,8 +3657,7 @@ "MOVE_TO_CALLS" ] }, - "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them.", - "type": "object" + "description": "A mapping between info field keys and the InfoMergeOperations to\nbe performed on them." }, "variantSetId": { "description": "The destination variant set.", @@ -3666,40 +3666,34 @@ }, "id": "MergeVariantsRequest" }, - "Read": { - "description": "A read alignment describes a linear alignment of a string of DNA to a\nreference sequence, in addition to metadata\nabout the fragment (the molecule of DNA sequenced) and the read (the bases\nwhich were read by the sequencer). A read is equivalent to a line in a SAM\nfile. A read belongs to exactly one read group and exactly one\nread group set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\n### Reverse-stranded reads\n\nMapped reads (reads having a non-null `alignment`) can be aligned to either\nthe forward or the reverse strand of their associated reference. Strandedness\nof a mapped read is encoded by `alignment.position.reverseStrand`.\n\nIf we consider the reference to be a forward-stranded coordinate space of\n`[0, reference.length)` with `0` as the left-most position and\n`reference.length` as the right-most position, reads are always aligned left\nto right. That is, `alignment.position.position` always refers to the\nleft-most reference coordinate and `alignment.cigar` describes the alignment\nof this read to the reference from left to right. All per-base fields such as\n`alignedSequence` and `alignedQuality` share this same left-to-right\norientation; this is true of reads which are aligned to either strand. For\nreverse-stranded reads, this means that `alignedSequence` is the reverse\ncomplement of the bases that were originally reported by the sequencing\nmachine.\n\n### Generating a reference-aligned sequence string\n\nWhen interacting with mapped reads, it's often useful to produce a string\nrepresenting the local alignment of the read to reference. The following\npseudocode demonstrates one way of doing this:\n\n out = \"\"\n offset = 0\n for c in read.alignment.cigar {\n switch c.operation {\n case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\":\n out += read.alignedSequence[offset:offset+c.operationLength]\n offset += c.operationLength\n break\n case \"CLIP_SOFT\", \"INSERT\":\n offset += c.operationLength\n break\n case \"PAD\":\n out += repeat(\"*\", c.operationLength)\n break\n case \"DELETE\":\n out += repeat(\"-\", c.operationLength)\n break\n case \"SKIP\":\n out += repeat(\" \", c.operationLength)\n break\n case \"CLIP_HARD\":\n break\n }\n }\n return out\n\n### Converting to SAM's CIGAR string\n\nThe following pseudocode generates a SAM CIGAR string from the\n`cigar` field. Note that this is a lossy conversion\n(`cigar.referenceSequence` is lost).\n\n cigarMap = {\n \"ALIGNMENT_MATCH\": \"M\",\n \"INSERT\": \"I\",\n \"DELETE\": \"D\",\n \"SKIP\": \"N\",\n \"CLIP_SOFT\": \"S\",\n \"CLIP_HARD\": \"H\",\n \"PAD\": \"P\",\n \"SEQUENCE_MATCH\": \"=\",\n \"SEQUENCE_MISMATCH\": \"X\",\n }\n cigarStr = \"\"\n for c in read.alignment.cigar {\n cigarStr += c.operationLength + cigarMap[c.operation]\n }\n return cigarStr", + "BatchCreateAnnotationsRequest": { "type": "object", "properties": { - "nextMatePosition": { - "$ref": "Position", - "description": "The mapping of the primary alignment of the\n`(readNumber+1)%numberReads` read in the fragment. It replaces\nmate position and mate strand in SAM." - }, - "info": { - "additionalProperties": { - "type": "array", - "items": { - "type": "any" - } - }, - "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", - "type": "object" - }, - "properPlacement": { - "description": "The orientation and the distance between reads from the fragment are\nconsistent with the sequencing protocol (SAM flag 0x2).", - "type": "boolean" - }, - "supplementaryAlignment": { - "description": "Whether this alignment is supplementary. Equivalent to SAM flag 0x800.\nSupplementary alignments are used in the representation of a chimeric\nalignment. In a chimeric alignment, a read is split into multiple\nlinear alignments that map to different reference contigs. The first\nlinear alignment in the read will be designated as the representative\nalignment; the remaining linear alignments will be designated as\nsupplementary alignments. These alignments may have different mapping\nquality scores. In each linear alignment in a chimeric alignment, the read\nwill be hard clipped. The `alignedSequence` and\n`alignedQuality` fields in the alignment record will only\nrepresent the bases for its respective linear alignment.", - "type": "boolean" + "annotations": { + "description": "The annotations to be created. At most 4096 can be specified in a single\nrequest.", + "type": "array", + "items": { + "$ref": "Annotation" + } }, + "requestId": { + "description": "A unique request ID which enables the server to detect duplicated requests.\nIf provided, duplicated requests will result in the same response; if not\nprovided, duplicated requests may result in duplicated data. For a given\nannotation set, callers should not reuse `request_id`s when writing\ndifferent batches of annotations - behavior in this case is undefined.\nA common approach is to use a UUID. For batch jobs where worker crashes are\na possibility, consider using some unique variant of a worker or run ID.", + "type": "string" + } + }, + "id": "BatchCreateAnnotationsRequest" + }, + "Read": { + "type": "object", + "properties": { "fragmentLength": { "description": "The observed length of the fragment, equivalent to TLEN in SAM.", "format": "int32", "type": "integer" }, "failedVendorQualityChecks": { - "description": "Whether this read did not pass filters, such as platform or vendor quality\ncontrols (SAM flag 0x200).", - "type": "boolean" + "type": "boolean", + "description": "Whether this read did not pass filters, such as platform or vendor quality\ncontrols (SAM flag 0x200)." }, "alignedQuality": { "description": "The quality of the read sequence contained in this alignment record\n(equivalent to QUAL in SAM).\n`alignedSequence` and `alignedQuality` may be shorter than the full read\nsequence and quality. This will occur if the alignment is part of a\nchimeric alignment, or if the read was trimmed. When this occurs, the CIGAR\nfor this read will begin/end with a hard clip operator that will indicate\nthe length of the excised sequence.", @@ -3718,70 +3712,82 @@ "type": "string" }, "numberReads": { + "type": "integer", "description": "The number of reads in the fragment (extension to SAM flag 0x1).", - "format": "int32", - "type": "integer" + "format": "int32" }, "secondaryAlignment": { - "description": "Whether this alignment is secondary. Equivalent to SAM flag 0x100.\nA secondary alignment represents an alternative to the primary alignment\nfor this read. Aligners may return secondary alignments if a read can map\nambiguously to multiple coordinates in the genome. By convention, each read\nhas one and only one alignment where both `secondaryAlignment`\nand `supplementaryAlignment` are false.", - "type": "boolean" + "type": "boolean", + "description": "Whether this alignment is secondary. Equivalent to SAM flag 0x100.\nA secondary alignment represents an alternative to the primary alignment\nfor this read. Aligners may return secondary alignments if a read can map\nambiguously to multiple coordinates in the genome. By convention, each read\nhas one and only one alignment where both `secondaryAlignment`\nand `supplementaryAlignment` are false." }, "fragmentName": { "description": "The fragment name. Equivalent to QNAME (query template name) in SAM.", "type": "string" }, "readGroupSetId": { - "description": "The ID of the read group set this read belongs to. A read belongs to\nexactly one read group set.", - "type": "string" + "type": "string", + "description": "The ID of the read group set this read belongs to. A read belongs to\nexactly one read group set." }, "duplicateFragment": { "description": "The fragment is a PCR or optical duplicate (SAM flag 0x400).", "type": "boolean" }, "readNumber": { + "type": "integer", "description": "The read number in sequencing. 0-based and less than numberReads. This\nfield replaces SAM flag 0x40 and 0x80.", - "format": "int32", - "type": "integer" - }, - "readGroupId": { - "description": "The ID of the read group this read belongs to. A read belongs to exactly\none read group. This is a server-generated ID which is distinct from SAM's\nRG tag (for that value, see\nReadGroup.name).", - "type": "string" + "format": "int32" }, "alignedSequence": { "description": "The bases of the read sequence contained in this alignment record,\n**without CIGAR operations applied** (equivalent to SEQ in SAM).\n`alignedSequence` and `alignedQuality` may be\nshorter than the full read sequence and quality. This will occur if the\nalignment is part of a chimeric alignment, or if the read was trimmed. When\nthis occurs, the CIGAR for this read will begin/end with a hard clip\noperator that will indicate the length of the excised sequence.", "type": "string" - } - }, - "id": "Read" - }, - "BatchCreateAnnotationsRequest": { - "type": "object", - "properties": { - "annotations": { - "description": "The annotations to be created. At most 4096 can be specified in a single\nrequest.", - "type": "array", - "items": { - "$ref": "Annotation" - } }, - "requestId": { - "description": "A unique request ID which enables the server to detect duplicated requests.\nIf provided, duplicated requests will result in the same response; if not\nprovided, duplicated requests may result in duplicated data. For a given\nannotation set, callers should not reuse `request_id`s when writing\ndifferent batches of annotations - behavior in this case is undefined.\nA common approach is to use a UUID. For batch jobs where worker crashes are\na possibility, consider using some unique variant of a worker or run ID.", + "readGroupId": { + "description": "The ID of the read group this read belongs to. A read belongs to exactly\none read group. This is a server-generated ID which is distinct from SAM's\nRG tag (for that value, see\nReadGroup.name).", "type": "string" + }, + "nextMatePosition": { + "$ref": "Position", + "description": "The mapping of the primary alignment of the\n`(readNumber+1)%numberReads` read in the fragment. It replaces\nmate position and mate strand in SAM." + }, + "info": { + "additionalProperties": { + "type": "array", + "items": { + "type": "any" + } + }, + "description": "A map of additional read alignment information. This must be of the form\nmap\u003cstring, string[]\u003e (string key mapping to a list of string values).", + "type": "object" + }, + "properPlacement": { + "type": "boolean", + "description": "The orientation and the distance between reads from the fragment are\nconsistent with the sequencing protocol (SAM flag 0x2)." + }, + "supplementaryAlignment": { + "type": "boolean", + "description": "Whether this alignment is supplementary. Equivalent to SAM flag 0x800.\nSupplementary alignments are used in the representation of a chimeric\nalignment. In a chimeric alignment, a read is split into multiple\nlinear alignments that map to different reference contigs. The first\nlinear alignment in the read will be designated as the representative\nalignment; the remaining linear alignments will be designated as\nsupplementary alignments. These alignments may have different mapping\nquality scores. In each linear alignment in a chimeric alignment, the read\nwill be hard clipped. The `alignedSequence` and\n`alignedQuality` fields in the alignment record will only\nrepresent the bases for its respective linear alignment." } }, - "id": "BatchCreateAnnotationsRequest" + "id": "Read", + "description": "A read alignment describes a linear alignment of a string of DNA to a\nreference sequence, in addition to metadata\nabout the fragment (the molecule of DNA sequenced) and the read (the bases\nwhich were read by the sequencer). A read is equivalent to a line in a SAM\nfile. A read belongs to exactly one read group and exactly one\nread group set.\n\nFor more genomics resource definitions, see [Fundamentals of Google\nGenomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)\n\n### Reverse-stranded reads\n\nMapped reads (reads having a non-null `alignment`) can be aligned to either\nthe forward or the reverse strand of their associated reference. Strandedness\nof a mapped read is encoded by `alignment.position.reverseStrand`.\n\nIf we consider the reference to be a forward-stranded coordinate space of\n`[0, reference.length)` with `0` as the left-most position and\n`reference.length` as the right-most position, reads are always aligned left\nto right. That is, `alignment.position.position` always refers to the\nleft-most reference coordinate and `alignment.cigar` describes the alignment\nof this read to the reference from left to right. All per-base fields such as\n`alignedSequence` and `alignedQuality` share this same left-to-right\norientation; this is true of reads which are aligned to either strand. For\nreverse-stranded reads, this means that `alignedSequence` is the reverse\ncomplement of the bases that were originally reported by the sequencing\nmachine.\n\n### Generating a reference-aligned sequence string\n\nWhen interacting with mapped reads, it's often useful to produce a string\nrepresenting the local alignment of the read to reference. The following\npseudocode demonstrates one way of doing this:\n\n out = \"\"\n offset = 0\n for c in read.alignment.cigar {\n switch c.operation {\n case \"ALIGNMENT_MATCH\", \"SEQUENCE_MATCH\", \"SEQUENCE_MISMATCH\":\n out += read.alignedSequence[offset:offset+c.operationLength]\n offset += c.operationLength\n break\n case \"CLIP_SOFT\", \"INSERT\":\n offset += c.operationLength\n break\n case \"PAD\":\n out += repeat(\"*\", c.operationLength)\n break\n case \"DELETE\":\n out += repeat(\"-\", c.operationLength)\n break\n case \"SKIP\":\n out += repeat(\" \", c.operationLength)\n break\n case \"CLIP_HARD\":\n break\n }\n }\n return out\n\n### Converting to SAM's CIGAR string\n\nThe following pseudocode generates a SAM CIGAR string from the\n`cigar` field. Note that this is a lossy conversion\n(`cigar.referenceSequence` is lost).\n\n cigarMap = {\n \"ALIGNMENT_MATCH\": \"M\",\n \"INSERT\": \"I\",\n \"DELETE\": \"D\",\n \"SKIP\": \"N\",\n \"CLIP_SOFT\": \"S\",\n \"CLIP_HARD\": \"H\",\n \"PAD\": \"P\",\n \"SEQUENCE_MATCH\": \"=\",\n \"SEQUENCE_MISMATCH\": \"X\",\n }\n cigarStr = \"\"\n for c in read.alignment.cigar {\n cigarStr += c.operationLength + cigarMap[c.operation]\n }\n return cigarStr" } }, + "protocol": "rest", "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, - "protocol": "rest", "version": "v1", "baseUrl": "https://genomics.googleapis.com/", "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/genomics.readonly": { + "description": "View Genomics data" + }, "https://www.googleapis.com/auth/genomics": { "description": "View and manage Genomics data" }, @@ -3790,12 +3796,6 @@ }, "https://www.googleapis.com/auth/devstorage.read_write": { "description": "Manage your data in Google Cloud Storage" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/genomics.readonly": { - "description": "View Genomics data" } } } @@ -3808,9 +3808,9 @@ "ownerDomain": "google.com", "name": "genomics", "batchPath": "batch", + "revision": "20170329", "id": "genomics:v1", "documentationLink": "https://cloud.google.com/genomics", - "revision": "20170329", "title": "Genomics API", "ownerName": "Google", "discoveryVersion": "v1" diff --git a/DiscoveryJson/genomics_v1alpha2.json b/DiscoveryJson/genomics_v1alpha2.json index cc3eaf4c0f..e0ca7ae3df 100644 --- a/DiscoveryJson/genomics_v1alpha2.json +++ b/DiscoveryJson/genomics_v1alpha2.json @@ -1,120 +1,114 @@ { + "servicePath": "", + "description": "Upload, process, query, and search Genomics data in the cloud.", + "kind": "discovery#restDescription", + "rootUrl": "https://genomics.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "genomics", + "batchPath": "batch", + "revision": "20170329", + "documentationLink": "https://cloud.google.com/genomics", + "id": "genomics:v1alpha2", "title": "Genomics API", - "ownerName": "Google", "discoveryVersion": "v1", + "ownerName": "Google", "resources": { "pipelines": { "methods": { - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "pipelineId" - ], - "response": { - "$ref": "Pipeline" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], - "parameters": { - "pipelineId": { - "location": "path", - "description": "Caller must have READ access to the project in which this pipeline\nis defined.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1alpha2/pipelines/{pipelineId}", - "id": "genomics.pipelines.get", - "path": "v1alpha2/pipelines/{pipelineId}", - "description": "Retrieves a pipeline based on ID.\n\nCaller must have READ permission to the project." - }, "setOperationStatus": { - "httpMethod": "PUT", - "parameterOrder": [], + "description": "Sets status of a given operation. Any new timestamps (as determined by\ndescription) are appended to TimestampEvents. Should only be called by VMs\ncreated by the Pipelines Service and not by end users.", + "request": { + "$ref": "SetOperationStatusRequest" + }, "response": { "$ref": "Empty" }, + "parameterOrder": [], + "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": {}, "flatPath": "v1alpha2/pipelines:setOperationStatus", - "id": "genomics.pipelines.setOperationStatus", "path": "v1alpha2/pipelines:setOperationStatus", - "description": "Sets status of a given operation. Any new timestamps (as determined by\ndescription) are appended to TimestampEvents. Should only be called by VMs\ncreated by the Pipelines Service and not by end users.", - "request": { - "$ref": "SetOperationStatusRequest" - } + "id": "genomics.pipelines.setOperationStatus" }, "delete": { + "flatPath": "v1alpha2/pipelines/{pipelineId}", + "id": "genomics.pipelines.delete", + "path": "v1alpha2/pipelines/{pipelineId}", + "description": "Deletes a pipeline based on ID.\n\nCaller must have WRITE permission to the project.", + "httpMethod": "DELETE", "response": { "$ref": "Empty" }, "parameterOrder": [ "pipelineId" ], - "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": { "pipelineId": { + "location": "path", "description": "Caller must have WRITE access to the project in which this pipeline\nis defined.", "required": true, - "type": "string", - "location": "path" + "type": "string" } - }, - "flatPath": "v1alpha2/pipelines/{pipelineId}", - "path": "v1alpha2/pipelines/{pipelineId}", - "id": "genomics.pipelines.delete", - "description": "Deletes a pipeline based on ID.\n\nCaller must have WRITE permission to the project." + } }, "getControllerConfig": { + "flatPath": "v1alpha2/pipelines:getControllerConfig", + "path": "v1alpha2/pipelines:getControllerConfig", + "id": "genomics.pipelines.getControllerConfig", + "description": "Gets controller configuration information. Should only be called\nby VMs created by the Pipelines Service and not by end users.", + "parameterOrder": [], "response": { "$ref": "ControllerConfig" }, - "parameterOrder": [], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], "parameters": { "operationId": { - "type": "string", "location": "query", - "description": "The operation to retrieve controller configuration for." + "description": "The operation to retrieve controller configuration for.", + "type": "string" }, "validationToken": { - "type": "string", "location": "query", - "format": "uint64" + "format": "uint64", + "type": "string" } }, - "flatPath": "v1alpha2/pipelines:getControllerConfig", - "path": "v1alpha2/pipelines:getControllerConfig", - "id": "genomics.pipelines.getControllerConfig", - "description": "Gets controller configuration information. Should only be called\nby VMs created by the Pipelines Service and not by end users." + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ] }, "list": { - "path": "v1alpha2/pipelines", - "id": "genomics.pipelines.list", "description": "Lists pipelines.\n\nCaller must have READ permission to the project.", + "httpMethod": "GET", + "parameterOrder": [], "response": { "$ref": "ListPipelinesResponse" }, - "parameterOrder": [], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": { + "namePrefix": { + "location": "query", + "description": "Pipelines with names that match this prefix should be\nreturned. If unspecified, all pipelines in the project, up to\n`pageSize`, will be returned.", + "type": "string" + }, + "pageToken": { + "description": "Token to use to indicate where to start getting results.\nIf unspecified, returns the first page of results.", + "type": "string", + "location": "query" + }, "pageSize": { "description": "Number of pipelines to return at once. Defaults to 256, and max\nis 2048.", "format": "int32", @@ -125,19 +119,11 @@ "description": "Required. The name of the project to search for pipelines. Caller\nmust have READ access to this project.", "type": "string", "location": "query" - }, - "namePrefix": { - "location": "query", - "description": "Pipelines with names that match this prefix should be\nreturned. If unspecified, all pipelines in the project, up to\n`pageSize`, will be returned.", - "type": "string" - }, - "pageToken": { - "type": "string", - "location": "query", - "description": "Token to use to indicate where to start getting results.\nIf unspecified, returns the first page of results." } }, - "flatPath": "v1alpha2/pipelines" + "flatPath": "v1alpha2/pipelines", + "id": "genomics.pipelines.list", + "path": "v1alpha2/pipelines" }, "create": { "flatPath": "v1alpha2/pipelines", @@ -159,11 +145,15 @@ "parameters": {} }, "run": { - "httpMethod": "POST", - "parameterOrder": [], + "description": "Runs a pipeline. If `pipelineId` is specified in the request, then\nrun a saved pipeline. If `ephemeralPipeline` is specified, then run\nthat pipeline once without saving a copy.\n\nThe caller must have READ permission to the project where the pipeline\nis stored and WRITE permission to the project where the pipeline will be\nrun, as VMs will be created and storage will be used.\n\nIf a pipeline operation is still running after 6 days, it will be canceled.", + "request": { + "$ref": "RunPipelineRequest" + }, "response": { "$ref": "Operation" }, + "parameterOrder": [], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", @@ -171,11 +161,32 @@ ], "parameters": {}, "flatPath": "v1alpha2/pipelines:run", - "id": "genomics.pipelines.run", "path": "v1alpha2/pipelines:run", - "description": "Runs a pipeline. If `pipelineId` is specified in the request, then\nrun a saved pipeline. If `ephemeralPipeline` is specified, then run\nthat pipeline once without saving a copy.\n\nThe caller must have READ permission to the project where the pipeline\nis stored and WRITE permission to the project where the pipeline will be\nrun, as VMs will be created and storage will be used.\n\nIf a pipeline operation is still running after 6 days, it will be canceled.", - "request": { - "$ref": "RunPipelineRequest" + "id": "genomics.pipelines.run" + }, + "get": { + "flatPath": "v1alpha2/pipelines/{pipelineId}", + "path": "v1alpha2/pipelines/{pipelineId}", + "id": "genomics.pipelines.get", + "description": "Retrieves a pipeline based on ID.\n\nCaller must have READ permission to the project.", + "response": { + "$ref": "Pipeline" + }, + "parameterOrder": [ + "pipelineId" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], + "parameters": { + "pipelineId": { + "location": "path", + "description": "Caller must have READ access to the project in which this pipeline\nis defined.", + "required": true, + "type": "string" + } } } } @@ -183,10 +194,10 @@ "operations": { "methods": { "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.", "request": { "$ref": "CancelOperationRequest" }, - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation.", "httpMethod": "POST", "parameterOrder": [ "name" @@ -194,37 +205,42 @@ "response": { "$ref": "Empty" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/genomics" + ], "parameters": { "name": { - "pattern": "^operations/.+$", - "location": "path", "description": "The name of the operation resource to be cancelled.", "required": true, - "type": "string" + "type": "string", + "pattern": "^operations/.+$", + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/genomics" - ], "flatPath": "v1alpha2/operations/{operationsId}:cancel", "id": "genomics.operations.cancel", "path": "v1alpha2/{+name}:cancel" }, "list": { "description": "Lists operations that match the specified filter in the request.", - "response": { - "$ref": "ListOperationsResponse" - }, + "httpMethod": "GET", "parameterOrder": [ "name" ], - "httpMethod": "GET", + "response": { + "$ref": "ListOperationsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" ], "parameters": { + "filter": { + "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `\u003c=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime \u003e= 1432140000`\n* `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`", + "type": "string", + "location": "query" + }, "name": { "description": "The name of the operation collection.", "required": true, @@ -238,22 +254,20 @@ "location": "query" }, "pageSize": { - "location": "query", "description": "The maximum number of results to return. If unspecified, defaults to\n256. The maximum value is 2048.", "format": "int32", - "type": "integer" - }, - "filter": { - "location": "query", - "description": "A string for filtering Operations.\nThe following filter fields are supported:\n\n* projectId: Required. Corresponds to\n OperationMetadata.projectId.\n* createTime: The time this job was created, in seconds from the\n [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `\u003e=` and/or `\u003c=`\n operators.\n* status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only\n one status may be specified.\n* labels.key where key is a label key.\n\nExamples:\n\n* `projectId = my-project AND createTime \u003e= 1432140000`\n* `projectId = my-project AND createTime \u003e= 1432140000 AND createTime \u003c= 1432150000 AND status = RUNNING`\n* `projectId = my-project AND labels.color = *`\n* `projectId = my-project AND labels.color = red`", - "type": "string" + "type": "integer", + "location": "query" } }, "flatPath": "v1alpha2/operations", - "path": "v1alpha2/{+name}", - "id": "genomics.operations.list" + "id": "genomics.operations.list", + "path": "v1alpha2/{+name}" }, "get": { + "flatPath": "v1alpha2/operations/{operationsId}", + "path": "v1alpha2/{+name}", + "id": "genomics.operations.get", "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", "response": { "$ref": "Operation" @@ -264,49 +278,64 @@ "httpMethod": "GET", "parameters": { "name": { + "location": "path", "description": "The name of the operation resource.", "required": true, "type": "string", - "pattern": "^operations/.+$", - "location": "path" + "pattern": "^operations/.+$" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/genomics" - ], - "flatPath": "v1alpha2/operations/{operationsId}", - "path": "v1alpha2/{+name}", - "id": "genomics.operations.get" + ] } } } }, "parameters": { - "alt": { + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "$.xgafv": { "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" + "v1 error format", + "v2 error format" ], "location": "query", - "description": "Data format for response.", - "default": "json", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" + }, + "alt": { "enum": [ "json", "media", "proto" ], - "type": "string" - }, - "key": { + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], "location": "query", - "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.", - "type": "string" + "description": "Data format for response.", + "default": "json" }, "access_token": { - "location": "query", "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "key": { + "location": "query", + "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.", "type": "string" }, "quotaUser": { @@ -320,71 +349,242 @@ "type": "boolean", "default": "true" }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, "bearer_token": { + "location": "query", "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", "type": "string", "location": "query" }, "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { - "type": "boolean", - "default": "true", "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" }, "uploadType": { "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string", "location": "query" }, - "$.xgafv": { - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format." - }, - "callback": { - "description": "JSONP", + "fields": { + "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" } }, "schemas": { - "Status": { + "LocalCopy": { + "description": "LocalCopy defines how a remote file should be copied to and from the VM.", "type": "object", "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "disk": { + "description": "Required. The name of the disk where this parameter is\nlocated. Can be the name of one of the disks specified in the\nResources field, or \"boot\", which represents the Docker\ninstance's boot disk and has a mount point of `/`.", + "type": "string" + }, + "path": { + "description": "Required. The path within the user's docker container where\nthis input should be localized to and from, relative to the specified\ndisk's mount point. For example: file.txt,", + "type": "string" + } + }, + "id": "LocalCopy" + }, + "DockerExecutor": { + "description": "The Docker execuctor specification.", + "type": "object", + "properties": { + "cmd": { + "description": "Required. The command or newline delimited script to run. The command\nstring will be executed within a bash shell.\n\nIf the command exits with a non-zero exit code, output parameter\nde-localization will be skipped and the pipeline operation's\n`error` field will be populated.\n\nMaximum command string length is 16384.", + "type": "string" + }, + "imageName": { + "description": "Required. Image name from either Docker Hub or Google Container Registry.\nUsers that run pipelines must have READ access to the image.", + "type": "string" + } + }, + "id": "DockerExecutor" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {}, + "id": "Empty" + }, + "Disk": { + "description": "A Google Compute Engine disk resource specification.", + "type": "object", + "properties": { + "name": { + "description": "Required. The name of the disk that can be used in the pipeline\nparameters. Must be 1 - 63 characters.\nThe name \"boot\" is reserved for system use.", + "type": "string" + }, + "type": { + "description": "Required. The type of the disk to create.", + "type": "string", + "enumDescriptions": [ + "Default disk type. Use one of the other options below.", + "Specifies a Google Compute Engine persistent hard disk. See\nhttps://cloud.google.com/compute/docs/disks/#pdspecs for details.", + "Specifies a Google Compute Engine persistent solid-state disk. See\nhttps://cloud.google.com/compute/docs/disks/#pdspecs for details.", + "Specifies a Google Compute Engine local SSD.\nSee https://cloud.google.com/compute/docs/disks/local-ssd for details." + ], + "enum": [ + "TYPE_UNSPECIFIED", + "PERSISTENT_HDD", + "PERSISTENT_SSD", + "LOCAL_SSD" + ] + }, + "autoDelete": { + "description": "Deprecated. Disks created by the Pipelines API will be deleted at the end\nof the pipeline run, regardless of what this field is set to.", + "type": "boolean" + }, + "sizeGb": { + "description": "The size of the disk. Defaults to 500 (GB).\nThis field is not applicable for local SSD.", + "format": "int32", + "type": "integer" + }, + "mountPoint": { + "description": "Required at create time and cannot be overridden at run time.\nSpecifies the path in the docker container where files on\nthis disk should be located. For example, if `mountPoint`\nis `/mnt/disk`, and the parameter has `localPath`\n`inputs/file.txt`, the docker container can access the data at\n`/mnt/disk/inputs/file.txt`.", + "type": "string" + }, + "source": { + "description": "The full or partial URL of the persistent disk to attach. See\nhttps://cloud.google.com/compute/docs/reference/latest/instances#resource\nand\nhttps://cloud.google.com/compute/docs/disks/persistent-disks#snapshots\nfor more details.", + "type": "string" + } + }, + "id": "Disk" + }, + "PipelineParameter": { + "description": "Parameters facilitate setting and delivering data into the\npipeline's execution environment. They are defined at create time,\nwith optional defaults, and can be overridden at run time.\n\nIf `localCopy` is unset, then the parameter specifies a string that\nis passed as-is into the pipeline, as the value of the environment\nvariable with the given name. A default value can be optionally\nspecified at create time. The default can be overridden at run time\nusing the inputs map. If no default is given, a value must be\nsupplied at runtime.\n\nIf `localCopy` is defined, then the parameter specifies a data\nsource or sink, both in Google Cloud Storage and on the Docker container\nwhere the pipeline computation is run. The service account associated with\nthe Pipeline (by\ndefault the project's Compute Engine service account) must have access to the\nGoogle Cloud Storage paths.\n\nAt run time, the Google Cloud Storage paths can be overridden if a default\nwas provided at create time, or must be set otherwise. The pipeline runner\nshould add a key/value pair to either the inputs or outputs map. The\nindicated data copies will be carried out before/after pipeline execution,\njust as if the corresponding arguments were provided to `gsutil cp`.\n\nFor example: Given the following `PipelineParameter`, specified\nin the `inputParameters` list:\n\n```\n{name: \"input_file\", localCopy: {path: \"file.txt\", disk: \"pd1\"}}\n```\n\nwhere `disk` is defined in the `PipelineResources` object as:\n\n```\n{name: \"pd1\", mountPoint: \"/mnt/disk/\"}\n```\n\nWe create a disk named `pd1`, mount it on the host VM, and map\n`/mnt/pd1` to `/mnt/disk` in the docker container. At\nruntime, an entry for `input_file` would be required in the inputs\nmap, such as:\n\n```\n inputs[\"input_file\"] = \"gs://my-bucket/bar.txt\"\n```\n\nThis would generate the following gsutil call:\n\n```\n gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt\n```\n\nThe file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the\nDocker container. Acceptable paths are:\n\n\u003ctable\u003e\n \u003cthead\u003e\n \u003ctr\u003e\u003cth\u003eGoogle Cloud storage path\u003c/th\u003e\u003cth\u003eLocal path\u003c/th\u003e\u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\u003ctd\u003efile\u003c/td\u003e\u003ctd\u003efile\u003c/td\u003e\u003c/tr\u003e\n \u003ctr\u003e\u003ctd\u003eglob\u003c/td\u003e\u003ctd\u003edirectory\u003c/td\u003e\u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\nFor outputs, the direction of the copy is reversed:\n\n```\n gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt\n```\n\nAcceptable paths are:\n\n\u003ctable\u003e\n \u003cthead\u003e\n \u003ctr\u003e\u003cth\u003eLocal path\u003c/th\u003e\u003cth\u003eGoogle Cloud Storage path\u003c/th\u003e\u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\u003ctd\u003efile\u003c/td\u003e\u003ctd\u003efile\u003c/td\u003e\u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003efile\u003c/td\u003e\n \u003ctd\u003edirectory - directory must already exist\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003eglob\u003c/td\u003e\n \u003ctd\u003edirectory - directory will be created if it doesn't exist\u003c/td\u003e\u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\nOne restriction due to docker limitations, is that for outputs that are found\non the boot disk, the local path cannot be a glob and must be a file.", + "type": "object", + "properties": { + "description": { + "description": "Human-readable description.", + "type": "string" + }, + "localCopy": { + "description": "If present, this parameter is marked for copying to and from the VM.\n`LocalCopy` indicates where on the VM the file should be. The value\ngiven to this parameter (either at runtime or using `defaultValue`)\nmust be the remote path where the file should be.", + "$ref": "LocalCopy" + }, + "defaultValue": { + "description": "The default value for this parameter. Can be overridden at runtime.\nIf `localCopy` is present, then this must be a Google Cloud Storage path\nbeginning with `gs://`.", + "type": "string" + }, + "name": { + "description": "Required. Name of the parameter - the pipeline runner uses this string\nas the key to the input and output maps in RunPipeline.", + "type": "string" + } + }, + "id": "PipelineParameter" + }, + "LoggingOptions": { + "description": "The logging options for the pipeline run.", + "type": "object", + "properties": { + "gcsPath": { + "description": "The location in Google Cloud Storage to which the pipeline logs\nwill be copied. Can be specified as a fully qualified directory\npath, in which case logs will be output with a unique identifier\nas the filename in that directory, or as a fully specified path,\nwhich must end in `.log`, in which case that path will be\nused, and the user must ensure that logs are not\noverwritten. Stdout and stderr logs from the run are also\ngenerated and output as `-stdout.log` and `-stderr.log`.", + "type": "string" + } + }, + "id": "LoggingOptions" + }, + "RunPipelineRequest": { + "description": "The request to run a pipeline. If `pipelineId` is specified, it\nrefers to a saved pipeline created with CreatePipeline and set as\nthe `pipelineId` of the returned Pipeline object. If\n`ephemeralPipeline` is specified, that pipeline is run once\nwith the given args and not saved. It is an error to specify both\n`pipelineId` and `ephemeralPipeline`. `pipelineArgs`\nmust be specified.", + "type": "object", + "properties": { + "pipelineId": { + "description": "The already created pipeline to run.", + "type": "string" + }, + "ephemeralPipeline": { + "$ref": "Pipeline", + "description": "A new pipeline object to run once and then delete." + }, + "pipelineArgs": { + "description": "The arguments to use when running this pipeline.", + "$ref": "RunPipelineArgs" + } + }, + "id": "RunPipelineRequest" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "type": "object", + "properties": {}, + "id": "CancelOperationRequest" + }, + "RuntimeMetadata": { + "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.", + "type": "object", + "properties": { + "computeEngine": { + "$ref": "ComputeEngine", + "description": "Execution information specific to Google Compute Engine." + } + }, + "id": "RuntimeMetadata" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "type": "object", + "properties": { + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "An OperationMetadata object. This will always be returned with the Operation.", + "type": "object" + }, + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "response": { + "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For pipelines and exports, an empty response is returned.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", + "type": "string" + } + }, + "id": "Operation" + }, + "ImportReadGroupSetsResponse": { + "description": "The read group set import response.", + "type": "object", + "properties": { + "readGroupSetIds": { + "description": "IDs of the read group sets that were created.", "type": "array", "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" + "type": "string" } - }, + } + }, + "id": "ImportReadGroupSetsResponse" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { "code": { "description": "The status code, which should be an enum value of google.rpc.Code.", "format": "int32", @@ -393,10 +593,20 @@ "message": { "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", "type": "string" + }, + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } } }, - "id": "Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons." + "id": "Status" }, "ServiceAccount": { "description": "A Google Cloud Service Account.", @@ -421,21 +631,21 @@ "type": "object", "properties": { "resources": { - "description": "Required. Specifies resource requirements for the pipeline run.\nRequired fields:\n\n*\nminimumCpuCores\n\n*\nminimumRamGb", - "$ref": "PipelineResources" + "$ref": "PipelineResources", + "description": "Required. Specifies resource requirements for the pipeline run.\nRequired fields:\n\n*\nminimumCpuCores\n\n*\nminimumRamGb" }, "name": { "description": "Required. A user specified pipeline name that does not have to be unique.\nThis name can be used for filtering Pipelines in ListPipelines.", "type": "string" }, - "pipelineId": { - "description": "Unique pipeline id that is generated by the service when CreatePipeline\nis called. Cannot be specified in the Pipeline used in the\nCreatePipelineRequest, and will be populated in the response to\nCreatePipeline and all subsequent Get and List calls. Indicates that the\nservice has registered this pipeline.", - "type": "string" - }, "projectId": { "description": "Required. The project in which to create the pipeline. The caller must have\nWRITE access.", "type": "string" }, + "pipelineId": { + "description": "Unique pipeline id that is generated by the service when CreatePipeline\nis called. Cannot be specified in the Pipeline used in the\nCreatePipelineRequest, and will be populated in the response to\nCreatePipeline and all subsequent Get and List calls. Indicates that the\nservice has registered this pipeline.", + "type": "string" + }, "outputParameters": { "description": "Output parameters of the pipeline.", "type": "array", @@ -465,31 +675,20 @@ "description": "The system resources for the pipeline run.", "type": "object", "properties": { - "noAddress": { - "description": "Whether to assign an external IP to the instance. This is an experimental\nfeature that may go away. Defaults to false.\nCorresponds to `--no_address` flag for [gcloud compute instances create]\n(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create).\nIn order to use this, must be true for both create time and run time.\nCannot be true at run time if false at create time. If you need to ssh into\na private IP VM for debugging, you can ssh to a public VM and then ssh into\nthe private VM's Internal IP. If noAddress is set, this pipeline run may\nonly load docker images from Google Container Registry and not Docker Hub.\nBefore using this, you must\n[configure access to Google services from internal IPs](https://cloud.google.com/compute/docs/configure-private-google-access#configuring_access_to_google_services_from_internal_ips).", - "type": "boolean" - }, - "disks": { - "description": "Disks to attach.", - "type": "array", - "items": { - "$ref": "Disk" - } - }, "bootDiskSizeGb": { - "type": "integer", "description": "The size of the boot disk. Defaults to 10 (GB).", - "format": "int32" - }, - "preemptible": { - "type": "boolean", - "description": "Whether to use preemptible VMs. Defaults to `false`. In order to use this,\nmust be true for both create time and run time. Cannot be true at run time\nif false at create time." + "format": "int32", + "type": "integer" }, "minimumRamGb": { "description": "The minimum amount of RAM to use. Defaults to 3.75 (GB)", "format": "double", "type": "number" }, + "preemptible": { + "description": "Whether to use preemptible VMs. Defaults to `false`. In order to use this,\nmust be true for both create time and run time. Cannot be true at run time\nif false at create time.", + "type": "boolean" + }, "zones": { "description": "List of Google Compute Engine availability zones to which resource\ncreation will restricted. If empty, any zone may be chosen.", "type": "array", @@ -501,28 +700,25 @@ "description": "The minimum number of cores to use. Defaults to 1.", "format": "int32", "type": "integer" + }, + "noAddress": { + "description": "Whether to assign an external IP to the instance. This is an experimental\nfeature that may go away. Defaults to false.\nCorresponds to `--no_address` flag for [gcloud compute instances create]\n(https://cloud.google.com/sdk/gcloud/reference/compute/instances/create).\nIn order to use this, must be true for both create time and run time.\nCannot be true at run time if false at create time. If you need to ssh into\na private IP VM for debugging, you can ssh to a public VM and then ssh into\nthe private VM's Internal IP. If noAddress is set, this pipeline run may\nonly load docker images from Google Container Registry and not Docker Hub.\nBefore using this, you must\n[configure access to Google services from internal IPs](https://cloud.google.com/compute/docs/configure-private-google-access#configuring_access_to_google_services_from_internal_ips).", + "type": "boolean" + }, + "disks": { + "description": "Disks to attach.", + "type": "array", + "items": { + "$ref": "Disk" + } } }, "id": "PipelineResources" }, "ControllerConfig": { + "description": "Stores the information that the controller will fetch from the\nserver in order to run. Should only be used by VMs created by the\nPipelines Service and not by end users.", "type": "object", "properties": { - "cmd": { - "type": "string" - }, - "vars": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "image": { - "type": "string" - }, - "gcsLogPath": { - "type": "string" - }, "gcsSources": { "additionalProperties": { "$ref": "RepeatedString" @@ -536,27 +732,36 @@ "type": "object" }, "disks": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "machineType": { + "type": "string" + }, + "cmd": { + "type": "string" + }, + "vars": { "additionalProperties": { "type": "string" }, "type": "object" }, - "machineType": { + "image": { + "type": "string" + }, + "gcsLogPath": { "type": "string" } }, - "id": "ControllerConfig", - "description": "Stores the information that the controller will fetch from the\nserver in order to run. Should only be used by VMs created by the\nPipelines Service and not by end users." + "id": "ControllerConfig" }, "OperationEvent": { "description": "An event that occurred during an Operation.", "type": "object", "properties": { - "startTime": { - "description": "Optional time of when event started.", - "format": "google-datetime", - "type": "string" - }, "description": { "description": "Required description of event.", "type": "string" @@ -565,6 +770,11 @@ "description": "Optional time of when event finished. An event can have a start time and no\nfinish time. If an event has a finish time, there must be a start time.", "format": "google-datetime", "type": "string" + }, + "startTime": { + "description": "Optional time of when event started.", + "format": "google-datetime", + "type": "string" } }, "id": "OperationEvent" @@ -600,7 +810,21 @@ "id": "ListOperationsResponse" }, "OperationMetadata": { + "description": "Metadata describing an Operation.", + "type": "object", "properties": { + "labels": { + "description": "Optionally provided by the caller when submitting the request that creates\nthe operation.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "createTime": { + "description": "The time at which the job was submitted to the Genomics service.", + "format": "google-datetime", + "type": "string" + }, "projectId": { "description": "The Google Cloud Project in which the job is scoped.", "type": "string" @@ -609,6 +833,11 @@ "description": "This field is deprecated. Use `labels` instead. Optionally provided by the\ncaller when submitting the request that creates the operation.", "type": "string" }, + "endTime": { + "description": "The time at which the job stopped running.", + "format": "google-datetime", + "type": "string" + }, "events": { "description": "Optional event messages that were generated during the job's execution.\nThis also contains any warnings that were generated during import\nor export.", "type": "array", @@ -616,11 +845,6 @@ "$ref": "OperationEvent" } }, - "endTime": { - "description": "The time at which the job stopped running.", - "format": "google-datetime", - "type": "string" - }, "startTime": { "description": "The time at which the job began to run.", "format": "google-datetime", @@ -635,44 +859,48 @@ "type": "object" }, "runtimeMetadata": { + "description": "Runtime metadata on this Operation.", + "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" - }, - "description": "Runtime metadata on this Operation.", - "type": "object" - }, - "createTime": { - "description": "The time at which the job was submitted to the Genomics service.", - "format": "google-datetime", + } + } + }, + "id": "OperationMetadata" + }, + "ListPipelinesResponse": { + "description": "The response of ListPipelines. Contains at most `pageSize`\npipelines. If it contains `pageSize` pipelines, and more pipelines\nexist, then `nextPageToken` will be populated and should be\nused as the `pageToken` argument to a subsequent ListPipelines\nrequest.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "The token to use to get the next page of results.", "type": "string" }, - "labels": { - "description": "Optionally provided by the caller when submitting the request that creates\nthe operation.", - "type": "object", - "additionalProperties": { - "type": "string" + "pipelines": { + "description": "The matched pipelines.", + "type": "array", + "items": { + "$ref": "Pipeline" } } }, - "id": "OperationMetadata", - "description": "Metadata describing an Operation.", - "type": "object" + "id": "ListPipelinesResponse" }, "RunPipelineArgs": { "description": "The pipeline run arguments.", "type": "object", "properties": { "logging": { - "description": "Required. Logging options. Used by the service to communicate results\nto the user.", - "$ref": "LoggingOptions" + "$ref": "LoggingOptions", + "description": "Required. Logging options. Used by the service to communicate results\nto the user." }, "labels": { - "description": "Labels to apply to this pipeline run. Labels will also be applied to\ncompute resources (VM, disks) created by this pipeline run. When listing\noperations, operations can filtered by labels.\nLabel keys may not be empty; label values may be empty. Non-empty labels\nmust be 1-63 characters long, and comply with [RFC1035]\n(https://www.ietf.org/rfc/rfc1035.txt).\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", - "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Labels to apply to this pipeline run. Labels will also be applied to\ncompute resources (VM, disks) created by this pipeline run. When listing\noperations, operations can filtered by labels.\nLabel keys may not be empty; label values may be empty. Non-empty labels\nmust be 1-63 characters long, and comply with [RFC1035]\n(https://www.ietf.org/rfc/rfc1035.txt).\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.", + "type": "object" }, "keepVmAliveOnFailureDuration": { "description": "How long to keep the VM up after a failure (for example docker command\nfailed, copying input or output files failed, etc). While the VM is up, one\ncan ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.", @@ -699,39 +927,20 @@ "type": "string" }, "serviceAccount": { - "$ref": "ServiceAccount", - "description": "The Google Cloud Service Account that will be used to access data and\nservices. By default, the compute service account associated with\n`projectId` is used." + "description": "The Google Cloud Service Account that will be used to access data and\nservices. By default, the compute service account associated with\n`projectId` is used.", + "$ref": "ServiceAccount" }, - "inputs": { - "additionalProperties": { - "type": "string" - }, - "description": "Pipeline input arguments; keys are defined in the pipeline documentation.\nAll input parameters that do not have default values must be specified.\nIf parameters with defaults are specified here, the defaults will be\noverridden.", - "type": "object" - } - }, - "id": "RunPipelineArgs" - }, - "ListPipelinesResponse": { - "description": "The response of ListPipelines. Contains at most `pageSize`\npipelines. If it contains `pageSize` pipelines, and more pipelines\nexist, then `nextPageToken` will be populated and should be\nused as the `pageToken` argument to a subsequent ListPipelines\nrequest.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "The token to use to get the next page of results.", - "type": "string" - }, - "pipelines": { - "description": "The matched pipelines.", - "type": "array", - "items": { - "$ref": "Pipeline" + "inputs": { + "description": "Pipeline input arguments; keys are defined in the pipeline documentation.\nAll input parameters that do not have default values must be specified.\nIf parameters with defaults are specified here, the defaults will be\noverridden.", + "type": "object", + "additionalProperties": { + "type": "string" } } }, - "id": "ListPipelinesResponse" + "id": "RunPipelineArgs" }, "SetOperationStatusRequest": { - "id": "SetOperationStatusRequest", "description": "Request to set operation status. Should only be used by VMs\ncreated by the Pipelines Service and not by end users.", "type": "object", "properties": { @@ -792,13 +1001,31 @@ "$ref": "TimestampEvent" } } - } + }, + "id": "SetOperationStatusRequest" + }, + "ImportVariantsResponse": { + "description": "The variant data import response.", + "type": "object", + "properties": { + "callSetIds": { + "description": "IDs of the call sets created during the import.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "ImportVariantsResponse" }, "ComputeEngine": { - "id": "ComputeEngine", "description": "Describes a Compute Engine resource that is being managed by a running\npipeline.", "type": "object", "properties": { + "instanceName": { + "description": "The instance on which the operation is running.", + "type": "string" + }, "zone": { "description": "The availability zone in which the instance resides.", "type": "string" @@ -813,35 +1040,18 @@ "items": { "type": "string" } - }, - "instanceName": { - "description": "The instance on which the operation is running.", - "type": "string" - } - } - }, - "ImportVariantsResponse": { - "description": "The variant data import response.", - "type": "object", - "properties": { - "callSetIds": { - "description": "IDs of the call sets created during the import.", - "type": "array", - "items": { - "type": "string" - } } }, - "id": "ImportVariantsResponse" + "id": "ComputeEngine" }, "TimestampEvent": { "description": "Stores the list of events and times they occured for major events in job\nexecution.", "type": "object", "properties": { "timestamp": { - "type": "string", "description": "The time this event occured.", - "format": "google-datetime" + "format": "google-datetime", + "type": "string" }, "description": { "description": "String indicating the type of event", @@ -849,210 +1059,11 @@ } }, "id": "TimestampEvent" - }, - "LocalCopy": { - "description": "LocalCopy defines how a remote file should be copied to and from the VM.", - "type": "object", - "properties": { - "path": { - "description": "Required. The path within the user's docker container where\nthis input should be localized to and from, relative to the specified\ndisk's mount point. For example: file.txt,", - "type": "string" - }, - "disk": { - "description": "Required. The name of the disk where this parameter is\nlocated. Can be the name of one of the disks specified in the\nResources field, or \"boot\", which represents the Docker\ninstance's boot disk and has a mount point of `/`.", - "type": "string" - } - }, - "id": "LocalCopy" - }, - "DockerExecutor": { - "description": "The Docker execuctor specification.", - "type": "object", - "properties": { - "imageName": { - "description": "Required. Image name from either Docker Hub or Google Container Registry.\nUsers that run pipelines must have READ access to the image.", - "type": "string" - }, - "cmd": { - "description": "Required. The command or newline delimited script to run. The command\nstring will be executed within a bash shell.\n\nIf the command exits with a non-zero exit code, output parameter\nde-localization will be skipped and the pipeline operation's\n`error` field will be populated.\n\nMaximum command string length is 16384.", - "type": "string" - } - }, - "id": "DockerExecutor" - }, - "Disk": { - "description": "A Google Compute Engine disk resource specification.", - "type": "object", - "properties": { - "name": { - "description": "Required. The name of the disk that can be used in the pipeline\nparameters. Must be 1 - 63 characters.\nThe name \"boot\" is reserved for system use.", - "type": "string" - }, - "type": { - "enum": [ - "TYPE_UNSPECIFIED", - "PERSISTENT_HDD", - "PERSISTENT_SSD", - "LOCAL_SSD" - ], - "description": "Required. The type of the disk to create.", - "type": "string", - "enumDescriptions": [ - "Default disk type. Use one of the other options below.", - "Specifies a Google Compute Engine persistent hard disk. See\nhttps://cloud.google.com/compute/docs/disks/#pdspecs for details.", - "Specifies a Google Compute Engine persistent solid-state disk. See\nhttps://cloud.google.com/compute/docs/disks/#pdspecs for details.", - "Specifies a Google Compute Engine local SSD.\nSee https://cloud.google.com/compute/docs/disks/local-ssd for details." - ] - }, - "autoDelete": { - "description": "Deprecated. Disks created by the Pipelines API will be deleted at the end\nof the pipeline run, regardless of what this field is set to.", - "type": "boolean" - }, - "sizeGb": { - "description": "The size of the disk. Defaults to 500 (GB).\nThis field is not applicable for local SSD.", - "format": "int32", - "type": "integer" - }, - "mountPoint": { - "description": "Required at create time and cannot be overridden at run time.\nSpecifies the path in the docker container where files on\nthis disk should be located. For example, if `mountPoint`\nis `/mnt/disk`, and the parameter has `localPath`\n`inputs/file.txt`, the docker container can access the data at\n`/mnt/disk/inputs/file.txt`.", - "type": "string" - }, - "source": { - "description": "The full or partial URL of the persistent disk to attach. See\nhttps://cloud.google.com/compute/docs/reference/latest/instances#resource\nand\nhttps://cloud.google.com/compute/docs/disks/persistent-disks#snapshots\nfor more details.", - "type": "string" - } - }, - "id": "Disk" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object" - }, - "PipelineParameter": { - "description": "Parameters facilitate setting and delivering data into the\npipeline's execution environment. They are defined at create time,\nwith optional defaults, and can be overridden at run time.\n\nIf `localCopy` is unset, then the parameter specifies a string that\nis passed as-is into the pipeline, as the value of the environment\nvariable with the given name. A default value can be optionally\nspecified at create time. The default can be overridden at run time\nusing the inputs map. If no default is given, a value must be\nsupplied at runtime.\n\nIf `localCopy` is defined, then the parameter specifies a data\nsource or sink, both in Google Cloud Storage and on the Docker container\nwhere the pipeline computation is run. The service account associated with\nthe Pipeline (by\ndefault the project's Compute Engine service account) must have access to the\nGoogle Cloud Storage paths.\n\nAt run time, the Google Cloud Storage paths can be overridden if a default\nwas provided at create time, or must be set otherwise. The pipeline runner\nshould add a key/value pair to either the inputs or outputs map. The\nindicated data copies will be carried out before/after pipeline execution,\njust as if the corresponding arguments were provided to `gsutil cp`.\n\nFor example: Given the following `PipelineParameter`, specified\nin the `inputParameters` list:\n\n```\n{name: \"input_file\", localCopy: {path: \"file.txt\", disk: \"pd1\"}}\n```\n\nwhere `disk` is defined in the `PipelineResources` object as:\n\n```\n{name: \"pd1\", mountPoint: \"/mnt/disk/\"}\n```\n\nWe create a disk named `pd1`, mount it on the host VM, and map\n`/mnt/pd1` to `/mnt/disk` in the docker container. At\nruntime, an entry for `input_file` would be required in the inputs\nmap, such as:\n\n```\n inputs[\"input_file\"] = \"gs://my-bucket/bar.txt\"\n```\n\nThis would generate the following gsutil call:\n\n```\n gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt\n```\n\nThe file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the\nDocker container. Acceptable paths are:\n\n\u003ctable\u003e\n \u003cthead\u003e\n \u003ctr\u003e\u003cth\u003eGoogle Cloud storage path\u003c/th\u003e\u003cth\u003eLocal path\u003c/th\u003e\u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\u003ctd\u003efile\u003c/td\u003e\u003ctd\u003efile\u003c/td\u003e\u003c/tr\u003e\n \u003ctr\u003e\u003ctd\u003eglob\u003c/td\u003e\u003ctd\u003edirectory\u003c/td\u003e\u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\nFor outputs, the direction of the copy is reversed:\n\n```\n gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt\n```\n\nAcceptable paths are:\n\n\u003ctable\u003e\n \u003cthead\u003e\n \u003ctr\u003e\u003cth\u003eLocal path\u003c/th\u003e\u003cth\u003eGoogle Cloud Storage path\u003c/th\u003e\u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\u003ctd\u003efile\u003c/td\u003e\u003ctd\u003efile\u003c/td\u003e\u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003efile\u003c/td\u003e\n \u003ctd\u003edirectory - directory must already exist\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003eglob\u003c/td\u003e\n \u003ctd\u003edirectory - directory will be created if it doesn't exist\u003c/td\u003e\u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\nOne restriction due to docker limitations, is that for outputs that are found\non the boot disk, the local path cannot be a glob and must be a file.", - "type": "object", - "properties": { - "localCopy": { - "$ref": "LocalCopy", - "description": "If present, this parameter is marked for copying to and from the VM.\n`LocalCopy` indicates where on the VM the file should be. The value\ngiven to this parameter (either at runtime or using `defaultValue`)\nmust be the remote path where the file should be." - }, - "defaultValue": { - "description": "The default value for this parameter. Can be overridden at runtime.\nIf `localCopy` is present, then this must be a Google Cloud Storage path\nbeginning with `gs://`.", - "type": "string" - }, - "name": { - "description": "Required. Name of the parameter - the pipeline runner uses this string\nas the key to the input and output maps in RunPipeline.", - "type": "string" - }, - "description": { - "description": "Human-readable description.", - "type": "string" - } - }, - "id": "PipelineParameter" - }, - "LoggingOptions": { - "description": "The logging options for the pipeline run.", - "type": "object", - "properties": { - "gcsPath": { - "description": "The location in Google Cloud Storage to which the pipeline logs\nwill be copied. Can be specified as a fully qualified directory\npath, in which case logs will be output with a unique identifier\nas the filename in that directory, or as a fully specified path,\nwhich must end in `.log`, in which case that path will be\nused, and the user must ensure that logs are not\noverwritten. Stdout and stderr logs from the run are also\ngenerated and output as `-stdout.log` and `-stderr.log`.", - "type": "string" - } - }, - "id": "LoggingOptions" - }, - "RunPipelineRequest": { - "description": "The request to run a pipeline. If `pipelineId` is specified, it\nrefers to a saved pipeline created with CreatePipeline and set as\nthe `pipelineId` of the returned Pipeline object. If\n`ephemeralPipeline` is specified, that pipeline is run once\nwith the given args and not saved. It is an error to specify both\n`pipelineId` and `ephemeralPipeline`. `pipelineArgs`\nmust be specified.", - "type": "object", - "properties": { - "pipelineId": { - "description": "The already created pipeline to run.", - "type": "string" - }, - "ephemeralPipeline": { - "$ref": "Pipeline", - "description": "A new pipeline object to run once and then delete." - }, - "pipelineArgs": { - "description": "The arguments to use when running this pipeline.", - "$ref": "RunPipelineArgs" - } - }, - "id": "RunPipelineRequest" - }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "type": "object", - "properties": {}, - "id": "CancelOperationRequest" - }, - "Operation": { - "type": "object", - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If importing Variants, an ImportVariantsResponse is returned. For pipelines and exports, an empty response is returned.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`", - "type": "string" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "An OperationMetadata object. This will always be returned with the Operation.", - "type": "object" - } - }, - "id": "Operation", - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call." - }, - "RuntimeMetadata": { - "description": "Runtime metadata that will be populated in the\nruntimeMetadata\nfield of the Operation associated with a RunPipeline execution.", - "type": "object", - "properties": { - "computeEngine": { - "description": "Execution information specific to Google Compute Engine.", - "$ref": "ComputeEngine" - } - }, - "id": "RuntimeMetadata" - }, - "ImportReadGroupSetsResponse": { - "description": "The read group set import response.", - "type": "object", - "properties": { - "readGroupSetIds": { - "description": "IDs of the read group sets that were created.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "ImportReadGroupSetsResponse" } }, "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "protocol": "rest", "version": "v1alpha2", @@ -1060,27 +1071,16 @@ "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/compute": { - "description": "View and manage your Google Compute Engine resources" - }, "https://www.googleapis.com/auth/cloud-platform": { "description": "View and manage your data across Google Cloud Platform services" }, "https://www.googleapis.com/auth/genomics": { "description": "View and manage Genomics data" + }, + "https://www.googleapis.com/auth/compute": { + "description": "View and manage your Google Compute Engine resources" } } } - }, - "kind": "discovery#restDescription", - "description": "Upload, process, query, and search Genomics data in the cloud.", - "servicePath": "", - "rootUrl": "https://genomics.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "genomics", - "batchPath": "batch", - "id": "genomics:v1alpha2", - "documentationLink": "https://cloud.google.com/genomics", - "revision": "20170329" + } } diff --git a/DiscoveryJson/iam_v1.json b/DiscoveryJson/iam_v1.json index 5b40d92d9e..aac8bd2b1d 100644 --- a/DiscoveryJson/iam_v1.json +++ b/DiscoveryJson/iam_v1.json @@ -1,563 +1,184 @@ { - "canonicalName": "iam", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" + "version": "v1", + "baseUrl": "https://iam.googleapis.com/", + "kind": "discovery#restDescription", + "description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.", + "servicePath": "", + "basePath": "", + "revision": "20170324", + "documentationLink": "https://cloud.google.com/iam/", + "id": "iam:v1", + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { + "AuditData": { + "description": "Audit log information specific to Cloud IAM. This message is serialized\nas an `Any` type in the `ServiceData` message of an\n`AuditLog` message.", + "type": "object", + "properties": { + "policyDelta": { + "$ref": "PolicyDelta", + "description": "Policy delta between the original policy and the newly set policy." } - } - } - }, - "rootUrl": "https://iam.googleapis.com/", - "ownerDomain": "google.com", - "name": "iam", - "batchPath": "batch", - "title": "Google Identity and Access Management (IAM) API", - "ownerName": "Google", - "resources": { - "projects": { - "resources": { - "serviceAccounts": { - "methods": { - "testIamPermissions": { - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Tests the specified permissions against the IAM access control policy\nfor a ServiceAccount.", - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:testIamPermissions", - "id": "iam.projects.serviceAccounts.testIamPermissions", - "path": "v1/{+resource}:testIamPermissions" - }, - "delete": { - "description": "Deletes a ServiceAccount.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "parameters": { - "name": { - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}", - "path": "v1/{+name}", - "id": "iam.projects.serviceAccounts.delete" - }, - "signBlob": { - "parameters": { - "name": { - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signBlob", - "id": "iam.projects.serviceAccounts.signBlob", - "path": "v1/{+name}:signBlob", - "request": { - "$ref": "SignBlobRequest" - }, - "description": "Signs a blob using a service account's system-managed private key.", - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "SignBlobResponse" - } - }, - "list": { - "description": "Lists ServiceAccounts for a project.", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "ListServiceAccountsResponse" - }, - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "location": "path", - "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - }, - "pageToken": { - "location": "query", - "description": "Optional pagination token returned in an earlier\nListServiceAccountsResponse.next_page_token.", - "type": "string" - }, - "pageSize": { - "description": "Optional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequently be obtained by including the\nListServiceAccountsResponse.next_page_token\nin a subsequent request.", - "format": "int32", - "type": "integer", - "location": "query" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts", - "path": "v1/{+name}/serviceAccounts", - "id": "iam.projects.serviceAccounts.list" - }, - "signJwt": { - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signJwt", - "id": "iam.projects.serviceAccounts.signJwt", - "path": "v1/{+name}:signJwt", - "request": { - "$ref": "SignJwtRequest" - }, - "description": "Signs a JWT using a service account's system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you request an expiry time of\nmore than one hour, the request will fail.", - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "SignJwtResponse" - }, - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "setIamPolicy": { - "path": "v1/{+resource}:setIamPolicy", - "id": "iam.projects.serviceAccounts.setIamPolicy", - "description": "Sets the IAM access control policy for a\nServiceAccount.", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:setIamPolicy" - }, - "create": { - "response": { - "$ref": "ServiceAccount" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts", - "path": "v1/{+name}/serviceAccounts", - "id": "iam.projects.serviceAccounts.create", - "description": "Creates a ServiceAccount\nand returns it.", - "request": { - "$ref": "CreateServiceAccountRequest" - } - }, - "getIamPolicy": { - "description": "Returns the IAM access control policy for a\nServiceAccount.", - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:getIamPolicy", - "id": "iam.projects.serviceAccounts.getIamPolicy", - "path": "v1/{+resource}:getIamPolicy" - }, - "get": { - "description": "Gets a ServiceAccount.", - "response": { - "$ref": "ServiceAccount" - }, - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}", - "path": "v1/{+name}", - "id": "iam.projects.serviceAccounts.get" - }, - "update": { - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}", - "id": "iam.projects.serviceAccounts.update", - "path": "v1/{+name}", - "request": { - "$ref": "ServiceAccount" - }, - "description": "Updates a ServiceAccount.\n\nCurrently, only the following fields are updatable:\n`display_name` .\nThe `etag` is mandatory.", - "httpMethod": "PUT", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "ServiceAccount" - }, - "parameters": { - "name": { - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, - "resources": { - "keys": { - "methods": { - "delete": { - "description": "Deletes a ServiceAccountKey.", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Empty" - }, - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}", - "path": "v1/{+name}", - "id": "iam.projects.serviceAccounts.keys.delete" - }, - "list": { - "response": { - "$ref": "ListServiceAccountKeysResponse" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nUsing `-` as a wildcard for the project, will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string" - }, - "keyTypes": { - "enum": [ - "KEY_TYPE_UNSPECIFIED", - "USER_MANAGED", - "SYSTEM_MANAGED" - ], - "description": "Filters the types of keys the user wants to include in the list\nresponse. Duplicate key types are not allowed. If no key type\nis provided, all keys are returned.", - "type": "string", - "repeated": true, - "location": "query" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys", - "path": "v1/{+name}/keys", - "id": "iam.projects.serviceAccounts.keys.list", - "description": "Lists ServiceAccountKeys." - }, - "get": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "publicKeyType": { - "enum": [ - "TYPE_NONE", - "TYPE_X509_PEM_FILE", - "TYPE_RAW_PUBLIC_KEY" - ], - "description": "The output format of the public key requested.\nX509_PEM is the default output format.", - "type": "string", - "location": "query" - }, - "name": { - "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}", - "id": "iam.projects.serviceAccounts.keys.get", - "path": "v1/{+name}", - "description": "Gets the ServiceAccountKey\nby key id.", - "httpMethod": "GET", - "response": { - "$ref": "ServiceAccountKey" - }, - "parameterOrder": [ - "name" - ] - }, - "create": { - "description": "Creates a ServiceAccountKey\nand returns it.", - "request": { - "$ref": "CreateServiceAccountKeyRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "ServiceAccountKey" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "location": "path", - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$" - } - }, - "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys", - "id": "iam.projects.serviceAccounts.keys.create", - "path": "v1/{+name}/keys" - } - } - } - } - } - } + }, + "id": "AuditData" }, - "roles": { - "methods": { - "queryGrantableRoles": { - "response": { - "$ref": "QueryGrantableRolesResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "BindingDelta": { + "description": "One delta entry for Binding. Each individual change (only one member in each\nentry) to a binding will be a separate entry.", + "type": "object", + "properties": { + "role": { + "type": "string", + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired" + }, + "action": { + "enum": [ + "ACTION_UNSPECIFIED", + "ADD", + "REMOVE" ], - "flatPath": "v1/roles:queryGrantableRoles", - "path": "v1/roles:queryGrantableRoles", - "id": "iam.roles.queryGrantableRoles", - "request": { - "$ref": "QueryGrantableRolesRequest" + "description": "The action that was performed on a Binding.\nRequired", + "type": "string", + "enumDescriptions": [ + "Unspecified.", + "Addition of a Binding.", + "Removal of a Binding." + ] + }, + "member": { + "description": "A single identity requesting access for a Cloud Platform resource.\nFollows the same format of Binding.members.\nRequired", + "type": "string" + } + }, + "id": "BindingDelta" + }, + "PolicyDelta": { + "description": "The difference delta between two policies.", + "type": "object", + "properties": { + "bindingDeltas": { + "type": "array", + "items": { + "$ref": "BindingDelta" }, - "description": "Queries roles that can be granted on a particular resource.\nA role is grantable if it can be used as the role in a binding for a policy\nfor that resource." + "description": "The delta for Bindings between two policies." } - } - } - }, - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ] + }, + "id": "PolicyDelta" }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + "ListServiceAccountsResponse": { + "type": "object", + "properties": { + "nextPageToken": { + "description": "To retrieve the next page of results, set\nListServiceAccountsRequest.page_token\nto this value.", + "type": "string" + }, + "accounts": { + "type": "array", + "items": { + "$ref": "ServiceAccount" + }, + "description": "The list of matching service accounts." + } + }, + "id": "ListServiceAccountsResponse", + "description": "The service account list response." }, - "alt": { - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json" - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" + "CreateServiceAccountRequest": { + "type": "object", + "properties": { + "accountId": { + "description": "Required. The account id that is used to generate the service account\nemail address and a stable unique id. It is unique within a project,\nmust be 6-30 characters long, and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.", + "type": "string" + }, + "serviceAccount": { + "$ref": "ServiceAccount", + "description": "The ServiceAccount resource to create.\nCurrently, only the following values are user assignable:\n`display_name` ." + } + }, + "id": "CreateServiceAccountRequest", + "description": "The service account create request." }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" + "QueryGrantableRolesResponse": { + "type": "object", + "properties": { + "roles": { + "description": "The list of matching roles.", + "type": "array", + "items": { + "$ref": "Role" + } + } + }, + "id": "QueryGrantableRolesResponse", + "description": "The grantable role query response." }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" + "SignBlobRequest": { + "description": "The service account sign blob request.", + "type": "object", + "properties": { + "bytesToSign": { + "description": "The bytes to sign.", + "format": "byte", + "type": "string" + } + }, + "id": "SignBlobRequest" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "Role": { + "description": "A role in the Identity and Access Management API.", + "type": "object", + "properties": { + "title": { + "description": "Optional. A human-readable title for the role. Typically this\nis limited to 100 UTF-8 bytes.", + "type": "string" + }, + "name": { + "description": "The name of the role.\n\nWhen Role is used in CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles/logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.", + "type": "string" + }, + "description": { + "description": "Optional. A human-readable description for the role.", + "type": "string" + } + }, + "id": "Role" }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" + "SetIamPolicyRequest": { + "type": "object", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + } + }, + "id": "SetIamPolicyRequest", + "description": "Request message for `SetIamPolicy` method." }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "Binding": { + "description": "Associates `members` with a `role`.", + "type": "object", + "properties": { + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "type": "string", + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired" + } + }, + "id": "Binding" }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - } - }, - "version": "v1", - "baseUrl": "https://iam.googleapis.com/", - "description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.", - "kind": "discovery#restDescription", - "servicePath": "", - "basePath": "", - "id": "iam:v1", - "revision": "20170317", - "documentationLink": "https://cloud.google.com/iam/", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { "ServiceAccount": { + "type": "object", "properties": { + "projectId": { + "type": "string", + "description": "@OutputOnly The id of the project that owns the service account." + }, "uniqueId": { "description": "@OutputOnly The unique and stable id of the service account.", "type": "string" @@ -567,36 +188,31 @@ "type": "string" }, "displayName": { - "description": "Optional. A user-specified description of the service account. Must be\nfewer than 100 UTF-8 bytes.", - "type": "string" + "type": "string", + "description": "Optional. A user-specified description of the service account. Must be\nfewer than 100 UTF-8 bytes." }, "etag": { + "type": "string", "description": "Used to perform a consistent read-modify-write.", - "format": "byte", - "type": "string" + "format": "byte" }, "name": { - "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.", - "type": "string" + "type": "string", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`." }, "email": { "type": "string", "description": "@OutputOnly The email address of the service account." - }, - "projectId": { - "description": "@OutputOnly The id of the project that owns the service account.", - "type": "string" } }, "id": "ServiceAccount", - "description": "A service account in the Identity and Access Management API.\n\nTo create a service account, specify the `project_id` and the `account_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n\nIf the account already exists, the account's resource name is returned\nin util::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other methods to access the account.\n\nAll other methods can identify the service account using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", - "type": "object" + "description": "A service account in the Identity and Access Management API.\n\nTo create a service account, specify the `project_id` and the `account_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n\nIf the account already exists, the account's resource name is returned\nin util::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other methods to access the account.\n\nAll other methods can identify the service account using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account." }, "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", "properties": {}, - "id": "Empty" + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." }, "QueryGrantableRolesRequest": { "description": "The grantable role query request.", @@ -609,49 +225,38 @@ }, "id": "QueryGrantableRolesRequest" }, - "ListServiceAccountKeysResponse": { - "description": "The service account keys list response.", + "TestIamPermissionsResponse": { "type": "object", "properties": { - "keys": { - "description": "The public keys for the service account.", + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", "type": "array", "items": { - "$ref": "ServiceAccountKey" + "type": "string" } } }, - "id": "ListServiceAccountKeysResponse" + "id": "TestIamPermissionsResponse", + "description": "Response message for `TestIamPermissions` method." }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", + "ListServiceAccountKeysResponse": { "type": "object", "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "keys": { + "description": "The public keys for the service account.", "type": "array", "items": { - "type": "string" + "$ref": "ServiceAccountKey" } } }, - "id": "TestIamPermissionsResponse" + "id": "ListServiceAccountKeysResponse", + "description": "The service account keys list response." }, "ServiceAccountKey": { - "description": "Represents a service account key.\n\nA service account has two sets of key-pairs: user-managed, and\nsystem-managed.\n\nUser-managed key-pairs can be created and deleted by users. Users are\nresponsible for rotating these keys periodically to ensure security of\ntheir service accounts. Users retain the private key of these key-pairs,\nand Google retains ONLY the public key.\n\nSystem-managed key-pairs are managed automatically by Google, and rotated\ndaily without user intervention. The private key never leaves Google's\nservers to maximize security.\n\nPublic keys for all service accounts are also published at the OAuth2\nService Account API.", "type": "object", "properties": { - "name": { - "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.", - "type": "string" - }, - "validBeforeTime": { - "description": "The key can be used before this timestamp.", - "format": "google-datetime", - "type": "string" - }, "keyAlgorithm": { - "description": "Specifies the algorithm (and possibly key size) for the key.", "type": "string", "enumDescriptions": [ "An unspecified key algorithm.", @@ -662,26 +267,27 @@ "KEY_ALG_UNSPECIFIED", "KEY_ALG_RSA_1024", "KEY_ALG_RSA_2048" - ] + ], + "description": "Specifies the algorithm (and possibly key size) for the key." + }, + "validAfterTime": { + "description": "The key can be used after this timestamp.", + "format": "google-datetime", + "type": "string" }, "privateKeyType": { - "enum": [ - "TYPE_UNSPECIFIED", - "TYPE_PKCS12_FILE", - "TYPE_GOOGLE_CREDENTIALS_FILE" - ], - "description": "The output format for the private key.\nOnly provided in `CreateServiceAccountKey` responses, not\nin `GetServiceAccountKey` or `ListServiceAccountKey` responses.\n\nGoogle never exposes system-managed private keys, and never retains\nuser-managed private keys.", "type": "string", "enumDescriptions": [ "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.", "PKCS12 format.\nThe password for the PKCS12 file is `notasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", "Google Credentials File format." - ] - }, - "validAfterTime": { - "description": "The key can be used after this timestamp.", - "format": "google-datetime", - "type": "string" + ], + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_PKCS12_FILE", + "TYPE_GOOGLE_CREDENTIALS_FILE" + ], + "description": "The output format for the private key.\nOnly provided in `CreateServiceAccountKey` responses, not\nin `GetServiceAccountKey` or `ListServiceAccountKey` responses.\n\nGoogle never exposes system-managed private keys, and never retains\nuser-managed private keys." }, "privateKeyData": { "description": "The private key data. Only provided in `CreateServiceAccountKey`\nresponses.", @@ -689,33 +295,29 @@ "type": "string" }, "publicKeyData": { + "type": "string", "description": "The public key data. Only provided in `GetServiceAccountKey` responses.", - "format": "byte", + "format": "byte" + }, + "name": { + "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.", + "type": "string" + }, + "validBeforeTime": { + "description": "The key can be used before this timestamp.", + "format": "google-datetime", "type": "string" } }, - "id": "ServiceAccountKey" + "id": "ServiceAccountKey", + "description": "Represents a service account key.\n\nA service account has two sets of key-pairs: user-managed, and\nsystem-managed.\n\nUser-managed key-pairs can be created and deleted by users. Users are\nresponsible for rotating these keys periodically to ensure security of\ntheir service accounts. Users retain the private key of these key-pairs,\nand Google retains ONLY the public key.\n\nSystem-managed key-pairs are managed automatically by Google, and rotated\ndaily without user intervention. The private key never leaves Google's\nservers to maximize security.\n\nPublic keys for all service accounts are also published at the OAuth2\nService Account API." }, "CreateServiceAccountKeyRequest": { - "id": "CreateServiceAccountKeyRequest", "description": "The service account key create request.", "type": "object", "properties": { - "privateKeyType": { - "enum": [ - "TYPE_UNSPECIFIED", - "TYPE_PKCS12_FILE", - "TYPE_GOOGLE_CREDENTIALS_FILE" - ], - "description": "The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the\ndefault output format.", - "type": "string", - "enumDescriptions": [ - "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.", - "PKCS12 format.\nThe password for the PKCS12 file is `notasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", - "Google Credentials File format." - ] - }, "keyAlgorithm": { + "type": "string", "enumDescriptions": [ "An unspecified key algorithm.", "1k RSA Key.", @@ -726,256 +328,654 @@ "KEY_ALG_RSA_1024", "KEY_ALG_RSA_2048" ], - "description": "Which type of key and algorithm to use for the key.\nThe default is currently a 2K RSA key. However this may change in the\nfuture.", - "type": "string" - } - } - }, - "TestIamPermissionsRequest": { - "id": "TestIamPermissionsRequest", - "description": "Request message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "type": "array", - "items": { - "type": "string" - } + "description": "Which type of key and algorithm to use for the key.\nThe default is currently a 2K RSA key. However this may change in the\nfuture." + }, + "privateKeyType": { + "type": "string", + "enumDescriptions": [ + "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.", + "PKCS12 format.\nThe password for the PKCS12 file is `notasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", + "Google Credentials File format." + ], + "enum": [ + "TYPE_UNSPECIFIED", + "TYPE_PKCS12_FILE", + "TYPE_GOOGLE_CREDENTIALS_FILE" + ], + "description": "The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the\ndefault output format." } - } + }, + "id": "CreateServiceAccountKeyRequest" }, "SignBlobResponse": { "description": "The service account sign blob response.", "type": "object", "properties": { - "keyId": { - "description": "The id of the key used to sign the blob.", - "type": "string" - }, "signature": { "description": "The signed blob.", "format": "byte", "type": "string" + }, + "keyId": { + "type": "string", + "description": "The id of the key used to sign the blob." } }, "id": "SignBlobResponse" }, - "SignJwtResponse": { + "TestIamPermissionsRequest": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions)." + } + }, + "id": "TestIamPermissionsRequest", + "description": "Request message for `TestIamPermissions` method." + }, + "SignJwtResponse": { + "description": "The service account sign JWT response.", + "type": "object", "properties": { "keyId": { - "description": "The id of the key used to sign the JWT.", - "type": "string" + "type": "string", + "description": "The id of the key used to sign the JWT." }, "signedJwt": { "description": "The signed JWT.", "type": "string" } }, - "id": "SignJwtResponse", - "description": "The service account sign JWT response.", - "type": "object" + "id": "SignJwtResponse" }, "SignJwtRequest": { + "description": "The service account sign JWT request.", "type": "object", "properties": { "payload": { "description": "The JWT payload to sign, a JSON JWT Claim set.", "type": "string" } - }, - "id": "SignJwtRequest", - "description": "The service account sign JWT request." + }, + "id": "SignJwtRequest" + }, + "Policy": { + "type": "object", + "properties": { + "bindings": { + "type": "array", + "items": { + "$ref": "Binding" + }, + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error." + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" + }, + "version": { + "type": "integer", + "description": "Version of the `Policy`. The default version is 0.", + "format": "int32" + } + }, + "id": "Policy", + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam)." + } + }, + "protocol": "rest", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "canonicalName": "iam", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "rootUrl": "https://iam.googleapis.com/", + "ownerDomain": "google.com", + "name": "iam", + "batchPath": "batch", + "title": "Google Identity and Access Management (IAM) API", + "ownerName": "Google", + "resources": { + "projects": { + "resources": { + "serviceAccounts": { + "methods": { + "get": { + "response": { + "$ref": "ServiceAccount" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}", + "path": "v1/{+name}", + "id": "iam.projects.serviceAccounts.get", + "description": "Gets a ServiceAccount." + }, + "update": { + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}", + "path": "v1/{+name}", + "id": "iam.projects.serviceAccounts.update", + "description": "Updates a ServiceAccount.\n\nCurrently, only the following fields are updatable:\n`display_name` .\nThe `etag` is mandatory.", + "request": { + "$ref": "ServiceAccount" + }, + "response": { + "$ref": "ServiceAccount" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email` address or\nthe `unique_id` of the service account.\n\nIn responses the resource name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$" + } + } + }, + "testIamPermissions": { + "description": "Tests the specified permissions against the IAM access control policy\nfor a ServiceAccount.", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field." + } + }, + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:testIamPermissions", + "id": "iam.projects.serviceAccounts.testIamPermissions", + "path": "v1/{+resource}:testIamPermissions" + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "parameters": { + "name": { + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}", + "path": "v1/{+name}", + "id": "iam.projects.serviceAccounts.delete", + "description": "Deletes a ServiceAccount." + }, + "list": { + "description": "Lists ServiceAccounts for a project.", + "response": { + "$ref": "ListServiceAccountsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "location": "path", + "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$" + }, + "pageToken": { + "location": "query", + "description": "Optional pagination token returned in an earlier\nListServiceAccountsResponse.next_page_token.", + "type": "string" + }, + "pageSize": { + "type": "integer", + "location": "query", + "description": "Optional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequently be obtained by including the\nListServiceAccountsResponse.next_page_token\nin a subsequent request.", + "format": "int32" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts", + "path": "v1/{+name}/serviceAccounts", + "id": "iam.projects.serviceAccounts.list" + }, + "signBlob": { + "response": { + "$ref": "SignBlobResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signBlob", + "path": "v1/{+name}:signBlob", + "id": "iam.projects.serviceAccounts.signBlob", + "request": { + "$ref": "SignBlobRequest" + }, + "description": "Signs a blob using a service account's system-managed private key." + }, + "signJwt": { + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signJwt", + "id": "iam.projects.serviceAccounts.signJwt", + "path": "v1/{+name}:signJwt", + "description": "Signs a JWT using a service account's system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you request an expiry time of\nmore than one hour, the request will fail.", + "request": { + "$ref": "SignJwtRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "SignJwtResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account." + } + } + }, + "setIamPolicy": { + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:setIamPolicy", + "id": "iam.projects.serviceAccounts.setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "description": "Sets the IAM access control policy for a\nServiceAccount.", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field." + } + } + }, + "create": { + "flatPath": "v1/projects/{projectsId}/serviceAccounts", + "id": "iam.projects.serviceAccounts.create", + "path": "v1/{+name}/serviceAccounts", + "request": { + "$ref": "CreateServiceAccountRequest" + }, + "description": "Creates a ServiceAccount\nand returns it.", + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "ServiceAccount" + }, + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Returns the IAM access control policy for a\nServiceAccount.", + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "parameters": { + "resource": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:getIamPolicy", + "path": "v1/{+resource}:getIamPolicy", + "id": "iam.projects.serviceAccounts.getIamPolicy" + } + }, + "resources": { + "keys": { + "methods": { + "list": { + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys", + "path": "v1/{+name}/keys", + "id": "iam.projects.serviceAccounts.keys.list", + "description": "Lists ServiceAccountKeys.", + "response": { + "$ref": "ListServiceAccountKeysResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nUsing `-` as a wildcard for the project, will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account." + }, + "keyTypes": { + "type": "string", + "repeated": true, + "location": "query", + "enum": [ + "KEY_TYPE_UNSPECIFIED", + "USER_MANAGED", + "SYSTEM_MANAGED" + ], + "description": "Filters the types of keys the user wants to include in the list\nresponse. Duplicate key types are not allowed. If no key type\nis provided, all keys are returned." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the ServiceAccountKey\nby key id.", + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "ServiceAccountKey" + }, + "parameters": { + "publicKeyType": { + "type": "string", + "location": "query", + "enum": [ + "TYPE_NONE", + "TYPE_X509_PEM_FILE", + "TYPE_RAW_PUBLIC_KEY" + ], + "description": "The output format of the public key requested.\nX509_PEM is the default output format." + }, + "name": { + "location": "path", + "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}", + "id": "iam.projects.serviceAccounts.keys.get", + "path": "v1/{+name}" + }, + "create": { + "response": { + "$ref": "ServiceAccountKey" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "location": "path", + "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$" + } + }, + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys", + "path": "v1/{+name}/keys", + "id": "iam.projects.serviceAccounts.keys.create", + "description": "Creates a ServiceAccountKey\nand returns it.", + "request": { + "$ref": "CreateServiceAccountKeyRequest" + } + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "parameters": { + "name": { + "location": "path", + "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/keys/{keysId}", + "path": "v1/{+name}", + "id": "iam.projects.serviceAccounts.keys.delete", + "description": "Deletes a ServiceAccountKey." + } + } + } + } + } + } }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", - "type": "object", - "properties": { - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", - "type": "array", - "items": { - "$ref": "Binding" + "roles": { + "methods": { + "queryGrantableRoles": { + "response": { + "$ref": "QueryGrantableRolesResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v1/roles:queryGrantableRoles", + "path": "v1/roles:queryGrantableRoles", + "id": "iam.roles.queryGrantableRoles", + "description": "Queries roles that can be granted on a particular resource.\nA role is grantable if it can be used as the role in a binding for a policy\nfor that resource.", + "request": { + "$ref": "QueryGrantableRolesRequest" } } - }, - "id": "Policy" + } + } + }, + "parameters": { + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" }, - "AuditData": { - "description": "Audit log information specific to Cloud IAM. This message is serialized\nas an `Any` type in the `ServiceData` message of an\n`AuditLog` message.", - "type": "object", - "properties": { - "policyDelta": { - "description": "Policy delta between the original policy and the newly set policy.", - "$ref": "PolicyDelta" - } - }, - "id": "AuditData" + "key": { + "location": "query", + "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.", + "type": "string" }, - "BindingDelta": { - "type": "object", - "properties": { - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" - }, - "action": { - "enum": [ - "ACTION_UNSPECIFIED", - "ADD", - "REMOVE" - ], - "description": "The action that was performed on a Binding.\nRequired", - "type": "string", - "enumDescriptions": [ - "Unspecified.", - "Addition of a Binding.", - "Removal of a Binding." - ] - }, - "member": { - "description": "A single identity requesting access for a Cloud Platform resource.\nFollows the same format of Binding.members.\nRequired", - "type": "string" - } - }, - "id": "BindingDelta", - "description": "One delta entry for Binding. Each individual change (only one member in each\nentry) to a binding will be a separate entry." + "access_token": { + "type": "string", + "location": "query", + "description": "OAuth access token." }, - "PolicyDelta": { - "id": "PolicyDelta", - "description": "The difference delta between two policies.", - "type": "object", - "properties": { - "bindingDeltas": { - "type": "array", - "items": { - "$ref": "BindingDelta" - }, - "description": "The delta for Bindings between two policies." - } - } + "quotaUser": { + "type": "string", + "location": "query", + "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." }, - "ListServiceAccountsResponse": { - "description": "The service account list response.", - "type": "object", - "properties": { - "nextPageToken": { - "type": "string", - "description": "To retrieve the next page of results, set\nListServiceAccountsRequest.page_token\nto this value." - }, - "accounts": { - "type": "array", - "items": { - "$ref": "ServiceAccount" - }, - "description": "The list of matching service accounts." - } - }, - "id": "ListServiceAccountsResponse" + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" }, - "CreateServiceAccountRequest": { - "description": "The service account create request.", - "type": "object", - "properties": { - "accountId": { - "description": "Required. The account id that is used to generate the service account\nemail address and a stable unique id. It is unique within a project,\nmust be 6-30 characters long, and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.", - "type": "string" - }, - "serviceAccount": { - "$ref": "ServiceAccount", - "description": "The ServiceAccount resource to create.\nCurrently, only the following values are user assignable:\n`display_name` ." - } - }, - "id": "CreateServiceAccountRequest" + "bearer_token": { + "type": "string", + "location": "query", + "description": "OAuth bearer token." }, - "QueryGrantableRolesResponse": { - "properties": { - "roles": { - "description": "The list of matching roles.", - "type": "array", - "items": { - "$ref": "Role" - } - } - }, - "id": "QueryGrantableRolesResponse", - "description": "The grantable role query response.", - "type": "object" + "oauth_token": { + "type": "string", + "location": "query", + "description": "OAuth 2.0 token for the current user." }, - "SignBlobRequest": { - "description": "The service account sign blob request.", - "type": "object", - "properties": { - "bytesToSign": { - "description": "The bytes to sign.", - "format": "byte", - "type": "string" - } - }, - "id": "SignBlobRequest" + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, - "Role": { - "description": "A role in the Identity and Access Management API.", - "type": "object", - "properties": { - "name": { - "description": "The name of the role.\n\nWhen Role is used in CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles/logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.", - "type": "string" - }, - "description": { - "description": "Optional. A human-readable description for the role.", - "type": "string" - }, - "title": { - "description": "Optional. A human-readable title for the role. Typically this\nis limited to 100 UTF-8 bytes.", - "type": "string" - } - }, - "id": "Role" + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", - "type": "object", - "properties": { - "policy": { - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", - "$ref": "Policy" - } - }, - "id": "SetIamPolicyRequest" + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, - "Binding": { - "description": "Associates `members` with a `role`.", - "type": "object", - "properties": { - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", - "type": "array", - "items": { - "type": "string" - } - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" - } - }, - "id": "Binding" + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ] } - }, - "protocol": "rest", - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" } } diff --git a/DiscoveryJson/kgsearch_v1.json b/DiscoveryJson/kgsearch_v1.json index 75376420b9..1e4eb3339b 100644 --- a/DiscoveryJson/kgsearch_v1.json +++ b/DiscoveryJson/kgsearch_v1.json @@ -1,5 +1,4 @@ { - "baseUrl": "https://kgsearch.googleapis.com/", "kind": "discovery#restDescription", "description": "Searches the Google Knowledge Graph for entities.", "servicePath": "", @@ -8,9 +7,9 @@ "ownerDomain": "google.com", "name": "kgsearch", "batchPath": "batch", - "id": "kgsearch:v1", - "documentationLink": "https://developers.google.com/knowledge-graph/", "revision": "20170109", + "documentationLink": "https://developers.google.com/knowledge-graph/", + "id": "kgsearch:v1", "title": "Knowledge Graph Search API", "discoveryVersion": "v1", "ownerName": "Google", @@ -19,12 +18,11 @@ "entities": { "methods": { "search": { - "description": "Searches Knowledge Graph for entities that match the constraints.\nA list of matched entities will be returned in response, which will be in\nJSON-LD format and compatible with http://schema.org", + "httpMethod": "GET", "response": { "$ref": "SearchResponse" }, "parameterOrder": [], - "httpMethod": "GET", "parameters": { "prefix": { "location": "query", @@ -37,10 +35,10 @@ "type": "string" }, "types": { + "repeated": true, "location": "query", "description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.", - "type": "string", - "repeated": true + "type": "string" }, "indent": { "location": "query", @@ -48,16 +46,16 @@ "type": "boolean" }, "languages": { + "repeated": true, "location": "query", "description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.", - "type": "string", - "repeated": true + "type": "string" }, "ids": { - "location": "query", "description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B", "type": "string", - "repeated": true + "repeated": true, + "location": "query" }, "limit": { "location": "query", @@ -67,8 +65,9 @@ } }, "flatPath": "v1/entities:search", + "id": "kgsearch.entities.search", "path": "v1/entities:search", - "id": "kgsearch.entities.search" + "description": "Searches Knowledge Graph for entities that match the constraints.\nA list of matched entities will be returned in response, which will be in\nJSON-LD format and compatible with http://schema.org" } } } @@ -95,35 +94,40 @@ "default": "true", "location": "query" }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, "oauth_token": { "description": "OAuth 2.0 token for the current user.", "type": "string", "location": "query" }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { + "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, "fields": { + "location": "query", "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" + "type": "string" }, - "uploadType": { + "callback": { "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "description": "JSONP", "type": "string" }, "$.xgafv": { @@ -139,12 +143,12 @@ "2" ] }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -153,19 +157,19 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + "default": "json" } }, "schemas": { "SearchResponse": { + "id": "SearchResponse", "description": "Response message includes the context and a list of matching results\nwhich contain the detail of associated entities.", "type": "object", "properties": { + "@type": { + "description": "The schema type of top-level JSON-LD object, e.g. ItemList.", + "type": "any" + }, "@context": { "description": "The local context applicable for the response. See more details at\nhttp://www.w3.org/TR/json-ld/#context-definitions.", "type": "any" @@ -176,19 +180,15 @@ "items": { "type": "any" } - }, - "@type": { - "description": "The schema type of top-level JSON-LD object, e.g. ItemList.", - "type": "any" } - }, - "id": "SearchResponse" + } } }, "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "protocol": "rest", - "version": "v1" + "version": "v1", + "baseUrl": "https://kgsearch.googleapis.com/" } diff --git a/DiscoveryJson/language_v1.json b/DiscoveryJson/language_v1.json index b12f5a40c4..45c29f8351 100644 --- a/DiscoveryJson/language_v1.json +++ b/DiscoveryJson/language_v1.json @@ -1,184 +1,8 @@ { - "ownerDomain": "google.com", - "name": "language", - "batchPath": "batch", - "title": "Google Cloud Natural Language API", - "ownerName": "Google", - "resources": { - "documents": { - "methods": { - "analyzeSyntax": { - "request": { - "$ref": "AnalyzeSyntaxRequest" - }, - "description": "Analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", - "response": { - "$ref": "AnalyzeSyntaxResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/documents:analyzeSyntax", - "path": "v1/documents:analyzeSyntax", - "id": "language.documents.analyzeSyntax" - }, - "analyzeSentiment": { - "description": "Analyzes the sentiment of the provided text.", - "request": { - "$ref": "AnalyzeSentimentRequest" - }, - "response": { - "$ref": "AnalyzeSentimentResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {}, - "flatPath": "v1/documents:analyzeSentiment", - "path": "v1/documents:analyzeSentiment", - "id": "language.documents.analyzeSentiment" - }, - "annotateText": { - "request": { - "$ref": "AnnotateTextRequest" - }, - "description": "A convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.", - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "AnnotateTextResponse" - }, - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/documents:annotateText", - "id": "language.documents.annotateText", - "path": "v1/documents:annotateText" - }, - "analyzeEntities": { - "request": { - "$ref": "AnalyzeEntitiesRequest" - }, - "description": "Finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", - "response": { - "$ref": "AnalyzeEntitiesResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/documents:analyzeEntities", - "path": "v1/documents:analyzeEntities", - "id": "language.documents.analyzeEntities" - } - } - } - }, - "parameters": { - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "type": "boolean", - "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" - }, - "$.xgafv": { - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format." - }, - "alt": { - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - } - }, - "version": "v1", - "baseUrl": "https://language.googleapis.com/", - "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, and text annotations.", - "servicePath": "", - "kind": "discovery#restDescription", "basePath": "", + "id": "language:v1", "revision": "20170320", "documentationLink": "https://cloud.google.com/natural-language/", - "id": "language:v1", "discoveryVersion": "v1", "version_module": "True", "schemas": { @@ -198,17 +22,6 @@ "type": "string" }, "type": { - "enum": [ - "UNKNOWN", - "PERSON", - "LOCATION", - "ORGANIZATION", - "EVENT", - "WORK_OF_ART", - "CONSUMER_GOOD", - "OTHER" - ], - "description": "The entity type.", "type": "string", "enumDescriptions": [ "Unknown", @@ -219,19 +32,30 @@ "Work of art", "Consumer goods", "Other types" - ] + ], + "enum": [ + "UNKNOWN", + "PERSON", + "LOCATION", + "ORGANIZATION", + "EVENT", + "WORK_OF_ART", + "CONSUMER_GOOD", + "OTHER" + ], + "description": "The entity type." }, "metadata": { + "description": "Metadata associated with the entity.\n\nCurrently, Wikipedia URLs and Knowledge Graph MIDs are provided, if\navailable. The associated keys are \"wikipedia_url\" and \"mid\", respectively.", + "type": "object", "additionalProperties": { "type": "string" - }, - "description": "Metadata associated with the entity.\n\nCurrently, Wikipedia URLs and Knowledge Graph MIDs are provided, if\navailable. The associated keys are \"wikipedia_url\" and \"mid\", respectively.", - "type": "object" + } }, "salience": { - "type": "number", "description": "The salience score associated with the entity in the [0, 1.0] range.\n\nThe salience score for an entity provides information about the\nimportance or centrality of that entity to the entire document text.\nScores closer to 0 are less salient, while scores closer to 1.0 are highly\nsalient.", - "format": "float" + "format": "float", + "type": "number" } }, "id": "Entity" @@ -241,15 +65,15 @@ "type": "object", "properties": { "language": { - "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", - "type": "string" + "type": "string", + "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details." }, "sentences": { + "description": "Sentences in the input document.", "type": "array", "items": { "$ref": "Sentence" - }, - "description": "Sentences in the input document." + } }, "tokens": { "description": "Tokens, along with their syntactic information, in the input document.", @@ -265,8 +89,11 @@ "description": "The request message for the text annotation API, which can perform multiple\nanalysis types (sentiment, entities, and syntax) in one call.", "type": "object", "properties": { + "features": { + "description": "The enabled features.", + "$ref": "Features" + }, "encodingType": { - "description": "The encoding type used by the API to calculate offsets.", "type": "string", "enumDescriptions": [ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", @@ -279,26 +106,19 @@ "UTF8", "UTF16", "UTF32" - ] + ], + "description": "The encoding type used by the API to calculate offsets." }, "document": { - "description": "Input document.", - "$ref": "Document" - }, - "features": { - "description": "The enabled features.", - "$ref": "Features" + "$ref": "Document", + "description": "Input document." } }, "id": "AnnotateTextRequest" }, "AnalyzeSentimentRequest": { - "id": "AnalyzeSentimentRequest", - "description": "The sentiment analysis request message.", - "type": "object", "properties": { "encodingType": { - "type": "string", "enumDescriptions": [ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", @@ -311,18 +131,24 @@ "UTF16", "UTF32" ], - "description": "The encoding type used by the API to calculate sentence offsets." + "description": "The encoding type used by the API to calculate sentence offsets.", + "type": "string" }, "document": { "$ref": "Document", "description": "Input document. Currently, `analyzeSentiment` only supports English text\n(Document.language=\"EN\")." } - } + }, + "id": "AnalyzeSentimentRequest", + "description": "The sentiment analysis request message.", + "type": "object" }, "AnnotateTextResponse": { - "description": "The text annotations response message.", - "type": "object", "properties": { + "language": { + "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", + "type": "string" + }, "sentences": { "description": "Sentences in the input document. Populated if the user enables\nAnnotateTextRequest.Features.extract_syntax.", "type": "array", @@ -345,105 +171,20 @@ } }, "documentSentiment": { - "description": "The overall sentiment for the document. Populated if the user enables\nAnnotateTextRequest.Features.extract_document_sentiment.", - "$ref": "Sentiment" - }, - "language": { - "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", - "type": "string" + "$ref": "Sentiment", + "description": "The overall sentiment for the document. Populated if the user enables\nAnnotateTextRequest.Features.extract_document_sentiment." } }, - "id": "AnnotateTextResponse" + "id": "AnnotateTextResponse", + "description": "The text annotations response message.", + "type": "object" }, "DependencyEdge": { + "id": "DependencyEdge", "description": "Represents dependency parse tree information for a token. (For more\ninformation on dependency labels, see\nhttp://www.aclweb.org/anthology/P13-2017", "type": "object", "properties": { - "headTokenIndex": { - "description": "Represents the head of this token in the dependency tree.\nThis is the index of the token which has an arc going to this token.\nThe index is the position of the token in the array of tokens returned\nby the API method. If this token is a root token, then the\n`head_token_index` is its own index.", - "format": "int32", - "type": "integer" - }, "label": { - "enum": [ - "UNKNOWN", - "ABBREV", - "ACOMP", - "ADVCL", - "ADVMOD", - "AMOD", - "APPOS", - "ATTR", - "AUX", - "AUXPASS", - "CC", - "CCOMP", - "CONJ", - "CSUBJ", - "CSUBJPASS", - "DEP", - "DET", - "DISCOURSE", - "DOBJ", - "EXPL", - "GOESWITH", - "IOBJ", - "MARK", - "MWE", - "MWV", - "NEG", - "NN", - "NPADVMOD", - "NSUBJ", - "NSUBJPASS", - "NUM", - "NUMBER", - "P", - "PARATAXIS", - "PARTMOD", - "PCOMP", - "POBJ", - "POSS", - "POSTNEG", - "PRECOMP", - "PRECONJ", - "PREDET", - "PREF", - "PREP", - "PRONL", - "PRT", - "PS", - "QUANTMOD", - "RCMOD", - "RCMODREL", - "RDROP", - "REF", - "REMNANT", - "REPARANDUM", - "ROOT", - "SNUM", - "SUFF", - "TMOD", - "TOPIC", - "VMOD", - "VOCATIVE", - "XCOMP", - "SUFFIX", - "TITLE", - "ADVPHMOD", - "AUXCAUS", - "AUXVV", - "DTMOD", - "FOREIGN", - "KW", - "LIST", - "NOMC", - "NOMCSUBJ", - "NOMCSUBJPASS", - "NUMC", - "COP", - "DISLOCATED" - ], "description": "The parse label for the token.", "type": "string", "enumDescriptions": [ @@ -524,10 +265,93 @@ "Compound of numeric modifier", "Copula", "Dislocated relation (for fronted/topicalized elements)" + ], + "enum": [ + "UNKNOWN", + "ABBREV", + "ACOMP", + "ADVCL", + "ADVMOD", + "AMOD", + "APPOS", + "ATTR", + "AUX", + "AUXPASS", + "CC", + "CCOMP", + "CONJ", + "CSUBJ", + "CSUBJPASS", + "DEP", + "DET", + "DISCOURSE", + "DOBJ", + "EXPL", + "GOESWITH", + "IOBJ", + "MARK", + "MWE", + "MWV", + "NEG", + "NN", + "NPADVMOD", + "NSUBJ", + "NSUBJPASS", + "NUM", + "NUMBER", + "P", + "PARATAXIS", + "PARTMOD", + "PCOMP", + "POBJ", + "POSS", + "POSTNEG", + "PRECOMP", + "PRECONJ", + "PREDET", + "PREF", + "PREP", + "PRONL", + "PRT", + "PS", + "QUANTMOD", + "RCMOD", + "RCMODREL", + "RDROP", + "REF", + "REMNANT", + "REPARANDUM", + "ROOT", + "SNUM", + "SUFF", + "TMOD", + "TOPIC", + "VMOD", + "VOCATIVE", + "XCOMP", + "SUFFIX", + "TITLE", + "ADVPHMOD", + "AUXCAUS", + "AUXVV", + "DTMOD", + "FOREIGN", + "KW", + "LIST", + "NOMC", + "NOMCSUBJ", + "NOMCSUBJPASS", + "NUMC", + "COP", + "DISLOCATED" ] + }, + "headTokenIndex": { + "description": "Represents the head of this token in the dependency tree.\nThis is the index of the token which has an arc going to this token.\nThe index is the position of the token in the array of tokens returned\nby the API method. If this token is a root token, then the\n`head_token_index` is its own index.", + "format": "int32", + "type": "integer" } - }, - "id": "DependencyEdge" + } }, "TextSpan": { "description": "Represents an output piece of text.", @@ -546,14 +370,12 @@ "id": "TextSpan" }, "Token": { + "description": "Represents the smallest syntactic building block of the text.", + "type": "object", "properties": { - "partOfSpeech": { - "$ref": "PartOfSpeech", - "description": "Parts of speech tag for this token." - }, "text": { - "description": "The token text.", - "$ref": "TextSpan" + "$ref": "TextSpan", + "description": "The token text." }, "dependencyEdge": { "$ref": "DependencyEdge", @@ -562,11 +384,13 @@ "lemma": { "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.", "type": "string" + }, + "partOfSpeech": { + "$ref": "PartOfSpeech", + "description": "Parts of speech tag for this token." } }, - "id": "Token", - "description": "Represents the smallest syntactic building block of the text.", - "type": "object" + "id": "Token" }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", @@ -576,11 +400,11 @@ "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" - } + }, + "type": "object" } }, "code": { @@ -595,25 +419,6 @@ }, "id": "Status" }, - "Features": { - "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.", - "type": "object", - "properties": { - "extractSyntax": { - "description": "Extract syntax information.", - "type": "boolean" - }, - "extractDocumentSentiment": { - "description": "Extract document-level sentiment.", - "type": "boolean" - }, - "extractEntities": { - "description": "Extract entities.", - "type": "boolean" - } - }, - "id": "Features" - }, "EntityMention": { "description": "Represents a mention for an entity in the text. Currently, proper noun\nmentions are supported.", "type": "object", @@ -639,27 +444,34 @@ }, "id": "EntityMention" }, - "Sentence": { - "description": "Represents a sentence in the input document.", + "Features": { + "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.", "type": "object", "properties": { - "text": { - "$ref": "TextSpan", - "description": "The sentence text." + "extractSyntax": { + "description": "Extract syntax information.", + "type": "boolean" }, - "sentiment": { - "$ref": "Sentiment", - "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence." + "extractDocumentSentiment": { + "description": "Extract document-level sentiment.", + "type": "boolean" + }, + "extractEntities": { + "description": "Extract entities.", + "type": "boolean" } }, - "id": "Sentence" + "id": "Features" }, "Document": { "description": "################################################################ #\n\nRepresents the input to API methods.", "type": "object", "properties": { + "language": { + "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.\u003cbr\u003e\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.", + "type": "string" + }, "type": { - "type": "string", "enumDescriptions": [ "The content type is not specified.", "Plain text", @@ -670,52 +482,36 @@ "PLAIN_TEXT", "HTML" ], - "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error." + "description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.", + "type": "string" }, "content": { "description": "The content of the input in string format.", "type": "string" }, "gcsContentUri": { - "type": "string", - "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported." - }, - "language": { - "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.\u003cbr\u003e\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.", + "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported.", "type": "string" } }, "id": "Document" }, - "AnalyzeEntitiesRequest": { - "description": "The entity analysis request message.", + "Sentence": { + "id": "Sentence", + "description": "Represents a sentence in the input document.", "type": "object", "properties": { - "encodingType": { - "enumDescriptions": [ - "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", - "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively." - ], - "enum": [ - "NONE", - "UTF8", - "UTF16", - "UTF32" - ], - "description": "The encoding type used by the API to calculate offsets.", - "type": "string" + "text": { + "description": "The sentence text.", + "$ref": "TextSpan" }, - "document": { - "$ref": "Document", - "description": "Input document." + "sentiment": { + "$ref": "Sentiment", + "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence." } - }, - "id": "AnalyzeEntitiesRequest" + } }, "Sentiment": { - "id": "Sentiment", "description": "Represents the feeling associated with the entire text or entities in\nthe text.", "type": "object", "properties": { @@ -729,28 +525,115 @@ "format": "float", "type": "number" } - } + }, + "id": "Sentiment" }, - "PartOfSpeech": { - "description": "Represents part of speech information for a token. Parts of speech\nare as defined in\nhttp://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf", + "AnalyzeEntitiesRequest": { + "description": "The entity analysis request message.", "type": "object", "properties": { - "form": { - "type": "string", - "enumDescriptions": [ - "Form is not applicable in the analyzed language or is not predicted.", - "Adnomial", - "Auxiliary", - "Complementizer", - "Final ending", - "Gerund", - "Realis", - "Irrealis", - "Short form", - "Long form", - "Order form", - "Specific form" + "encodingType": { + "enum": [ + "NONE", + "UTF8", + "UTF16", + "UTF32" + ], + "description": "The encoding type used by the API to calculate offsets.", + "type": "string", + "enumDescriptions": [ + "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", + "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", + "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.", + "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively." + ] + }, + "document": { + "$ref": "Document", + "description": "Input document." + } + }, + "id": "AnalyzeEntitiesRequest" + }, + "PartOfSpeech": { + "description": "Represents part of speech information for a token. Parts of speech\nare as defined in\nhttp://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf", + "type": "object", + "properties": { + "case": { + "enumDescriptions": [ + "Case is not applicable in the analyzed language or is not predicted.", + "Accusative", + "Adverbial", + "Complementive", + "Dative", + "Genitive", + "Instrumental", + "Locative", + "Nominative", + "Oblique", + "Partitive", + "Prepositional", + "Reflexive", + "Relative", + "Vocative" ], + "enum": [ + "CASE_UNKNOWN", + "ACCUSATIVE", + "ADVERBIAL", + "COMPLEMENTIVE", + "DATIVE", + "GENITIVE", + "INSTRUMENTAL", + "LOCATIVE", + "NOMINATIVE", + "OBLIQUE", + "PARTITIVE", + "PREPOSITIONAL", + "REFLEXIVE_CASE", + "RELATIVE_CASE", + "VOCATIVE" + ], + "description": "The grammatical case.", + "type": "string" + }, + "tense": { + "enumDescriptions": [ + "Tense is not applicable in the analyzed language or is not predicted.", + "Conditional", + "Future", + "Past", + "Present", + "Imperfect", + "Pluperfect" + ], + "enum": [ + "TENSE_UNKNOWN", + "CONDITIONAL_TENSE", + "FUTURE", + "PAST", + "PRESENT", + "IMPERFECT", + "PLUPERFECT" + ], + "description": "The grammatical tense.", + "type": "string" + }, + "reciprocity": { + "enumDescriptions": [ + "Reciprocity is not applicable in the analyzed language or is not\npredicted.", + "Reciprocal", + "Non-reciprocal" + ], + "enum": [ + "RECIPROCITY_UNKNOWN", + "RECIPROCAL", + "NON_RECIPROCAL" + ], + "description": "The grammatical reciprocity.", + "type": "string" + }, + "form": { "enum": [ "FORM_UNKNOWN", "ADNOMIAL", @@ -765,7 +648,22 @@ "ORDER", "SPECIFIC" ], - "description": "The grammatical form." + "description": "The grammatical form.", + "type": "string", + "enumDescriptions": [ + "Form is not applicable in the analyzed language or is not predicted.", + "Adnomial", + "Auxiliary", + "Complementizer", + "Final ending", + "Gerund", + "Realis", + "Irrealis", + "Short form", + "Long form", + "Order form", + "Specific form" + ] }, "number": { "enumDescriptions": [ @@ -784,22 +682,24 @@ "type": "string" }, "voice": { - "enum": [ - "VOICE_UNKNOWN", - "ACTIVE", - "CAUSATIVE", - "PASSIVE" - ], - "description": "The grammatical voice.", "type": "string", "enumDescriptions": [ "Voice is not applicable in the analyzed language or is not predicted.", "Active", "Causative", "Passive" - ] + ], + "enum": [ + "VOICE_UNKNOWN", + "ACTIVE", + "CAUSATIVE", + "PASSIVE" + ], + "description": "The grammatical voice." }, "aspect": { + "description": "The grammatical aspect.", + "type": "string", "enumDescriptions": [ "Aspect is not applicable in the analyzed language or is not predicted.", "Perfective", @@ -811,9 +711,7 @@ "PERFECTIVE", "IMPERFECTIVE", "PROGRESSIVE" - ], - "description": "The grammatical aspect.", - "type": "string" + ] }, "mood": { "description": "The grammatical mood.", @@ -838,6 +736,8 @@ ] }, "tag": { + "description": "The part of speech tag.", + "type": "string", "enumDescriptions": [ "Unknown", "Adjective", @@ -869,11 +769,11 @@ "VERB", "X", "AFFIX" - ], - "description": "The part of speech tag.", - "type": "string" + ] }, "gender": { + "description": "The grammatical gender.", + "type": "string", "enumDescriptions": [ "Gender is not applicable in the analyzed language or is not predicted.", "Feminine", @@ -885,11 +785,11 @@ "FEMININE", "MASCULINE", "NEUTER" - ], - "description": "The grammatical gender.", - "type": "string" + ] }, "person": { + "description": "The grammatical person.", + "type": "string", "enumDescriptions": [ "Person is not applicable in the analyzed language or is not predicted.", "First", @@ -903,105 +803,32 @@ "SECOND", "THIRD", "REFLEXIVE_PERSON" - ], - "description": "The grammatical person.", - "type": "string" + ] }, "proper": { - "enum": [ - "PROPER_UNKNOWN", - "PROPER", - "NOT_PROPER" - ], - "description": "The grammatical properness.", - "type": "string", "enumDescriptions": [ "Proper is not applicable in the analyzed language or is not predicted.", "Proper", "Not proper" - ] - }, - "case": { - "description": "The grammatical case.", - "type": "string", - "enumDescriptions": [ - "Case is not applicable in the analyzed language or is not predicted.", - "Accusative", - "Adverbial", - "Complementive", - "Dative", - "Genitive", - "Instrumental", - "Locative", - "Nominative", - "Oblique", - "Partitive", - "Prepositional", - "Reflexive", - "Relative", - "Vocative" ], "enum": [ - "CASE_UNKNOWN", - "ACCUSATIVE", - "ADVERBIAL", - "COMPLEMENTIVE", - "DATIVE", - "GENITIVE", - "INSTRUMENTAL", - "LOCATIVE", - "NOMINATIVE", - "OBLIQUE", - "PARTITIVE", - "PREPOSITIONAL", - "REFLEXIVE_CASE", - "RELATIVE_CASE", - "VOCATIVE" - ] - }, - "tense": { - "enum": [ - "TENSE_UNKNOWN", - "CONDITIONAL_TENSE", - "FUTURE", - "PAST", - "PRESENT", - "IMPERFECT", - "PLUPERFECT" - ], - "description": "The grammatical tense.", - "type": "string", - "enumDescriptions": [ - "Tense is not applicable in the analyzed language or is not predicted.", - "Conditional", - "Future", - "Past", - "Present", - "Imperfect", - "Pluperfect" - ] - }, - "reciprocity": { - "description": "The grammatical reciprocity.", - "type": "string", - "enumDescriptions": [ - "Reciprocity is not applicable in the analyzed language or is not\npredicted.", - "Reciprocal", - "Non-reciprocal" + "PROPER_UNKNOWN", + "PROPER", + "NOT_PROPER" ], - "enum": [ - "RECIPROCITY_UNKNOWN", - "RECIPROCAL", - "NON_RECIPROCAL" - ] + "description": "The grammatical properness.", + "type": "string" } }, "id": "PartOfSpeech" }, "AnalyzeSyntaxRequest": { - "description": "The syntax analysis request message.", "type": "object", "properties": { + "document": { + "description": "Input document.", + "$ref": "Document" + }, "encodingType": { "description": "The encoding type used by the API to calculate offsets.", "type": "string", @@ -1017,22 +844,16 @@ "UTF16", "UTF32" ] - }, - "document": { - "$ref": "Document", - "description": "Input document." } }, - "id": "AnalyzeSyntaxRequest" + "id": "AnalyzeSyntaxRequest", + "description": "The syntax analysis request message." }, "AnalyzeSentimentResponse": { + "id": "AnalyzeSentimentResponse", "description": "The sentiment analysis response message.", "type": "object", "properties": { - "language": { - "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", - "type": "string" - }, "sentences": { "description": "The sentiment for all the sentences in the document.", "type": "array", @@ -1041,29 +862,32 @@ } }, "documentSentiment": { - "description": "The overall sentiment of the input document.", - "$ref": "Sentiment" + "$ref": "Sentiment", + "description": "The overall sentiment of the input document." + }, + "language": { + "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", + "type": "string" } - }, - "id": "AnalyzeSentimentResponse" + } }, "AnalyzeEntitiesResponse": { + "id": "AnalyzeEntitiesResponse", "description": "The entity analysis response message.", "type": "object", "properties": { - "language": { - "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", - "type": "string" - }, "entities": { "description": "The recognized entities in the input document.", "type": "array", "items": { "$ref": "Entity" } + }, + "language": { + "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee `Document.language` field for more details.", + "type": "string" } - }, - "id": "AnalyzeEntitiesResponse" + } } }, "protocol": "rest", @@ -1081,5 +905,181 @@ } } }, - "rootUrl": "https://language.googleapis.com/" + "rootUrl": "https://language.googleapis.com/", + "ownerDomain": "google.com", + "name": "language", + "batchPath": "batch", + "title": "Google Cloud Natural Language API", + "ownerName": "Google", + "resources": { + "documents": { + "methods": { + "annotateText": { + "response": { + "$ref": "AnnotateTextResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/documents:annotateText", + "path": "v1/documents:annotateText", + "id": "language.documents.annotateText", + "request": { + "$ref": "AnnotateTextRequest" + }, + "description": "A convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call." + }, + "analyzeEntities": { + "response": { + "$ref": "AnalyzeEntitiesResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v1/documents:analyzeEntities", + "path": "v1/documents:analyzeEntities", + "id": "language.documents.analyzeEntities", + "description": "Finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", + "request": { + "$ref": "AnalyzeEntitiesRequest" + } + }, + "analyzeSyntax": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v1/documents:analyzeSyntax", + "path": "v1/documents:analyzeSyntax", + "id": "language.documents.analyzeSyntax", + "description": "Analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", + "request": { + "$ref": "AnalyzeSyntaxRequest" + }, + "response": { + "$ref": "AnalyzeSyntaxResponse" + }, + "parameterOrder": [], + "httpMethod": "POST" + }, + "analyzeSentiment": { + "request": { + "$ref": "AnalyzeSentimentRequest" + }, + "description": "Analyzes the sentiment of the provided text.", + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "AnalyzeSentimentResponse" + }, + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/documents:analyzeSentiment", + "id": "language.documents.analyzeSentiment", + "path": "v1/documents:analyzeSentiment" + } + } + } + }, + "parameters": { + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ] + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "bearer_token": { + "type": "string", + "location": "query", + "description": "OAuth bearer token." + } + }, + "version": "v1", + "baseUrl": "https://language.googleapis.com/", + "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, and text annotations.", + "kind": "discovery#restDescription", + "servicePath": "" } diff --git a/DiscoveryJson/language_v1beta1.json b/DiscoveryJson/language_v1beta1.json index 789f1112aa..32bacdce8e 100644 --- a/DiscoveryJson/language_v1beta1.json +++ b/DiscoveryJson/language_v1beta1.json @@ -1,204 +1,56 @@ { - "name": "language", - "batchPath": "batch", - "title": "Google Cloud Natural Language API", - "ownerName": "Google", - "resources": { - "documents": { - "methods": { - "analyzeSyntax": { - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "AnalyzeSyntaxResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {}, - "flatPath": "v1beta1/documents:analyzeSyntax", - "id": "language.documents.analyzeSyntax", - "path": "v1beta1/documents:analyzeSyntax", - "description": "Analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", - "request": { - "$ref": "AnalyzeSyntaxRequest" - } - }, - "analyzeSentiment": { - "response": { - "$ref": "AnalyzeSentimentResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/documents:analyzeSentiment", - "path": "v1beta1/documents:analyzeSentiment", - "id": "language.documents.analyzeSentiment", - "request": { - "$ref": "AnalyzeSentimentRequest" - }, - "description": "Analyzes the sentiment of the provided text." - }, - "annotateText": { - "description": "A convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.", - "request": { - "$ref": "AnnotateTextRequest" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "AnnotateTextResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {}, - "flatPath": "v1beta1/documents:annotateText", - "id": "language.documents.annotateText", - "path": "v1beta1/documents:annotateText" - }, - "analyzeEntities": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {}, - "flatPath": "v1beta1/documents:analyzeEntities", - "id": "language.documents.analyzeEntities", - "path": "v1beta1/documents:analyzeEntities", - "description": "Finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", - "request": { - "$ref": "AnalyzeEntitiesRequest" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "AnalyzeEntitiesResponse" - } - } - } - } - }, - "parameters": { - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "$.xgafv": { - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] - }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" - }, - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "key": { - "type": "string", - "location": "query", - "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." - }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - } - }, - "version": "v1beta1", - "baseUrl": "https://language.googleapis.com/", - "servicePath": "", - "kind": "discovery#restDescription", - "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, and text annotations.", "basePath": "", - "id": "language:v1beta1", - "documentationLink": "https://cloud.google.com/natural-language/", "revision": "20170320", + "documentationLink": "https://cloud.google.com/natural-language/", + "id": "language:v1beta1", "discoveryVersion": "v1", "version_module": "True", "schemas": { + "AnalyzeSyntaxRequest": { + "description": "The syntax analysis request message.", + "type": "object", + "properties": { + "encodingType": { + "enumDescriptions": [ + "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", + "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", + "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.", + "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively." + ], + "enum": [ + "NONE", + "UTF8", + "UTF16", + "UTF32" + ], + "description": "The encoding type used by the API to calculate offsets.", + "type": "string" + }, + "document": { + "description": "Input document.", + "$ref": "Document" + } + }, + "id": "AnalyzeSyntaxRequest" + }, "AnalyzeSentimentResponse": { "description": "The sentiment analysis response message.", "type": "object", "properties": { - "documentSentiment": { - "description": "The overall sentiment of the input document.", - "$ref": "Sentiment" - }, "language": { "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.", "type": "string" }, "sentences": { + "description": "The sentiment for all the sentences in the document.", "type": "array", "items": { "$ref": "Sentence" - }, - "description": "The sentiment for all the sentences in the document." + } + }, + "documentSentiment": { + "$ref": "Sentiment", + "description": "The overall sentiment of the input document." } }, "id": "AnalyzeSentimentResponse" @@ -221,31 +73,6 @@ "id": "AnalyzeEntitiesResponse", "description": "The entity analysis response message." }, - "AnalyzeSyntaxResponse": { - "properties": { - "sentences": { - "description": "Sentences in the input document.", - "type": "array", - "items": { - "$ref": "Sentence" - } - }, - "tokens": { - "description": "Tokens, along with their syntactic information, in the input document.", - "type": "array", - "items": { - "$ref": "Token" - } - }, - "language": { - "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.", - "type": "string" - } - }, - "id": "AnalyzeSyntaxResponse", - "description": "The syntax analysis response message.", - "type": "object" - }, "Entity": { "description": "Represents a phrase in the text that is a known entity, such as\na person, an organization, or location. The API associates information, such\nas salience and mentions, with entities.", "type": "object", @@ -262,16 +89,6 @@ "type": "string" }, "type": { - "enumDescriptions": [ - "Unknown", - "Person", - "Location", - "Organization", - "Event", - "Work of art", - "Consumer goods", - "Other types" - ], "enum": [ "UNKNOWN", "PERSON", @@ -283,28 +100,65 @@ "OTHER" ], "description": "The entity type.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Unknown", + "Person", + "Location", + "Organization", + "Event", + "Work of art", + "Consumer goods", + "Other types" + ] }, "metadata": { - "description": "Metadata associated with the entity.\n\nCurrently, Wikipedia URLs and Knowledge Graph MIDs are provided, if\navailable. The associated keys are \"wikipedia_url\" and \"mid\", respectively.", - "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "Metadata associated with the entity.\n\nCurrently, Wikipedia URLs and Knowledge Graph MIDs are provided, if\navailable. The associated keys are \"wikipedia_url\" and \"mid\", respectively.", + "type": "object" }, "salience": { - "type": "number", "description": "The salience score associated with the entity in the [0, 1.0] range.\n\nThe salience score for an entity provides information about the\nimportance or centrality of that entity to the entire document text.\nScores closer to 0 are less salient, while scores closer to 1.0 are highly\nsalient.", - "format": "float" + "format": "float", + "type": "number" } }, "id": "Entity" }, + "AnalyzeSyntaxResponse": { + "description": "The syntax analysis response message.", + "type": "object", + "properties": { + "language": { + "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.", + "type": "string" + }, + "sentences": { + "description": "Sentences in the input document.", + "type": "array", + "items": { + "$ref": "Sentence" + } + }, + "tokens": { + "description": "Tokens, along with their syntactic information, in the input document.", + "type": "array", + "items": { + "$ref": "Token" + } + } + }, + "id": "AnalyzeSyntaxResponse" + }, "AnnotateTextRequest": { + "id": "AnnotateTextRequest", "description": "The request message for the text annotation API, which can perform multiple\nanalysis types (sentiment, entities, and syntax) in one call.", "type": "object", "properties": { "encodingType": { + "type": "string", "enumDescriptions": [ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", @@ -317,57 +171,21 @@ "UTF16", "UTF32" ], - "description": "The encoding type used by the API to calculate offsets.", - "type": "string" + "description": "The encoding type used by the API to calculate offsets." }, "document": { - "description": "Input document.", - "$ref": "Document" + "$ref": "Document", + "description": "Input document." }, "features": { "description": "The enabled features.", "$ref": "Features" } - }, - "id": "AnnotateTextRequest" - }, - "AnnotateTextResponse": { - "type": "object", - "properties": { - "documentSentiment": { - "$ref": "Sentiment", - "description": "The overall sentiment for the document. Populated if the user enables\nAnnotateTextRequest.Features.extract_document_sentiment." - }, - "language": { - "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.", - "type": "string" - }, - "sentences": { - "description": "Sentences in the input document. Populated if the user enables\nAnnotateTextRequest.Features.extract_syntax.", - "type": "array", - "items": { - "$ref": "Sentence" - } - }, - "tokens": { - "description": "Tokens, along with their syntactic information, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.Features.extract_syntax.", - "type": "array", - "items": { - "$ref": "Token" - } - }, - "entities": { - "description": "Entities, along with their semantic information, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.Features.extract_entities.", - "type": "array", - "items": { - "$ref": "Entity" - } - } - }, - "id": "AnnotateTextResponse", - "description": "The text annotations response message." + } }, "AnalyzeSentimentRequest": { + "description": "The sentiment analysis request message.", + "type": "object", "properties": { "encodingType": { "enumDescriptions": [ @@ -390,94 +208,49 @@ "$ref": "Document" } }, - "id": "AnalyzeSentimentRequest", - "description": "The sentiment analysis request message.", - "type": "object" + "id": "AnalyzeSentimentRequest" }, - "DependencyEdge": { - "description": "Represents dependency parse tree information for a token.", + "AnnotateTextResponse": { + "description": "The text annotations response message.", "type": "object", "properties": { - "label": { - "enumDescriptions": [ - "Unknown", - "Abbreviation modifier", - "Adjectival complement", - "Adverbial clause modifier", - "Adverbial modifier", - "Adjectival modifier of an NP", - "Appositional modifier of an NP", - "Attribute dependent of a copular verb", - "Auxiliary (non-main) verb", - "Passive auxiliary", - "Coordinating conjunction", - "Clausal complement of a verb or adjective", - "Conjunct", - "Clausal subject", - "Clausal passive subject", - "Dependency (unable to determine)", - "Determiner", - "Discourse", - "Direct object", - "Expletive", - "Goes with (part of a word in a text not well edited)", - "Indirect object", - "Marker (word introducing a subordinate clause)", - "Multi-word expression", - "Multi-word verbal expression", - "Negation modifier", - "Noun compound modifier", - "Noun phrase used as an adverbial modifier", - "Nominal subject", - "Passive nominal subject", - "Numeric modifier of a noun", - "Element of compound number", - "Punctuation mark", - "Parataxis relation", - "Participial modifier", - "The complement of a preposition is a clause", - "Object of a preposition", - "Possession modifier", - "Postverbal negative particle", - "Predicate complement", - "Preconjunt", - "Predeterminer", - "Prefix", - "Prepositional modifier", - "The relationship between a verb and verbal morpheme", - "Particle", - "Associative or possessive marker", - "Quantifier phrase modifier", - "Relative clause modifier", - "Complementizer in relative clause", - "Ellipsis without a preceding predicate", - "Referent", - "Remnant", - "Reparandum", - "Root", - "Suffix specifying a unit of number", - "Suffix", - "Temporal modifier", - "Topic marker", - "Clause headed by an infinite form of the verb that modifies a noun", - "Vocative", - "Open clausal complement", - "Name suffix", - "Name title", - "Adverbial phrase modifier", - "Causative auxiliary", - "Helper auxiliary", - "Rentaishi (Prenominal modifier)", - "Foreign words", - "Keyword", - "List for chains of comparable items", - "Nominalized clause", - "Nominalized clausal subject", - "Nominalized clausal passive", - "Compound of numeric modifier", - "Copula", - "Dislocated relation (for fronted/topicalized elements)" - ], + "tokens": { + "type": "array", + "items": { + "$ref": "Token" + }, + "description": "Tokens, along with their syntactic information, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.Features.extract_syntax." + }, + "entities": { + "type": "array", + "items": { + "$ref": "Entity" + }, + "description": "Entities, along with their semantic information, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.Features.extract_entities." + }, + "documentSentiment": { + "description": "The overall sentiment for the document. Populated if the user enables\nAnnotateTextRequest.Features.extract_document_sentiment.", + "$ref": "Sentiment" + }, + "language": { + "description": "The language of the text, which will be the same as the language specified\nin the request or, if not specified, the automatically-detected language.\nSee Document.language field for more details.", + "type": "string" + }, + "sentences": { + "description": "Sentences in the input document. Populated if the user enables\nAnnotateTextRequest.Features.extract_syntax.", + "type": "array", + "items": { + "$ref": "Sentence" + } + } + }, + "id": "AnnotateTextResponse" + }, + "DependencyEdge": { + "description": "Represents dependency parse tree information for a token.", + "type": "object", + "properties": { + "label": { "enum": [ "UNKNOWN", "ABBREV", @@ -558,7 +331,86 @@ "DISLOCATED" ], "description": "The parse label for the token.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Unknown", + "Abbreviation modifier", + "Adjectival complement", + "Adverbial clause modifier", + "Adverbial modifier", + "Adjectival modifier of an NP", + "Appositional modifier of an NP", + "Attribute dependent of a copular verb", + "Auxiliary (non-main) verb", + "Passive auxiliary", + "Coordinating conjunction", + "Clausal complement of a verb or adjective", + "Conjunct", + "Clausal subject", + "Clausal passive subject", + "Dependency (unable to determine)", + "Determiner", + "Discourse", + "Direct object", + "Expletive", + "Goes with (part of a word in a text not well edited)", + "Indirect object", + "Marker (word introducing a subordinate clause)", + "Multi-word expression", + "Multi-word verbal expression", + "Negation modifier", + "Noun compound modifier", + "Noun phrase used as an adverbial modifier", + "Nominal subject", + "Passive nominal subject", + "Numeric modifier of a noun", + "Element of compound number", + "Punctuation mark", + "Parataxis relation", + "Participial modifier", + "The complement of a preposition is a clause", + "Object of a preposition", + "Possession modifier", + "Postverbal negative particle", + "Predicate complement", + "Preconjunt", + "Predeterminer", + "Prefix", + "Prepositional modifier", + "The relationship between a verb and verbal morpheme", + "Particle", + "Associative or possessive marker", + "Quantifier phrase modifier", + "Relative clause modifier", + "Complementizer in relative clause", + "Ellipsis without a preceding predicate", + "Referent", + "Remnant", + "Reparandum", + "Root", + "Suffix specifying a unit of number", + "Suffix", + "Temporal modifier", + "Topic marker", + "Clause headed by an infinite form of the verb that modifies a noun", + "Vocative", + "Open clausal complement", + "Name suffix", + "Name title", + "Adverbial phrase modifier", + "Causative auxiliary", + "Helper auxiliary", + "Rentaishi (Prenominal modifier)", + "Foreign words", + "Keyword", + "List for chains of comparable items", + "Nominalized clause", + "Nominalized clausal subject", + "Nominalized clausal passive", + "Compound of numeric modifier", + "Copula", + "Dislocated relation (for fronted/topicalized elements)" + ] }, "headTokenIndex": { "description": "Represents the head of this token in the dependency tree.\nThis is the index of the token which has an arc going to this token.\nThe index is the position of the token in the array of tokens returned\nby the API method. If this token is a root token, then the\n`head_token_index` is its own index.", @@ -568,8 +420,30 @@ }, "id": "DependencyEdge" }, + "Token": { + "description": "Represents the smallest syntactic building block of the text.", + "type": "object", + "properties": { + "text": { + "description": "The token text.", + "$ref": "TextSpan" + }, + "dependencyEdge": { + "$ref": "DependencyEdge", + "description": "Dependency tree parse for this token." + }, + "lemma": { + "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.", + "type": "string" + }, + "partOfSpeech": { + "description": "Parts of speech tag for this token.", + "$ref": "PartOfSpeech" + } + }, + "id": "Token" + }, "TextSpan": { - "id": "TextSpan", "description": "Represents an output piece of text.", "type": "object", "properties": { @@ -582,40 +456,14 @@ "description": "The content of the output text.", "type": "string" } - } - }, - "Token": { - "properties": { - "lemma": { - "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.", - "type": "string" - }, - "partOfSpeech": { - "description": "Parts of speech tag for this token.", - "$ref": "PartOfSpeech" - }, - "text": { - "$ref": "TextSpan", - "description": "The token text." - }, - "dependencyEdge": { - "$ref": "DependencyEdge", - "description": "Dependency tree parse for this token." - } }, - "id": "Token", - "description": "Represents the smallest syntactic building block of the text.", - "type": "object" + "id": "TextSpan" }, "Status": { + "id": "Status", "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "code": { - "type": "integer", - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32" - }, "message": { "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", "type": "string" @@ -624,15 +472,38 @@ "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { + "type": "object", "additionalProperties": { - "type": "any", - "description": "Properties of the object. Contains field @type with type URL." - }, - "type": "object" + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } } + }, + "code": { + "type": "integer", + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32" + } + } + }, + "Features": { + "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.", + "type": "object", + "properties": { + "extractEntities": { + "description": "Extract entities.", + "type": "boolean" + }, + "extractSyntax": { + "description": "Extract syntax information.", + "type": "boolean" + }, + "extractDocumentSentiment": { + "description": "Extract document-level sentiment.", + "type": "boolean" } }, - "id": "Status" + "id": "Features" }, "EntityMention": { "description": "Represents a mention for an entity in the text. Currently, proper noun\nmentions are supported.", @@ -659,28 +530,14 @@ }, "id": "EntityMention" }, - "Features": { - "properties": { - "extractSyntax": { - "description": "Extract syntax information.", - "type": "boolean" - }, - "extractDocumentSentiment": { - "description": "Extract document-level sentiment.", - "type": "boolean" - }, - "extractEntities": { - "description": "Extract entities.", - "type": "boolean" - } - }, - "id": "Features", - "description": "All available features for sentiment, syntax, and semantic analysis.\nSetting each one to true will enable that specific analysis for the input.", - "type": "object" - }, "Document": { + "description": "################################################################ #\n\nRepresents the input to API methods.", "type": "object", "properties": { + "language": { + "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.\u003cbr\u003e\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.", + "type": "string" + }, "type": { "enum": [ "TYPE_UNSPECIFIED", @@ -696,43 +553,36 @@ ] }, "content": { - "description": "The content of the input in string format.", - "type": "string" + "type": "string", + "description": "The content of the input in string format." }, "gcsContentUri": { "description": "The Google Cloud Storage URI where the file content is located.\nThis URI must be of the form: gs://bucket_name/object_name. For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage object versioning is not supported.", "type": "string" - }, - "language": { - "description": "The language of the document (if not specified, the language is\nautomatically detected). Both ISO and BCP-47 language codes are\naccepted.\u003cbr\u003e\n**Current Language Restrictions:**\n\n * Only English, Spanish, and Japanese textual content are supported.\nIf the language (either specified by the caller or automatically detected)\nis not supported by the called API method, an `INVALID_ARGUMENT` error\nis returned.", - "type": "string" } }, - "id": "Document", - "description": "################################################################ #\n\nRepresents the input to API methods." + "id": "Document" }, "Sentence": { - "id": "Sentence", - "description": "Represents a sentence in the input document.", "type": "object", "properties": { "text": { - "description": "The sentence text.", - "$ref": "TextSpan" + "$ref": "TextSpan", + "description": "The sentence text." }, "sentiment": { "description": "For calls to AnalyzeSentiment or if\nAnnotateTextRequest.Features.extract_document_sentiment is set to\ntrue, this field will contain the sentiment for the sentence.", "$ref": "Sentiment" } - } + }, + "id": "Sentence", + "description": "Represents a sentence in the input document." }, "AnalyzeEntitiesRequest": { "description": "The entity analysis request message.", "type": "object", "properties": { "encodingType": { - "description": "The encoding type used by the API to calculate offsets.", - "type": "string", "enumDescriptions": [ "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", @@ -744,11 +594,13 @@ "UTF8", "UTF16", "UTF32" - ] + ], + "description": "The encoding type used by the API to calculate offsets.", + "type": "string" }, "document": { - "description": "Input document.", - "$ref": "Document" + "$ref": "Document", + "description": "Input document." } }, "id": "AnalyzeEntitiesRequest" @@ -757,20 +609,20 @@ "description": "Represents the feeling associated with the entire text or entities in\nthe text.", "type": "object", "properties": { - "magnitude": { - "description": "A non-negative number in the [0, +inf) range, which represents\nthe absolute magnitude of sentiment regardless of score (positive or\nnegative).", - "format": "float", - "type": "number" - }, "polarity": { "description": "DEPRECATED FIELD - This field is being deprecated in\nfavor of score. Please refer to our documentation at\nhttps://cloud.google.com/natural-language/docs for more information.", "format": "float", "type": "number" }, "score": { - "type": "number", "description": "Sentiment score between -1.0 (negative sentiment) and 1.0\n(positive sentiment).", - "format": "float" + "format": "float", + "type": "number" + }, + "magnitude": { + "description": "A non-negative number in the [0, +inf) range, which represents\nthe absolute magnitude of sentiment regardless of score (positive or\nnegative).", + "format": "float", + "type": "number" } }, "id": "Sentiment" @@ -780,8 +632,6 @@ "type": "object", "properties": { "form": { - "description": "The grammatical form.", - "type": "string", "enumDescriptions": [ "Form is not applicable in the analyzed language or is not predicted.", "Adnomial", @@ -809,25 +659,33 @@ "LONG", "ORDER", "SPECIFIC" - ] + ], + "description": "The grammatical form.", + "type": "string" }, "number": { - "enum": [ - "NUMBER_UNKNOWN", - "SINGULAR", - "PLURAL", - "DUAL" - ], - "description": "The grammatical number.", "type": "string", "enumDescriptions": [ "Number is not applicable in the analyzed language or is not predicted.", "Singular", "Plural", "Dual" - ] + ], + "enum": [ + "NUMBER_UNKNOWN", + "SINGULAR", + "PLURAL", + "DUAL" + ], + "description": "The grammatical number." }, "voice": { + "enumDescriptions": [ + "Voice is not applicable in the analyzed language or is not predicted.", + "Active", + "Causative", + "Passive" + ], "enum": [ "VOICE_UNKNOWN", "ACTIVE", @@ -835,13 +693,7 @@ "PASSIVE" ], "description": "The grammatical voice.", - "type": "string", - "enumDescriptions": [ - "Voice is not applicable in the analyzed language or is not predicted.", - "Active", - "Causative", - "Passive" - ] + "type": "string" }, "aspect": { "description": "The grammatical aspect.", @@ -882,7 +734,6 @@ "description": "The grammatical mood." }, "tag": { - "description": "The part of speech tag.", "type": "string", "enumDescriptions": [ "Unknown", @@ -915,11 +766,10 @@ "VERB", "X", "AFFIX" - ] + ], + "description": "The part of speech tag." }, "gender": { - "description": "The grammatical gender.", - "type": "string", "enumDescriptions": [ "Gender is not applicable in the analyzed language or is not predicted.", "Feminine", @@ -931,9 +781,18 @@ "FEMININE", "MASCULINE", "NEUTER" - ] + ], + "description": "The grammatical gender.", + "type": "string" }, "person": { + "enumDescriptions": [ + "Person is not applicable in the analyzed language or is not predicted.", + "First", + "Second", + "Third", + "Reflexive" + ], "enum": [ "PERSON_UNKNOWN", "FIRST", @@ -942,14 +801,7 @@ "REFLEXIVE_PERSON" ], "description": "The grammatical person.", - "type": "string", - "enumDescriptions": [ - "Person is not applicable in the analyzed language or is not predicted.", - "First", - "Second", - "Third", - "Reflexive" - ] + "type": "string" }, "proper": { "enum": [ @@ -966,24 +818,6 @@ ] }, "case": { - "enum": [ - "CASE_UNKNOWN", - "ACCUSATIVE", - "ADVERBIAL", - "COMPLEMENTIVE", - "DATIVE", - "GENITIVE", - "INSTRUMENTAL", - "LOCATIVE", - "NOMINATIVE", - "OBLIQUE", - "PARTITIVE", - "PREPOSITIONAL", - "REFLEXIVE_CASE", - "RELATIVE_CASE", - "VOCATIVE" - ], - "description": "The grammatical case.", "type": "string", "enumDescriptions": [ "Case is not applicable in the analyzed language or is not predicted.", @@ -1001,9 +835,29 @@ "Reflexive", "Relative", "Vocative" - ] + ], + "enum": [ + "CASE_UNKNOWN", + "ACCUSATIVE", + "ADVERBIAL", + "COMPLEMENTIVE", + "DATIVE", + "GENITIVE", + "INSTRUMENTAL", + "LOCATIVE", + "NOMINATIVE", + "OBLIQUE", + "PARTITIVE", + "PREPOSITIONAL", + "REFLEXIVE_CASE", + "RELATIVE_CASE", + "VOCATIVE" + ], + "description": "The grammatical case." }, "tense": { + "description": "The grammatical tense.", + "type": "string", "enumDescriptions": [ "Tense is not applicable in the analyzed language or is not predicted.", "Conditional", @@ -1021,11 +875,11 @@ "PRESENT", "IMPERFECT", "PLUPERFECT" - ], - "description": "The grammatical tense.", - "type": "string" + ] }, "reciprocity": { + "description": "The grammatical reciprocity.", + "type": "string", "enumDescriptions": [ "Reciprocity is not applicable in the analyzed language or is not\npredicted.", "Reciprocal", @@ -1035,39 +889,10 @@ "RECIPROCITY_UNKNOWN", "RECIPROCAL", "NON_RECIPROCAL" - ], - "description": "The grammatical reciprocity.", - "type": "string" - } - }, - "id": "PartOfSpeech" - }, - "AnalyzeSyntaxRequest": { - "description": "The syntax analysis request message.", - "type": "object", - "properties": { - "encodingType": { - "description": "The encoding type used by the API to calculate offsets.", - "type": "string", - "enumDescriptions": [ - "If `EncodingType` is not specified, encoding-dependent information (such as\n`begin_offset`) will be set at `-1`.", - "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-8 encoding of the input. C++ and Go are examples of languages\nthat use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-16 encoding of the input. Java and Javascript are examples of\nlanguages that use this encoding natively.", - "Encoding-dependent information (such as `begin_offset`) is calculated based\non the UTF-32 encoding of the input. Python is an example of a language\nthat uses this encoding natively." - ], - "enum": [ - "NONE", - "UTF8", - "UTF16", - "UTF32" ] - }, - "document": { - "$ref": "Document", - "description": "Input document." } }, - "id": "AnalyzeSyntaxRequest" + "id": "PartOfSpeech" } }, "icons": { @@ -1086,5 +911,180 @@ } }, "rootUrl": "https://language.googleapis.com/", - "ownerDomain": "google.com" + "ownerDomain": "google.com", + "name": "language", + "batchPath": "batch", + "title": "Google Cloud Natural Language API", + "ownerName": "Google", + "resources": { + "documents": { + "methods": { + "annotateText": { + "response": { + "$ref": "AnnotateTextResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v1beta1/documents:annotateText", + "path": "v1beta1/documents:annotateText", + "id": "language.documents.annotateText", + "description": "A convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.", + "request": { + "$ref": "AnnotateTextRequest" + } + }, + "analyzeEntities": { + "description": "Finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", + "request": { + "$ref": "AnalyzeEntitiesRequest" + }, + "response": { + "$ref": "AnalyzeEntitiesResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v1beta1/documents:analyzeEntities", + "path": "v1beta1/documents:analyzeEntities", + "id": "language.documents.analyzeEntities" + }, + "analyzeSyntax": { + "request": { + "$ref": "AnalyzeSyntaxRequest" + }, + "description": "Analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", + "response": { + "$ref": "AnalyzeSyntaxResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/documents:analyzeSyntax", + "path": "v1beta1/documents:analyzeSyntax", + "id": "language.documents.analyzeSyntax" + }, + "analyzeSentiment": { + "flatPath": "v1beta1/documents:analyzeSentiment", + "id": "language.documents.analyzeSentiment", + "path": "v1beta1/documents:analyzeSentiment", + "description": "Analyzes the sentiment of the provided text.", + "request": { + "$ref": "AnalyzeSentimentRequest" + }, + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "AnalyzeSentimentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {} + } + } + } + }, + "parameters": { + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ] + }, + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + } + }, + "version": "v1beta1", + "baseUrl": "https://language.googleapis.com/", + "kind": "discovery#restDescription", + "servicePath": "", + "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, and text annotations." } diff --git a/DiscoveryJson/logging_v2.json b/DiscoveryJson/logging_v2.json index 5ebe0a2ced..20a56d59e5 100644 --- a/DiscoveryJson/logging_v2.json +++ b/DiscoveryJson/logging_v2.json @@ -3,9 +3,6 @@ "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, "https://www.googleapis.com/auth/cloud-platform.read-only": { "description": "View your data across Google Cloud Platform services" }, @@ -17,6 +14,9 @@ }, "https://www.googleapis.com/auth/logging.write": { "description": "Submit log data for your projects" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" } } } @@ -32,29 +32,29 @@ "methods": { "list": { "httpMethod": "GET", - "parameterOrder": [], "response": { "$ref": "ListMonitoredResourceDescriptorsResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], + "parameterOrder": [], "parameters": { "pageToken": { + "location": "query", "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string", - "location": "query" + "type": "string" }, "pageSize": { + "type": "integer", "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", - "format": "int32", - "type": "integer" + "format": "int32" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" + ], "flatPath": "v2/monitoredResourceDescriptors", "id": "logging.monitoredResourceDescriptors.list", "path": "v2/monitoredResourceDescriptors", @@ -67,17 +67,13 @@ "logs": { "methods": { "delete": { - "httpMethod": "DELETE", - "parameterOrder": [ - "logName" - ], "response": { "$ref": "Empty" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" + "parameterOrder": [ + "logName" ], + "httpMethod": "DELETE", "parameters": { "logName": { "location": "path", @@ -87,30 +83,45 @@ "pattern": "^organizations/[^/]+/logs/[^/]+$" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "flatPath": "v2/organizations/{organizationsId}/logs/{logsId}", - "id": "logging.organizations.logs.delete", "path": "v2/{+logName}", + "id": "logging.organizations.logs.delete", "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted." }, "list": { + "flatPath": "v2/organizations/{organizationsId}/logs", + "path": "v2/{+parent}/logs", + "id": "logging.organizations.logs.list", + "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", + "response": { + "$ref": "ListLogsResponse" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", "parameters": { - "parent": { - "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", - "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" - }, "pageToken": { + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", "type": "string", - "location": "query", - "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call." + "location": "query" }, "pageSize": { "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "type": "integer" + }, + "parent": { + "location": "path", + "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", + "required": true, + "type": "string", + "pattern": "^organizations/[^/]+$" } }, "scopes": [ @@ -118,35 +129,27 @@ "https://www.googleapis.com/auth/cloud-platform.read-only", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.read" - ], - "flatPath": "v2/organizations/{organizationsId}/logs", - "id": "logging.organizations.logs.list", - "path": "v2/{+parent}/logs", - "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", - "httpMethod": "GET", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "ListLogsResponse" - } + ] } } }, "sinks": { "methods": { "delete": { - "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", - "path": "v2/{+sinkName}", "id": "logging.organizations.sinks.delete", + "path": "v2/{+sinkName}", "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", + "httpMethod": "DELETE", "response": { "$ref": "Empty" }, "parameterOrder": [ "sinkName" ], - "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "parameters": { "sinkName": { "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", @@ -156,33 +159,17 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ] + "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}" }, "list": { - "description": "Lists sinks.", - "response": { - "$ref": "ListSinksResponse" - }, "parameterOrder": [ "parent" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], + "response": { + "$ref": "ListSinksResponse" + }, "parameters": { - "pageSize": { - "location": "query", - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", - "format": "int32", - "type": "integer" - }, "parent": { "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", "required": true, @@ -191,30 +178,36 @@ "location": "path" }, "pageToken": { + "location": "query", "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string", - "location": "query" + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "format": "int32", + "type": "integer" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" + ], "flatPath": "v2/organizations/{organizationsId}/sinks", "path": "v2/{+parent}/sinks", - "id": "logging.organizations.sinks.list" + "id": "logging.organizations.sinks.list", + "description": "Lists sinks." }, "get": { - "response": { - "$ref": "LogSink" - }, - "parameterOrder": [ - "sinkName" - ], - "httpMethod": "GET", "parameters": { "sinkName": { - "required": true, - "type": "string", "pattern": "^organizations/[^/]+/sinks/[^/]+$", "location": "path", - "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\"." + "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "required": true, + "type": "string" } }, "scopes": [ @@ -224,9 +217,16 @@ "https://www.googleapis.com/auth/logging.read" ], "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", - "path": "v2/{+sinkName}", "id": "logging.organizations.sinks.get", - "description": "Gets a sink." + "path": "v2/{+sinkName}", + "description": "Gets a sink.", + "httpMethod": "GET", + "parameterOrder": [ + "sinkName" + ], + "response": { + "$ref": "LogSink" + } }, "update": { "httpMethod": "PUT", @@ -236,17 +236,13 @@ "response": { "$ref": "LogSink" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], "parameters": { "sinkName": { + "pattern": "^organizations/[^/]+/sinks/[^/]+$", + "location": "path", "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, - "type": "string", - "pattern": "^organizations/[^/]+/sinks/[^/]+$", - "location": "path" + "type": "string" }, "uniqueWriterIdentity": { "location": "query", @@ -254,15 +250,23 @@ "type": "boolean" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "flatPath": "v2/organizations/{organizationsId}/sinks/{sinksId}", "id": "logging.organizations.sinks.update", "path": "v2/{+sinkName}", - "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.", "request": { "$ref": "LogSink" - } + }, + "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field." }, "create": { + "request": { + "$ref": "LogSink" + }, + "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", "response": { "$ref": "LogSink" }, @@ -270,31 +274,27 @@ "parent" ], "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], "parameters": { - "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", - "type": "boolean", - "location": "query" - }, "parent": { + "pattern": "^organizations/[^/]+$", + "location": "path", "description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".", "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" + "type": "string" + }, + "uniqueWriterIdentity": { + "type": "boolean", + "location": "query", + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink." } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "flatPath": "v2/organizations/{organizationsId}/sinks", "path": "v2/{+parent}/sinks", - "id": "logging.organizations.sinks.create", - "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", - "request": { - "$ref": "LogSink" - } + "id": "logging.organizations.sinks.create" } } } @@ -303,85 +303,56 @@ "entries": { "methods": { "list": { - "path": "v2/entries:list", - "id": "logging.entries.list", - "request": { - "$ref": "ListLogEntriesRequest" - }, - "description": "Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.", "response": { "$ref": "ListLogEntriesResponse" }, "parameterOrder": [], "httpMethod": "POST", - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.read" ], - "flatPath": "v2/entries:list" + "parameters": {}, + "flatPath": "v2/entries:list", + "path": "v2/entries:list", + "id": "logging.entries.list", + "description": "Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.", + "request": { + "$ref": "ListLogEntriesRequest" + } }, "write": { + "description": "Writes log entries to Stackdriver Logging.", "request": { "$ref": "WriteLogEntriesRequest" }, - "description": "Writes log entries to Stackdriver Logging.", + "httpMethod": "POST", + "parameterOrder": [], "response": { "$ref": "WriteLogEntriesResponse" }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.write" ], + "parameters": {}, "flatPath": "v2/entries:write", - "path": "v2/entries:write", - "id": "logging.entries.write" + "id": "logging.entries.write", + "path": "v2/entries:write" } } }, "projects": { "resources": { - "metrics": { + "logs": { "methods": { - "delete": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "metricName" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.write" - ], - "parameters": { - "metricName": { - "pattern": "^projects/[^/]+/metrics/[^/]+$", - "location": "path", - "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", - "required": true, - "type": "string" - } - }, - "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", - "path": "v2/{+metricName}", - "id": "logging.projects.metrics.delete", - "description": "Deletes a logs-based metric." - }, "list": { - "path": "v2/{+parent}/metrics", - "id": "logging.projects.metrics.list", - "description": "Lists logs-based metrics.", + "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", "response": { - "$ref": "ListLogMetricsResponse" + "$ref": "ListLogsResponse" }, "parameterOrder": [ "parent" @@ -394,169 +365,112 @@ "https://www.googleapis.com/auth/logging.read" ], "parameters": { - "pageToken": { - "location": "query", - "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", + "parent": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n" + }, + "pageToken": { + "location": "query", + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", "type": "string" }, "pageSize": { + "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", - "type": "integer", - "location": "query" - }, - "parent": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "Required. The name of the project containing the metrics:\n\"projects/[PROJECT_ID]\"\n", - "required": true, - "type": "string" - } - }, - "flatPath": "v2/projects/{projectsId}/metrics" - }, - "get": { - "description": "Gets a logs-based metric.", - "response": { - "$ref": "LogMetric" - }, - "parameterOrder": [ - "metricName" - ], - "httpMethod": "GET", - "parameters": { - "metricName": { - "pattern": "^projects/[^/]+/metrics/[^/]+$", - "location": "path", - "description": "The resource name of the desired metric:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], - "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", - "path": "v2/{+metricName}", - "id": "logging.projects.metrics.get" - }, - "update": { - "response": { - "$ref": "LogMetric" - }, - "parameterOrder": [ - "metricName" - ], - "httpMethod": "PUT", - "parameters": { - "metricName": { - "pattern": "^projects/[^/]+/metrics/[^/]+$", - "location": "path", - "description": "The resource name of the metric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.", - "required": true, - "type": "string" + "type": "integer" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.write" - ], - "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", - "path": "v2/{+metricName}", - "id": "logging.projects.metrics.update", - "request": { - "$ref": "LogMetric" - }, - "description": "Creates or updates a logs-based metric." + "flatPath": "v2/projects/{projectsId}/logs", + "path": "v2/{+parent}/logs", + "id": "logging.projects.logs.list" }, - "create": { - "description": "Creates a logs-based metric.", - "request": { - "$ref": "LogMetric" - }, - "httpMethod": "POST", + "delete": { + "flatPath": "v2/projects/{projectsId}/logs/{logsId}", + "id": "logging.projects.logs.delete", + "path": "v2/{+logName}", + "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", + "httpMethod": "DELETE", "parameterOrder": [ - "parent" + "logName" ], "response": { - "$ref": "LogMetric" + "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.write" + "https://www.googleapis.com/auth/logging.admin" ], "parameters": { - "parent": { - "pattern": "^projects/[^/]+$", + "logName": { "location": "path", - "description": "The resource name of the project in which to create the metric:\n\"projects/[PROJECT_ID]\"\nThe new metric must be provided in the request.", + "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/logs/[^/]+$" } - }, - "flatPath": "v2/projects/{projectsId}/metrics", - "id": "logging.projects.metrics.create", - "path": "v2/{+parent}/metrics" + } } } }, - "logs": { + "sinks": { "methods": { "delete": { - "flatPath": "v2/projects/{projectsId}/logs/{logsId}", - "path": "v2/{+logName}", - "id": "logging.projects.logs.delete", - "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", + "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", "response": { "$ref": "Empty" }, "parameterOrder": [ - "logName" + "sinkName" ], "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "parameters": { - "logName": { - "pattern": "^projects/[^/]+/logs/[^/]+$", - "location": "path", - "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", + "sinkName": { + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/sinks/[^/]+$", + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ] + "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", + "path": "v2/{+sinkName}", + "id": "logging.projects.sinks.delete" }, "list": { - "flatPath": "v2/projects/{projectsId}/logs", - "id": "logging.projects.logs.list", - "path": "v2/{+parent}/logs", - "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", + "description": "Lists sinks.", "httpMethod": "GET", "parameterOrder": [ "parent" ], "response": { - "$ref": "ListLogsResponse" + "$ref": "ListSinksResponse" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" + ], "parameters": { "parent": { + "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", "required": true, "type": "string", "pattern": "^projects/[^/]+$", - "location": "path", - "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n" + "location": "path" }, "pageToken": { + "location": "query", "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string", - "location": "query" + "type": "string" }, "pageSize": { "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", @@ -565,85 +479,147 @@ "location": "query" } }, + "flatPath": "v2/projects/{projectsId}/sinks", + "id": "logging.projects.sinks.list", + "path": "v2/{+parent}/sinks" + }, + "get": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.read" - ] - } - } - }, - "sinks": { - "methods": { - "create": { - "path": "v2/{+parent}/sinks", - "id": "logging.projects.sinks.create", - "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", - "request": { - "$ref": "LogSink" + ], + "parameters": { + "sinkName": { + "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/sinks/[^/]+$", + "location": "path" + } }, + "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", + "id": "logging.projects.sinks.get", + "path": "v2/{+sinkName}", + "description": "Gets a sink.", + "httpMethod": "GET", + "parameterOrder": [ + "sinkName" + ], + "response": { + "$ref": "LogSink" + } + }, + "update": { "response": { "$ref": "LogSink" }, "parameterOrder": [ - "parent" + "sinkName" ], - "httpMethod": "POST", + "httpMethod": "PUT", + "parameters": { + "sinkName": { + "pattern": "^projects/[^/]+/sinks/[^/]+$", + "location": "path", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "required": true, + "type": "string" + }, + "uniqueWriterIdentity": { + "location": "query", + "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the old value is false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value is true and the new value is false.", + "type": "boolean" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], + "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", + "path": "v2/{+sinkName}", + "id": "logging.projects.sinks.update", + "request": { + "$ref": "LogSink" + }, + "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field." + }, + "create": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin" ], "parameters": { "parent": { + "pattern": "^projects/[^/]+$", + "location": "path", "description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".", "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "type": "string" }, "uniqueWriterIdentity": { - "location": "query", "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", - "type": "boolean" + "type": "boolean", + "location": "query" } }, - "flatPath": "v2/projects/{projectsId}/sinks" - }, + "flatPath": "v2/projects/{projectsId}/sinks", + "path": "v2/{+parent}/sinks", + "id": "logging.projects.sinks.create", + "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", + "request": { + "$ref": "LogSink" + }, + "response": { + "$ref": "LogSink" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "POST" + } + } + }, + "metrics": { + "methods": { "delete": { - "id": "logging.projects.sinks.delete", - "path": "v2/{+sinkName}", - "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", - "httpMethod": "DELETE", + "description": "Deletes a logs-based metric.", "response": { "$ref": "Empty" }, "parameterOrder": [ - "sinkName" + "metricName" ], + "httpMethod": "DELETE", "parameters": { - "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "metricName": { + "pattern": "^projects/[^/]+/metrics/[^/]+$", + "location": "path", + "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/sinks/[^/]+$", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.write" ], - "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}" + "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", + "path": "v2/{+metricName}", + "id": "logging.projects.metrics.delete" }, "list": { - "description": "Lists sinks.", + "id": "logging.projects.metrics.list", + "path": "v2/{+parent}/metrics", + "description": "Lists logs-based metrics.", "httpMethod": "GET", "parameterOrder": [ "parent" ], "response": { - "$ref": "ListSinksResponse" + "$ref": "ListLogMetricsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -653,11 +629,11 @@ ], "parameters": { "parent": { - "required": true, - "type": "string", "pattern": "^projects/[^/]+$", "location": "path", - "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n" + "description": "Required. The name of the project containing the metrics:\n\"projects/[PROJECT_ID]\"\n", + "required": true, + "type": "string" }, "pageToken": { "location": "query", @@ -665,28 +641,26 @@ "type": "string" }, "pageSize": { - "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" } }, - "flatPath": "v2/projects/{projectsId}/sinks", - "id": "logging.projects.sinks.list", - "path": "v2/{+parent}/sinks" + "flatPath": "v2/projects/{projectsId}/metrics" }, "get": { - "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", - "path": "v2/{+sinkName}", - "id": "logging.projects.sinks.get", - "description": "Gets a sink.", - "response": { - "$ref": "LogSink" - }, + "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", + "id": "logging.projects.metrics.get", + "path": "v2/{+metricName}", + "description": "Gets a logs-based metric.", + "httpMethod": "GET", "parameterOrder": [ - "sinkName" + "metricName" ], - "httpMethod": "GET", + "response": { + "$ref": "LogMetric" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", @@ -694,48 +668,74 @@ "https://www.googleapis.com/auth/logging.read" ], "parameters": { - "sinkName": { - "pattern": "^projects/[^/]+/sinks/[^/]+$", - "location": "path", - "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "metricName": { "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/metrics/[^/]+$", + "location": "path", + "description": "The resource name of the desired metric:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n" } } }, "update": { - "flatPath": "v2/projects/{projectsId}/sinks/{sinksId}", - "id": "logging.projects.sinks.update", - "path": "v2/{+sinkName}", - "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.", - "request": { - "$ref": "LogSink" + "response": { + "$ref": "LogMetric" }, - "httpMethod": "PUT", "parameterOrder": [ - "sinkName" + "metricName" ], - "response": { - "$ref": "LogSink" + "httpMethod": "PUT", + "parameters": { + "metricName": { + "pattern": "^projects/[^/]+/metrics/[^/]+$", + "location": "path", + "description": "The resource name of the metric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.", + "required": true, + "type": "string" + } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.write" + ], + "flatPath": "v2/projects/{projectsId}/metrics/{metricsId}", + "path": "v2/{+metricName}", + "id": "logging.projects.metrics.update", + "request": { + "$ref": "LogMetric" + }, + "description": "Creates or updates a logs-based metric." + }, + "create": { + "path": "v2/{+parent}/metrics", + "id": "logging.projects.metrics.create", + "request": { + "$ref": "LogMetric" + }, + "description": "Creates a logs-based metric.", + "response": { + "$ref": "LogMetric" + }, + "parameterOrder": [ + "parent" ], + "httpMethod": "POST", "parameters": { - "sinkName": { + "parent": { "location": "path", - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "The resource name of the project in which to create the metric:\n\"projects/[PROJECT_ID]\"\nThe new metric must be provided in the request.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/sinks/[^/]+$" - }, - "uniqueWriterIdentity": { - "location": "query", - "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the old value is false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value is true and the new value is false.", - "type": "boolean" + "pattern": "^projects/[^/]+$" } - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.write" + ], + "flatPath": "v2/projects/{projectsId}/metrics" } } } @@ -746,86 +746,85 @@ "logs": { "methods": { "delete": { + "flatPath": "v2/billingAccounts/{billingAccountsId}/logs/{logsId}", + "id": "logging.billingAccounts.logs.delete", + "path": "v2/{+logName}", + "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", + "httpMethod": "DELETE", "response": { "$ref": "Empty" }, "parameterOrder": [ "logName" ], - "httpMethod": "DELETE", "parameters": { "logName": { - "pattern": "^billingAccounts/[^/]+/logs/[^/]+$", - "location": "path", "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", "required": true, - "type": "string" + "type": "string", + "pattern": "^billingAccounts/[^/]+/logs/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin" - ], - "flatPath": "v2/billingAccounts/{billingAccountsId}/logs/{logsId}", - "path": "v2/{+logName}", - "id": "logging.billingAccounts.logs.delete", - "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted." + ] }, "list": { + "path": "v2/{+parent}/logs", + "id": "logging.billingAccounts.logs.list", + "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", + "response": { + "$ref": "ListLogsResponse" + }, "httpMethod": "GET", "parameterOrder": [ "parent" ], - "response": { - "$ref": "ListLogsResponse" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" + ], "parameters": { "parent": { + "pattern": "^billingAccounts/[^/]+$", + "location": "path", "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", "required": true, - "type": "string", - "pattern": "^billingAccounts/[^/]+$", - "location": "path" + "type": "string" }, "pageToken": { + "type": "string", "location": "query", - "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string" + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call." }, "pageSize": { - "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], - "flatPath": "v2/billingAccounts/{billingAccountsId}/logs", - "id": "logging.billingAccounts.logs.list", - "path": "v2/{+parent}/logs", - "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed." + "flatPath": "v2/billingAccounts/{billingAccountsId}/logs" } } }, "sinks": { "methods": { - "update": { - "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.", - "request": { - "$ref": "LogSink" + "delete": { + "path": "v2/{+sinkName}", + "id": "logging.billingAccounts.sinks.delete", + "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", + "response": { + "$ref": "Empty" }, - "httpMethod": "PUT", "parameterOrder": [ "sinkName" ], - "response": { - "$ref": "LogSink" - }, + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin" @@ -834,146 +833,147 @@ "sinkName": { "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", "location": "path", - "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, "type": "string" - }, - "uniqueWriterIdentity": { - "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the old value is false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value is true and the new value is false.", - "type": "boolean", - "location": "query" } }, - "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", - "id": "logging.billingAccounts.sinks.update", - "path": "v2/{+sinkName}" + "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}" }, - "create": { + "list": { + "description": "Lists sinks.", + "response": { + "$ref": "ListSinksResponse" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", "parameters": { "parent": { - "description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".", - "required": true, - "type": "string", "pattern": "^billingAccounts/[^/]+$", - "location": "path" + "location": "path", + "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", + "required": true, + "type": "string" }, - "uniqueWriterIdentity": { - "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", - "type": "boolean", - "location": "query" + "pageToken": { + "location": "query", + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "format": "int32", + "type": "integer" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" ], "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks", - "id": "logging.billingAccounts.sinks.create", "path": "v2/{+parent}/sinks", - "request": { - "$ref": "LogSink" - }, - "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", - "httpMethod": "POST", + "id": "logging.billingAccounts.sinks.list" + }, + "get": { + "description": "Gets a sink.", + "httpMethod": "GET", "parameterOrder": [ - "parent" + "sinkName" ], "response": { "$ref": "LogSink" - } - }, - "delete": { - "response": { - "$ref": "Empty" }, - "parameterOrder": [ - "sinkName" - ], - "httpMethod": "DELETE", "parameters": { "sinkName": { - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "location": "path", + "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, "type": "string", - "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", - "location": "path" + "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" ], "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", - "path": "v2/{+sinkName}", - "id": "logging.billingAccounts.sinks.delete", - "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted." + "id": "logging.billingAccounts.sinks.get", + "path": "v2/{+sinkName}" }, - "list": { - "description": "Lists sinks.", - "httpMethod": "GET", + "update": { + "httpMethod": "PUT", "parameterOrder": [ - "parent" + "sinkName" ], "response": { - "$ref": "ListSinksResponse" + "$ref": "LogSink" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], "parameters": { - "pageSize": { - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "parent": { - "pattern": "^billingAccounts/[^/]+$", + "sinkName": { "location": "path", - "description": "Required. The parent resource whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", + "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, - "type": "string" + "type": "string", + "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$" }, - "pageToken": { + "uniqueWriterIdentity": { "location": "query", - "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string" + "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the old value is false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value is true and the new value is false.", + "type": "boolean" } }, - "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks", - "id": "logging.billingAccounts.sinks.list", - "path": "v2/{+parent}/sinks" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], + "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", + "id": "logging.billingAccounts.sinks.update", + "path": "v2/{+sinkName}", + "request": { + "$ref": "LogSink" + }, + "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field." }, - "get": { - "description": "Gets a sink.", - "httpMethod": "GET", + "create": { + "request": { + "$ref": "LogSink" + }, + "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", "response": { "$ref": "LogSink" }, "parameterOrder": [ - "sinkName" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" + "parent" ], + "httpMethod": "POST", "parameters": { - "sinkName": { - "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", + "parent": { + "pattern": "^billingAccounts/[^/]+$", + "location": "path", + "description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".", "required": true, - "type": "string", - "pattern": "^billingAccounts/[^/]+/sinks/[^/]+$", - "location": "path" + "type": "string" + }, + "uniqueWriterIdentity": { + "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", + "type": "boolean", + "location": "query" } }, - "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks/{sinksId}", - "id": "logging.billingAccounts.sinks.get", - "path": "v2/{+sinkName}" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], + "flatPath": "v2/billingAccounts/{billingAccountsId}/sinks", + "path": "v2/{+parent}/sinks", + "id": "logging.billingAccounts.sinks.create" } } } @@ -983,32 +983,6 @@ "resources": { "logs": { "methods": { - "delete": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "logName" - ], - "httpMethod": "DELETE", - "parameters": { - "logName": { - "location": "path", - "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", - "required": true, - "type": "string", - "pattern": "^folders/[^/]+/logs/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], - "flatPath": "v2/folders/{foldersId}/logs/{logsId}", - "path": "v2/{+logName}", - "id": "logging.folders.logs.delete", - "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted." - }, "list": { "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", "response": { @@ -1026,16 +1000,16 @@ ], "parameters": { "parent": { + "location": "path", "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", "required": true, "type": "string", - "pattern": "^folders/[^/]+$", - "location": "path" + "pattern": "^folders/[^/]+$" }, "pageToken": { - "type": "string", "location": "query", - "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call." + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", + "type": "string" }, "pageSize": { "location": "query", @@ -1047,6 +1021,32 @@ "flatPath": "v2/folders/{foldersId}/logs", "path": "v2/{+parent}/logs", "id": "logging.folders.logs.list" + }, + "delete": { + "path": "v2/{+logName}", + "id": "logging.folders.logs.delete", + "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", + "parameterOrder": [ + "logName" + ], + "httpMethod": "DELETE", + "response": { + "$ref": "Empty" + }, + "parameters": { + "logName": { + "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", + "required": true, + "type": "string", + "pattern": "^folders/[^/]+/logs/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], + "flatPath": "v2/folders/{foldersId}/logs/{logsId}" } } }, @@ -1057,13 +1057,13 @@ "request": { "$ref": "LogSink" }, - "httpMethod": "PUT", - "parameterOrder": [ - "sinkName" - ], "response": { "$ref": "LogSink" }, + "parameterOrder": [ + "sinkName" + ], + "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin" @@ -1077,76 +1077,79 @@ "location": "path" }, "uniqueWriterIdentity": { - "location": "query", "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the old value is false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value is true and the new value is false.", - "type": "boolean" + "type": "boolean", + "location": "query" } }, "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", - "id": "logging.folders.sinks.update", - "path": "v2/{+sinkName}" + "path": "v2/{+sinkName}", + "id": "logging.folders.sinks.update" }, "create": { "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", "request": { "$ref": "LogSink" }, - "response": { - "$ref": "LogSink" - }, + "httpMethod": "POST", "parameterOrder": [ "parent" ], - "httpMethod": "POST", + "response": { + "$ref": "LogSink" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin" ], "parameters": { "parent": { + "pattern": "^folders/[^/]+$", "location": "path", "description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".", "required": true, - "type": "string", - "pattern": "^folders/[^/]+$" + "type": "string" }, "uniqueWriterIdentity": { + "location": "query", "description": "Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Stackdriver Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.", - "type": "boolean", - "location": "query" + "type": "boolean" } }, "flatPath": "v2/folders/{foldersId}/sinks", - "path": "v2/{+parent}/sinks", - "id": "logging.folders.sinks.create" + "id": "logging.folders.sinks.create", + "path": "v2/{+parent}/sinks" }, "delete": { - "response": { - "$ref": "Empty" - }, + "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.", "parameterOrder": [ "sinkName" ], + "response": { + "$ref": "Empty" + }, "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], "parameters": { "sinkName": { + "location": "path", "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, "type": "string", - "pattern": "^folders/[^/]+/sinks/[^/]+$", - "location": "path" + "pattern": "^folders/[^/]+/sinks/[^/]+$" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", "path": "v2/{+sinkName}", - "id": "logging.folders.sinks.delete", - "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted." + "id": "logging.folders.sinks.delete" }, "list": { + "path": "v2/{+parent}/sinks", + "id": "logging.folders.sinks.list", + "description": "Lists sinks.", "response": { "$ref": "ListSinksResponse" }, @@ -1156,15 +1159,15 @@ "httpMethod": "GET", "parameters": { "pageToken": { + "location": "query", "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string", - "location": "query" + "type": "string" }, "pageSize": { + "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", - "type": "integer", - "location": "query" + "type": "integer" }, "parent": { "location": "path", @@ -1180,19 +1183,16 @@ "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.read" ], - "flatPath": "v2/folders/{foldersId}/sinks", - "path": "v2/{+parent}/sinks", - "id": "logging.folders.sinks.list", - "description": "Lists sinks." + "flatPath": "v2/folders/{foldersId}/sinks" }, "get": { + "httpMethod": "GET", "response": { "$ref": "LogSink" }, "parameterOrder": [ "sinkName" ], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", @@ -1201,16 +1201,16 @@ ], "parameters": { "sinkName": { + "location": "path", "description": "Required. The resource name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, "type": "string", - "pattern": "^folders/[^/]+/sinks/[^/]+$", - "location": "path" + "pattern": "^folders/[^/]+/sinks/[^/]+$" } }, "flatPath": "v2/folders/{foldersId}/sinks/{sinksId}", - "path": "v2/{+sinkName}", "id": "logging.folders.sinks.get", + "path": "v2/{+sinkName}", "description": "Gets a sink." } } @@ -1219,21 +1219,31 @@ } }, "parameters": { + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "type": "string", + "location": "query", + "description": "OAuth 2.0 token for the current user." + }, "upload_protocol": { "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" }, "prettyPrint": { + "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" }, "fields": { - "location": "query", "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "type": "string", + "location": "query" }, "uploadType": { "location": "query", @@ -1241,22 +1251,22 @@ "type": "string" }, "callback": { + "type": "string", "location": "query", - "description": "JSONP", - "type": "string" + "description": "JSONP" }, "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], "location": "query", "enum": [ "1", "2" ], "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] + "type": "string" }, "alt": { "enumDescriptions": [ @@ -1274,14 +1284,14 @@ ], "type": "string" }, - "access_token": { - "description": "OAuth access token.", + "key": { "type": "string", - "location": "query" + "location": "query", + "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." }, - "key": { + "access_token": { "location": "query", - "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.", + "description": "OAuth access token.", "type": "string" }, "quotaUser": { @@ -1290,27 +1300,17 @@ "type": "string" }, "pp": { - "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true" - }, - "bearer_token": { - "type": "string", - "location": "query", - "description": "OAuth bearer token." - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" + "default": "true", + "location": "query" } }, "version": "v2", "baseUrl": "https://logging.googleapis.com/", - "description": "Writes log entries and manages your Stackdriver Logging configuration.", - "kind": "discovery#restDescription", "servicePath": "", + "kind": "discovery#restDescription", + "description": "Writes log entries and manages your Stackdriver Logging configuration.", "basePath": "", "documentationLink": "https://cloud.google.com/logging/docs/", "revision": "20170320", @@ -1318,81 +1318,122 @@ "discoveryVersion": "v1", "version_module": "True", "schemas": { + "LogEntrySourceLocation": { + "id": "LogEntrySourceLocation", + "description": "Additional information about the source code location that produced the log entry.", + "type": "object", + "properties": { + "file": { + "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", + "type": "string" + }, + "function": { + "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", + "type": "string" + }, + "line": { + "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", + "format": "int64", + "type": "string" + } + } + }, + "ListLogEntriesResponse": { + "description": "Result returned from ListLogEntries.", + "type": "object", + "properties": { + "entries": { + "description": "A list of log entries.", + "type": "array", + "items": { + "$ref": "LogEntry" + } + }, + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.", + "type": "string" + } + }, + "id": "ListLogEntriesResponse" + }, + "LogLine": { + "properties": { + "severity": { + "enum": [ + "DEFAULT", + "DEBUG", + "INFO", + "NOTICE", + "WARNING", + "ERROR", + "CRITICAL", + "ALERT", + "EMERGENCY" + ], + "description": "Severity of this log entry.", + "type": "string", + "enumDescriptions": [ + "(0) The log entry has no assigned severity level.", + "(100) Debug or trace information.", + "(200) Routine information, such as ongoing status or performance.", + "(300) Normal but significant events, such as start up, shut down, or a configuration change.", + "(400) Warning events might cause problems.", + "(500) Error events are likely to cause problems.", + "(600) Critical events cause more severe problems or outages.", + "(700) A person must take an action immediately.", + "(800) One or more systems are unusable." + ] + }, + "logMessage": { + "description": "App-provided log message.", + "type": "string" + }, + "sourceLocation": { + "$ref": "SourceLocation", + "description": "Where in the source code this log message was written." + }, + "time": { + "description": "Approximate time when this log entry was made.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "LogLine", + "description": "Application log line emitted while processing a request.", + "type": "object" + }, "ListLogMetricsResponse": { + "description": "Result returned from ListLogMetrics.", "type": "object", "properties": { "metrics": { - "description": "A list of logs-based metrics.", "type": "array", "items": { "$ref": "LogMetric" - } + }, + "description": "A list of logs-based metrics." }, "nextPageToken": { "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", "type": "string" } }, - "id": "ListLogMetricsResponse", - "description": "Result returned from ListLogMetrics." + "id": "ListLogMetricsResponse" }, "LogEntry": { + "description": "An individual entry in a log.", + "type": "object", "properties": { - "timestamp": { - "description": "Optional. The time the event described by the log entry occurred. If omitted in a new log entry, Stackdriver Logging will insert the time the log entry is received. Stackdriver Logging might reject log entries whose time stamps are more than a couple of hours in the future. Log entries with time stamps in the past are accepted.", - "format": "google-datetime", - "type": "string" - }, - "logName": { - "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.", - "type": "string" - }, - "httpRequest": { - "description": "Optional. Information about the HTTP request associated with this log entry, if applicable.", - "$ref": "HttpRequest" - }, - "resource": { - "$ref": "MonitoredResource", - "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error." - }, - "jsonPayload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The log entry payload, represented as a structure that is expressed as a JSON object.", - "type": "object" - }, - "operation": { - "$ref": "LogEntryOperation", - "description": "Optional. Information about an operation associated with the log entry, if applicable." - }, - "insertId": { - "description": "Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.", - "type": "string" - }, - "textPayload": { - "description": "The log entry payload, represented as a Unicode string (UTF-8).", - "type": "string" - }, - "protoPayload": { - "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, "trace": { "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824", "type": "string" }, "labels": { - "type": "object", "additionalProperties": { "type": "string" }, - "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry." + "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.", + "type": "object" }, "severity": { "type": "string", @@ -1423,19 +1464,63 @@ "sourceLocation": { "$ref": "LogEntrySourceLocation", "description": "Optional. Source code location information associated with the log entry, if any." + }, + "timestamp": { + "description": "Optional. The time the event described by the log entry occurred. If omitted in a new log entry, Stackdriver Logging will insert the time the log entry is received. Stackdriver Logging might reject log entries whose time stamps are more than a couple of hours in the future. Log entries with time stamps in the past are accepted.", + "format": "google-datetime", + "type": "string" + }, + "logName": { + "type": "string", + "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results." + }, + "httpRequest": { + "$ref": "HttpRequest", + "description": "Optional. Information about the HTTP request associated with this log entry, if applicable." + }, + "resource": { + "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error.", + "$ref": "MonitoredResource" + }, + "jsonPayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The log entry payload, represented as a structure that is expressed as a JSON object.", + "type": "object" + }, + "operation": { + "$ref": "LogEntryOperation", + "description": "Optional. Information about an operation associated with the log entry, if applicable." + }, + "insertId": { + "description": "Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.", + "type": "string" + }, + "textPayload": { + "description": "The log entry payload, represented as a Unicode string (UTF-8).", + "type": "string" + }, + "protoPayload": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.", + "type": "object" } }, - "id": "LogEntry", - "description": "An individual entry in a log.", - "type": "object" + "id": "LogEntry" }, "Empty": { + "id": "Empty", "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", "type": "object", - "properties": {}, - "id": "Empty" + "properties": {} }, "SourceLocation": { + "description": "Specifies a location in a source code file.", "type": "object", "properties": { "file": { @@ -1452,8 +1537,7 @@ "type": "string" } }, - "id": "SourceLocation", - "description": "Specifies a location in a source code file." + "id": "SourceLocation" }, "ListLogEntriesRequest": { "description": "The parameters to ListLogEntries.", @@ -1470,6 +1554,10 @@ "type": "string" } }, + "filter": { + "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.", + "type": "string" + }, "projectIds": { "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\". If present, these project identifiers are converted to resource name format and added to the list of resources in resource_names.", "type": "array", @@ -1477,24 +1565,46 @@ "type": "string" } }, - "filter": { - "type": "string", - "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters." - }, "pageToken": { "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.", "type": "string" }, "pageSize": { - "type": "integer", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of next_page_token in the response indicates that more results might be available.", - "format": "int32" + "format": "int32", + "type": "integer" } }, "id": "ListLogEntriesRequest" }, "RequestLog": { + "description": "Complete log information about a single HTTP request to an App Engine application.", + "type": "object", "properties": { + "responseSize": { + "description": "Size in bytes sent back to client by request.", + "format": "int64", + "type": "string" + }, + "traceId": { + "description": "Stackdriver Trace identifier for this request.", + "type": "string" + }, + "line": { + "description": "A list of log lines emitted by the application while serving this request.", + "type": "array", + "items": { + "$ref": "LogLine" + } + }, + "taskQueueName": { + "description": "Queue name of the request, in the case of an offline request.", + "type": "string" + }, + "referrer": { + "description": "Referrer URL of request.", + "type": "string" + }, "requestId": { "description": "Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.", "type": "string" @@ -1513,9 +1623,9 @@ "type": "string" }, "status": { + "type": "integer", "description": "HTTP response status code. Example: 200, 404.", - "format": "int32", - "type": "integer" + "format": "int32" }, "taskName": { "description": "Task name of the request, in the case of an offline request.", @@ -1530,14 +1640,14 @@ "format": "int32", "type": "integer" }, - "host": { - "type": "string", - "description": "Internet host and port number of the resource being requested." - }, "finished": { "description": "Whether this request is finished or active.", "type": "boolean" }, + "host": { + "description": "Internet host and port number of the resource being requested.", + "type": "string" + }, "httpVersion": { "description": "HTTP version of request. Example: \"HTTP/1.1\".", "type": "string" @@ -1548,9 +1658,9 @@ "type": "string" }, "latency": { + "type": "string", "description": "Latency of the request.", - "format": "google-duration", - "type": "string" + "format": "google-duration" }, "ip": { "description": "Origin IP address.", @@ -1561,17 +1671,17 @@ "type": "string" }, "appEngineRelease": { - "description": "App Engine release version.", - "type": "string" + "type": "string", + "description": "App Engine release version." }, "method": { - "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".", - "type": "string" + "type": "string", + "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\"." }, "cost": { + "type": "number", "description": "An indication of the relative cost of serving this request.", - "format": "double", - "type": "number" + "format": "double" }, "instanceId": { "description": "An identifier for the instance that handled the request.", @@ -1583,8 +1693,8 @@ "type": "string" }, "first": { - "description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.", - "type": "boolean" + "type": "boolean", + "description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them." }, "versionId": { "description": "Version of the application that handled this request.", @@ -1613,43 +1723,17 @@ "items": { "$ref": "SourceReference" } - }, - "responseSize": { - "description": "Size in bytes sent back to client by request.", - "format": "int64", - "type": "string" - }, - "traceId": { - "description": "Stackdriver Trace identifier for this request.", - "type": "string" - }, - "line": { - "description": "A list of log lines emitted by the application while serving this request.", - "type": "array", - "items": { - "$ref": "LogLine" - } - }, - "referrer": { - "description": "Referrer URL of request.", - "type": "string" - }, - "taskQueueName": { - "description": "Queue name of the request, in the case of an offline request.", - "type": "string" } }, - "id": "RequestLog", - "description": "Complete log information about a single HTTP request to an App Engine application.", - "type": "object" + "id": "RequestLog" }, "ListMonitoredResourceDescriptorsResponse": { "description": "Result returned from ListMonitoredResourceDescriptors.", "type": "object", "properties": { "nextPageToken": { - "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", - "type": "string" + "type": "string", + "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." }, "resourceDescriptors": { "description": "A list of resource descriptors.", @@ -1662,57 +1746,23 @@ "id": "ListMonitoredResourceDescriptorsResponse" }, "SourceReference": { - "description": "A reference to a particular snapshot of the source tree used to build and deploy an application.", "type": "object", "properties": { "revisionId": { - "type": "string", - "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"" + "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"", + "type": "string" }, "repository": { "description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", "type": "string" } }, - "id": "SourceReference" - }, - "WriteLogEntriesResponse": { - "description": "Result returned from WriteLogEntries. empty", - "type": "object", - "properties": {}, - "id": "WriteLogEntriesResponse" - }, - "LogEntryOperation": { - "type": "object", - "properties": { - "producer": { - "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".", - "type": "string" - }, - "first": { - "description": "Optional. Set this to True if this is the first log entry in the operation.", - "type": "boolean" - }, - "last": { - "description": "Optional. Set this to True if this is the last log entry in the operation.", - "type": "boolean" - }, - "id": { - "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.", - "type": "string" - } - }, - "id": "LogEntryOperation", - "description": "Additional information about a potentially long-running operation with which a log entry is associated." + "id": "SourceReference", + "description": "A reference to a particular snapshot of the source tree used to build and deploy an application." }, "LogMetric": { - "description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.", "type": "object", "properties": { - "filter": { - "description": "Required. An advanced logs filter which is used to match log entries. Example:\n\"resource.type=gae_app AND severity\u003e=ERROR\"\nThe maximum length of the filter is 20000 characters.", - "type": "string" - }, "name": { "description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.The metric identifier in this field must not be URL-encoded (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric identifier appears as the [METRIC_ID] part of a metric_name API parameter, then the metric identifier must be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".", "type": "string" @@ -1722,8 +1772,6 @@ "type": "string" }, "version": { - "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter expression. When a value for this field is missing, the default value of V2 should be assumed.", - "type": "string", "enumDescriptions": [ "Stackdriver Logging API v2.", "Stackdriver Logging API v1." @@ -1731,146 +1779,165 @@ "enum": [ "V2", "V1" - ] - } - }, - "id": "LogMetric" - }, - "MonitoredResource": { - "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n", - "type": "object", - "properties": { - "labels": { - "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".", - "type": "object", - "additionalProperties": { - "type": "string" - } + ], + "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter expression. When a value for this field is missing, the default value of V2 should be assumed.", + "type": "string" }, - "type": { - "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".", + "filter": { + "description": "Required. An advanced logs filter which is used to match log entries. Example:\n\"resource.type=gae_app AND severity\u003e=ERROR\"\nThe maximum length of the filter is 20000 characters.", "type": "string" } }, - "id": "MonitoredResource" + "id": "LogMetric", + "description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval." }, - "LogSink": { + "WriteLogEntriesResponse": { + "type": "object", + "properties": {}, + "id": "WriteLogEntriesResponse", + "description": "Result returned from WriteLogEntries. empty" + }, + "LogEntryOperation": { + "description": "Additional information about a potentially long-running operation with which a log entry is associated.", + "type": "object", "properties": { - "name": { - "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.", - "type": "string" - }, - "destination": { - "type": "string", - "description": "Required. The export destination:\n\"storage.googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\"\nThe sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs With Sinks." - }, - "filter": { - "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERROR\n", - "type": "string" - }, - "endTime": { - "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.", - "format": "google-datetime", - "type": "string" + "last": { + "description": "Optional. Set this to True if this is the last log entry in the operation.", + "type": "boolean" }, - "writerIdentity": { - "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.", + "id": { + "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.", "type": "string" }, - "startTime": { - "description": "Optional. The time at which this sink will begin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.", - "format": "google-datetime", + "producer": { + "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".", "type": "string" }, - "outputVersionFormat": { - "enum": [ - "VERSION_FORMAT_UNSPECIFIED", - "V2", - "V1" - ], - "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.", - "type": "string", - "enumDescriptions": [ - "An unspecified format version that will default to V2.", - "LogEntry version 2 format.", - "LogEntry version 1 format." - ] + "first": { + "type": "boolean", + "description": "Optional. Set this to True if this is the first log entry in the operation." } }, - "id": "LogSink", - "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.", - "type": "object" + "id": "LogEntryOperation" }, - "WriteLogEntriesRequest": { - "description": "The parameters to WriteLogEntries.", + "MonitoredResource": { + "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n", "type": "object", "properties": { + "type": { + "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".", + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" }, - "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.", + "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".", "type": "object" - }, - "resource": { - "$ref": "MonitoredResource", - "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry." - }, + } + }, + "id": "MonitoredResource" + }, + "WriteLogEntriesRequest": { + "description": "The parameters to WriteLogEntries.", + "type": "object", + "properties": { "logName": { - "type": "string", - "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry." + "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", + "type": "string" }, "entries": { - "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are inserted into those log entries in this list that do not provide their own values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later entries. Otherwise, the order of log entries in this list does not matter.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry.", "type": "array", "items": { "$ref": "LogEntry" - } + }, + "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are inserted into those log entries in this list that do not provide their own values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later entries. Otherwise, the order of log entries in this list does not matter.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry." }, "partialSuccess": { "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.", "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.", + "type": "object" + }, + "resource": { + "$ref": "MonitoredResource", + "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry." } }, "id": "WriteLogEntriesRequest" }, - "ListLogsResponse": { - "description": "Result returned from ListLogs.", + "LogSink": { + "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.", "type": "object", "properties": { - "logNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of log names. For example, \"projects/my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com%2Factivity\"." + "startTime": { + "description": "Optional. The time at which this sink will begin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.", + "format": "google-datetime", + "type": "string" }, - "nextPageToken": { - "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", + "writerIdentity": { + "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.", + "type": "string" + }, + "outputVersionFormat": { + "enumDescriptions": [ + "An unspecified format version that will default to V2.", + "LogEntry version 2 format.", + "LogEntry version 1 format." + ], + "enum": [ + "VERSION_FORMAT_UNSPECIFIED", + "V2", + "V1" + ], + "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.", + "type": "string" + }, + "name": { + "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.", + "type": "string" + }, + "filter": { + "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERROR\n", + "type": "string" + }, + "destination": { + "description": "Required. The export destination:\n\"storage.googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]\"\nThe sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs With Sinks.", + "type": "string" + }, + "endTime": { + "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.", + "format": "google-datetime", "type": "string" } }, - "id": "ListLogsResponse" + "id": "LogSink" }, - "ListSinksResponse": { - "description": "Result returned from ListSinks.", + "ListLogsResponse": { + "description": "Result returned from ListLogs.", "type": "object", "properties": { "nextPageToken": { - "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", + "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", "type": "string" }, - "sinks": { - "description": "A list of sinks.", + "logNames": { + "description": "A list of log names. For example, \"projects/my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com%2Factivity\".", "type": "array", "items": { - "$ref": "LogSink" + "type": "string" } } }, - "id": "ListSinksResponse" + "id": "ListLogsResponse" }, "HttpRequest": { + "description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.", "type": "object", "properties": { "requestUrl": { @@ -1906,15 +1973,15 @@ "description": "The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", "type": "string" }, + "latency": { + "description": "The request processing latency on the server, from the time the request was received until the response was sent.", + "format": "google-duration", + "type": "string" + }, "userAgent": { "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".", "type": "string" }, - "latency": { - "type": "string", - "description": "The request processing latency on the server, from the time the request was received until the response was sent.", - "format": "google-duration" - }, "cacheFillBytes": { "description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.", "format": "int64", @@ -1935,156 +2002,89 @@ "type": "string" } }, - "id": "HttpRequest", - "description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message." + "id": "HttpRequest" + }, + "ListSinksResponse": { + "id": "ListSinksResponse", + "description": "Result returned from ListSinks.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", + "type": "string" + }, + "sinks": { + "description": "A list of sinks.", + "type": "array", + "items": { + "$ref": "LogSink" + } + } + } }, "LabelDescriptor": { + "description": "A description of a label.", "type": "object", "properties": { "key": { - "description": "The label key.", - "type": "string" + "type": "string", + "description": "The label key." }, "description": { - "type": "string", - "description": "A human-readable description for the label." + "description": "A human-readable description for the label.", + "type": "string" }, "valueType": { + "enum": [ + "STRING", + "BOOL", + "INT64" + ], "description": "The type of data that can be assigned to the label.", "type": "string", "enumDescriptions": [ "A variable-length string. This is the default.", "Boolean; true or false.", "A 64-bit signed integer." - ], - "enum": [ - "STRING", - "BOOL", - "INT64" ] } }, - "id": "LabelDescriptor", - "description": "A description of a label." + "id": "LabelDescriptor" }, "MonitoredResourceDescriptor": { "properties": { - "labels": { - "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", - "type": "array", - "items": { - "$ref": "LabelDescriptor" - } - }, "name": { "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".", "type": "string" }, "displayName": { - "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", - "type": "string" + "type": "string", + "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\"." }, "description": { "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", "type": "string" }, "type": { - "type": "string", - "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters." - } - }, - "id": "MonitoredResourceDescriptor", - "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", - "type": "object" - }, - "LogEntrySourceLocation": { - "type": "object", - "properties": { - "file": { - "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", - "type": "string" - }, - "function": { - "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", + "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.", "type": "string" }, - "line": { - "type": "string", - "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", - "format": "int64" - } - }, - "id": "LogEntrySourceLocation", - "description": "Additional information about the source code location that produced the log entry." - }, - "ListLogEntriesResponse": { - "properties": { - "entries": { - "description": "A list of log entries.", + "labels": { + "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", "type": "array", "items": { - "$ref": "LogEntry" + "$ref": "LabelDescriptor" } - }, - "nextPageToken": { - "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.", - "type": "string" } }, - "id": "ListLogEntriesResponse", - "description": "Result returned from ListLogEntries.", + "id": "MonitoredResourceDescriptor", + "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", "type": "object" - }, - "LogLine": { - "description": "Application log line emitted while processing a request.", - "type": "object", - "properties": { - "severity": { - "enum": [ - "DEFAULT", - "DEBUG", - "INFO", - "NOTICE", - "WARNING", - "ERROR", - "CRITICAL", - "ALERT", - "EMERGENCY" - ], - "description": "Severity of this log entry.", - "type": "string", - "enumDescriptions": [ - "(0) The log entry has no assigned severity level.", - "(100) Debug or trace information.", - "(200) Routine information, such as ongoing status or performance.", - "(300) Normal but significant events, such as start up, shut down, or a configuration change.", - "(400) Warning events might cause problems.", - "(500) Error events are likely to cause problems.", - "(600) Critical events cause more severe problems or outages.", - "(700) A person must take an action immediately.", - "(800) One or more systems are unusable." - ] - }, - "logMessage": { - "description": "App-provided log message.", - "type": "string" - }, - "sourceLocation": { - "$ref": "SourceLocation", - "description": "Where in the source code this log message was written." - }, - "time": { - "description": "Approximate time when this log entry was made.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "LogLine" } }, "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "protocol": "rest" } diff --git a/DiscoveryJson/logging_v2beta1.json b/DiscoveryJson/logging_v2beta1.json index e92c34e8ca..fc84ad127b 100644 --- a/DiscoveryJson/logging_v2beta1.json +++ b/DiscoveryJson/logging_v2beta1.json @@ -1,11 +1,271 @@ { - "discoveryVersion": "v1", - "version_module": "True", "schemas": { + "MonitoredResourceDescriptor": { + "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", + "type": "object", + "properties": { + "name": { + "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".", + "type": "string" + }, + "displayName": { + "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", + "type": "string" + }, + "description": { + "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", + "type": "string" + }, + "type": { + "type": "string", + "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters." + }, + "labels": { + "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", + "type": "array", + "items": { + "$ref": "LabelDescriptor" + } + } + }, + "id": "MonitoredResourceDescriptor" + }, + "LogEntrySourceLocation": { + "description": "Additional information about the source code location that produced the log entry.", + "type": "object", + "properties": { + "file": { + "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", + "type": "string" + }, + "function": { + "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", + "type": "string" + }, + "line": { + "type": "string", + "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", + "format": "int64" + } + }, + "id": "LogEntrySourceLocation" + }, + "ListLogEntriesResponse": { + "description": "Result returned from ListLogEntries.", + "type": "object", + "properties": { + "entries": { + "description": "A list of log entries.", + "type": "array", + "items": { + "$ref": "LogEntry" + } + }, + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.", + "type": "string" + } + }, + "id": "ListLogEntriesResponse" + }, + "LogLine": { + "description": "Application log line emitted while processing a request.", + "type": "object", + "properties": { + "severity": { + "description": "Severity of this log entry.", + "type": "string", + "enumDescriptions": [ + "(0) The log entry has no assigned severity level.", + "(100) Debug or trace information.", + "(200) Routine information, such as ongoing status or performance.", + "(300) Normal but significant events, such as start up, shut down, or a configuration change.", + "(400) Warning events might cause problems.", + "(500) Error events are likely to cause problems.", + "(600) Critical events cause more severe problems or outages.", + "(700) A person must take an action immediately.", + "(800) One or more systems are unusable." + ], + "enum": [ + "DEFAULT", + "DEBUG", + "INFO", + "NOTICE", + "WARNING", + "ERROR", + "CRITICAL", + "ALERT", + "EMERGENCY" + ] + }, + "logMessage": { + "type": "string", + "description": "App-provided log message." + }, + "sourceLocation": { + "$ref": "SourceLocation", + "description": "Where in the source code this log message was written." + }, + "time": { + "description": "Approximate time when this log entry was made.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "LogLine" + }, + "ListLogMetricsResponse": { + "properties": { + "metrics": { + "description": "A list of logs-based metrics.", + "type": "array", + "items": { + "$ref": "LogMetric" + } + }, + "nextPageToken": { + "type": "string", + "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." + } + }, + "id": "ListLogMetricsResponse", + "description": "Result returned from ListLogMetrics.", + "type": "object" + }, + "Empty": { + "type": "object", + "properties": {}, + "id": "Empty", + "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}." + }, + "LogEntry": { + "type": "object", + "properties": { + "timestamp": { + "description": "Optional. The time the event described by the log entry occurred. If omitted in a new log entry, Stackdriver Logging will insert the time the log entry is received. Stackdriver Logging might reject log entries whose time stamps are more than a couple of hours in the future. Log entries with time stamps in the past are accepted.", + "format": "google-datetime", + "type": "string" + }, + "logName": { + "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.", + "type": "string" + }, + "resource": { + "$ref": "MonitoredResource", + "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error." + }, + "httpRequest": { + "$ref": "HttpRequest", + "description": "Optional. Information about the HTTP request associated with this log entry, if applicable." + }, + "jsonPayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The log entry payload, represented as a structure that is expressed as a JSON object.", + "type": "object" + }, + "operation": { + "$ref": "LogEntryOperation", + "description": "Optional. Information about an operation associated with the log entry, if applicable." + }, + "insertId": { + "description": "Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.", + "type": "string" + }, + "textPayload": { + "description": "The log entry payload, represented as a Unicode string (UTF-8).", + "type": "string" + }, + "protoPayload": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.", + "type": "object" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.", + "type": "object" + }, + "trace": { + "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824", + "type": "string" + }, + "severity": { + "enum": [ + "DEFAULT", + "DEBUG", + "INFO", + "NOTICE", + "WARNING", + "ERROR", + "CRITICAL", + "ALERT", + "EMERGENCY" + ], + "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", + "type": "string", + "enumDescriptions": [ + "(0) The log entry has no assigned severity level.", + "(100) Debug or trace information.", + "(200) Routine information, such as ongoing status or performance.", + "(300) Normal but significant events, such as start up, shut down, or a configuration change.", + "(400) Warning events might cause problems.", + "(500) Error events are likely to cause problems.", + "(600) Critical events cause more severe problems or outages.", + "(700) A person must take an action immediately.", + "(800) One or more systems are unusable." + ] + }, + "sourceLocation": { + "description": "Optional. Source code location information associated with the log entry, if any.", + "$ref": "LogEntrySourceLocation" + } + }, + "id": "LogEntry", + "description": "An individual entry in a log." + }, + "SourceLocation": { + "id": "SourceLocation", + "description": "Specifies a location in a source code file.", + "type": "object", + "properties": { + "file": { + "description": "Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", + "type": "string" + }, + "functionName": { + "description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", + "type": "string" + }, + "line": { + "description": "Line within the source file.", + "format": "int64", + "type": "string" + } + } + }, "ListLogEntriesRequest": { "description": "The parameters to ListLogEntries.", "type": "object", "properties": { + "filter": { + "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.", + "type": "string" + }, + "projectIds": { + "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\". If present, these project identifiers are converted to resource name format and added to the list of resources in resource_names.", + "type": "array", + "items": { + "type": "string" + } + }, "pageToken": { "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.", "type": "string" @@ -25,29 +285,43 @@ "items": { "type": "string" } - }, - "projectIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: \"my-project-1A\". If present, these project identifiers are converted to resource name format and added to the list of resources in resource_names." - }, - "filter": { - "type": "string", - "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters." } }, "id": "ListLogEntriesRequest" }, "RequestLog": { - "description": "Complete log information about a single HTTP request to an App Engine application.", "type": "object", "properties": { - "moduleId": { - "description": "Module of the application that handled this request.", + "method": { + "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".", + "type": "string" + }, + "cost": { + "description": "An indication of the relative cost of serving this request.", + "format": "double", + "type": "number" + }, + "instanceId": { + "description": "An identifier for the instance that handled the request.", + "type": "string" + }, + "megaCycles": { + "description": "Number of CPU megacycles used to process request.", + "format": "int64", "type": "string" }, + "first": { + "description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.", + "type": "boolean" + }, + "versionId": { + "description": "Version of the application that handled this request.", + "type": "string" + }, + "moduleId": { + "type": "string", + "description": "Module of the application that handled this request." + }, "endTime": { "description": "Time when the request finished.", "format": "google-datetime", @@ -89,8 +363,8 @@ "type": "string" }, "referrer": { - "type": "string", - "description": "Referrer URL of request." + "description": "Referrer URL of request.", + "type": "string" }, "requestId": { "description": "Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.", @@ -100,6 +374,11 @@ "description": "The logged-in user who made the request.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 can have similar names. This information is also available to the application via the App Engine Users API.This field will be populated starting with App Engine 1.9.21.", "type": "string" }, + "pendingTime": { + "type": "string", + "description": "Time this request spent in the pending request queue.", + "format": "google-duration" + }, "resource": { "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\". The fragment identifier, which is identified by the # character, is not included.", "type": "string" @@ -109,40 +388,35 @@ "format": "int32", "type": "integer" }, - "pendingTime": { - "description": "Time this request spent in the pending request queue.", - "format": "google-duration", - "type": "string" - }, "taskName": { "description": "Task name of the request, in the case of an offline request.", "type": "string" }, "urlMapEntry": { - "type": "string", - "description": "File or class that handled the request." + "description": "File or class that handled the request.", + "type": "string" }, "instanceIndex": { "description": "If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.", "format": "int32", "type": "integer" }, + "host": { + "description": "Internet host and port number of the resource being requested.", + "type": "string" + }, "finished": { "description": "Whether this request is finished or active.", "type": "boolean" }, - "host": { - "type": "string", - "description": "Internet host and port number of the resource being requested." - }, "httpVersion": { "description": "HTTP version of request. Example: \"HTTP/1.1\".", "type": "string" }, "startTime": { - "type": "string", "description": "Time when the request started.", - "format": "google-datetime" + "format": "google-datetime", + "type": "string" }, "latency": { "description": "Latency of the request.", @@ -160,37 +434,14 @@ "appEngineRelease": { "description": "App Engine release version.", "type": "string" - }, - "method": { - "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".", - "type": "string" - }, - "cost": { - "description": "An indication of the relative cost of serving this request.", - "format": "double", - "type": "number" - }, - "instanceId": { - "description": "An identifier for the instance that handled the request.", - "type": "string" - }, - "megaCycles": { - "description": "Number of CPU megacycles used to process request.", - "format": "int64", - "type": "string" - }, - "first": { - "description": "Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.", - "type": "boolean" - }, - "versionId": { - "description": "Version of the application that handled this request.", - "type": "string" } }, - "id": "RequestLog" + "id": "RequestLog", + "description": "Complete log information about a single HTTP request to an App Engine application." }, "ListMonitoredResourceDescriptorsResponse": { + "description": "Result returned from ListMonitoredResourceDescriptors.", + "type": "object", "properties": { "nextPageToken": { "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", @@ -204,30 +455,53 @@ } } }, - "id": "ListMonitoredResourceDescriptorsResponse", - "description": "Result returned from ListMonitoredResourceDescriptors.", - "type": "object" + "id": "ListMonitoredResourceDescriptorsResponse" }, "SourceReference": { + "id": "SourceReference", "description": "A reference to a particular snapshot of the source tree used to build and deploy an application.", "type": "object", "properties": { + "revisionId": { + "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"", + "type": "string" + }, "repository": { - "description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", + "type": "string", + "description": "Optional. A URI string identifying the repository. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"" + } + } + }, + "LogMetric": { + "description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.", + "type": "object", + "properties": { + "name": { + "description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.The metric identifier in this field must not be URL-encoded (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric identifier appears as the [METRIC_ID] part of a metric_name API parameter, then the metric identifier must be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".", "type": "string" }, - "revisionId": { - "description": "The canonical and persistent identifier of the deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\"", + "description": { + "description": "Optional. A description of this metric, which is used in documentation.", + "type": "string" + }, + "version": { + "type": "string", + "enumDescriptions": [ + "Stackdriver Logging API v2.", + "Stackdriver Logging API v1." + ], + "enum": [ + "V2", + "V1" + ], + "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter expression. When a value for this field is missing, the default value of V2 should be assumed." + }, + "filter": { + "description": "Required. An advanced logs filter which is used to match log entries. Example:\n\"resource.type=gae_app AND severity\u003e=ERROR\"\nThe maximum length of the filter is 20000 characters.", "type": "string" } }, - "id": "SourceReference" - }, - "WriteLogEntriesResponse": { - "description": "Result returned from WriteLogEntries. empty", - "type": "object", - "properties": {}, - "id": "WriteLogEntriesResponse" + "id": "LogMetric" }, "LogEntryOperation": { "description": "Additional information about a potentially long-running operation with which a log entry is associated.", @@ -252,36 +526,11 @@ }, "id": "LogEntryOperation" }, - "LogMetric": { - "description": "Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.", + "WriteLogEntriesResponse": { + "description": "Result returned from WriteLogEntries. empty", "type": "object", - "properties": { - "version": { - "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter expression. When a value for this field is missing, the default value of V2 should be assumed.", - "type": "string", - "enumDescriptions": [ - "Stackdriver Logging API v2.", - "Stackdriver Logging API v1." - ], - "enum": [ - "V2", - "V1" - ] - }, - "filter": { - "description": "Required. An advanced logs filter which is used to match log entries. Example:\n\"resource.type=gae_app AND severity\u003e=ERROR\"\nThe maximum length of the filter is 20000 characters.", - "type": "string" - }, - "name": { - "description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.The metric identifier in this field must not be URL-encoded (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric identifier appears as the [METRIC_ID] part of a metric_name API parameter, then the metric identifier must be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".", - "type": "string" - }, - "description": { - "description": "Optional. A description of this metric, which is used in documentation.", - "type": "string" - } - }, - "id": "LogMetric" + "properties": {}, + "id": "WriteLogEntriesResponse" }, "MonitoredResource": { "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n", @@ -292,66 +541,19 @@ "type": "string" }, "labels": { - "additionalProperties": { - "type": "string" - }, "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".", - "type": "object" - } - }, - "id": "MonitoredResource" - }, - "WriteLogEntriesRequest": { - "description": "The parameters to WriteLogEntries.", - "type": "object", - "properties": { - "labels": { - "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.", "type": "object", "additionalProperties": { "type": "string" } - }, - "resource": { - "$ref": "MonitoredResource", - "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry." - }, - "logName": { - "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", - "type": "string" - }, - "entries": { - "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are inserted into those log entries in this list that do not provide their own values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later entries. Otherwise, the order of log entries in this list does not matter.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry.", - "type": "array", - "items": { - "$ref": "LogEntry" - } - }, - "partialSuccess": { - "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.", - "type": "boolean" } }, - "id": "WriteLogEntriesRequest" + "id": "MonitoredResource" }, "LogSink": { "description": "Describes a sink used to export log entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.", "type": "object", "properties": { - "outputVersionFormat": { - "enumDescriptions": [ - "An unspecified format version that will default to V2.", - "LogEntry version 2 format.", - "LogEntry version 1 format." - ], - "enum": [ - "VERSION_FORMAT_UNSPECIFIED", - "V2", - "V1" - ], - "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.", - "type": "string" - }, "name": { "description": "Required. The client-assigned sink identifier, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.", "type": "string" @@ -361,8 +563,8 @@ "type": "string" }, "filter": { - "type": "string", - "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERROR\n" + "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the output_version_format parameter. For example, in the v2 format:\nlogName=\"projects/[PROJECT_ID]/logs/[LOG_ID]\" AND severity\u003e=ERROR\n", + "type": "string" }, "endTime": { "description": "Optional. The time at which this sink will stop exporting log entries. Log entries are exported only if their timestamp is earlier than the end time. If this field is not supplied, there is no end time. If both a start time and an end time are provided, then the end time must be later than the start time.", @@ -377,400 +579,196 @@ "writerIdentity": { "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting access for a resource. Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.", "type": "string" - } - }, - "id": "LogSink" - }, - "ListLogsResponse": { - "properties": { - "nextPageToken": { - "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", - "type": "string" - }, - "logNames": { - "description": "A list of log names. For example, \"projects/my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com%2Factivity\".", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "ListLogsResponse", - "description": "Result returned from ListLogs.", - "type": "object" - }, - "HttpRequest": { - "description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.", - "type": "object", - "properties": { - "serverIp": { - "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.", - "type": "string" - }, - "remoteIp": { - "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E:8329\".", - "type": "string" - }, - "cacheLookup": { - "description": "Whether or not a cache lookup was attempted.", - "type": "boolean" - }, - "cacheHit": { - "description": "Whether or not an entity was served from cache (with or without validation).", - "type": "boolean" - }, - "cacheValidatedWithOriginServer": { - "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.", - "type": "boolean" - }, - "status": { - "description": "The response code indicating the status of response. Examples: 200, 404.", - "format": "int32", - "type": "integer" - }, - "referer": { - "description": "The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", - "type": "string" - }, - "userAgent": { - "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".", - "type": "string" - }, - "latency": { - "description": "The request processing latency on the server, from the time the request was received until the response was sent.", - "format": "google-duration", - "type": "string" - }, - "cacheFillBytes": { - "description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.", - "format": "int64", - "type": "string" - }, - "requestMethod": { - "description": "The request method. Examples: \"GET\", \"HEAD\", \"PUT\", \"POST\".", - "type": "string" - }, - "requestSize": { - "description": "The size of the HTTP request message in bytes, including the request headers and the request body.", - "format": "int64", - "type": "string" }, - "responseSize": { + "outputVersionFormat": { + "enum": [ + "VERSION_FORMAT_UNSPECIFIED", + "V2", + "V1" + ], + "description": "Optional. The log entry format to use for this sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See Migration to the v2 API.", "type": "string", - "description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.", - "format": "int64" - }, - "requestUrl": { - "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\".", - "type": "string" + "enumDescriptions": [ + "An unspecified format version that will default to V2.", + "LogEntry version 2 format.", + "LogEntry version 1 format." + ] } }, - "id": "HttpRequest" + "id": "LogSink" }, - "ListSinksResponse": { - "id": "ListSinksResponse", - "description": "Result returned from ListSinks.", + "WriteLogEntriesRequest": { "type": "object", "properties": { - "nextPageToken": { - "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", + "logName": { + "description": "Optional. A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", "type": "string" }, - "sinks": { - "description": "A list of sinks.", + "entries": { "type": "array", "items": { - "$ref": "LogSink" - } - } - } - }, - "LabelDescriptor": { - "description": "A description of a label.", - "type": "object", - "properties": { - "key": { - "description": "The label key.", - "type": "string" + "$ref": "LogEntry" + }, + "description": "Required. The log entries to write. Values supplied for the fields log_name, resource, and labels in this entries.write request are inserted into those log entries in this list that do not provide their own values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later entries. Otherwise, the order of log entries in this list does not matter.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method for each individual log entry." }, - "description": { - "description": "A human-readable description for the label.", - "type": "string" + "partialSuccess": { + "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.", + "type": "boolean" }, - "valueType": { - "enumDescriptions": [ - "A variable-length string. This is the default.", - "Boolean; true or false.", - "A 64-bit signed integer." - ], - "enum": [ - "STRING", - "BOOL", - "INT64" - ], - "description": "The type of data that can be assigned to the label.", - "type": "string" + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Default labels that are added to the labels field of all log entries in entries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.", + "type": "object" + }, + "resource": { + "$ref": "MonitoredResource", + "description": "Optional. A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry." } }, - "id": "LabelDescriptor" + "id": "WriteLogEntriesRequest", + "description": "The parameters to WriteLogEntries." }, - "MonitoredResourceDescriptor": { - "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", + "ListLogsResponse": { + "description": "Result returned from ListLogs.", "type": "object", "properties": { - "name": { - "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".", - "type": "string" - }, - "displayName": { - "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", - "type": "string" - }, - "description": { - "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", - "type": "string" - }, - "type": { - "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.", + "nextPageToken": { + "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", "type": "string" }, - "labels": { - "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", + "logNames": { + "description": "A list of log names. For example, \"projects/my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com%2Factivity\".", "type": "array", "items": { - "$ref": "LabelDescriptor" + "type": "string" } } }, - "id": "MonitoredResourceDescriptor" + "id": "ListLogsResponse" }, - "LogEntrySourceLocation": { - "id": "LogEntrySourceLocation", - "description": "Additional information about the source code location that produced the log entry.", - "type": "object", + "HttpRequest": { "properties": { - "file": { - "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", + "latency": { + "type": "string", + "description": "The request processing latency on the server, from the time the request was received until the response was sent.", + "format": "google-duration" + }, + "userAgent": { + "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\".", "type": "string" }, - "function": { - "description": "Optional. Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information may be used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", + "cacheFillBytes": { + "type": "string", + "description": "The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.", + "format": "int64" + }, + "requestMethod": { + "description": "The request method. Examples: \"GET\", \"HEAD\", \"PUT\", \"POST\".", "type": "string" }, - "line": { - "description": "Optional. Line within the source file. 1-based; 0 indicates no line number available.", + "responseSize": { + "description": "The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.", "format": "int64", "type": "string" - } - } - }, - "ListLogEntriesResponse": { - "properties": { - "entries": { - "description": "A list of log entries.", - "type": "array", - "items": { - "$ref": "LogEntry" - } }, - "nextPageToken": { - "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.", + "requestSize": { + "type": "string", + "description": "The size of the HTTP request message in bytes, including the request headers and the request body.", + "format": "int64" + }, + "requestUrl": { + "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://example.com/some/info?color=red\".", "type": "string" - } - }, - "id": "ListLogEntriesResponse", - "description": "Result returned from ListLogEntries.", - "type": "object" - }, - "LogLine": { - "description": "Application log line emitted while processing a request.", - "type": "object", - "properties": { - "severity": { - "enumDescriptions": [ - "(0) The log entry has no assigned severity level.", - "(100) Debug or trace information.", - "(200) Routine information, such as ongoing status or performance.", - "(300) Normal but significant events, such as start up, shut down, or a configuration change.", - "(400) Warning events might cause problems.", - "(500) Error events are likely to cause problems.", - "(600) Critical events cause more severe problems or outages.", - "(700) A person must take an action immediately.", - "(800) One or more systems are unusable." - ], - "enum": [ - "DEFAULT", - "DEBUG", - "INFO", - "NOTICE", - "WARNING", - "ERROR", - "CRITICAL", - "ALERT", - "EMERGENCY" - ], - "description": "Severity of this log entry.", + }, + "serverIp": { + "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.", "type": "string" }, - "logMessage": { - "description": "App-provided log message.", + "remoteIp": { + "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E:8329\".", "type": "string" }, - "sourceLocation": { - "$ref": "SourceLocation", - "description": "Where in the source code this log message was written." + "cacheLookup": { + "description": "Whether or not a cache lookup was attempted.", + "type": "boolean" }, - "time": { - "description": "Approximate time when this log entry was made.", - "format": "google-datetime", + "cacheHit": { + "description": "Whether or not an entity was served from cache (with or without validation).", + "type": "boolean" + }, + "cacheValidatedWithOriginServer": { + "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.", + "type": "boolean" + }, + "status": { + "description": "The response code indicating the status of response. Examples: 200, 404.", + "format": "int32", + "type": "integer" + }, + "referer": { + "description": "The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", "type": "string" } }, - "id": "LogLine" + "id": "HttpRequest", + "description": "A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.", + "type": "object" }, - "ListLogMetricsResponse": { - "description": "Result returned from ListLogMetrics.", + "ListSinksResponse": { + "description": "Result returned from ListSinks.", "type": "object", "properties": { - "metrics": { + "sinks": { + "description": "A list of sinks.", "type": "array", "items": { - "$ref": "LogMetric" - }, - "description": "A list of logs-based metrics." + "$ref": "LogSink" + } }, "nextPageToken": { - "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", + "description": "If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", "type": "string" } }, - "id": "ListLogMetricsResponse" + "id": "ListSinksResponse" }, - "LogEntry": { - "description": "An individual entry in a log.", + "LabelDescriptor": { + "id": "LabelDescriptor", + "description": "A description of a label.", "type": "object", "properties": { - "protoPayload": { - "description": "The log entry payload, represented as a protocol buffer. Some Google Cloud Platform services use this field for their log entry payloads.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, - "trace": { - "description": "Optional. Resource name of the trace associated with the log entry, if any. If it contains a relative resource name, the name is assumed to be relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824", + "description": { + "description": "A human-readable description for the label.", "type": "string" }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.", - "type": "object" - }, - "severity": { - "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", + "valueType": { + "description": "The type of data that can be assigned to the label.", "type": "string", "enumDescriptions": [ - "(0) The log entry has no assigned severity level.", - "(100) Debug or trace information.", - "(200) Routine information, such as ongoing status or performance.", - "(300) Normal but significant events, such as start up, shut down, or a configuration change.", - "(400) Warning events might cause problems.", - "(500) Error events are likely to cause problems.", - "(600) Critical events cause more severe problems or outages.", - "(700) A person must take an action immediately.", - "(800) One or more systems are unusable." + "A variable-length string. This is the default.", + "Boolean; true or false.", + "A 64-bit signed integer." ], "enum": [ - "DEFAULT", - "DEBUG", - "INFO", - "NOTICE", - "WARNING", - "ERROR", - "CRITICAL", - "ALERT", - "EMERGENCY" - ] - }, - "sourceLocation": { - "$ref": "LogEntrySourceLocation", - "description": "Optional. Source code location information associated with the log entry, if any." - }, - "timestamp": { - "description": "Optional. The time the event described by the log entry occurred. If omitted in a new log entry, Stackdriver Logging will insert the time the log entry is received. Stackdriver Logging might reject log entries whose time stamps are more than a couple of hours in the future. Log entries with time stamps in the past are accepted.", - "format": "google-datetime", - "type": "string" - }, - "logName": { - "description": "Required. The resource name of the log to which this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash will never return any results.", - "type": "string" - }, - "resource": { - "$ref": "MonitoredResource", - "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error." - }, - "httpRequest": { - "$ref": "HttpRequest", - "description": "Optional. Information about the HTTP request associated with this log entry, if applicable." - }, - "jsonPayload": { - "additionalProperties": { - "type": "any", - "description": "Properties of the object." - }, - "description": "The log entry payload, represented as a structure that is expressed as a JSON object.", - "type": "object" - }, - "insertId": { - "description": "Optional. A unique identifier for the log entry. If you provide a value, then Stackdriver Logging considers other log entries in the same project, with the same timestamp, and with the same insert_id to be duplicates which can be removed. If omitted in new log entries, then Stackdriver Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.", - "type": "string" - }, - "operation": { - "$ref": "LogEntryOperation", - "description": "Optional. Information about an operation associated with the log entry, if applicable." - }, - "textPayload": { - "description": "The log entry payload, represented as a Unicode string (UTF-8).", - "type": "string" - } - }, - "id": "LogEntry" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", - "type": "object" - }, - "SourceLocation": { - "description": "Specifies a location in a source code file.", - "type": "object", - "properties": { - "file": { - "description": "Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", - "type": "string" - }, - "functionName": { - "description": "Human-readable name of the function or method being invoked, with optional context such as the class or package name. This information is used in contexts such as the logs viewer, where a file and line number are less meaningful. The format can vary by language. For example: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python).", - "type": "string" + "STRING", + "BOOL", + "INT64" + ] }, - "line": { - "description": "Line within the source file.", - "format": "int64", + "key": { + "description": "The label key.", "type": "string" } - }, - "id": "SourceLocation" + } } }, + "protocol": "rest", "icons": { "x32": "http://www.google.com/images/icons/product/search-32.gif", "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "protocol": "rest", "canonicalName": "Logging", "auth": { "oauth2": { @@ -805,17 +803,6 @@ "metrics": { "methods": { "create": { - "request": { - "$ref": "LogMetric" - }, - "description": "Creates a logs-based metric.", - "httpMethod": "POST", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "LogMetric" - }, "parameters": { "parent": { "description": "The resource name of the project in which to create the metric:\n\"projects/[PROJECT_ID]\"\nThe new metric must be provided in the request.", @@ -831,45 +818,55 @@ "https://www.googleapis.com/auth/logging.write" ], "flatPath": "v2beta1/projects/{projectsId}/metrics", + "path": "v2beta1/{+parent}/metrics", "id": "logging.projects.metrics.create", - "path": "v2beta1/{+parent}/metrics" + "request": { + "$ref": "LogMetric" + }, + "description": "Creates a logs-based metric.", + "response": { + "$ref": "LogMetric" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "POST" }, "delete": { - "flatPath": "v2beta1/projects/{projectsId}/metrics/{metricsId}", - "id": "logging.projects.metrics.delete", - "path": "v2beta1/{+metricName}", - "description": "Deletes a logs-based metric.", + "parameterOrder": [ + "metricName" + ], "httpMethod": "DELETE", "response": { "$ref": "Empty" }, - "parameterOrder": [ - "metricName" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.write" ], "parameters": { "metricName": { + "pattern": "^projects/[^/]+/metrics/[^/]+$", "location": "path", "description": "The resource name of the metric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/metrics/[^/]+$" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.write" - ] + "flatPath": "v2beta1/projects/{projectsId}/metrics/{metricsId}", + "id": "logging.projects.metrics.delete", + "path": "v2beta1/{+metricName}", + "description": "Deletes a logs-based metric." }, "list": { - "description": "Lists logs-based metrics.", + "response": { + "$ref": "ListLogMetricsResponse" + }, "httpMethod": "GET", "parameterOrder": [ "parent" ], - "response": { - "$ref": "ListLogMetricsResponse" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", @@ -878,124 +875,135 @@ ], "parameters": { "pageToken": { - "location": "query", "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string" + "type": "string", + "location": "query" }, "pageSize": { - "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" }, "parent": { + "pattern": "^projects/[^/]+$", + "location": "path", "description": "Required. The name of the project containing the metrics:\n\"projects/[PROJECT_ID]\"\n", "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "type": "string" } }, "flatPath": "v2beta1/projects/{projectsId}/metrics", + "path": "v2beta1/{+parent}/metrics", "id": "logging.projects.metrics.list", - "path": "v2beta1/{+parent}/metrics" + "description": "Lists logs-based metrics." }, "get": { - "description": "Gets a logs-based metric.", - "httpMethod": "GET", - "parameterOrder": [ - "metricName" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" ], - "response": { - "$ref": "LogMetric" - }, "parameters": { "metricName": { + "location": "path", "description": "The resource name of the desired metric:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n", "required": true, "type": "string", - "pattern": "^projects/[^/]+/metrics/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+/metrics/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], "flatPath": "v2beta1/projects/{projectsId}/metrics/{metricsId}", "id": "logging.projects.metrics.get", - "path": "v2beta1/{+metricName}" - }, - "update": { - "id": "logging.projects.metrics.update", "path": "v2beta1/{+metricName}", - "request": { + "description": "Gets a logs-based metric.", + "httpMethod": "GET", + "response": { "$ref": "LogMetric" }, - "description": "Creates or updates a logs-based metric.", - "httpMethod": "PUT", "parameterOrder": [ "metricName" - ], + ] + }, + "update": { "response": { "$ref": "LogMetric" }, + "parameterOrder": [ + "metricName" + ], + "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.write" + ], "parameters": { "metricName": { + "description": "The resource name of the metric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.", "required": true, "type": "string", "pattern": "^projects/[^/]+/metrics/[^/]+$", - "location": "path", - "description": "The resource name of the metric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created." + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.write" - ], - "flatPath": "v2beta1/projects/{projectsId}/metrics/{metricsId}" + "flatPath": "v2beta1/projects/{projectsId}/metrics/{metricsId}", + "path": "v2beta1/{+metricName}", + "id": "logging.projects.metrics.update", + "description": "Creates or updates a logs-based metric.", + "request": { + "$ref": "LogMetric" + } } } }, "logs": { "methods": { "delete": { - "httpMethod": "DELETE", "response": { "$ref": "Empty" }, "parameterOrder": [ "logName" ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], + "httpMethod": "DELETE", "parameters": { "logName": { + "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", "required": true, "type": "string", "pattern": "^projects/[^/]+/logs/[^/]+$", - "location": "path", - "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry." + "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "flatPath": "v2beta1/projects/{projectsId}/logs/{logsId}", - "id": "logging.projects.logs.delete", "path": "v2beta1/{+logName}", + "id": "logging.projects.logs.delete", "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted." }, "list": { - "httpMethod": "GET", + "flatPath": "v2beta1/projects/{projectsId}/logs", + "path": "v2beta1/{+parent}/logs", + "id": "logging.projects.logs.list", + "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", "response": { "$ref": "ListLogsResponse" }, "parameterOrder": [ "parent" ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" + ], "parameters": { "pageToken": { "location": "query", @@ -1003,69 +1011,35 @@ "type": "string" }, "pageSize": { + "type": "integer", "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", - "format": "int32", - "type": "integer" + "format": "int32" }, "parent": { - "required": true, - "type": "string", "pattern": "^projects/[^/]+$", "location": "path", - "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n" + "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", + "required": true, + "type": "string" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" - ], - "flatPath": "v2beta1/projects/{projectsId}/logs", - "id": "logging.projects.logs.list", - "path": "v2beta1/{+parent}/logs", - "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed." + } } } }, "sinks": { "methods": { - "delete": { - "parameterOrder": [ - "sinkName" - ], - "response": { - "$ref": "Empty" - }, - "httpMethod": "DELETE", - "parameters": { - "sinkName": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/sinks/[^/]+$", - "location": "path", - "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\"." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], - "flatPath": "v2beta1/projects/{projectsId}/sinks/{sinksId}", - "path": "v2beta1/{+sinkName}", - "id": "logging.projects.sinks.delete", - "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted." - }, "list": { + "id": "logging.projects.sinks.list", + "path": "v2beta1/{+parent}/sinks", "description": "Lists sinks.", - "response": { - "$ref": "ListSinksResponse" - }, "parameterOrder": [ "parent" ], "httpMethod": "GET", + "response": { + "$ref": "ListSinksResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", @@ -1081,9 +1055,9 @@ "location": "path" }, "pageToken": { + "location": "query", "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string", - "location": "query" + "type": "string" }, "pageSize": { "location": "query", @@ -1092,21 +1066,9 @@ "type": "integer" } }, - "flatPath": "v2beta1/projects/{projectsId}/sinks", - "path": "v2beta1/{+parent}/sinks", - "id": "logging.projects.sinks.list" + "flatPath": "v2beta1/projects/{projectsId}/sinks" }, "get": { - "path": "v2beta1/{+sinkName}", - "id": "logging.projects.sinks.get", - "description": "Gets a sink.", - "response": { - "$ref": "LogSink" - }, - "parameterOrder": [ - "sinkName" - ], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", @@ -1122,9 +1084,23 @@ "type": "string" } }, - "flatPath": "v2beta1/projects/{projectsId}/sinks/{sinksId}" + "flatPath": "v2beta1/projects/{projectsId}/sinks/{sinksId}", + "id": "logging.projects.sinks.get", + "path": "v2beta1/{+sinkName}", + "description": "Gets a sink.", + "httpMethod": "GET", + "parameterOrder": [ + "sinkName" + ], + "response": { + "$ref": "LogSink" + } }, "update": { + "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.", + "request": { + "$ref": "LogSink" + }, "response": { "$ref": "LogSink" }, @@ -1132,13 +1108,17 @@ "sinkName" ], "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "parameters": { "sinkName": { + "pattern": "^projects/[^/]+/sinks/[^/]+$", + "location": "path", "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/sinks/[^/]+$", - "location": "path" + "type": "string" }, "uniqueWriterIdentity": { "description": "Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the old value is false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value is true and the new value is false.", @@ -1146,41 +1126,29 @@ "location": "query" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], "flatPath": "v2beta1/projects/{projectsId}/sinks/{sinksId}", - "path": "v2beta1/{+sinkName}", - "id": "logging.projects.sinks.update", - "request": { - "$ref": "LogSink" - }, - "description": "Updates a sink. If the named sink doesn't exist, then this method is identical to sinks.create. If the named sink does exist, then this method replaces the following fields in the existing sink with values from the new sink: destination, filter, output_version_format, start_time, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field." + "path": "v2beta1/{+sinkName}", + "id": "logging.projects.sinks.update" }, "create": { - "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", - "request": { - "$ref": "LogSink" - }, - "response": { - "$ref": "LogSink" - }, + "httpMethod": "POST", "parameterOrder": [ "parent" ], - "httpMethod": "POST", + "response": { + "$ref": "LogSink" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin" ], "parameters": { "parent": { - "pattern": "^projects/[^/]+$", - "location": "path", "description": "Required. The resource in which to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\".", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" }, "uniqueWriterIdentity": { "location": "query", @@ -1189,53 +1157,72 @@ } }, "flatPath": "v2beta1/projects/{projectsId}/sinks", + "id": "logging.projects.sinks.create", "path": "v2beta1/{+parent}/sinks", - "id": "logging.projects.sinks.create" - } - } - } - } - }, - "billingAccounts": { - "resources": { - "logs": { - "methods": { + "description": "Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times or the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.", + "request": { + "$ref": "LogSink" + } + }, "delete": { - "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", - "httpMethod": "DELETE", "response": { "$ref": "Empty" }, "parameterOrder": [ - "logName" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" + "sinkName" ], + "httpMethod": "DELETE", "parameters": { - "logName": { - "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", + "sinkName": { + "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]\"\n\"folders/[FOLDER_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".", "required": true, "type": "string", - "pattern": "^billingAccounts/[^/]+/logs/[^/]+$", + "pattern": "^projects/[^/]+/sinks/[^/]+$", "location": "path" } }, - "flatPath": "v2beta1/billingAccounts/{billingAccountsId}/logs/{logsId}", - "id": "logging.billingAccounts.logs.delete", - "path": "v2beta1/{+logName}" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], + "flatPath": "v2beta1/projects/{projectsId}/sinks/{sinksId}", + "path": "v2beta1/{+sinkName}", + "id": "logging.projects.sinks.delete", + "description": "Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted." + } + } + } + } + }, + "billingAccounts": { + "resources": { + "logs": { + "methods": { "list": { + "flatPath": "v2beta1/billingAccounts/{billingAccountsId}/logs", + "path": "v2beta1/{+parent}/logs", + "id": "logging.billingAccounts.logs.list", "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", "parameterOrder": [ "parent" ], - "httpMethod": "GET", "response": { "$ref": "ListLogsResponse" }, + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/logging.admin", + "https://www.googleapis.com/auth/logging.read" + ], "parameters": { + "pageSize": { + "location": "query", + "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", + "format": "int32", + "type": "integer" + }, "parent": { "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", "required": true, @@ -1247,23 +1234,34 @@ "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", "type": "string", "location": "query" - }, - "pageSize": { - "location": "query", - "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", - "format": "int32", - "type": "integer" } + } + }, + "delete": { + "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", + "response": { + "$ref": "Empty" }, + "parameterOrder": [ + "logName" + ], + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/logging.admin", - "https://www.googleapis.com/auth/logging.read" + "https://www.googleapis.com/auth/logging.admin" ], - "flatPath": "v2beta1/billingAccounts/{billingAccountsId}/logs", - "path": "v2beta1/{+parent}/logs", - "id": "logging.billingAccounts.logs.list" + "parameters": { + "logName": { + "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", + "required": true, + "type": "string", + "pattern": "^billingAccounts/[^/]+/logs/[^/]+$", + "location": "path" + } + }, + "flatPath": "v2beta1/billingAccounts/{billingAccountsId}/logs/{logsId}", + "path": "v2beta1/{+logName}", + "id": "logging.billingAccounts.logs.delete" } } } @@ -1272,11 +1270,11 @@ "monitoredResourceDescriptors": { "methods": { "list": { + "parameterOrder": [], "httpMethod": "GET", "response": { "$ref": "ListMonitoredResourceDescriptorsResponse" }, - "parameterOrder": [], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", @@ -1284,21 +1282,21 @@ "https://www.googleapis.com/auth/logging.read" ], "parameters": { + "pageToken": { + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", + "type": "string", + "location": "query" + }, "pageSize": { "location": "query", "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "type": "integer" - }, - "pageToken": { - "location": "query", - "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", - "type": "string" } }, "flatPath": "v2beta1/monitoredResourceDescriptors", - "id": "logging.monitoredResourceDescriptors.list", "path": "v2beta1/monitoredResourceDescriptors", + "id": "logging.monitoredResourceDescriptors.list", "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging." } } @@ -1308,47 +1306,41 @@ "logs": { "methods": { "delete": { - "response": { - "$ref": "Empty" - }, + "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted.", + "httpMethod": "DELETE", "parameterOrder": [ "logName" ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/logging.admin" - ], + "response": { + "$ref": "Empty" + }, "parameters": { "logName": { - "location": "path", "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.", "required": true, "type": "string", - "pattern": "^organizations/[^/]+/logs/[^/]+$" + "pattern": "^organizations/[^/]+/logs/[^/]+$", + "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/logging.admin" + ], "flatPath": "v2beta1/organizations/{organizationsId}/logs/{logsId}", - "path": "v2beta1/{+logName}", "id": "logging.organizations.logs.delete", - "description": "Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted." + "path": "v2beta1/{+logName}" }, "list": { + "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.", + "httpMethod": "GET", "response": { "$ref": "ListLogsResponse" }, "parameterOrder": [ "parent" ], - "httpMethod": "GET", "parameters": { - "parent": { - "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n", - "required": true, - "type": "string", - "pattern": "^organizations/[^/]+$", - "location": "path" - }, "pageToken": { "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", "type": "string", @@ -1359,6 +1351,13 @@ "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", "type": "integer" + }, + "parent": { + "required": true, + "type": "string", + "pattern": "^organizations/[^/]+$", + "location": "path", + "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n" } }, "scopes": [ @@ -1368,9 +1367,8 @@ "https://www.googleapis.com/auth/logging.read" ], "flatPath": "v2beta1/organizations/{organizationsId}/logs", - "path": "v2beta1/{+parent}/logs", "id": "logging.organizations.logs.list", - "description": "Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed." + "path": "v2beta1/{+parent}/logs" } } } @@ -1379,75 +1377,54 @@ "entries": { "methods": { "list": { + "request": { + "$ref": "ListLogEntriesRequest" + }, + "description": "Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.", "httpMethod": "POST", "parameterOrder": [], "response": { "$ref": "ListLogEntriesResponse" }, + "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.read" ], - "parameters": {}, "flatPath": "v2beta1/entries:list", "id": "logging.entries.list", - "path": "v2beta1/entries:list", - "description": "Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways to export log entries, see Exporting Logs.", - "request": { - "$ref": "ListLogEntriesRequest" - } + "path": "v2beta1/entries:list" }, "write": { - "path": "v2beta1/entries:write", - "id": "logging.entries.write", - "request": { - "$ref": "WriteLogEntriesRequest" - }, - "description": "Writes log entries to Stackdriver Logging.", "response": { "$ref": "WriteLogEntriesResponse" }, "parameterOrder": [], "httpMethod": "POST", - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/logging.admin", "https://www.googleapis.com/auth/logging.write" ], - "flatPath": "v2beta1/entries:write" + "parameters": {}, + "flatPath": "v2beta1/entries:write", + "path": "v2beta1/entries:write", + "id": "logging.entries.write", + "description": "Writes log entries to Stackdriver Logging.", + "request": { + "$ref": "WriteLogEntriesRequest" + } } } } }, "parameters": { - "quotaUser": { - "type": "string", - "location": "query", - "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." - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { - "type": "string", - "location": "query", - "description": "OAuth bearer token." - }, "upload_protocol": { - "type": "string", "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, "prettyPrint": { "location": "query", @@ -1455,17 +1432,23 @@ "type": "boolean", "default": "true" }, - "uploadType": { + "fields": { + "type": "string", "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" + "description": "Selector specifying which fields to include in a partial response." }, - "fields": { + "uploadType": { + "type": "string", "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" }, "$.xgafv": { + "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", @@ -1475,15 +1458,10 @@ "enum": [ "1", "2" - ], - "description": "V1 error format." - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + ] }, "alt": { + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -1496,18 +1474,38 @@ "json", "media", "proto" - ], - "type": "string" + ] }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" }, "key": { + "location": "query", "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.", + "type": "string" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { "type": "string", - "location": "query" + "location": "query", + "description": "OAuth 2.0 token for the current user." } }, "version": "v2beta1", @@ -1517,6 +1515,8 @@ "description": "Writes log entries and manages your Stackdriver Logging configuration.", "basePath": "", "id": "logging:v2beta1", + "revision": "20170320", "documentationLink": "https://cloud.google.com/logging/docs/", - "revision": "20170320" + "discoveryVersion": "v1", + "version_module": "True" } diff --git a/DiscoveryJson/manufacturers_v1.json b/DiscoveryJson/manufacturers_v1.json index fc00a71462..98f18b639c 100644 --- a/DiscoveryJson/manufacturers_v1.json +++ b/DiscoveryJson/manufacturers_v1.json @@ -1,52 +1,47 @@ { - "ownerDomain": "google.com", - "name": "manufacturers", - "batchPath": "batch", - "title": "Manufacturer Center API", - "ownerName": "Google", "resources": { "accounts": { "resources": { "products": { "methods": { "list": { - "httpMethod": "GET", - "parameterOrder": [ - "parent" - ], + "description": "Lists all the products in a Manufacturer Center account.", "response": { "$ref": "ListProductsResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/manufacturercenter" + "parameterOrder": [ + "parent" ], + "httpMethod": "GET", "parameters": { + "pageSize": { + "type": "integer", + "location": "query", + "description": "Maximum number of product statuses to return in the response, used for\npaging.", + "format": "int32" + }, "parent": { - "location": "path", - "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.", "required": true, "type": "string", - "pattern": "^accounts/[^/]+$" + "pattern": "^accounts/[^/]+$", + "location": "path", + "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account." }, "pageToken": { + "description": "The token returned by the previous request.", "type": "string", - "location": "query", - "description": "The token returned by the previous request." - }, - "pageSize": { - "type": "integer", - "location": "query", - "description": "Maximum number of product statuses to return in the response, used for\npaging.", - "format": "int32" + "location": "query" } }, + "scopes": [ + "https://www.googleapis.com/auth/manufacturercenter" + ], "flatPath": "v1/accounts/{accountsId}/products", - "id": "manufacturers.accounts.products.list", "path": "v1/{+parent}/products", - "description": "Lists all the products in a Manufacturer Center account." + "id": "manufacturers.accounts.products.list" }, "get": { - "description": "Gets the product from a Manufacturer Center account, including product\nissues.", + "httpMethod": "GET", "response": { "$ref": "Product" }, @@ -54,29 +49,29 @@ "parent", "name" ], - "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/manufacturercenter" + ], "parameters": { "name": { + "location": "path", + "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.", "required": true, "type": "string", - "pattern": "^[^/]+$", - "location": "path", - "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id." + "pattern": "^[^/]+$" }, "parent": { + "location": "path", + "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.", "required": true, "type": "string", - "pattern": "^accounts/[^/]+$", - "location": "path", - "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account." + "pattern": "^accounts/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/manufacturercenter" - ], "flatPath": "v1/accounts/{accountsId}/products/{productsId}", + "id": "manufacturers.accounts.products.get", "path": "v1/{+parent}/products/{+name}", - "id": "manufacturers.accounts.products.get" + "description": "Gets the product from a Manufacturer Center account, including product\nissues." } } } @@ -85,48 +80,45 @@ }, "parameters": { "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { + "description": "Returns response with indentations and line breaks.", "type": "boolean", "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "fields": { - "type": "string", - "location": "query", - "description": "Selector specifying which fields to include in a partial response." + "location": "query" }, "uploadType": { "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "callback": { + "fields": { "location": "query", - "description": "JSONP", + "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, "$.xgafv": { - "location": "query", - "enum": [ - "1", - "2" - ], "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" ] }, "alt": { - "location": "query", - "description": "Data format for response.", - "default": "json", "enum": [ "json", "media", @@ -137,22 +129,25 @@ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" - ] - }, - "access_token": { - "type": "string", + ], "location": "query", - "description": "OAuth access token." + "description": "Data format for response.", + "default": "json" }, "key": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, - "quotaUser": { + "access_token": { + "description": "OAuth access token.", "type": "string", + "location": "query" + }, + "quotaUser": { "location": "query", - "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." + "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.", + "type": "string" }, "pp": { "location": "query", @@ -161,14 +156,14 @@ "default": "true" }, "bearer_token": { + "description": "OAuth bearer token.", "type": "string", - "location": "query", - "description": "OAuth bearer token." + "location": "query" }, "oauth_token": { + "description": "OAuth 2.0 token for the current user.", "type": "string", - "location": "query", - "description": "OAuth 2.0 token for the current user." + "location": "query" } }, "version": "v1", @@ -177,32 +172,93 @@ "description": "Public API for managing Manufacturer Center related data.", "servicePath": "", "basePath": "", - "id": "manufacturers:v1", - "documentationLink": "https://developers.google.com/manufacturers/", "revision": "20170322", + "documentationLink": "https://developers.google.com/manufacturers/", + "id": "manufacturers:v1", "discoveryVersion": "v1", "version_module": "True", "schemas": { - "Image": { + "FeatureDescription": { + "description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.", "type": "object", "properties": { + "headline": { + "description": "A short description of the feature.", + "type": "string" + }, + "text": { + "description": "A detailed description of the feature.", + "type": "string" + }, + "image": { + "description": "An optional image describing the feature.", + "$ref": "Image" + } + }, + "id": "FeatureDescription" + }, + "Issue": { + "description": "Product issue.", + "type": "object", + "properties": { + "description": { + "description": "Description of the issue.", + "type": "string" + }, "type": { + "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", + "type": "string" + }, + "attribute": { + "description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.", + "type": "string" + }, + "timestamp": { + "description": "The timestamp when this issue appeared.", + "format": "google-datetime", + "type": "string" + }, + "severity": { + "enumDescriptions": [ + "Unspecified severity, never used.", + "Error severity. The issue prevents the usage of the whole item.", + "Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.", + "Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review." + ], "enum": [ - "TYPE_UNSPECIFIED", - "CRAWLED", - "UPLOADED" + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" ], - "description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly", + "description": "The severity of the issue.", + "type": "string" + } + }, + "id": "Issue" + }, + "Price": { + "description": "A price.", + "type": "object", + "properties": { + "amount": { "type": "string", - "enumDescriptions": [ - "Type is unspecified. Should not be used.", - "The image was crawled from a provided URL.", - "The image was uploaded." - ] + "description": "The numeric value of the price." }, - "imageUrl": { + "currency": { "type": "string", - "description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully." + "description": "The currency in which the price is denoted." + } + }, + "id": "Price" + }, + "Image": { + "description": "An image.", + "type": "object", + "properties": { + "imageUrl": { + "description": "The URL of the image. For crawled images, this is the provided URL. For\nuploaded images, this is a serving URL from Google if the image has been\nprocessed successfully.", + "type": "string" }, "status": { "enum": [ @@ -233,15 +289,43 @@ "The image is too big.", "The image was manually overridden and will not be crawled." ] + }, + "type": { + "type": "string", + "enumDescriptions": [ + "Type is unspecified. Should not be used.", + "The image was crawled from a provided URL.", + "The image was uploaded." + ], + "enum": [ + "TYPE_UNSPECIFIED", + "CRAWLED", + "UPLOADED" + ], + "description": "The type of the image, i.e., crawled or uploaded.\n@OutputOnly" } }, - "id": "Image", - "description": "An image." + "id": "Image" }, "Attributes": { "description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.", "type": "object", "properties": { + "imageLink": { + "$ref": "Image", + "description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image." + }, + "productType": { + "description": "The category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.", + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format.", + "type": "string" + }, "additionalImageLink": { "description": "The additional images of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#addlimage.", "type": "array", @@ -250,15 +334,15 @@ } }, "videoLink": { + "description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video.", "type": "array", "items": { "type": "string" - }, - "description": "The videos of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#video." + } }, "color": { - "description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color.", - "type": "string" + "type": "string", + "description": "The color of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#color." }, "productName": { "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.", @@ -269,27 +353,27 @@ "description": "The size type of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype." }, "suggestedRetailPrice": { - "$ref": "Price", - "description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price." + "description": "The suggested retail price (MSRP) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#price.", + "$ref": "Price" }, "featureDescription": { + "description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc.", "type": "array", "items": { "$ref": "FeatureDescription" - }, - "description": "The rich format description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc." + } }, "size": { - "type": "string", - "description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size." + "description": "The size of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#size.", + "type": "string" }, "title": { - "type": "string", - "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title." + "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", + "type": "string" }, "count": { - "$ref": "Count", - "description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count." + "description": "The count of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.", + "$ref": "Count" }, "brand": { "description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", @@ -300,8 +384,8 @@ "type": "string" }, "material": { - "type": "string", - "description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material." + "description": "The material of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", + "type": "string" }, "scent": { "description": "The scent of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#scent.", @@ -319,20 +403,20 @@ } }, "ageGroup": { - "description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup.", - "type": "string" - }, - "productPageUrl": { "type": "string", - "description": "The URL of the detail page of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage." + "description": "The target age group of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#agegroup." }, "mpn": { "type": "string", "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn." }, + "productPageUrl": { + "description": "The URL of the detail page of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.", + "type": "string" + }, "releaseDate": { - "type": "string", - "description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release." + "description": "The release date of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#release.", + "type": "string" }, "gtin": { "description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.", @@ -354,45 +438,29 @@ "description": "The capacity of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity." }, "description": { - "type": "string", - "description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description." + "description": "The description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#description.", + "type": "string" }, "gender": { "description": "The target gender of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.", "type": "string" }, "sizeSystem": { - "type": "string", - "description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem." + "description": "The size system of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesystem.", + "type": "string" }, "theme": { - "type": "string", - "description": "The theme of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#theme." + "description": "The theme of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#theme.", + "type": "string" }, "pattern": { - "type": "string", - "description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern." - }, - "imageLink": { - "$ref": "Image", - "description": "The image of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#image." - }, - "productType": { - "description": "The category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.", - "type": "array", - "items": { - "type": "string" - } - }, - "format": { - "type": "string", - "description": "The format of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#format." + "description": "The pattern of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.", + "type": "string" } }, "id": "Attributes" }, "Count": { - "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count.", "type": "object", "properties": { "value": { @@ -401,77 +469,78 @@ "format": "int64" }, "unit": { - "type": "string", - "description": "The unit in which these products are counted." + "description": "The unit in which these products are counted.", + "type": "string" } }, - "id": "Count" + "id": "Count", + "description": "The number of products in a single package. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#count." }, "Product": { - "description": "Product data.", "type": "object", "properties": { - "contentLanguage": { - "type": "string", - "description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly" + "productId": { + "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", + "type": "string" + }, + "uploadedAttributes": { + "$ref": "Attributes", + "description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds." + }, + "parent": { + "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", + "type": "string" + }, + "manuallyProvidedAttributes": { + "$ref": "Attributes", + "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly" }, "targetCountry": { "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly", "type": "string" }, + "contentLanguage": { + "description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", + "type": "string" + }, "name": { "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country of the product as a CLDR territory\n code (for example, US).\n\n`content_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", "type": "string" }, - "manuallyDeletedAttributes": { - "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly", + "issues": { + "description": "A server-generated list of issues associated with the product.\n@OutputOnly", "type": "array", "items": { - "type": "string" + "$ref": "Issue" } }, - "issues": { - "description": "A server-generated list of issues associated with the product.\n@OutputOnly", + "manuallyDeletedAttributes": { + "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly", "type": "array", "items": { - "$ref": "Issue" + "type": "string" } }, "finalAttributes": { "$ref": "Attributes", "description": "Final attributes of the product. The final attributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly" - }, - "productId": { - "type": "string", - "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly" - }, - "uploadedAttributes": { - "$ref": "Attributes", - "description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds." - }, - "parent": { - "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", - "type": "string" - }, - "manuallyProvidedAttributes": { - "$ref": "Attributes", - "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly" } }, - "id": "Product" + "id": "Product", + "description": "Product data." }, "Capacity": { "description": "The capacity of a product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity.", "type": "object", "properties": { "value": { - "type": "string", "description": "The numeric value of the capacity.", - "format": "int64" + "format": "int64", + "type": "string" }, "unit": { - "type": "string", - "description": "The unit of the capacity, i.e., MB, GB, or TB." + "description": "The unit of the capacity, i.e., MB, GB, or TB.", + "type": "string" } }, "id": "Capacity" @@ -480,116 +549,42 @@ "type": "object", "properties": { "products": { + "description": "List of the products.", "type": "array", "items": { "$ref": "Product" - }, - "description": "List of the products." + } }, "nextPageToken": { - "type": "string", - "description": "The token for the retrieval of the next page of product statuses." + "description": "The token for the retrieval of the next page of product statuses.", + "type": "string" } }, "id": "ListProductsResponse" }, "ProductDetail": { + "description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", "type": "object", "properties": { - "attributeName": { - "description": "The name of the attribute.", - "type": "string" - }, "attributeValue": { "description": "The value of the attribute.", "type": "string" }, "sectionName": { - "type": "string", - "description": "A short section name that can be reused between multiple product details." - } - }, - "id": "ProductDetail", - "description": "A product detail of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail." - }, - "Issue": { - "description": "Product issue.", - "type": "object", - "properties": { - "type": { - "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", - "type": "string" - }, - "attribute": { - "description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.", - "type": "string" - }, - "timestamp": { - "description": "The timestamp when this issue appeared.", - "format": "google-datetime", - "type": "string" - }, - "severity": { - "enum": [ - "SEVERITY_UNSPECIFIED", - "ERROR", - "WARNING", - "INFO" - ], - "description": "The severity of the issue.", - "type": "string", - "enumDescriptions": [ - "Unspecified severity, never used.", - "Error severity. The issue prevents the usage of the whole item.", - "Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.", - "Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review." - ] - }, - "description": { - "description": "Description of the issue.", - "type": "string" - } - }, - "id": "Issue" - }, - "FeatureDescription": { - "type": "object", - "properties": { - "image": { - "$ref": "Image", - "description": "An optional image describing the feature." - }, - "headline": { - "description": "A short description of the feature.", + "description": "A short section name that can be reused between multiple product details.", "type": "string" }, - "text": { - "type": "string", - "description": "A detailed description of the feature." - } - }, - "id": "FeatureDescription", - "description": "A feature description of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc." - }, - "Price": { - "type": "object", - "properties": { - "amount": { - "description": "The numeric value of the price.", + "attributeName": { + "description": "The name of the attribute.", "type": "string" - }, - "currency": { - "type": "string", - "description": "The currency in which the price is denoted." } }, - "id": "Price", - "description": "A price." + "id": "ProductDetail" } }, "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, "protocol": "rest", "canonicalName": "Manufacturer Center", @@ -602,5 +597,10 @@ } } }, - "rootUrl": "https://manufacturers.googleapis.com/" + "rootUrl": "https://manufacturers.googleapis.com/", + "ownerDomain": "google.com", + "name": "manufacturers", + "batchPath": "batch", + "title": "Manufacturer Center API", + "ownerName": "Google" } diff --git a/DiscoveryJson/ml_v1.json b/DiscoveryJson/ml_v1.json index 9507585717..ea305dc7ef 100644 --- a/DiscoveryJson/ml_v1.json +++ b/DiscoveryJson/ml_v1.json @@ -1,98 +1,217 @@ { + "documentationLink": "https://cloud.google.com/ml/", + "id": "ml:v1", + "revision": "20170327", + "discoveryVersion": "v1", + "version_module": "True", "schemas": { - "GoogleLongrunning__ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", + "GoogleCloudMlV1__TrainingInput": { "type": "object", "properties": { - "operations": { - "description": "A list of operations that matches the specified filter in the request.", + "parameterServerCount": { + "description": "Optional. The number of parameter server replicas to use for the training\njob. Each replica in the cluster will be of the type specified in\n`parameter_server_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parameter_server_type`.", + "format": "int64", + "type": "string" + }, + "packageUris": { + "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100.", "type": "array", "items": { - "$ref": "GoogleLongrunning__Operation" + "type": "string" } }, - "nextPageToken": { - "description": "The standard List next-page token.", + "workerCount": { + "description": "Optional. The number of worker replicas to use for the training job. Each\nreplica in the cluster will be of the type specified in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.", + "format": "int64", + "type": "string" + }, + "masterType": { + "description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker.\n\nThe following types are supported:\n\n\u003cdl\u003e\n \u003cdt\u003estandard\u003c/dt\u003e\n \u003cdd\u003e\n A basic machine configuration suitable for training simple models with\n small to moderate datasets.\n \u003c/dd\u003e\n \u003cdt\u003elarge_model\u003c/dt\u003e\n \u003cdd\u003e\n A machine with a lot of memory, specially suited for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_s\u003c/dt\u003e\n \u003cdd\u003e\n A machine suitable for the master and workers of the cluster when your\n model requires more computation than the standard machine can handle\n satisfactorily.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_s\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_l\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_m\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003estandard_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to \u003ccode suppresswarning=\"true\"\u003estandard\u003c/code\u003e that\n also includes a\n \u003ca href=\"/ml-engine/docs/how-tos/using-gpus\"\u003e\n GPU that you can use in your trainer\u003c/a\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to\n \u003ccode suppresswarning=\"true\"\u003ecoplex_model_m\u003c/code\u003e that also includes\n four GPUs.\n \u003c/dd\u003e\n\u003c/dl\u003e\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.", + "type": "string" + }, + "runtimeVersion": { + "description": "Optional. The Google Cloud ML runtime version to use for training. If not\nset, Google Cloud ML will choose the latest stable version.", + "type": "string" + }, + "pythonModule": { + "description": "Required. The Python module name to run after installing the packages.", + "type": "string" + }, + "workerType": { + "description": "Optional. Specifies the type of virtual machine to use for your training\njob's worker nodes.\n\nThe supported values are the same as those described in the entry for\n`masterType`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than zero.", + "type": "string" + }, + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Optional. Command line arguments to pass to the program." + }, + "region": { + "description": "Required. The Google Compute Engine region to run the training job in.", + "type": "string" + }, + "parameterServerType": { + "description": "Optional. Specifies the type of virtual machine to use for your training\njob's parameter server.\n\nThe supported values are the same as those described in the entry for\n`master_type`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` is greater than zero.", + "type": "string" + }, + "scaleTier": { + "description": "Required. Specifies the machine types, the number of replicas for workers\nand parameter servers.", + "type": "string", + "enumDescriptions": [ + "A single worker instance. This tier is suitable for learning how to use\nCloud ML, and for experimenting with new models using small datasets.", + "Many workers and a few parameter servers.", + "A large number of workers with many parameter servers.", + "A single worker instance [with a GPU](/ml-engine/docs/how-tos/using-gpus).", + "The CUSTOM tier is not a set tier, but rather enables you to use your\nown cluster specification. When you use this tier, set values to\nconfigure your processing cluster according to these guidelines:\n\n* You _must_ set `TrainingInput.masterType` to specify the type\n of machine to use for your master node. This is the only required\n setting.\n\n* You _may_ set `TrainingInput.workerCount` to specify the number of\n workers to use. If you specify one or more workers, you _must_ also\n set `TrainingInput.workerType` to specify the type of machine to use\n for your worker nodes.\n\n* You _may_ set `TrainingInput.parameterServerCount` to specify the\n number of parameter servers to use. If you specify one or more\n parameter servers, you _must_ also set\n `TrainingInput.parameterServerType` to specify the type of machine to\n use for your parameter servers.\n\nNote that all of your workers must use the same machine type, which can\nbe different from your parameter server type and master type. Your\nparameter servers must likewise use the same machine type, which can be\ndifferent from your worker type and master type." + ], + "enum": [ + "BASIC", + "STANDARD_1", + "PREMIUM_1", + "BASIC_GPU", + "CUSTOM" + ] + }, + "jobDir": { + "description": "Optional. A Google Cloud Storage path in which to store training outputs\nand other data needed for training. This path is passed to your TensorFlow\nprogram as the 'job_dir' command-line argument. The benefit of specifying\nthis field is that Cloud ML validates the path for use in training.", "type": "string" + }, + "hyperparameters": { + "$ref": "GoogleCloudMlV1__HyperparameterSpec", + "description": "Optional. The set of Hyperparameters to tune." } }, - "id": "GoogleLongrunning__ListOperationsResponse" + "id": "GoogleCloudMlV1__TrainingInput", + "description": "Represents input parameters for a training job." }, - "GoogleCloudMlV1__ManualScaling": { - "description": "Options for manually scaling a model.", + "GoogleCloudMlV1__ListModelsResponse": { + "description": "Response message for the ListModels method.", "type": "object", "properties": { - "nodes": { - "description": "The number of nodes to allocate for this model. These nodes are always up,\nstarting from the time the model is deployed, so the cost of operating\nthis model will be proportional to nodes * number of hours since\ndeployment.", - "format": "int32", - "type": "integer" + "nextPageToken": { + "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", + "type": "string" + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "GoogleCloudMlV1__Model" + } } }, - "id": "GoogleCloudMlV1__ManualScaling" + "id": "GoogleCloudMlV1__ListModelsResponse" }, - "GoogleCloudMlV1__TrainingOutput": { - "description": "Represents results of a training job. Output only.", + "GoogleCloudMlV1__Job": { + "description": "Represents a training or prediction job.", "type": "object", "properties": { - "trials": { - "type": "array", - "items": { - "$ref": "GoogleCloudMlV1__HyperparameterOutput" - }, - "description": "Results for individual Hyperparameter trials.\nOnly set for hyperparameter tuning jobs." + "predictionInput": { + "$ref": "GoogleCloudMlV1__PredictionInput", + "description": "Input parameters to create a prediction job." }, - "completedTrialCount": { + "state": { + "description": "Output only. The detailed state of a job.", "type": "string", - "description": "The number of hyperparameter tuning trials that completed successfully.\nOnly set for hyperparameter tuning jobs.", - "format": "int64" + "enumDescriptions": [ + "The job state is unspecified.", + "The job has been just created and processing has not yet begun.", + "The service is preparing to run the job.", + "The job is in progress.", + "The job completed successfully.", + "The job failed.\n`error_message` should contain the details of the failure.", + "The job is being cancelled.\n`error_message` should describe the reason for the cancellation.", + "The job has been cancelled.\n`error_message` should describe the reason for the cancellation." + ], + "enum": [ + "STATE_UNSPECIFIED", + "QUEUED", + "PREPARING", + "RUNNING", + "SUCCEEDED", + "FAILED", + "CANCELLING", + "CANCELLED" + ] }, - "isHyperparameterTuningJob": { - "description": "Whether this job is a hyperparameter tuning job.", - "type": "boolean" + "jobId": { + "description": "Required. The user-specified id of the job.", + "type": "string" }, - "consumedMLUnits": { - "description": "The amount of ML units consumed by the job.", - "format": "double", - "type": "number" + "errorMessage": { + "description": "Output only. The details of a failure or a cancellation.", + "type": "string" + }, + "endTime": { + "description": "Output only. When the job processing was completed.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Output only. When the job processing was started.", + "format": "google-datetime", + "type": "string" + }, + "predictionOutput": { + "$ref": "GoogleCloudMlV1__PredictionOutput", + "description": "The current prediction job result." + }, + "trainingOutput": { + "$ref": "GoogleCloudMlV1__TrainingOutput", + "description": "The current training job result." + }, + "trainingInput": { + "$ref": "GoogleCloudMlV1__TrainingInput", + "description": "Input parameters to create a training job." + }, + "createTime": { + "description": "Output only. When the job was created.", + "format": "google-datetime", + "type": "string" } }, - "id": "GoogleCloudMlV1__TrainingOutput" + "id": "GoogleCloudMlV1__Job" }, - "GoogleCloudMlV1__PredictRequest": { + "GoogleApi__HttpBody": { + "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.", "type": "object", "properties": { - "httpBody": { - "description": "\nRequired. The prediction request body.", - "$ref": "GoogleApi__HttpBody" + "data": { + "type": "string", + "description": "HTTP body binary data.", + "format": "byte" + }, + "contentType": { + "description": "The HTTP Content-Type string representing the content type of the body.", + "type": "string" } }, - "id": "GoogleCloudMlV1__PredictRequest", - "description": "Request for predictions to be issued against a trained model.\n\nThe body of the request is a single JSON object with a single top-level\nfield:\n\n\u003cdl\u003e\n \u003cdt\u003einstances\u003c/dt\u003e\n \u003cdd\u003eA JSON array containing values representing the instances to use for\n prediction.\u003c/dd\u003e\n\u003c/dl\u003e\n\nThe structure of each element of the instances list is determined by your\nmodel's input definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJSON values (boolean, number, or string). However, instances are often lists\nof simple values, or complex nested lists. Here are some examples of request\nbodies:\n\nCSV data with each row encoded as a string value:\n\u003cpre\u003e\n{\"instances\": [\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n\u003c/pre\u003e\nPlain text:\n\u003cpre\u003e\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n\u003c/pre\u003e\nSentences encoded as lists of words (vectors of strings):\n\u003cpre\u003e\n{\n \"instances\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n\u003c/pre\u003e\nFloating point scalar values:\n\u003cpre\u003e\n{\"instances\": [0.0, 1.1, 2.2]}\n\u003c/pre\u003e\nVectors of integers:\n\u003cpre\u003e\n{\n \"instances\": [\n [0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n\u003c/pre\u003e\nTensors (in this case, two-dimensional tensors):\n\u003cpre\u003e\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n\u003c/pre\u003e\nImages can be represented different ways. In this encoding scheme the first\ntwo dimensions represent the rows and columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n\u003cpre\u003e\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ],\n ...\n ]\n}\n\u003c/pre\u003e\nJSON strings must be encoded as UTF-8. To send binary data, you must\nbase64-encode the data and mark it as binary. To mark a JSON string\nas binary, replace it with a JSON object with a single attribute named `b64`:\n\u003cpre\u003e{\"b64\": \"...\"} \u003c/pre\u003e\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n\u003cpre\u003e\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n\u003c/pre\u003e\nTwo JPEG image byte strings (fake data, for illustrative purposes only):\n\u003cpre\u003e\n{\"instances\": [{\"b64\": \"ASa8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n\u003c/pre\u003e\nIf your data includes named references, format each instance as a JSON object\nwith the named references as the keys:\n\nJSON input data to be preprocessed:\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n\u003c/pre\u003e\nSome models have an underlying TensorFlow graph that accepts multiple input\ntensors. In this case, you should use the names of JSON name/value pairs to\nidentify the input tensors, as shown in the following exmaples:\n\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n\u003c/pre\u003e\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97],\n ...\n ],\n [\n [254, 1, 101],\n [254, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n\u003c/pre\u003e\nIf the call is successful, the response body will contain one prediction\nentry per instance in the request body. If prediction fails for any\ninstance, the response body will contain no predictions and will contian\na single error entry instead." + "id": "GoogleApi__HttpBody" }, - "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": { - "description": "An observed value of a metric.", + "GoogleCloudMlV1__GetConfigResponse": { + "description": "Returns service account information associated with a project.", "type": "object", "properties": { - "trainingStep": { - "description": "The global training step for this metric.", + "serviceAccountProject": { + "description": "The project number for `service_account`.", "format": "int64", "type": "string" }, - "objectiveValue": { - "description": "The objective value at this training step.", - "format": "double", - "type": "number" + "serviceAccount": { + "description": "The service account Cloud ML uses to access resources in the project.", + "type": "string" } }, - "id": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric" + "id": "GoogleCloudMlV1__GetConfigResponse" }, - "GoogleCloudMlV1__Version": { - "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).", + "GoogleCloudMlV1beta1__Version": { "type": "object", "properties": { "runtimeVersion": { - "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.", - "type": "string" + "type": "string", + "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version." }, "lastUseTime": { "description": "Output only. The time the version was last used for prediction.", @@ -100,15 +219,15 @@ "type": "string" }, "description": { - "description": "Optional. The description specified for the version when it was created.", - "type": "string" + "type": "string", + "description": "Optional. The description specified for the version when it was created." }, "deploymentUri": { - "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model\ndeployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.\nThe total number of model files can't exceed 1000.", + "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model\ndeployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.\nThe total number of model files can't exceed 1000.", "type": "string" }, "isDefault": { - "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).", + "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).", "type": "boolean" }, "createTime": { @@ -117,61 +236,245 @@ "type": "string" }, "manualScaling": { - "$ref": "GoogleCloudMlV1__ManualScaling", - "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately." + "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately.", + "$ref": "GoogleCloudMlV1beta1__ManualScaling" }, "name": { "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.", "type": "string" } }, - "id": "GoogleCloudMlV1__Version" + "id": "GoogleCloudMlV1beta1__Version", + "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list)." }, - "GoogleCloudMlV1__ParameterSpec": { - "type": "object", + "GoogleCloudMlV1__HyperparameterOutput": { "properties": { - "minValue": { - "description": "Required if type is `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is INTEGER.", - "format": "double", - "type": "number" + "trialId": { + "description": "The trial id for these results.", + "type": "string" }, - "discreteValues": { - "description": "Required if type is `DISCRETE`.\nA list of feasible points.\nThe list should be in strictly increasing order. For instance, this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nshould not contain more than 1,000 values.", + "allMetrics": { + "description": "All recorded object metrics for this trial.", "type": "array", "items": { - "type": "number", - "format": "double" + "$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric" } }, - "scaleType": { - "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scaling is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_SCALE`).", - "type": "string", - "enumDescriptions": [ - "By default, no scaling is applied.", - "Scales the feasible space to (0, 1) linearly.", - "Scales the feasible space logarithmically to (0, 1). The entire feasible\nspace must be strictly positive.", - "Scales the feasible space \"reverse\" logarithmically to (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive." - ], - "enum": [ - "NONE", - "UNIT_LINEAR_SCALE", - "UNIT_LOG_SCALE", - "UNIT_REVERSE_LOG_SCALE" - ] - }, - "maxValue": { - "description": "Required if typeis `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is `INTEGER`.", - "format": "double", - "type": "number" + "finalMetric": { + "description": "The final objective metric seen for this trial.", + "$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric" }, - "type": { - "enumDescriptions": [ - "You must specify a valid type. Using this unspecified type will result in\nan error.", - "Type for real-valued parameters.", - "Type for integral parameters.", - "The parameter is categorical, with a value chosen from the categories\nfield.", - "The parameter is real valued, with a fixed set of feasible points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_value`, `max_value`} will be ignored." - ], + "hyperparameters": { + "description": "The hyperparameters given to this trial.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "id": "GoogleCloudMlV1__HyperparameterOutput", + "description": "Represents the result of a single hyperparameter tuning trial from a\ntraining job. The TrainingOutput object that is returned on successful\ncompletion of a training job with hyperparameter tuning includes a list\nof HyperparameterOutput objects, one for each successful trial.", + "type": "object" + }, + "GoogleCloudMlV1__PredictionOutput": { + "type": "object", + "properties": { + "predictionCount": { + "description": "The number of generated predictions.", + "format": "int64", + "type": "string" + }, + "errorCount": { + "description": "The number of data instances which resulted in errors.", + "format": "int64", + "type": "string" + }, + "outputPath": { + "description": "The output Google Cloud Storage location provided at the job creation time.", + "type": "string" + }, + "nodeHours": { + "description": "Node hours used by the batch prediction job.", + "format": "double", + "type": "number" + } + }, + "id": "GoogleCloudMlV1__PredictionOutput", + "description": "Represents results of a prediction job." + }, + "GoogleLongrunning__ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "type": "array", + "items": { + "$ref": "GoogleLongrunning__Operation" + }, + "description": "A list of operations that matches the specified filter in the request." + } + }, + "id": "GoogleLongrunning__ListOperationsResponse" + }, + "GoogleCloudMlV1__ManualScaling": { + "description": "Options for manually scaling a model.", + "type": "object", + "properties": { + "nodes": { + "description": "The number of nodes to allocate for this model. These nodes are always up,\nstarting from the time the model is deployed, so the cost of operating\nthis model will be proportional to nodes * number of hours since\ndeployment.", + "format": "int32", + "type": "integer" + } + }, + "id": "GoogleCloudMlV1__ManualScaling" + }, + "GoogleCloudMlV1__TrainingOutput": { + "id": "GoogleCloudMlV1__TrainingOutput", + "description": "Represents results of a training job. Output only.", + "type": "object", + "properties": { + "trials": { + "description": "Results for individual Hyperparameter trials.\nOnly set for hyperparameter tuning jobs.", + "type": "array", + "items": { + "$ref": "GoogleCloudMlV1__HyperparameterOutput" + } + }, + "completedTrialCount": { + "description": "The number of hyperparameter tuning trials that completed successfully.\nOnly set for hyperparameter tuning jobs.", + "format": "int64", + "type": "string" + }, + "isHyperparameterTuningJob": { + "description": "Whether this job is a hyperparameter tuning job.", + "type": "boolean" + }, + "consumedMLUnits": { + "description": "The amount of ML units consumed by the job.", + "format": "double", + "type": "number" + } + } + }, + "GoogleCloudMlV1__PredictRequest": { + "description": "Request for predictions to be issued against a trained model.\n\nThe body of the request is a single JSON object with a single top-level\nfield:\n\n\u003cdl\u003e\n \u003cdt\u003einstances\u003c/dt\u003e\n \u003cdd\u003eA JSON array containing values representing the instances to use for\n prediction.\u003c/dd\u003e\n\u003c/dl\u003e\n\nThe structure of each element of the instances list is determined by your\nmodel's input definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJSON values (boolean, number, or string). However, instances are often lists\nof simple values, or complex nested lists. Here are some examples of request\nbodies:\n\nCSV data with each row encoded as a string value:\n\u003cpre\u003e\n{\"instances\": [\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n\u003c/pre\u003e\nPlain text:\n\u003cpre\u003e\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n\u003c/pre\u003e\nSentences encoded as lists of words (vectors of strings):\n\u003cpre\u003e\n{\n \"instances\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n\u003c/pre\u003e\nFloating point scalar values:\n\u003cpre\u003e\n{\"instances\": [0.0, 1.1, 2.2]}\n\u003c/pre\u003e\nVectors of integers:\n\u003cpre\u003e\n{\n \"instances\": [\n [0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n\u003c/pre\u003e\nTensors (in this case, two-dimensional tensors):\n\u003cpre\u003e\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n\u003c/pre\u003e\nImages can be represented different ways. In this encoding scheme the first\ntwo dimensions represent the rows and columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n\u003cpre\u003e\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ],\n ...\n ]\n}\n\u003c/pre\u003e\nJSON strings must be encoded as UTF-8. To send binary data, you must\nbase64-encode the data and mark it as binary. To mark a JSON string\nas binary, replace it with a JSON object with a single attribute named `b64`:\n\u003cpre\u003e{\"b64\": \"...\"} \u003c/pre\u003e\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n\u003cpre\u003e\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n\u003c/pre\u003e\nTwo JPEG image byte strings (fake data, for illustrative purposes only):\n\u003cpre\u003e\n{\"instances\": [{\"b64\": \"ASa8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n\u003c/pre\u003e\nIf your data includes named references, format each instance as a JSON object\nwith the named references as the keys:\n\nJSON input data to be preprocessed:\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n\u003c/pre\u003e\nSome models have an underlying TensorFlow graph that accepts multiple input\ntensors. In this case, you should use the names of JSON name/value pairs to\nidentify the input tensors, as shown in the following exmaples:\n\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n\u003c/pre\u003e\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97],\n ...\n ],\n [\n [254, 1, 101],\n [254, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n\u003c/pre\u003e\nIf the call is successful, the response body will contain one prediction\nentry per instance in the request body. If prediction fails for any\ninstance, the response body will contain no predictions and will contian\na single error entry instead.", + "type": "object", + "properties": { + "httpBody": { + "$ref": "GoogleApi__HttpBody", + "description": "\nRequired. The prediction request body." + } + }, + "id": "GoogleCloudMlV1__PredictRequest" + }, + "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": { + "type": "object", + "properties": { + "trainingStep": { + "type": "string", + "description": "The global training step for this metric.", + "format": "int64" + }, + "objectiveValue": { + "description": "The objective value at this training step.", + "format": "double", + "type": "number" + } + }, + "id": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric", + "description": "An observed value of a metric." + }, + "GoogleCloudMlV1__Version": { + "properties": { + "isDefault": { + "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).", + "type": "boolean" + }, + "createTime": { + "description": "Output only. The time the version was created.", + "format": "google-datetime", + "type": "string" + }, + "manualScaling": { + "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately.", + "$ref": "GoogleCloudMlV1__ManualScaling" + }, + "name": { + "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.", + "type": "string" + }, + "lastUseTime": { + "description": "Output only. The time the version was last used for prediction.", + "format": "google-datetime", + "type": "string" + }, + "runtimeVersion": { + "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.", + "type": "string" + }, + "description": { + "description": "Optional. The description specified for the version when it was created.", + "type": "string" + }, + "deploymentUri": { + "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model\ndeployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.\nThe total number of model files can't exceed 1000.", + "type": "string" + } + }, + "id": "GoogleCloudMlV1__Version", + "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).", + "type": "object" + }, + "GoogleCloudMlV1__ParameterSpec": { + "description": "Represents a single hyperparameter to optimize.", + "type": "object", + "properties": { + "minValue": { + "description": "Required if type is `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is INTEGER.", + "format": "double", + "type": "number" + }, + "discreteValues": { + "description": "Required if type is `DISCRETE`.\nA list of feasible points.\nThe list should be in strictly increasing order. For instance, this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nshould not contain more than 1,000 values.", + "type": "array", + "items": { + "format": "double", + "type": "number" + } + }, + "scaleType": { + "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scaling is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_SCALE`).", + "type": "string", + "enumDescriptions": [ + "By default, no scaling is applied.", + "Scales the feasible space to (0, 1) linearly.", + "Scales the feasible space logarithmically to (0, 1). The entire feasible\nspace must be strictly positive.", + "Scales the feasible space \"reverse\" logarithmically to (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive." + ], + "enum": [ + "NONE", + "UNIT_LINEAR_SCALE", + "UNIT_LOG_SCALE", + "UNIT_REVERSE_LOG_SCALE" + ] + }, + "maxValue": { + "description": "Required if typeis `DOUBLE` or `INTEGER`. This field\nshould be unset if type is `CATEGORICAL`. This value should be integers if\ntype is `INTEGER`.", + "format": "double", + "type": "number" + }, + "type": { + "enumDescriptions": [ + "You must specify a valid type. Using this unspecified type will result in\nan error.", + "Type for real-valued parameters.", + "Type for integral parameters.", + "The parameter is categorical, with a value chosen from the categories\nfield.", + "The parameter is real valued, with a fixed set of feasible points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_value`, `max_value`} will be ignored." + ], "enum": [ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", @@ -190,20 +493,19 @@ } }, "parameterName": { - "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_rate\".", - "type": "string" + "type": "string", + "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_rate\"." } }, - "id": "GoogleCloudMlV1__ParameterSpec", - "description": "Represents a single hyperparameter to optimize." + "id": "GoogleCloudMlV1__ParameterSpec" }, "GoogleCloudMlV1__PredictionInput": { "description": "Represents input parameters for a prediction job.", "type": "object", "properties": { "outputPath": { - "type": "string", - "description": "Required. The output Google Cloud Storage location." + "description": "Required. The output Google Cloud Storage location.", + "type": "string" }, "maxWorkerCount": { "description": "Optional. The maximum number of workers to be used for parallel processing.\nDefaults to 10 if not specified.", @@ -215,12 +517,6 @@ "type": "string" }, "dataFormat": { - "enumDescriptions": [ - "Unspecified format.", - "The source file is a text file with instances separated by the\nnew-line character.", - "The source file is a TFRecord file.", - "The source file is a GZIP-compressed TFRecord file." - ], "enum": [ "DATA_FORMAT_UNSPECIFIED", "TEXT", @@ -228,7 +524,13 @@ "TF_RECORD_GZIP" ], "description": "Required. The format of the input data files.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Unspecified format.", + "The source file is a text file with instances separated by the\nnew-line character.", + "The source file is a TFRecord file.", + "The source file is a GZIP-compressed TFRecord file." + ] }, "runtimeVersion": { "description": "Optional. The Google Cloud ML runtime version to use for this batch\nprediction. If not set, Google Cloud ML will pick the runtime version used\nduring the CreateVersion request for this model version, or choose the\nlatest stable version when model version information is not available\nsuch as when the model is specified by uri.", @@ -246,26 +548,32 @@ "type": "string" }, "versionName": { - "description": "Use this field if you want to specify a version of the model to use. The\nstring is formatted the same way as `model_version`, with the addition\nof the version information:\n\n`\"projects/\u003cvar\u003e[YOUR_PROJECT]\u003c/var\u003e/models/\u003cvar\u003eYOUR_MODEL/versions/\u003cvar\u003e[YOUR_VERSION]\u003c/var\u003e\"`", - "type": "string" + "type": "string", + "description": "Use this field if you want to specify a version of the model to use. The\nstring is formatted the same way as `model_version`, with the addition\nof the version information:\n\n`\"projects/\u003cvar\u003e[YOUR_PROJECT]\u003c/var\u003e/models/\u003cvar\u003eYOUR_MODEL/versions/\u003cvar\u003e[YOUR_VERSION]\u003c/var\u003e\"`" }, "modelName": { - "type": "string", - "description": "Use this field if you want to use the default version for the specified\nmodel. The string must use the following format:\n\n`\"projects/\u003cvar\u003e[YOUR_PROJECT]\u003c/var\u003e/models/\u003cvar\u003e[YOUR_MODEL]\u003c/var\u003e\"`" + "description": "Use this field if you want to use the default version for the specified\nmodel. The string must use the following format:\n\n`\"projects/\u003cvar\u003e[YOUR_PROJECT]\u003c/var\u003e/models/\u003cvar\u003e[YOUR_MODEL]\u003c/var\u003e\"`", + "type": "string" } }, "id": "GoogleCloudMlV1__PredictionInput" }, - "GoogleCloudMlV1__OperationMetadata": { + "GoogleCloudMlV1beta1__OperationMetadata": { + "id": "GoogleCloudMlV1beta1__OperationMetadata", "description": "Represents the metadata of the long-running operation.", "type": "object", "properties": { + "createTime": { + "description": "The time the operation was submitted.", + "format": "google-datetime", + "type": "string" + }, "modelName": { "description": "Contains the name of the model associated with the operation.", "type": "string" }, "version": { - "$ref": "GoogleCloudMlV1__Version", + "$ref": "GoogleCloudMlV1beta1__Version", "description": "Contains the version associated with the operation." }, "endTime": { @@ -274,6 +582,7 @@ "type": "string" }, "operationType": { + "description": "The operation type.", "type": "string", "enumDescriptions": [ "Unspecified operation type.", @@ -286,8 +595,7 @@ "CREATE_VERSION", "DELETE_VERSION", "DELETE_MODEL" - ], - "description": "The operation type." + ] }, "startTime": { "description": "The time operation processing started.", @@ -297,23 +605,23 @@ "isCancellationRequested": { "description": "Indicates whether a request to cancel this operation has been made.", "type": "boolean" - }, + } + } + }, + "GoogleCloudMlV1__OperationMetadata": { + "properties": { "createTime": { "description": "The time the operation was submitted.", "format": "google-datetime", "type": "string" - } - }, - "id": "GoogleCloudMlV1__OperationMetadata" - }, - "GoogleCloudMlV1beta1__OperationMetadata": { - "id": "GoogleCloudMlV1beta1__OperationMetadata", - "description": "Represents the metadata of the long-running operation.", - "type": "object", - "properties": { + }, + "modelName": { + "description": "Contains the name of the model associated with the operation.", + "type": "string" + }, "version": { - "description": "Contains the version associated with the operation.", - "$ref": "GoogleCloudMlV1beta1__Version" + "$ref": "GoogleCloudMlV1__Version", + "description": "Contains the version associated with the operation." }, "endTime": { "description": "The time operation processing completed.", @@ -321,8 +629,6 @@ "type": "string" }, "operationType": { - "description": "The operation type.", - "type": "string", "enumDescriptions": [ "Unspecified operation type.", "An operation to create a new version.", @@ -334,50 +640,29 @@ "CREATE_VERSION", "DELETE_VERSION", "DELETE_MODEL" - ] + ], + "description": "The operation type.", + "type": "string" }, "startTime": { + "type": "string", "description": "The time operation processing started.", - "format": "google-datetime", - "type": "string" + "format": "google-datetime" }, "isCancellationRequested": { "description": "Indicates whether a request to cancel this operation has been made.", "type": "boolean" - }, - "createTime": { - "description": "The time the operation was submitted.", - "format": "google-datetime", - "type": "string" - }, - "modelName": { - "description": "Contains the name of the model associated with the operation.", - "type": "string" } - } + }, + "id": "GoogleCloudMlV1__OperationMetadata", + "description": "Represents the metadata of the long-running operation.", + "type": "object" }, "GoogleCloudMlV1__HyperparameterSpec": { + "id": "GoogleCloudMlV1__HyperparameterSpec", "description": "Represents a set of hyperparameters to optimize.", "type": "object", "properties": { - "goal": { - "enumDescriptions": [ - "Goal Type will default to maximize.", - "Maximize the goal metric.", - "Minimize the goal metric." - ], - "enum": [ - "GOAL_TYPE_UNSPECIFIED", - "MAXIMIZE", - "MINIMIZE" - ], - "description": "Required. The type of goal to use for tuning. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", - "type": "string" - }, - "hyperparameterMetricTag": { - "description": "Optional. The Tensorflow summary tag name to use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name should exactly match what is\nshown in Tensorboard, including all scopes. For versions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Summary.\nBy default, \"training/hptuning/metric\" will be used.", - "type": "string" - }, "params": { "description": "Required. The set of parameters to tune.", "type": "array", @@ -391,16 +676,31 @@ "type": "integer" }, "maxParallelTrials": { - "type": "integer", "description": "Optional. The number of training trials to run concurrently.\nYou can reduce the time it takes to perform hyperparameter tuning by adding\ntrials in parallel. However, each trail only benefits from the information\ngained in completed trials. That means that a trial does not get access to\nthe results of trials running at the same time, which could reduce the\nquality of the overall optimization.\n\nEach trial will use the same scale tier and machine types.\n\nDefaults to one.", - "format": "int32" + "format": "int32", + "type": "integer" + }, + "goal": { + "description": "Required. The type of goal to use for tuning. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", + "type": "string", + "enumDescriptions": [ + "Goal Type will default to maximize.", + "Maximize the goal metric.", + "Minimize the goal metric." + ], + "enum": [ + "GOAL_TYPE_UNSPECIFIED", + "MAXIMIZE", + "MINIMIZE" + ] + }, + "hyperparameterMetricTag": { + "description": "Optional. The Tensorflow summary tag name to use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name should exactly match what is\nshown in Tensorboard, including all scopes. For versions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Summary.\nBy default, \"training/hptuning/metric\" will be used.", + "type": "string" } - }, - "id": "GoogleCloudMlV1__HyperparameterSpec" + } }, "GoogleCloudMlV1__ListJobsResponse": { - "description": "Response message for the ListJobs method.", - "type": "object", "properties": { "jobs": { "description": "The list of jobs.", @@ -410,11 +710,13 @@ } }, "nextPageToken": { - "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", - "type": "string" + "type": "string", + "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call." } }, - "id": "GoogleCloudMlV1__ListJobsResponse" + "id": "GoogleCloudMlV1__ListJobsResponse", + "description": "Response message for the ListJobs method.", + "type": "object" }, "GoogleCloudMlV1__SetDefaultVersionRequest": { "properties": {}, @@ -423,10 +725,17 @@ "type": "object" }, "GoogleLongrunning__Operation": { - "id": "GoogleLongrunning__Operation", "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + }, "name": { "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", "type": "string" @@ -446,18 +755,13 @@ "done": { "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", "type": "boolean" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" } - } + }, + "id": "GoogleLongrunning__Operation" }, "GoogleCloudMlV1__Model": { + "description": "Represents a machine learning solution.\n\nA model can have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.", + "type": "object", "properties": { "defaultVersion": { "$ref": "GoogleCloudMlV1__Version", @@ -475,17 +779,15 @@ "type": "string" }, "description": { - "description": "Optional. The description specified for the model when it was created.", - "type": "string" + "type": "string", + "description": "Optional. The description specified for the model when it was created." }, "onlinePredictionLogging": { "description": "Optional. If true, enables StackDriver Logging for online prediction.\nDefault is false.", "type": "boolean" } }, - "id": "GoogleCloudMlV1__Model", - "description": "Represents a machine learning solution.\n\nA model can have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.", - "type": "object" + "id": "GoogleCloudMlV1__Model" }, "GoogleProtobuf__Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", @@ -493,6 +795,12 @@ "properties": {}, "id": "GoogleProtobuf__Empty" }, + "GoogleCloudMlV1__CancelJobRequest": { + "properties": {}, + "id": "GoogleCloudMlV1__CancelJobRequest", + "description": "Request message for the CancelJob method.", + "type": "object" + }, "GoogleCloudMlV1__ListVersionsResponse": { "id": "GoogleCloudMlV1__ListVersionsResponse", "description": "Response message for the ListVersions method.", @@ -506,42 +814,27 @@ } }, "nextPageToken": { - "type": "string", - "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call." + "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", + "type": "string" } } }, - "GoogleCloudMlV1__CancelJobRequest": { - "type": "object", - "properties": {}, - "id": "GoogleCloudMlV1__CancelJobRequest", - "description": "Request message for the CancelJob method." - }, "GoogleCloudMlV1beta1__ManualScaling": { - "description": "Options for manually scaling a model.", "type": "object", "properties": { "nodes": { - "type": "integer", "description": "The number of nodes to allocate for this model. These nodes are always up,\nstarting from the time the model is deployed, so the cost of operating\nthis model will be proportional to nodes * number of hours since\ndeployment.", - "format": "int32" + "format": "int32", + "type": "integer" } }, - "id": "GoogleCloudMlV1beta1__ManualScaling" + "id": "GoogleCloudMlV1beta1__ManualScaling", + "description": "Options for manually scaling a model." }, "GoogleRpc__Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, "code": { "description": "The status code, which should be an enum value of google.rpc.Code.", "format": "int32", @@ -550,308 +843,20 @@ "message": { "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", "type": "string" - } - }, - "id": "GoogleRpc__Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object" - }, - "GoogleCloudMlV1__ListModelsResponse": { - "properties": { - "nextPageToken": { - "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", - "type": "string" - }, - "models": { - "description": "The list of models.", - "type": "array", - "items": { - "$ref": "GoogleCloudMlV1__Model" - } - } - }, - "id": "GoogleCloudMlV1__ListModelsResponse", - "description": "Response message for the ListModels method.", - "type": "object" - }, - "GoogleCloudMlV1__TrainingInput": { - "description": "Represents input parameters for a training job.", - "type": "object", - "properties": { - "parameterServerCount": { - "description": "Optional. The number of parameter server replicas to use for the training\njob. Each replica in the cluster will be of the type specified in\n`parameter_server_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parameter_server_type`.", - "format": "int64", - "type": "string" - }, - "packageUris": { - "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100.", - "type": "array", - "items": { - "type": "string" - } - }, - "workerCount": { - "description": "Optional. The number of worker replicas to use for the training job. Each\nreplica in the cluster will be of the type specified in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.", - "format": "int64", - "type": "string" - }, - "masterType": { - "description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker.\n\nThe following types are supported:\n\n\u003cdl\u003e\n \u003cdt\u003estandard\u003c/dt\u003e\n \u003cdd\u003e\n A basic machine configuration suitable for training simple models with\n small to moderate datasets.\n \u003c/dd\u003e\n \u003cdt\u003elarge_model\u003c/dt\u003e\n \u003cdd\u003e\n A machine with a lot of memory, specially suited for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_s\u003c/dt\u003e\n \u003cdd\u003e\n A machine suitable for the master and workers of the cluster when your\n model requires more computation than the standard machine can handle\n satisfactorily.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_s\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_l\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_m\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003estandard_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to \u003ccode suppresswarning=\"true\"\u003estandard\u003c/code\u003e that\n also includes a\n \u003ca href=\"/ml-engine/docs/how-tos/using-gpus\"\u003e\n GPU that you can use in your trainer\u003c/a\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to\n \u003ccode suppresswarning=\"true\"\u003ecoplex_model_m\u003c/code\u003e that also includes\n four GPUs.\n \u003c/dd\u003e\n\u003c/dl\u003e\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.", - "type": "string" - }, - "runtimeVersion": { - "description": "Optional. The Google Cloud ML runtime version to use for training. If not\nset, Google Cloud ML will choose the latest stable version.", - "type": "string" - }, - "pythonModule": { - "type": "string", - "description": "Required. The Python module name to run after installing the packages." - }, - "workerType": { - "description": "Optional. Specifies the type of virtual machine to use for your training\njob's worker nodes.\n\nThe supported values are the same as those described in the entry for\n`masterType`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than zero.", - "type": "string" - }, - "args": { - "description": "Optional. Command line arguments to pass to the program.", - "type": "array", - "items": { - "type": "string" - } - }, - "region": { - "description": "Required. The Google Compute Engine region to run the training job in.", - "type": "string" - }, - "parameterServerType": { - "description": "Optional. Specifies the type of virtual machine to use for your training\njob's parameter server.\n\nThe supported values are the same as those described in the entry for\n`master_type`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` is greater than zero.", - "type": "string" - }, - "scaleTier": { - "enumDescriptions": [ - "A single worker instance. This tier is suitable for learning how to use\nCloud ML, and for experimenting with new models using small datasets.", - "Many workers and a few parameter servers.", - "A large number of workers with many parameter servers.", - "A single worker instance [with a GPU](/ml-engine/docs/how-tos/using-gpus).", - "The CUSTOM tier is not a set tier, but rather enables you to use your\nown cluster specification. When you use this tier, set values to\nconfigure your processing cluster according to these guidelines:\n\n* You _must_ set `TrainingInput.masterType` to specify the type\n of machine to use for your master node. This is the only required\n setting.\n\n* You _may_ set `TrainingInput.workerCount` to specify the number of\n workers to use. If you specify one or more workers, you _must_ also\n set `TrainingInput.workerType` to specify the type of machine to use\n for your worker nodes.\n\n* You _may_ set `TrainingInput.parameterServerCount` to specify the\n number of parameter servers to use. If you specify one or more\n parameter servers, you _must_ also set\n `TrainingInput.parameterServerType` to specify the type of machine to\n use for your parameter servers.\n\nNote that all of your workers must use the same machine type, which can\nbe different from your parameter server type and master type. Your\nparameter servers must likewise use the same machine type, which can be\ndifferent from your worker type and master type." - ], - "enum": [ - "BASIC", - "STANDARD_1", - "PREMIUM_1", - "BASIC_GPU", - "CUSTOM" - ], - "description": "Required. Specifies the machine types, the number of replicas for workers\nand parameter servers.", - "type": "string" - }, - "jobDir": { - "description": "Optional. A Google Cloud Storage path in which to store training outputs\nand other data needed for training. This path is passed to your TensorFlow\nprogram as the 'job_dir' command-line argument. The benefit of specifying\nthis field is that Cloud ML validates the path for use in training.", - "type": "string" - }, - "hyperparameters": { - "$ref": "GoogleCloudMlV1__HyperparameterSpec", - "description": "Optional. The set of Hyperparameters to tune." - } - }, - "id": "GoogleCloudMlV1__TrainingInput" - }, - "GoogleCloudMlV1__Job": { - "description": "Represents a training or prediction job.", - "type": "object", - "properties": { - "endTime": { - "description": "Output only. When the job processing was completed.", - "format": "google-datetime", - "type": "string" - }, - "startTime": { - "description": "Output only. When the job processing was started.", - "format": "google-datetime", - "type": "string" - }, - "predictionOutput": { - "$ref": "GoogleCloudMlV1__PredictionOutput", - "description": "The current prediction job result." - }, - "trainingOutput": { - "$ref": "GoogleCloudMlV1__TrainingOutput", - "description": "The current training job result." - }, - "trainingInput": { - "$ref": "GoogleCloudMlV1__TrainingInput", - "description": "Input parameters to create a training job." - }, - "createTime": { - "description": "Output only. When the job was created.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "enumDescriptions": [ - "The job state is unspecified.", - "The job has been just created and processing has not yet begun.", - "The service is preparing to run the job.", - "The job is in progress.", - "The job completed successfully.", - "The job failed.\n`error_message` should contain the details of the failure.", - "The job is being cancelled.\n`error_message` should describe the reason for the cancellation.", - "The job has been cancelled.\n`error_message` should describe the reason for the cancellation." - ], - "enum": [ - "STATE_UNSPECIFIED", - "QUEUED", - "PREPARING", - "RUNNING", - "SUCCEEDED", - "FAILED", - "CANCELLING", - "CANCELLED" - ], - "description": "Output only. The detailed state of a job.", - "type": "string" - }, - "predictionInput": { - "description": "Input parameters to create a prediction job.", - "$ref": "GoogleCloudMlV1__PredictionInput" - }, - "jobId": { - "description": "Required. The user-specified id of the job.", - "type": "string" - }, - "errorMessage": { - "description": "Output only. The details of a failure or a cancellation.", - "type": "string" - } - }, - "id": "GoogleCloudMlV1__Job" - }, - "GoogleApi__HttpBody": { - "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.", - "type": "object", - "properties": { - "data": { - "description": "HTTP body binary data.", - "format": "byte", - "type": "string" }, - "contentType": { - "description": "The HTTP Content-Type string representing the content type of the body.", - "type": "string" - } - }, - "id": "GoogleApi__HttpBody" - }, - "GoogleCloudMlV1beta1__Version": { - "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).", - "type": "object", - "properties": { - "lastUseTime": { - "description": "Output only. The time the version was last used for prediction.", - "format": "google-datetime", - "type": "string" - }, - "runtimeVersion": { - "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.", - "type": "string" - }, - "description": { - "description": "Optional. The description specified for the version when it was created.", - "type": "string" - }, - "deploymentUri": { - "description": "Required. The Google Cloud Storage location of the trained model used to\ncreate the version. See the\n[overview of model\ndeployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformaiton.\n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create)\nthe model service uses the specified location as the source of the model.\nOnce deployed, the model version is hosted by the prediction service, so\nthis location is useful only as a historical record.\nThe total number of model files can't exceed 1000.", - "type": "string" - }, - "isDefault": { - "description": "Output only. If true, this version will be used to handle prediction\nrequests that do not specify a version.\n\nYou can change the default version by calling\n[projects.methods.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).", - "type": "boolean" - }, - "createTime": { - "description": "Output only. The time the version was created.", - "format": "google-datetime", - "type": "string" - }, - "manualScaling": { - "$ref": "GoogleCloudMlV1beta1__ManualScaling", - "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately." - }, - "name": { - "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.", - "type": "string" - } - }, - "id": "GoogleCloudMlV1beta1__Version" - }, - "GoogleCloudMlV1__GetConfigResponse": { - "description": "Returns service account information associated with a project.", - "type": "object", - "properties": { - "serviceAccount": { - "type": "string", - "description": "The service account Cloud ML uses to access resources in the project." - }, - "serviceAccountProject": { - "description": "The project number for `service_account`.", - "format": "int64", - "type": "string" - } - }, - "id": "GoogleCloudMlV1__GetConfigResponse" - }, - "GoogleCloudMlV1__HyperparameterOutput": { - "properties": { - "trialId": { - "description": "The trial id for these results.", - "type": "string" - }, - "allMetrics": { - "description": "All recorded object metrics for this trial.", + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric" + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" } - }, - "finalMetric": { - "$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric", - "description": "The final objective metric seen for this trial." - }, - "hyperparameters": { - "additionalProperties": { - "type": "string" - }, - "description": "The hyperparameters given to this trial.", - "type": "object" - } - }, - "id": "GoogleCloudMlV1__HyperparameterOutput", - "description": "Represents the result of a single hyperparameter tuning trial from a\ntraining job. The TrainingOutput object that is returned on successful\ncompletion of a training job with hyperparameter tuning includes a list\nof HyperparameterOutput objects, one for each successful trial.", - "type": "object" - }, - "GoogleCloudMlV1__PredictionOutput": { - "description": "Represents results of a prediction job.", - "type": "object", - "properties": { - "errorCount": { - "description": "The number of data instances which resulted in errors.", - "format": "int64", - "type": "string" - }, - "outputPath": { - "description": "The output Google Cloud Storage location provided at the job creation time.", - "type": "string" - }, - "nodeHours": { - "description": "Node hours used by the batch prediction job.", - "format": "double", - "type": "number" - }, - "predictionCount": { - "description": "The number of generated predictions.", - "format": "int64", - "type": "string" } }, - "id": "GoogleCloudMlV1__PredictionOutput" + "id": "GoogleRpc__Status" } }, "icons": { @@ -877,159 +882,113 @@ "ownerName": "Google", "resources": { "projects": { - "resources": { - "jobs": { - "methods": { - "list": { - "description": "Lists the jobs in the project.", - "response": { - "$ref": "GoogleCloudMlV1__ListJobsResponse" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageToken": { - "location": "query", - "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", - "format": "int32", - "type": "integer" - }, - "parent": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "Required. The name of the project for which to list jobs.\n\nAuthorization: requires `Viewer` role on the specified project.", - "required": true, - "type": "string" - }, - "filter": { - "type": "string", - "location": "query", - "description": "Optional. Specifies the subset of jobs to retrieve." - } - }, - "flatPath": "v1/projects/{projectsId}/jobs", - "path": "v1/{+parent}/jobs", - "id": "ml.projects.jobs.list" - }, - "get": { - "response": { - "$ref": "GoogleCloudMlV1__Job" - }, - "httpMethod": "GET", + "methods": { + "getConfig": { + "httpMethod": "GET", + "response": { + "$ref": "GoogleCloudMlV1__GetConfigResponse" + }, + "parameterOrder": [ + "name" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Required. The project name.\n\nAuthorization: requires `Viewer` role on the specified project.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}:getConfig", + "id": "ml.projects.getConfig", + "path": "v1/{+name}:getConfig", + "description": "Get the service account information associated with your project. You need\nthis information in order to grant the service account persmissions for\nthe Google Cloud Storage location where you put your model training code\nfor training the model with Google Cloud Machine Learning." + }, + "predict": { + "description": "Performs prediction on the data in the request.\n\n**** REMOVE FROM GENERATED DOCUMENTATION", + "request": { + "$ref": "GoogleCloudMlV1__PredictRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "GoogleApi__HttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "Required. The resource name of a model or a version.\n\nAuthorization: requires `Viewer` role on the parent project.", + "required": true, + "type": "string", + "pattern": "^projects/.+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}:predict", + "id": "ml.projects.predict", + "path": "v1/{+name}:predict" + } + }, + "resources": { + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "httpMethod": "POST", "parameterOrder": [ "name" ], + "response": { + "$ref": "GoogleProtobuf__Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { - "pattern": "^projects/[^/]+/jobs/[^/]+$", + "pattern": "^projects/[^/]+/operations/[^/]+$", "location": "path", - "description": "Required. The name of the job to get the description of.\n\nAuthorization: requires `Viewer` role on the parent project.", + "description": "The name of the operation resource to be cancelled.", "required": true, "type": "string" } }, - "flatPath": "v1/projects/{projectsId}/jobs/{jobsId}", - "path": "v1/{+name}", - "id": "ml.projects.jobs.get", - "description": "Describes a job." - }, - "create": { - "response": { - "$ref": "GoogleCloudMlV1__Job" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "parent": { - "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/jobs", - "path": "v1/{+parent}/jobs", - "id": "ml.projects.jobs.create", - "description": "Creates a training or a batch prediction job.", - "request": { - "$ref": "GoogleCloudMlV1__Job" - } + "flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel", + "id": "ml.projects.operations.cancel", + "path": "v1/{+name}:cancel" }, - "cancel": { + "delete": { "response": { "$ref": "GoogleProtobuf__Empty" }, + "httpMethod": "DELETE", "parameterOrder": [ "name" ], - "httpMethod": "POST", - "parameters": { - "name": { - "description": "Required. The name of the job to cancel.\n\nAuthorization: requires `Editor` role on the parent project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/jobs/[^/]+$", - "location": "path" - } - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:cancel", - "path": "v1/{+name}:cancel", - "id": "ml.projects.jobs.cancel", - "request": { - "$ref": "GoogleCloudMlV1__CancelJobRequest" - }, - "description": "Cancels a running job." - } - } - }, - "operations": { - "methods": { - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", - "response": { - "$ref": "GoogleProtobuf__Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", "parameters": { "name": { + "location": "path", "description": "The name of the operation resource to be deleted.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+/operations/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/operations/{operationsId}", "path": "v1/{+name}", - "id": "ml.projects.operations.delete" + "id": "ml.projects.operations.delete", + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`." }, "list": { "httpMethod": "GET", @@ -1041,27 +1000,27 @@ }, "parameters": { "filter": { - "location": "query", "description": "The standard list filter.", - "type": "string" + "type": "string", + "location": "query" }, "name": { - "location": "path", "description": "The name of the operation collection.", "required": true, "type": "string", - "pattern": "^projects/[^/]+$" + "pattern": "^projects/[^/]+$", + "location": "path" }, "pageToken": { + "type": "string", "location": "query", - "description": "The standard list page token.", - "type": "string" + "description": "The standard list page token." }, "pageSize": { - "description": "The standard list page size.", - "format": "int32", "type": "integer", - "location": "query" + "location": "query", + "description": "The standard list page size.", + "format": "int32" } }, "scopes": [ @@ -1073,14 +1032,16 @@ "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`." }, "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "httpMethod": "GET", "response": { "$ref": "GoogleLongrunning__Operation" }, - "httpMethod": "GET", "parameterOrder": [ "name" ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "name": { "location": "path", @@ -1090,51 +1051,23 @@ "pattern": "^projects/[^/]+/operations/[^/]+$" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/operations/{operationsId}", + "id": "ml.projects.operations.get", "path": "v1/{+name}", - "id": "ml.projects.operations.get" - }, - "cancel": { - "response": { - "$ref": "GoogleProtobuf__Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource to be cancelled." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel", - "path": "v1/{+name}:cancel", - "id": "ml.projects.operations.cancel", - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`." + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." } } }, "models": { "methods": { "delete": { - "description": "Deletes a model.\n\nYou can only delete a model if there are no versions in it. You can delete\nversions by calling\n[projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.versions/delete).", "httpMethod": "DELETE", - "parameterOrder": [ - "name" - ], "response": { "$ref": "GoogleLongrunning__Operation" }, + "parameterOrder": [ + "name" + ], "parameters": { "name": { "pattern": "^projects/[^/]+/models/[^/]+$", @@ -1149,35 +1082,35 @@ ], "flatPath": "v1/projects/{projectsId}/models/{modelsId}", "id": "ml.projects.models.delete", - "path": "v1/{+name}" + "path": "v1/{+name}", + "description": "Deletes a model.\n\nYou can only delete a model if there are no versions in it. You can delete\nversions by calling\n[projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.versions/delete)." }, "list": { - "description": "Lists the models in a project.\n\nEach project can contain multiple models, and each model can have multiple\nversions.", - "response": { - "$ref": "GoogleCloudMlV1__ListModelsResponse" - }, "parameterOrder": [ "parent" ], "httpMethod": "GET", + "response": { + "$ref": "GoogleCloudMlV1__ListModelsResponse" + }, "parameters": { - "pageToken": { - "location": "query", - "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "Optional. The number of models to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", - "format": "int32", - "type": "integer" - }, "parent": { "description": "Required. The name of the project whose models are to be listed.\n\nAuthorization: requires `Viewer` role on the specified project.", "required": true, "type": "string", "pattern": "^projects/[^/]+$", "location": "path" + }, + "pageToken": { + "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", + "type": "string", + "location": "query" + }, + "pageSize": { + "description": "Optional. The number of models to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", + "format": "int32", + "type": "integer", + "location": "query" } }, "scopes": [ @@ -1185,60 +1118,61 @@ ], "flatPath": "v1/projects/{projectsId}/models", "path": "v1/{+parent}/models", - "id": "ml.projects.models.list" + "id": "ml.projects.models.list", + "description": "Lists the models in a project.\n\nEach project can contain multiple models, and each model can have multiple\nversions." }, "get": { + "description": "Gets information about a model, including its name, the description (if\nset), and the default version (if at least one version of the model has\nbeen deployed).", "httpMethod": "GET", + "parameterOrder": [ + "name" + ], "response": { "$ref": "GoogleCloudMlV1__Model" }, - "parameterOrder": [ - "name" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { + "pattern": "^projects/[^/]+/models/[^/]+$", + "location": "path", "description": "Required. The name of the model.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+$", - "location": "path" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/models/{modelsId}", "id": "ml.projects.models.get", - "path": "v1/{+name}", - "description": "Gets information about a model, including its name, the description (if\nset), and the default version (if at least one version of the model has\nbeen deployed)." + "path": "v1/{+name}" }, "create": { - "httpMethod": "POST", - "parameterOrder": [ - "parent" - ], "response": { "$ref": "GoogleCloudMlV1__Model" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "parameterOrder": [ + "parent" ], + "httpMethod": "POST", "parameters": { "parent": { + "location": "path", "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+$" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1/projects/{projectsId}/models", - "id": "ml.projects.models.create", "path": "v1/{+parent}/models", - "description": "Creates a model which will later contain one or more versions.\n\nYou must add at least one version before you can request predictions from\nthe model. Add versions by calling\n[projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create).", + "id": "ml.projects.models.create", "request": { "$ref": "GoogleCloudMlV1__Model" - } + }, + "description": "Creates a model which will later contain one or more versions.\n\nYou must add at least one version before you can request predictions from\nthe model. Add versions by calling\n[projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.versions/create)." } }, "resources": { @@ -1249,13 +1183,13 @@ "$ref": "GoogleCloudMlV1__Version" }, "description": "Creates a new version of a model from a trained TensorFlow model.\n\nIf the version created in the cloud by this call is the first deployed\nversion of the specified model, it will be made the default version of the\nmodel. When you add a version to a model that already has one or more\nversions, the default version does not automatically change. If you want a\nnew version to be the default, you must call\n[projects.models.versions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDefault).", - "response": { - "$ref": "GoogleLongrunning__Operation" - }, + "httpMethod": "POST", "parameterOrder": [ "parent" ], - "httpMethod": "POST", + "response": { + "$ref": "GoogleLongrunning__Operation" + }, "parameters": { "parent": { "description": "Required. The name of the model.\n\nAuthorization: requires `Editor` role on the parent project.", @@ -1269,76 +1203,71 @@ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions", - "path": "v1/{+parent}/versions", - "id": "ml.projects.models.versions.create" + "id": "ml.projects.models.versions.create", + "path": "v1/{+parent}/versions" }, "setDefault": { - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], "response": { "$ref": "GoogleCloudMlV1__Version" }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "name": { - "location": "path", - "description": "Required. The name of the version to make the default for the model. You\ncan get the names of all the versions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$" + "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", + "location": "path", + "description": "Required. The name of the version to make the default for the model. You\ncan get the names of all the versions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project." } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}:setDefault", - "id": "ml.projects.models.versions.setDefault", "path": "v1/{+name}:setDefault", + "id": "ml.projects.models.versions.setDefault", + "description": "Designates a version to be the default for the model.\n\nThe default version is used for prediction requests made against the model\nthat don't specify a version.\n\nThe first version to be created for a model is automatically set as the\ndefault. You must make any subsequent changes to the default version\nsetting manually using this method.", "request": { "$ref": "GoogleCloudMlV1__SetDefaultVersionRequest" - }, - "description": "Designates a version to be the default for the model.\n\nThe default version is used for prediction requests made against the model\nthat don't specify a version.\n\nThe first version to be created for a model is automatically set as the\ndefault. You must make any subsequent changes to the default version\nsetting manually using this method." + } }, "delete": { - "httpMethod": "DELETE", - "response": { - "$ref": "GoogleLongrunning__Operation" - }, "parameterOrder": [ "name" ], + "response": { + "$ref": "GoogleLongrunning__Operation" + }, + "httpMethod": "DELETE", "parameters": { "name": { - "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", - "location": "path", "description": "Required. The name of the version. You can get the names of all the\nversions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", - "id": "ml.projects.models.versions.delete", "path": "v1/{+name}", + "id": "ml.projects.models.versions.delete", "description": "Deletes a model version.\n\nEach model can have multiple versions deployed and in use at any given\ntime. Use this method to remove a single version.\n\nNote: You cannot delete the version that is set as the default version\nof the model unless it is the only remaining version." }, "list": { - "id": "ml.projects.models.versions.list", - "path": "v1/{+parent}/versions", "description": "Gets basic information about all the versions of a model.\n\nIf you expect that a model has a lot of versions, or if you need to handle\nonly a limited number of results at a time, you can request that the list\nbe retrieved in batches (called pages):", - "httpMethod": "GET", "parameterOrder": [ "parent" ], "response": { "$ref": "GoogleCloudMlV1__ListVersionsResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], + "httpMethod": "GET", "parameters": { "pageToken": { "location": "query", @@ -1346,134 +1275,200 @@ "type": "string" }, "pageSize": { - "location": "query", "description": "Optional. The number of versions to retrieve per \"page\" of results. If\nthere are more remaining results than this number, the response message\nwill contain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" }, "parent": { - "location": "path", "description": "Required. The name of the model for which to list the version.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+$" + "pattern": "^projects/[^/]+/models/[^/]+$", + "location": "path" } }, - "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions", + "path": "v1/{+parent}/versions", + "id": "ml.projects.models.versions.list" }, "get": { + "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", + "id": "ml.projects.models.versions.get", + "path": "v1/{+name}", "description": "Gets information about a model version.\n\nModels can have multiple versions. You can call\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list)\nto get the same information that this method returns for all of the\nversions of a model.", "httpMethod": "GET", - "response": { - "$ref": "GoogleCloudMlV1__Version" - }, "parameterOrder": [ "name" ], + "response": { + "$ref": "GoogleCloudMlV1__Version" + }, "parameters": { "name": { + "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", + "location": "path", "description": "Required. The name of the version.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", - "id": "ml.projects.models.versions.get", - "path": "v1/{+name}" + ] } } } } - } - }, - "methods": { - "getConfig": { - "flatPath": "v1/projects/{projectsId}:getConfig", - "id": "ml.projects.getConfig", - "path": "v1/{+name}:getConfig", - "description": "Get the service account information associated with your project. You need\nthis information in order to grant the service account persmissions for\nthe Google Cloud Storage location where you put your model training code\nfor training the model with Google Cloud Machine Learning.", - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "GoogleCloudMlV1__GetConfigResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "location": "path", - "description": "Required. The project name.\n\nAuthorization: requires `Viewer` role on the specified project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - } - } }, - "predict": { - "request": { - "$ref": "GoogleCloudMlV1__PredictRequest" - }, - "description": "Performs prediction on the data in the request.\n\n**** REMOVE FROM GENERATED DOCUMENTATION", - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "GoogleApi__HttpBody" - }, - "parameters": { - "name": { - "location": "path", - "description": "Required. The resource name of a model or a version.\n\nAuthorization: requires `Viewer` role on the parent project.", - "required": true, - "type": "string", - "pattern": "^projects/.+$" + "jobs": { + "methods": { + "cancel": { + "request": { + "$ref": "GoogleCloudMlV1__CancelJobRequest" + }, + "description": "Cancels a running job.", + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "GoogleProtobuf__Empty" + }, + "parameters": { + "name": { + "description": "Required. The name of the job to cancel.\n\nAuthorization: requires `Editor` role on the parent project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/jobs/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:cancel", + "id": "ml.projects.jobs.cancel", + "path": "v1/{+name}:cancel" + }, + "list": { + "description": "Lists the jobs in the project.", + "httpMethod": "GET", + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "GoogleCloudMlV1__ListJobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "parent": { + "description": "Required. The name of the project for which to list jobs.\n\nAuthorization: requires `Viewer` role on the specified project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + }, + "filter": { + "description": "Optional. Specifies the subset of jobs to retrieve.", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", + "type": "string", + "location": "query" + }, + "pageSize": { + "type": "integer", + "location": "query", + "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", + "format": "int32" + } + }, + "flatPath": "v1/projects/{projectsId}/jobs", + "id": "ml.projects.jobs.list", + "path": "v1/{+parent}/jobs" + }, + "get": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "Required. The name of the job to get the description of.\n\nAuthorization: requires `Viewer` role on the parent project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/jobs/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/jobs/{jobsId}", + "path": "v1/{+name}", + "id": "ml.projects.jobs.get", + "description": "Describes a job.", + "response": { + "$ref": "GoogleCloudMlV1__Job" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET" + }, + "create": { + "description": "Creates a training or a batch prediction job.", + "request": { + "$ref": "GoogleCloudMlV1__Job" + }, + "response": { + "$ref": "GoogleCloudMlV1__Job" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "parent": { + "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/jobs", + "path": "v1/{+parent}/jobs", + "id": "ml.projects.jobs.create" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}:predict", - "id": "ml.projects.predict", - "path": "v1/{+name}:predict" + } } } } }, "parameters": { - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, "upload_protocol": { - "type": "string", "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, "prettyPrint": { + "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" }, "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string", - "location": "query" + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." }, "fields": { "description": "Selector specifying which fields to include in a partial response.", @@ -1481,13 +1476,11 @@ "location": "query" }, "callback": { - "location": "query", "description": "JSONP", - "type": "string" + "type": "string", + "location": "query" }, "$.xgafv": { - "description": "V1 error format.", - "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" @@ -1496,10 +1489,11 @@ "enum": [ "1", "2" - ] + ], + "description": "V1 error format.", + "type": "string" }, "alt": { - "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -1512,17 +1506,18 @@ "json", "media", "proto" - ] + ], + "type": "string" }, "key": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "access_token": { - "type": "string", "location": "query", - "description": "OAuth access token." + "description": "OAuth access token.", + "type": "string" }, "quotaUser": { "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.", @@ -1534,6 +1529,16 @@ "type": "boolean", "default": "true", "location": "query" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" } }, "version": "v1", @@ -1541,10 +1546,5 @@ "kind": "discovery#restDescription", "description": "An API to enable creating and using machine learning models.", "servicePath": "", - "basePath": "", - "documentationLink": "https://cloud.google.com/ml/", - "revision": "20170327", - "id": "ml:v1", - "discoveryVersion": "v1", - "version_module": "True" + "basePath": "" } diff --git a/DiscoveryJson/ml_v1beta1.json b/DiscoveryJson/ml_v1beta1.json index 237d8a5108..0852964156 100644 --- a/DiscoveryJson/ml_v1beta1.json +++ b/DiscoveryJson/ml_v1beta1.json @@ -1,36 +1,18 @@ { - "protocol": "rest", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "canonicalName": "Cloud Machine Learning Engine", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "rootUrl": "https://ml.googleapis.com/", - "ownerDomain": "google.com", - "name": "ml", - "batchPath": "batch", - "title": "Google Cloud Machine Learning Engine", - "ownerName": "Google", "resources": { "projects": { "methods": { "getConfig": { + "flatPath": "v1beta1/projects/{projectsId}:getConfig", + "path": "v1beta1/{+name}:getConfig", + "id": "ml.projects.getConfig", "description": "Get the service account information associated with your project. You need\nthis information in order to grant the service account persmissions for\nthe Google Cloud Storage location where you put your model training code\nfor training the model with Google Cloud Machine Learning.", - "response": { - "$ref": "GoogleCloudMlV1beta1__GetConfigResponse" - }, "parameterOrder": [ "name" ], + "response": { + "$ref": "GoogleCloudMlV1beta1__GetConfigResponse" + }, "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -43,34 +25,31 @@ "required": true, "type": "string" } - }, - "flatPath": "v1beta1/projects/{projectsId}:getConfig", - "path": "v1beta1/{+name}:getConfig", - "id": "ml.projects.getConfig" + } }, "predict": { - "response": { - "$ref": "GoogleApi__HttpBody" - }, + "httpMethod": "POST", "parameterOrder": [ "name" ], - "httpMethod": "POST", + "response": { + "$ref": "GoogleApi__HttpBody" + }, "parameters": { "name": { + "description": "Required. The resource name of a model or a version.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, "type": "string", "pattern": "^projects/.+$", - "location": "path", - "description": "Required. The resource name of a model or a version.\n\nAuthorization: requires `Viewer` role on the parent project." + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1beta1/projects/{projectsId}:predict", - "path": "v1beta1/{+name}:predict", "id": "ml.projects.predict", + "path": "v1beta1/{+name}:predict", "request": { "$ref": "GoogleCloudMlV1beta1__PredictRequest" }, @@ -78,399 +57,247 @@ } }, "resources": { - "jobs": { + "operations": { "methods": { "cancel": { + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], "response": { "$ref": "GoogleProtobuf__Empty" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "location": "path", + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/operations/[^/]+$" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}:cancel", + "id": "ml.projects.operations.cancel", + "path": "v1beta1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`." + }, + "delete": { + "id": "ml.projects.operations.delete", + "path": "v1beta1/{+name}", + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "httpMethod": "DELETE", "parameterOrder": [ "name" ], - "httpMethod": "POST", + "response": { + "$ref": "GoogleProtobuf__Empty" + }, "parameters": { "name": { - "description": "Required. The name of the job to cancel.\n\nAuthorization: requires `Editor` role on the parent project.", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "location": "path", + "description": "The name of the operation resource to be deleted.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/jobs/[^/]+$", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/projects/{projectsId}/jobs/{jobsId}:cancel", - "path": "v1beta1/{+name}:cancel", - "id": "ml.projects.jobs.cancel", - "request": { - "$ref": "GoogleCloudMlV1beta1__CancelJobRequest" - }, - "description": "Cancels a running job." + "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}" }, "list": { + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", + "httpMethod": "GET", "response": { - "$ref": "GoogleCloudMlV1beta1__ListJobsResponse" + "$ref": "GoogleLongrunning__ListOperationsResponse" }, "parameterOrder": [ - "parent" + "name" ], - "httpMethod": "GET", "parameters": { "filter": { + "description": "The standard list filter.", "type": "string", - "location": "query", - "description": "Optional. Specifies the subset of jobs to retrieve." + "location": "query" + }, + "name": { + "description": "The name of the operation collection.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" }, "pageToken": { "location": "query", - "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", + "description": "The standard list page token.", "type": "string" }, "pageSize": { + "type": "integer", "location": "query", - "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", - "format": "int32", - "type": "integer" - }, - "parent": { - "description": "Required. The name of the project for which to list jobs.\n\nAuthorization: requires `Viewer` role on the specified project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "description": "The standard list page size.", + "format": "int32" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/projects/{projectsId}/jobs", - "path": "v1beta1/{+parent}/jobs", - "id": "ml.projects.jobs.list", - "description": "Lists the jobs in the project." + "flatPath": "v1beta1/projects/{projectsId}/operations", + "id": "ml.projects.operations.list", + "path": "v1beta1/{+name}/operations" }, "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", "httpMethod": "GET", "parameterOrder": [ "name" ], "response": { - "$ref": "GoogleCloudMlV1beta1__Job" + "$ref": "GoogleLongrunning__Operation" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { "name": { - "description": "Required. The name of the job to get the description of.\n\nAuthorization: requires `Viewer` role on the parent project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/jobs/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/jobs/{jobsId}", - "id": "ml.projects.jobs.get", - "path": "v1beta1/{+name}", - "description": "Describes a job." - }, - "create": { - "request": { - "$ref": "GoogleCloudMlV1beta1__Job" - }, - "description": "Creates a training or a batch prediction job.", - "response": { - "$ref": "GoogleCloudMlV1beta1__Job" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", - "parameters": { - "parent": { - "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", + "location": "path", + "description": "The name of the operation resource.", "required": true, "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+/operations/[^/]+$" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/projects/{projectsId}/jobs", - "path": "v1beta1/{+parent}/jobs", - "id": "ml.projects.jobs.create" + "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", + "id": "ml.projects.operations.get", + "path": "v1beta1/{+name}" } } }, - "operations": { + "models": { "methods": { - "delete": { + "create": { "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", + "parent": { + "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", - "path": "v1beta1/{+name}", - "id": "ml.projects.operations.delete", - "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", - "response": { - "$ref": "GoogleProtobuf__Empty" + "flatPath": "v1beta1/projects/{projectsId}/models", + "path": "v1beta1/{+parent}/models", + "id": "ml.projects.models.create", + "request": { + "$ref": "GoogleCloudMlV1beta1__Model" }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE" - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", + "description": "Creates a model which will later contain one or more versions.\n\nYou must add at least one version before you can request predictions from\nthe model. Add versions by calling\n[projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create).", "response": { - "$ref": "GoogleLongrunning__ListOperationsResponse" + "$ref": "GoogleCloudMlV1beta1__Model" }, - "httpMethod": "GET", "parameterOrder": [ - "name" - ], - "parameters": { - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "filter": { - "type": "string", - "location": "query", - "description": "The standard list filter." - }, - "name": { - "description": "The name of the operation collection.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - }, - "pageToken": { - "description": "The standard list page token.", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "parent" ], - "flatPath": "v1beta1/projects/{projectsId}/operations", - "path": "v1beta1/{+name}/operations", - "id": "ml.projects.operations.list" + "httpMethod": "POST" }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "delete": { "response": { "$ref": "GoogleLongrunning__Operation" }, "parameterOrder": [ "name" ], - "httpMethod": "GET", + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { + "pattern": "^projects/[^/]+/models/[^/]+$", "location": "path", - "description": "The name of the operation resource.", + "description": "Required. The name of the model.\n\nAuthorization: requires `Editor` role on the parent project.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/operations/[^/]+$" + "type": "string" } }, - "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", + "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}", "path": "v1beta1/{+name}", - "id": "ml.projects.operations.get" + "id": "ml.projects.models.delete", + "description": "Deletes a model.\n\nYou can only delete a model if there are no versions in it. You can delete\nversions by calling\n[projects.models.versions.delete](/ml-engine/reference/rest/v1beta1/projects.models.versions/delete)." }, - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", - "httpMethod": "POST", + "list": { + "httpMethod": "GET", "parameterOrder": [ - "name" + "parent" ], "response": { - "$ref": "GoogleProtobuf__Empty" + "$ref": "GoogleCloudMlV1beta1__ListModelsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "name": { + "pageSize": { + "location": "query", + "description": "Optional. The number of models to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", + "format": "int32", + "type": "integer" + }, + "parent": { + "pattern": "^projects/[^/]+$", "location": "path", - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/operations/[^/]+$" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}:cancel", - "id": "ml.projects.operations.cancel", - "path": "v1beta1/{+name}:cancel" - } - } - }, - "models": { - "methods": { - "create": { - "id": "ml.projects.models.create", - "path": "v1beta1/{+parent}/models", - "description": "Creates a model which will later contain one or more versions.\n\nYou must add at least one version before you can request predictions from\nthe model. Add versions by calling\n[projects.models.versions.create](/ml-engine/reference/rest/v1beta1/projects.models.versions/create).", - "request": { - "$ref": "GoogleCloudMlV1beta1__Model" - }, - "httpMethod": "POST", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "GoogleCloudMlV1beta1__Model" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "parent": { - "location": "path", - "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/models" - }, - "delete": { - "description": "Deletes a model.\n\nYou can only delete a model if there are no versions in it. You can delete\nversions by calling\n[projects.models.versions.delete](/ml-engine/reference/rest/v1beta1/projects.models.versions/delete).", - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "response": { - "$ref": "GoogleLongrunning__Operation" - }, - "parameters": { - "name": { - "pattern": "^projects/[^/]+/models/[^/]+$", - "location": "path", - "description": "Required. The name of the model.\n\nAuthorization: requires `Editor` role on the parent project.", + "description": "Required. The name of the project whose models are to be listed.\n\nAuthorization: requires `Viewer` role on the specified project.", "required": true, "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}", - "id": "ml.projects.models.delete", - "path": "v1beta1/{+name}" - }, - "list": { - "id": "ml.projects.models.list", - "path": "v1beta1/{+parent}/models", - "description": "Lists the models in a project.\n\nEach project can contain multiple models, and each model can have multiple\nversions.", - "httpMethod": "GET", - "response": { - "$ref": "GoogleCloudMlV1beta1__ListModelsResponse" - }, - "parameterOrder": [ - "parent" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { + }, "pageToken": { "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", "type": "string", "location": "query" - }, - "pageSize": { - "location": "query", - "description": "Optional. The number of models to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", - "format": "int32", - "type": "integer" - }, - "parent": { - "description": "Required. The name of the project whose models are to be listed.\n\nAuthorization: requires `Viewer` role on the specified project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" } }, - "flatPath": "v1beta1/projects/{projectsId}/models" + "flatPath": "v1beta1/projects/{projectsId}/models", + "id": "ml.projects.models.list", + "path": "v1beta1/{+parent}/models", + "description": "Lists the models in a project.\n\nEach project can contain multiple models, and each model can have multiple\nversions." }, "get": { - "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}", - "path": "v1beta1/{+name}", - "id": "ml.projects.models.get", "description": "Gets information about a model, including its name, the description (if\nset), and the default version (if at least one version of the model has\nbeen deployed).", + "httpMethod": "GET", "response": { "$ref": "GoogleCloudMlV1beta1__Model" }, "parameterOrder": [ "name" ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { "name": { + "location": "path", "description": "Required. The name of the model.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+/models/[^/]+$" } - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}", + "id": "ml.projects.models.get", + "path": "v1beta1/{+name}" } }, "resources": { "versions": { "methods": { - "delete": { - "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", - "id": "ml.projects.models.versions.delete", - "path": "v1beta1/{+name}", - "description": "Deletes a model version.\n\nEach model can have multiple versions deployed and in use at any given\ntime. Use this method to remove a single version.\n\nNote: You cannot delete the version that is set as the default version\nof the model unless it is the only remaining version.", - "httpMethod": "DELETE", - "response": { - "$ref": "GoogleLongrunning__Operation" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "location": "path", - "description": "Required. The name of the version. You can get the names of all the\nversions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { - "description": "Gets basic information about all the versions of a model.\n\nIf you expect that a model has a lot of versions, or if you need to handle\nonly a limited number of results at a time, you can request that the list\nbe retrieved in batches (called pages):", "response": { "$ref": "GoogleCloudMlV1beta1__ListVersionsResponse" }, @@ -478,59 +305,67 @@ "parent" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { - "pageSize": { - "description": "Optional. The number of versions to retrieve per \"page\" of results. If\nthere are more remaining results than this number, the response message\nwill contain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", - "format": "int32", - "type": "integer", - "location": "query" - }, "parent": { - "location": "path", - "description": "Required. The name of the model for which to list the version.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+$" + "pattern": "^projects/[^/]+/models/[^/]+$", + "location": "path", + "description": "Required. The name of the model for which to list the version.\n\nAuthorization: requires `Viewer` role on the parent project." }, "pageToken": { + "location": "query", "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", - "type": "string", - "location": "query" + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "Optional. The number of versions to retrieve per \"page\" of results. If\nthere are more remaining results than this number, the response message\nwill contain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", + "format": "int32", + "type": "integer" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions", "path": "v1beta1/{+parent}/versions", - "id": "ml.projects.models.versions.list" + "id": "ml.projects.models.versions.list", + "description": "Gets basic information about all the versions of a model.\n\nIf you expect that a model has a lot of versions, or if you need to handle\nonly a limited number of results at a time, you can request that the list\nbe retrieved in batches (called pages):" }, "get": { + "id": "ml.projects.models.versions.get", + "path": "v1beta1/{+name}", "description": "Gets information about a model version.\n\nModels can have multiple versions. You can call\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list)\nto get the same information that this method returns for all of the\nversions of a model.", "httpMethod": "GET", - "response": { - "$ref": "GoogleCloudMlV1beta1__Version" - }, "parameterOrder": [ "name" ], + "response": { + "$ref": "GoogleCloudMlV1beta1__Version" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { - "location": "path", "description": "Required. The name of the version.\n\nAuthorization: requires `Viewer` role on the parent project.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$" + "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", + "location": "path" } }, - "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", - "id": "ml.projects.models.versions.get", - "path": "v1beta1/{+name}" + "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}" }, "create": { + "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions", + "id": "ml.projects.models.versions.create", + "path": "v1beta1/{+parent}/versions", + "description": "Creates a new version of a model from a trained TensorFlow model.\n\nIf the version created in the cloud by this call is the first deployed\nversion of the specified model, it will be made the default version of the\nmodel. When you add a version to a model that already has one or more\nversions, the default version does not automatically change. If you want a\nnew version to be the default, you must call\n[projects.models.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).", + "request": { + "$ref": "GoogleCloudMlV1beta1__Version" + }, "httpMethod": "POST", "parameterOrder": [ "parent" @@ -549,20 +384,15 @@ "location": "path", "description": "Required. The name of the model.\n\nAuthorization: requires `Editor` role on the parent project." } - }, - "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions", - "id": "ml.projects.models.versions.create", - "path": "v1beta1/{+parent}/versions", - "description": "Creates a new version of a model from a trained TensorFlow model.\n\nIf the version created in the cloud by this call is the first deployed\nversion of the specified model, it will be made the default version of the\nmodel. When you add a version to a model that already has one or more\nversions, the default version does not automatically change. If you want a\nnew version to be the default, you must call\n[projects.models.versions.setDefault](/ml-engine/reference/rest/v1beta1/projects.models.versions/setDefault).", - "request": { - "$ref": "GoogleCloudMlV1beta1__Version" } }, "setDefault": { - "description": "Designates a version to be the default for the model.\n\nThe default version is used for prediction requests made against the model\nthat don't specify a version.\n\nThe first version to be created for a model is automatically set as the\ndefault. You must make any subsequent changes to the default version\nsetting manually using this method.", + "id": "ml.projects.models.versions.setDefault", + "path": "v1beta1/{+name}:setDefault", "request": { "$ref": "GoogleCloudMlV1beta1__SetDefaultVersionRequest" }, + "description": "Designates a version to be the default for the model.\n\nThe default version is used for prediction requests made against the model\nthat don't specify a version.\n\nThe first version to be created for a model is automatically set as the\ndefault. You must make any subsequent changes to the default version\nsetting manually using this method.", "httpMethod": "POST", "parameterOrder": [ "name" @@ -570,23 +400,172 @@ "response": { "$ref": "GoogleCloudMlV1beta1__Version" }, + "parameters": { + "name": { + "description": "Required. The name of the version to make the default for the model. You\ncan get the names of all the versions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", + "location": "path" + } + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], + "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}:setDefault" + }, + "delete": { + "response": { + "$ref": "GoogleLongrunning__Operation" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", "parameters": { "name": { + "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", "location": "path", - "description": "Required. The name of the version to make the default for the model. You\ncan get the names of all the versions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.", + "description": "Required. The name of the version. You can get the names of all the\nversions of a model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor` role on the parent project.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$" + "type": "string" } }, - "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}:setDefault", - "id": "ml.projects.models.versions.setDefault", - "path": "v1beta1/{+name}:setDefault" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", + "path": "v1beta1/{+name}", + "id": "ml.projects.models.versions.delete", + "description": "Deletes a model version.\n\nEach model can have multiple versions deployed and in use at any given\ntime. Use this method to remove a single version.\n\nNote: You cannot delete the version that is set as the default version\nof the model unless it is the only remaining version." + } + } + } + } + }, + "jobs": { + "methods": { + "cancel": { + "response": { + "$ref": "GoogleProtobuf__Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/jobs/[^/]+$", + "location": "path", + "description": "Required. The name of the job to cancel.\n\nAuthorization: requires `Editor` role on the parent project." + } + }, + "flatPath": "v1beta1/projects/{projectsId}/jobs/{jobsId}:cancel", + "path": "v1beta1/{+name}:cancel", + "id": "ml.projects.jobs.cancel", + "description": "Cancels a running job.", + "request": { + "$ref": "GoogleCloudMlV1beta1__CancelJobRequest" + } + }, + "list": { + "path": "v1beta1/{+parent}/jobs", + "id": "ml.projects.jobs.list", + "description": "Lists the jobs in the project.", + "response": { + "$ref": "GoogleCloudMlV1beta1__ListJobsResponse" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "filter": { + "location": "query", + "description": "Optional. Specifies the subset of jobs to retrieve.", + "type": "string" + }, + "pageToken": { + "description": "Optional. A page token to request the next page of results.\n\nYou get the token from the `next_page_token` field of the response from\nthe previous call.", + "type": "string", + "location": "query" + }, + "pageSize": { + "type": "integer", + "location": "query", + "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_token` field.\n\nThe default value is 20, and the maximum page size is 100.", + "format": "int32" + }, + "parent": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Required. The name of the project for which to list jobs.\n\nAuthorization: requires `Viewer` role on the specified project." + } + }, + "flatPath": "v1beta1/projects/{projectsId}/jobs" + }, + "get": { + "parameters": { + "name": { + "description": "Required. The name of the job to get the description of.\n\nAuthorization: requires `Viewer` role on the parent project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/jobs/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/projects/{projectsId}/jobs/{jobsId}", + "path": "v1beta1/{+name}", + "id": "ml.projects.jobs.get", + "description": "Describes a job.", + "response": { + "$ref": "GoogleCloudMlV1beta1__Job" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET" + }, + "create": { + "description": "Creates a training or a batch prediction job.", + "request": { + "$ref": "GoogleCloudMlV1beta1__Job" + }, + "httpMethod": "POST", + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "GoogleCloudMlV1beta1__Job" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "parent": { + "location": "path", + "description": "Required. The project name.\n\nAuthorization: requires `Editor` role on the specified project.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$" } - } + }, + "flatPath": "v1beta1/projects/{projectsId}/jobs", + "id": "ml.projects.jobs.create", + "path": "v1beta1/{+parent}/jobs" } } } @@ -594,35 +573,47 @@ } }, "parameters": { - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "fields": { + "upload_protocol": { "location": "query", - "description": "Selector specifying which fields to include in a partial response.", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" }, - "callback": { - "description": "JSONP", + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", "enum": [ "1", "2" ], "description": "V1 error format.", + "type": "string" + }, + "callback": { + "description": "JSONP", "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], "location": "query" }, "alt": { + "default": "json", "enum": [ "json", "media", @@ -635,29 +626,28 @@ "Responses with Content-Type of application/x-protobuf" ], "location": "query", - "description": "Data format for response.", - "default": "json" + "description": "Data format for response." }, "key": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" }, "quotaUser": { - "type": "string", "location": "query", - "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." + "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.", + "type": "string" }, "pp": { - "description": "Pretty-print response.", "type": "boolean", "default": "true", - "location": "query" + "location": "query", + "description": "Pretty-print response." }, "bearer_token": { "location": "query", @@ -668,24 +658,13 @@ "description": "OAuth 2.0 token for the current user.", "type": "string", "location": "query" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" } }, "version": "v1beta1", "baseUrl": "https://ml.googleapis.com/", - "kind": "discovery#restDescription", - "description": "An API to enable creating and using machine learning models.", "servicePath": "", + "description": "An API to enable creating and using machine learning models.", + "kind": "discovery#restDescription", "basePath": "", "revision": "20170327", "documentationLink": "https://cloud.google.com/ml/", @@ -693,36 +672,18 @@ "discoveryVersion": "v1", "version_module": "True", "schemas": { - "GoogleCloudMlV1beta1__PredictionOutput": { - "description": "Represents results of a prediction job.", + "GoogleCloudMlV1beta1__TrainingOutput": { "type": "object", "properties": { - "errorCount": { - "description": "The number of data instances which resulted in errors.", - "format": "int64", - "type": "string" - }, - "outputPath": { - "description": "The output Google Cloud Storage location provided at the job creation time.", - "type": "string" + "completedTrialCount": { + "type": "string", + "description": "The number of hyperparameter tuning trials that completed successfully.\nOnly set for hyperparameter tuning jobs.", + "format": "int64" }, - "nodeHours": { - "description": "Node hours used by the batch prediction job.", - "format": "double", - "type": "number" + "isHyperparameterTuningJob": { + "description": "Whether this job is a hyperparameter tuning job.", + "type": "boolean" }, - "predictionCount": { - "description": "The number of generated predictions.", - "format": "int64", - "type": "string" - } - }, - "id": "GoogleCloudMlV1beta1__PredictionOutput" - }, - "GoogleCloudMlV1beta1__TrainingOutput": { - "description": "Represents results of a training job. Output only.", - "type": "object", - "properties": { "consumedMLUnits": { "description": "The amount of ML units consumed by the job.", "format": "double", @@ -734,26 +695,22 @@ "items": { "$ref": "GoogleCloudMlV1beta1__HyperparameterOutput" } - }, - "completedTrialCount": { - "type": "string", - "description": "The number of hyperparameter tuning trials that completed successfully.\nOnly set for hyperparameter tuning jobs.", - "format": "int64" - }, - "isHyperparameterTuningJob": { - "description": "Whether this job is a hyperparameter tuning job.", - "type": "boolean" } }, - "id": "GoogleCloudMlV1beta1__TrainingOutput" + "id": "GoogleCloudMlV1beta1__TrainingOutput", + "description": "Represents results of a training job. Output only." }, "GoogleCloudMlV1__Version": { "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.versions/list).", "type": "object", "properties": { + "manualScaling": { + "$ref": "GoogleCloudMlV1__ManualScaling", + "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately." + }, "name": { - "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.", - "type": "string" + "type": "string", + "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in." }, "runtimeVersion": { "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.", @@ -780,10 +737,6 @@ "description": "Output only. The time the version was created.", "format": "google-datetime", "type": "string" - }, - "manualScaling": { - "$ref": "GoogleCloudMlV1__ManualScaling", - "description": "Optional. Manually select the number of nodes to use for serving the\nmodel. If unset (i.e., by default), the number of nodes used to serve\nthe model automatically scales with traffic. However, care should be\ntaken to ramp up traffic according to the model's ability to scale. If\nyour model needs to handle bursts of traffic beyond it's ability to\nscale, it is recommended you set this field appropriately." } }, "id": "GoogleCloudMlV1__Version" @@ -792,12 +745,26 @@ "description": "Represents a set of hyperparameters to optimize.", "type": "object", "properties": { + "params": { + "description": "Required. The set of parameters to tune.", + "type": "array", + "items": { + "$ref": "GoogleCloudMlV1beta1__ParameterSpec" + } + }, + "maxTrials": { + "description": "Optional. How many training trials should be attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.", + "format": "int32", + "type": "integer" + }, "maxParallelTrials": { "description": "Optional. The number of training trials to run concurrently.\nYou can reduce the time it takes to perform hyperparameter tuning by adding\ntrials in parallel. However, each trail only benefits from the information\ngained in completed trials. That means that a trial does not get access to\nthe results of trials running at the same time, which could reduce the\nquality of the overall optimization.\n\nEach trial will use the same scale tier and machine types.\n\nDefaults to one.", "format": "int32", "type": "integer" }, "goal": { + "description": "Required. The type of goal to use for tuning. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", + "type": "string", "enumDescriptions": [ "Goal Type will default to maximize.", "Maximize the goal metric.", @@ -807,41 +774,27 @@ "GOAL_TYPE_UNSPECIFIED", "MAXIMIZE", "MINIMIZE" - ], - "description": "Required. The type of goal to use for tuning. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", - "type": "string" + ] }, "hyperparameterMetricTag": { "description": "Optional. The Tensorflow summary tag name to use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name should exactly match what is\nshown in Tensorboard, including all scopes. For versions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Summary.\nBy default, \"training/hptuning/metric\" will be used.", "type": "string" - }, - "params": { - "description": "Required. The set of parameters to tune.", - "type": "array", - "items": { - "$ref": "GoogleCloudMlV1beta1__ParameterSpec" - } - }, - "maxTrials": { - "description": "Optional. How many training trials should be attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.", - "format": "int32", - "type": "integer" } }, "id": "GoogleCloudMlV1beta1__HyperparameterSpec" }, - "GoogleCloudMlV1beta1__OperationMetadata": { + "GoogleCloudMlV1__OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "type": "object", "properties": { - "version": { - "description": "Contains the version associated with the operation.", - "$ref": "GoogleCloudMlV1beta1__Version" - }, "endTime": { - "type": "string", "description": "The time operation processing completed.", - "format": "google-datetime" + "format": "google-datetime", + "type": "string" }, "operationType": { + "description": "The operation type.", + "type": "string", "enumDescriptions": [ "Unspecified operation type.", "An operation to create a new version.", @@ -853,9 +806,7 @@ "CREATE_VERSION", "DELETE_VERSION", "DELETE_MODEL" - ], - "description": "The operation type.", - "type": "string" + ] }, "startTime": { "description": "The time operation processing started.", @@ -867,43 +818,32 @@ "type": "boolean" }, "createTime": { + "type": "string", "description": "The time the operation was submitted.", - "format": "google-datetime", - "type": "string" + "format": "google-datetime" }, "modelName": { - "description": "Contains the name of the model associated with the operation.", - "type": "string" + "type": "string", + "description": "Contains the name of the model associated with the operation." + }, + "version": { + "description": "Contains the version associated with the operation.", + "$ref": "GoogleCloudMlV1__Version" } }, - "id": "GoogleCloudMlV1beta1__OperationMetadata", - "description": "Represents the metadata of the long-running operation.", - "type": "object" + "id": "GoogleCloudMlV1__OperationMetadata" }, - "GoogleCloudMlV1__OperationMetadata": { + "GoogleCloudMlV1beta1__OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", "type": "object", "properties": { - "startTime": { - "description": "The time operation processing started.", - "format": "google-datetime", - "type": "string" - }, - "isCancellationRequested": { - "description": "Indicates whether a request to cancel this operation has been made.", - "type": "boolean" - }, - "createTime": { - "description": "The time the operation was submitted.", - "format": "google-datetime", - "type": "string" - }, "modelName": { "type": "string", "description": "Contains the name of the model associated with the operation." }, "version": { - "$ref": "GoogleCloudMlV1__Version", - "description": "Contains the version associated with the operation." + "description": "Contains the version associated with the operation.", + "$ref": "GoogleCloudMlV1beta1__Version" }, "endTime": { "description": "The time operation processing completed.", @@ -911,42 +851,55 @@ "type": "string" }, "operationType": { - "type": "string", - "enumDescriptions": [ - "Unspecified operation type.", - "An operation to create a new version.", - "An operation to delete an existing version.", - "An operation to delete an existing model." - ], "enum": [ "OPERATION_TYPE_UNSPECIFIED", "CREATE_VERSION", "DELETE_VERSION", "DELETE_MODEL" ], - "description": "The operation type." + "description": "The operation type.", + "type": "string", + "enumDescriptions": [ + "Unspecified operation type.", + "An operation to create a new version.", + "An operation to delete an existing version.", + "An operation to delete an existing model." + ] + }, + "startTime": { + "description": "The time operation processing started.", + "format": "google-datetime", + "type": "string" + }, + "isCancellationRequested": { + "description": "Indicates whether a request to cancel this operation has been made.", + "type": "boolean" + }, + "createTime": { + "description": "The time the operation was submitted.", + "format": "google-datetime", + "type": "string" } }, - "id": "GoogleCloudMlV1__OperationMetadata", - "description": "Represents the metadata of the long-running operation." + "id": "GoogleCloudMlV1beta1__OperationMetadata" }, "GoogleCloudMlV1beta1__ListModelsResponse": { - "description": "Response message for the ListModels method.", - "type": "object", "properties": { - "nextPageToken": { - "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", - "type": "string" - }, "models": { "description": "The list of models.", "type": "array", "items": { "$ref": "GoogleCloudMlV1beta1__Model" } + }, + "nextPageToken": { + "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", + "type": "string" } }, - "id": "GoogleCloudMlV1beta1__ListModelsResponse" + "id": "GoogleCloudMlV1beta1__ListModelsResponse", + "description": "Response message for the ListModels method.", + "type": "object" }, "GoogleLongrunning__Operation": { "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", @@ -969,13 +922,13 @@ "type": "string" }, "error": { - "$ref": "GoogleRpc__Status", - "description": "The error result of the operation in case of failure or cancellation." + "description": "The error result of the operation in case of failure or cancellation.", + "$ref": "GoogleRpc__Status" }, "metadata": { "additionalProperties": { - "type": "any", - "description": "Properties of the object. Contains field @type with type URL." + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" }, "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", "type": "object" @@ -1019,6 +972,7 @@ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." }, "GoogleCloudMlV1beta1__ManualScaling": { + "id": "GoogleCloudMlV1beta1__ManualScaling", "description": "Options for manually scaling a model.", "type": "object", "properties": { @@ -1027,12 +981,21 @@ "format": "int32", "type": "integer" } - }, - "id": "GoogleCloudMlV1beta1__ManualScaling" + } }, "GoogleRpc__Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + }, "details": { "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", @@ -1043,33 +1006,22 @@ "type": "any" } } - }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "type": "string", - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client." } }, - "id": "GoogleRpc__Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons." + "id": "GoogleRpc__Status" }, "GoogleCloudMlV1beta1__PredictRequest": { "description": "Request for predictions to be issued against a trained model.\n\nThe body of the request is a single JSON object with a single top-level\nfield:\n\n\u003cdl\u003e\n \u003cdt\u003einstances\u003c/dt\u003e\n \u003cdd\u003eA JSON array containing values representing the instances to use for\n prediction.\u003c/dd\u003e\n\u003c/dl\u003e\n\nThe structure of each element of the instances list is determined by your\nmodel's input definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJSON values (boolean, number, or string). However, instances are often lists\nof simple values, or complex nested lists. Here are some examples of request\nbodies:\n\nCSV data with each row encoded as a string value:\n\u003cpre\u003e\n{\"instances\": [\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n\u003c/pre\u003e\nPlain text:\n\u003cpre\u003e\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n\u003c/pre\u003e\nSentences encoded as lists of words (vectors of strings):\n\u003cpre\u003e\n{\n \"instances\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n\u003c/pre\u003e\nFloating point scalar values:\n\u003cpre\u003e\n{\"instances\": [0.0, 1.1, 2.2]}\n\u003c/pre\u003e\nVectors of integers:\n\u003cpre\u003e\n{\n \"instances\": [\n [0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n\u003c/pre\u003e\nTensors (in this case, two-dimensional tensors):\n\u003cpre\u003e\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n\u003c/pre\u003e\nImages can be represented different ways. In this encoding scheme the first\ntwo dimensions represent the rows and columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n\u003cpre\u003e\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ],\n ...\n ]\n}\n\u003c/pre\u003e\nJSON strings must be encoded as UTF-8. To send binary data, you must\nbase64-encode the data and mark it as binary. To mark a JSON string\nas binary, replace it with a JSON object with a single attribute named `b64`:\n\u003cpre\u003e{\"b64\": \"...\"} \u003c/pre\u003e\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n\u003cpre\u003e\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n\u003c/pre\u003e\nTwo JPEG image byte strings (fake data, for illustrative purposes only):\n\u003cpre\u003e\n{\"instances\": [{\"b64\": \"ASa8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n\u003c/pre\u003e\nIf your data includes named references, format each instance as a JSON object\nwith the named references as the keys:\n\nJSON input data to be preprocessed:\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n\u003c/pre\u003e\nSome models have an underlying TensorFlow graph that accepts multiple input\ntensors. In this case, you should use the names of JSON name/value pairs to\nidentify the input tensors, as shown in the following exmaples:\n\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n\u003c/pre\u003e\nFor a graph with input tensor aliases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n\u003cpre\u003e\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97],\n ...\n ],\n [\n [254, 1, 101],\n [254, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n\u003c/pre\u003e\nIf the call is successful, the response body will contain one prediction\nentry per instance in the request body. If prediction fails for any\ninstance, the response body will contain no predictions and will contian\na single error entry instead.", "type": "object", "properties": { "httpBody": { - "$ref": "GoogleApi__HttpBody", - "description": "\nRequired. The prediction request body." + "description": "\nRequired. The prediction request body.", + "$ref": "GoogleApi__HttpBody" } }, "id": "GoogleCloudMlV1beta1__PredictRequest" }, "GoogleApi__HttpBody": { - "type": "object", "properties": { "data": { "description": "HTTP body binary data.", @@ -1077,20 +1029,28 @@ "type": "string" }, "contentType": { - "description": "The HTTP Content-Type string representing the content type of the body.", - "type": "string" + "type": "string", + "description": "The HTTP Content-Type string representing the content type of the body." } }, "id": "GoogleApi__HttpBody", - "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged." + "description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.", + "type": "object" }, "GoogleCloudMlV1beta1__PredictionInput": { "description": "Represents input parameters for a prediction job.", "type": "object", "properties": { + "inputPaths": { + "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.", + "type": "array", + "items": { + "type": "string" + } + }, "region": { - "description": "Required. The Google Compute Engine region to run the prediction job in.", - "type": "string" + "type": "string", + "description": "Required. The Google Compute Engine region to run the prediction job in." }, "versionName": { "description": "Use this field if you want to specify a version of the model to use. The\nstring is formatted the same way as `model_version`, with the addition\nof the version information:\n\n`\"projects/\u003cvar\u003e[YOUR_PROJECT]\u003c/var\u003e/models/\u003cvar\u003eYOUR_MODEL/versions/\u003cvar\u003e[YOUR_VERSION]\u003c/var\u003e\"`", @@ -1104,17 +1064,16 @@ "description": "Required. The output Google Cloud Storage location.", "type": "string" }, + "uri": { + "description": "Use this field if you want to specify a Google Cloud Storage path for\nthe model to use.", + "type": "string" + }, "maxWorkerCount": { "description": "Optional. The maximum number of workers to be used for parallel processing.\nDefaults to 10 if not specified.", "format": "int64", "type": "string" }, - "uri": { - "description": "Use this field if you want to specify a Google Cloud Storage path for\nthe model to use.", - "type": "string" - }, "dataFormat": { - "description": "Required. The format of the input data files.", "type": "string", "enumDescriptions": [ "Unspecified format.", @@ -1127,56 +1086,50 @@ "TEXT", "TF_RECORD", "TF_RECORD_GZIP" - ] + ], + "description": "Required. The format of the input data files." }, "runtimeVersion": { "description": "Optional. The Google Cloud ML runtime version to use for this batch\nprediction. If not set, Google Cloud ML will pick the runtime version used\nduring the CreateVersion request for this model version, or choose the\nlatest stable version when model version information is not available\nsuch as when the model is specified by uri.", "type": "string" - }, - "inputPaths": { - "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.", - "type": "array", - "items": { - "type": "string" - } } }, "id": "GoogleCloudMlV1beta1__PredictionInput" }, - "GoogleCloudMlV1beta1__ListVersionsResponse": { - "description": "Response message for the ListVersions method.", + "GoogleCloudMlV1beta1__ListJobsResponse": { + "description": "Response message for the ListJobs method.", "type": "object", "properties": { - "versions": { - "description": "The list of versions.", + "nextPageToken": { + "type": "string", + "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call." + }, + "jobs": { + "description": "The list of jobs.", "type": "array", "items": { - "$ref": "GoogleCloudMlV1beta1__Version" + "$ref": "GoogleCloudMlV1beta1__Job" } - }, - "nextPageToken": { - "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", - "type": "string" } }, - "id": "GoogleCloudMlV1beta1__ListVersionsResponse" + "id": "GoogleCloudMlV1beta1__ListJobsResponse" }, - "GoogleCloudMlV1beta1__ListJobsResponse": { + "GoogleCloudMlV1beta1__ListVersionsResponse": { "properties": { - "jobs": { - "description": "The list of jobs.", + "versions": { "type": "array", "items": { - "$ref": "GoogleCloudMlV1beta1__Job" - } + "$ref": "GoogleCloudMlV1beta1__Version" + }, + "description": "The list of versions." }, "nextPageToken": { "description": "Optional. Pass this token as the `page_token` field of the request for a\nsubsequent call.", "type": "string" } }, - "id": "GoogleCloudMlV1beta1__ListJobsResponse", - "description": "Response message for the ListJobs method.", + "id": "GoogleCloudMlV1beta1__ListVersionsResponse", + "description": "Response message for the ListVersions method.", "type": "object" }, "GoogleCloudMlV1beta1__Version": { @@ -1190,15 +1143,15 @@ "description": "Required.The name specified for the version when it was created.\n\nThe version name must be unique within the model it is created in.", "type": "string" }, + "runtimeVersion": { + "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.", + "type": "string" + }, "lastUseTime": { "description": "Output only. The time the version was last used for prediction.", "format": "google-datetime", "type": "string" }, - "runtimeVersion": { - "description": "Optional. The Google Cloud ML runtime version to use for this deployment.\nIf not set, Google Cloud ML will choose a version.", - "type": "string" - }, "description": { "description": "Optional. The description specified for the version when it was created.", "type": "string" @@ -1220,25 +1173,10 @@ "id": "GoogleCloudMlV1beta1__Version", "description": "Represents a version of the model.\n\nEach version is a trained model deployed in the cloud, ready to handle\nprediction requests. A model can have multiple versions. You can get\ninformation about all of the versions of a given model by calling\n[projects.models.versions.list](/ml-engine/reference/rest/v1beta1/projects.models.versions/list)." }, - "GoogleCloudMlV1beta1__CancelJobRequest": { - "type": "object", - "properties": {}, - "id": "GoogleCloudMlV1beta1__CancelJobRequest", - "description": "Request message for the CancelJob method." - }, "GoogleCloudMlV1beta1__Model": { - "id": "GoogleCloudMlV1beta1__Model", "description": "Represents a machine learning solution.\n\nA model can have multiple versions, each of which is a deployed, trained\nmodel ready to receive prediction requests. The model itself is just a\ncontainer.", "type": "object", "properties": { - "name": { - "description": "Required. The name specified for the model when it was created.\n\nThe model name must be unique within the project it is created in.", - "type": "string" - }, - "description": { - "description": "Optional. The description specified for the model when it was created.", - "type": "string" - }, "onlinePredictionLogging": { "description": "Optional. If true, enables StackDriver Logging for online prediction.\nDefault is false.", "type": "boolean" @@ -1253,38 +1191,56 @@ "items": { "type": "string" } + }, + "name": { + "type": "string", + "description": "Required. The name specified for the model when it was created.\n\nThe model name must be unique within the project it is created in." + }, + "description": { + "description": "Optional. The description specified for the model when it was created.", + "type": "string" } - } + }, + "id": "GoogleCloudMlV1beta1__Model" }, - "GoogleCloudMlV1beta1__Job": { - "description": "Represents a training or prediction job.", + "GoogleCloudMlV1beta1__CancelJobRequest": { + "description": "Request message for the CancelJob method.", "type": "object", + "properties": {}, + "id": "GoogleCloudMlV1beta1__CancelJobRequest" + }, + "GoogleCloudMlV1beta1__Job": { "properties": { + "endTime": { + "type": "string", + "description": "Output only. When the job processing was completed.", + "format": "google-datetime" + }, "startTime": { "description": "Output only. When the job processing was started.", "format": "google-datetime", "type": "string" }, "predictionOutput": { - "description": "The current prediction job result.", - "$ref": "GoogleCloudMlV1beta1__PredictionOutput" + "$ref": "GoogleCloudMlV1beta1__PredictionOutput", + "description": "The current prediction job result." }, "trainingOutput": { - "$ref": "GoogleCloudMlV1beta1__TrainingOutput", - "description": "The current training job result." + "description": "The current training job result.", + "$ref": "GoogleCloudMlV1beta1__TrainingOutput" }, "trainingInput": { - "$ref": "GoogleCloudMlV1beta1__TrainingInput", - "description": "Input parameters to create a training job." + "description": "Input parameters to create a training job.", + "$ref": "GoogleCloudMlV1beta1__TrainingInput" }, "createTime": { + "type": "string", "description": "Output only. When the job was created.", - "format": "google-datetime", - "type": "string" + "format": "google-datetime" }, "predictionInput": { - "description": "Input parameters to create a prediction job.", - "$ref": "GoogleCloudMlV1beta1__PredictionInput" + "$ref": "GoogleCloudMlV1beta1__PredictionInput", + "description": "Input parameters to create a prediction job." }, "state": { "enumDescriptions": [ @@ -1310,21 +1266,18 @@ "description": "Output only. The detailed state of a job.", "type": "string" }, - "errorMessage": { - "description": "Output only. The details of a failure or a cancellation.", - "type": "string" - }, "jobId": { "description": "Required. The user-specified id of the job.", "type": "string" }, - "endTime": { - "description": "Output only. When the job processing was completed.", - "format": "google-datetime", + "errorMessage": { + "description": "Output only. The details of a failure or a cancellation.", "type": "string" } }, - "id": "GoogleCloudMlV1beta1__Job" + "id": "GoogleCloudMlV1beta1__Job", + "description": "Represents a training or prediction job.", + "type": "object" }, "GoogleLongrunning__ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", @@ -1345,14 +1298,9 @@ "id": "GoogleLongrunning__ListOperationsResponse" }, "GoogleCloudMlV1beta1__TrainingInput": { - "id": "GoogleCloudMlV1beta1__TrainingInput", "description": "Represents input parameters for a training job.", "type": "object", "properties": { - "region": { - "description": "Required. The Google Compute Engine region to run the training job in.", - "type": "string" - }, "args": { "description": "Optional. Command line arguments to pass to the program.", "type": "array", @@ -1364,19 +1312,15 @@ "description": "Optional. Specifies the type of virtual machine to use for your training\njob's worker nodes.\n\nThe supported values are the same as those described in the entry for\n`masterType`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than zero.", "type": "string" }, + "region": { + "type": "string", + "description": "Required. The Google Compute Engine region to run the training job in." + }, "parameterServerType": { "description": "Optional. Specifies the type of virtual machine to use for your training\njob's parameter server.\n\nThe supported values are the same as those described in the entry for\n`master_type`.\n\nThis value must be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` is greater than zero.", "type": "string" }, "scaleTier": { - "enum": [ - "BASIC", - "STANDARD_1", - "PREMIUM_1", - "BASIC_GPU", - "CUSTOM" - ], - "description": "Required. Specifies the machine types, the number of replicas for workers\nand parameter servers.", "type": "string", "enumDescriptions": [ "A single worker instance. This tier is suitable for learning how to use\nCloud ML, and for experimenting with new models using small datasets.", @@ -1384,27 +1328,35 @@ "A large number of workers with many parameter servers.", "A single worker instance [with a GPU](/ml-engine/docs/how-tos/using-gpus).", "The CUSTOM tier is not a set tier, but rather enables you to use your\nown cluster specification. When you use this tier, set values to\nconfigure your processing cluster according to these guidelines:\n\n* You _must_ set `TrainingInput.masterType` to specify the type\n of machine to use for your master node. This is the only required\n setting.\n\n* You _may_ set `TrainingInput.workerCount` to specify the number of\n workers to use. If you specify one or more workers, you _must_ also\n set `TrainingInput.workerType` to specify the type of machine to use\n for your worker nodes.\n\n* You _may_ set `TrainingInput.parameterServerCount` to specify the\n number of parameter servers to use. If you specify one or more\n parameter servers, you _must_ also set\n `TrainingInput.parameterServerType` to specify the type of machine to\n use for your parameter servers.\n\nNote that all of your workers must use the same machine type, which can\nbe different from your parameter server type and master type. Your\nparameter servers must likewise use the same machine type, which can be\ndifferent from your worker type and master type." - ] + ], + "enum": [ + "BASIC", + "STANDARD_1", + "PREMIUM_1", + "BASIC_GPU", + "CUSTOM" + ], + "description": "Required. Specifies the machine types, the number of replicas for workers\nand parameter servers." }, "jobDir": { "description": "Optional. A Google Cloud Storage path in which to store training outputs\nand other data needed for training. This path is passed to your TensorFlow\nprogram as the 'job_dir' command-line argument. The benefit of specifying\nthis field is that Cloud ML validates the path for use in training.", "type": "string" }, "hyperparameters": { - "description": "Optional. The set of Hyperparameters to tune.", - "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec" + "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec", + "description": "Optional. The set of Hyperparameters to tune." }, "parameterServerCount": { + "type": "string", "description": "Optional. The number of parameter server replicas to use for the training\njob. Each replica in the cluster will be of the type specified in\n`parameter_server_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parameter_server_type`.", - "format": "int64", - "type": "string" + "format": "int64" }, "packageUris": { - "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100.", "type": "array", "items": { "type": "string" - } + }, + "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100." }, "workerCount": { "description": "Optional. The number of worker replicas to use for the training job. Each\nreplica in the cluster will be of the type specified in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.", @@ -1412,8 +1364,8 @@ "type": "string" }, "masterType": { - "type": "string", - "description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker.\n\nThe following types are supported:\n\n\u003cdl\u003e\n \u003cdt\u003estandard\u003c/dt\u003e\n \u003cdd\u003e\n A basic machine configuration suitable for training simple models with\n small to moderate datasets.\n \u003c/dd\u003e\n \u003cdt\u003elarge_model\u003c/dt\u003e\n \u003cdd\u003e\n A machine with a lot of memory, specially suited for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_s\u003c/dt\u003e\n \u003cdd\u003e\n A machine suitable for the master and workers of the cluster when your\n model requires more computation than the standard machine can handle\n satisfactorily.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_s\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_l\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_m\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003estandard_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to \u003ccode suppresswarning=\"true\"\u003estandard\u003c/code\u003e that\n also includes a\n \u003ca href=\"/ml-engine/docs/how-tos/using-gpus\"\u003e\n GPU that you can use in your trainer\u003c/a\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to\n \u003ccode suppresswarning=\"true\"\u003ecoplex_model_m\u003c/code\u003e that also includes\n four GPUs.\n \u003c/dd\u003e\n\u003c/dl\u003e\n\nYou must set this value when `scaleTier` is set to `CUSTOM`." + "description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker.\n\nThe following types are supported:\n\n\u003cdl\u003e\n \u003cdt\u003estandard\u003c/dt\u003e\n \u003cdd\u003e\n A basic machine configuration suitable for training simple models with\n small to moderate datasets.\n \u003c/dd\u003e\n \u003cdt\u003elarge_model\u003c/dt\u003e\n \u003cdd\u003e\n A machine with a lot of memory, specially suited for parameter servers\n when your model is large (having many hidden layers or layers with very\n large numbers of nodes).\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_s\u003c/dt\u003e\n \u003cdd\u003e\n A machine suitable for the master and workers of the cluster when your\n model requires more computation than the standard machine can handle\n satisfactorily.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_s\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_l\u003c/dt\u003e\n \u003cdd\u003e\n A machine with roughly twice the number of cores and roughly double the\n memory of \u003ccode suppresswarning=\"true\"\u003ecomplex_model_m\u003c/code\u003e.\n \u003c/dd\u003e\n \u003cdt\u003estandard_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to \u003ccode suppresswarning=\"true\"\u003estandard\u003c/code\u003e that\n also includes a\n \u003ca href=\"/ml-engine/docs/how-tos/using-gpus\"\u003e\n GPU that you can use in your trainer\u003c/a\u003e.\n \u003c/dd\u003e\n \u003cdt\u003ecomplex_model_m_gpu\u003c/dt\u003e\n \u003cdd\u003e\n A machine equivalent to\n \u003ccode suppresswarning=\"true\"\u003ecoplex_model_m\u003c/code\u003e that also includes\n four GPUs.\n \u003c/dd\u003e\n\u003c/dl\u003e\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.", + "type": "string" }, "runtimeVersion": { "description": "Optional. The Google Cloud ML runtime version to use for training. If not\nset, Google Cloud ML will choose the latest stable version.", @@ -1423,11 +1375,10 @@ "description": "Required. The Python module name to run after installing the packages.", "type": "string" } - } + }, + "id": "GoogleCloudMlV1beta1__TrainingInput" }, "GoogleCloudMlV1beta1__GetConfigResponse": { - "description": "Returns service account information associated with a project.", - "type": "object", "properties": { "serviceAccountProject": { "description": "The project number for `service_account`.", @@ -1439,39 +1390,41 @@ "type": "string" } }, - "id": "GoogleCloudMlV1beta1__GetConfigResponse" + "id": "GoogleCloudMlV1beta1__GetConfigResponse", + "description": "Returns service account information associated with a project.", + "type": "object" }, "GoogleCloudMlV1beta1__SetDefaultVersionRequest": { - "description": "Request message for the SetDefaultVersion request.", - "type": "object", "properties": {}, - "id": "GoogleCloudMlV1beta1__SetDefaultVersionRequest" + "id": "GoogleCloudMlV1beta1__SetDefaultVersionRequest", + "description": "Request message for the SetDefaultVersion request.", + "type": "object" }, "GoogleCloudMlV1__ManualScaling": { - "id": "GoogleCloudMlV1__ManualScaling", "description": "Options for manually scaling a model.", "type": "object", "properties": { "nodes": { - "type": "integer", "description": "The number of nodes to allocate for this model. These nodes are always up,\nstarting from the time the model is deployed, so the cost of operating\nthis model will be proportional to nodes * number of hours since\ndeployment.", - "format": "int32" + "format": "int32", + "type": "integer" } - } + }, + "id": "GoogleCloudMlV1__ManualScaling" }, "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric": { "description": "An observed value of a metric.", "type": "object", "properties": { - "trainingStep": { - "description": "The global training step for this metric.", - "format": "int64", - "type": "string" - }, "objectiveValue": { "description": "The objective value at this training step.", "format": "double", "type": "number" + }, + "trainingStep": { + "description": "The global training step for this metric.", + "format": "int64", + "type": "string" } }, "id": "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric" @@ -1499,22 +1452,29 @@ "type": "number" }, "scaleType": { - "type": "string", - "enumDescriptions": [ - "By default, no scaling is applied.", - "Scales the feasible space to (0, 1) linearly.", - "Scales the feasible space logarithmically to (0, 1). The entire feasible\nspace must be strictly positive.", - "Scales the feasible space \"reverse\" logarithmically to (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive." - ], "enum": [ "NONE", "UNIT_LINEAR_SCALE", "UNIT_LOG_SCALE", "UNIT_REVERSE_LOG_SCALE" ], - "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scaling is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_SCALE`)." + "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scaling is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_SCALE`).", + "type": "string", + "enumDescriptions": [ + "By default, no scaling is applied.", + "Scales the feasible space to (0, 1) linearly.", + "Scales the feasible space logarithmically to (0, 1). The entire feasible\nspace must be strictly positive.", + "Scales the feasible space \"reverse\" logarithmically to (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive." + ] }, "type": { + "enumDescriptions": [ + "You must specify a valid type. Using this unspecified type will result in\nan error.", + "Type for real-valued parameters.", + "Type for integral parameters.", + "The parameter is categorical, with a value chosen from the categories\nfield.", + "The parameter is real valued, with a fixed set of feasible points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_value`, `max_value`} will be ignored." + ], "enum": [ "PARAMETER_TYPE_UNSPECIFIED", "DOUBLE", @@ -1523,17 +1483,6 @@ "DISCRETE" ], "description": "Required. The type of the parameter.", - "type": "string", - "enumDescriptions": [ - "You must specify a valid type. Using this unspecified type will result in\nan error.", - "Type for real-valued parameters.", - "Type for integral parameters.", - "The parameter is categorical, with a value chosen from the categories\nfield.", - "The parameter is real valued, with a fixed set of feasible points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_value`, `max_value`} will be ignored." - ] - }, - "parameterName": { - "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_rate\".", "type": "string" }, "categoricalValues": { @@ -1542,9 +1491,60 @@ "items": { "type": "string" } + }, + "parameterName": { + "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_rate\".", + "type": "string" } }, "id": "GoogleCloudMlV1beta1__ParameterSpec" + }, + "GoogleCloudMlV1beta1__PredictionOutput": { + "description": "Represents results of a prediction job.", + "type": "object", + "properties": { + "errorCount": { + "description": "The number of data instances which resulted in errors.", + "format": "int64", + "type": "string" + }, + "outputPath": { + "description": "The output Google Cloud Storage location provided at the job creation time.", + "type": "string" + }, + "nodeHours": { + "description": "Node hours used by the batch prediction job.", + "format": "double", + "type": "number" + }, + "predictionCount": { + "description": "The number of generated predictions.", + "format": "int64", + "type": "string" + } + }, + "id": "GoogleCloudMlV1beta1__PredictionOutput" + } + }, + "protocol": "rest", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "canonicalName": "Cloud Machine Learning Engine", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } } - } + }, + "rootUrl": "https://ml.googleapis.com/", + "ownerDomain": "google.com", + "name": "ml", + "batchPath": "batch", + "title": "Google Cloud Machine Learning Engine", + "ownerName": "Google" } diff --git a/DiscoveryJson/monitoring_v3.json b/DiscoveryJson/monitoring_v3.json index e1b179b082..dfe5364a7e 100644 --- a/DiscoveryJson/monitoring_v3.json +++ b/DiscoveryJson/monitoring_v3.json @@ -1,771 +1,520 @@ { - "resources": { - "projects": { - "resources": { - "timeSeries": { - "methods": { - "list": { - "response": { - "$ref": "ListTimeSeriesResponse" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read" - ], - "parameters": { - "interval.endTime": { - "location": "query", - "description": "Required. The end of the time interval.", - "format": "google-datetime", - "type": "string" - }, - "aggregation.alignmentPeriod": { - "description": "The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.", - "format": "google-duration", - "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "A positive number that is the maximum number of results to return. When view field sets to FULL, it limits the number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.", - "format": "int32", - "type": "integer" - }, - "orderBy": { - "location": "query", - "description": "Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.", - "type": "string" - }, - "aggregation.crossSeriesReducer": { - "location": "query", - "enum": [ - "REDUCE_NONE", - "REDUCE_MEAN", - "REDUCE_MIN", - "REDUCE_MAX", - "REDUCE_SUM", - "REDUCE_STDDEV", - "REDUCE_COUNT", - "REDUCE_COUNT_TRUE", - "REDUCE_FRACTION_TRUE", - "REDUCE_PERCENTILE_99", - "REDUCE_PERCENTILE_95", - "REDUCE_PERCENTILE_50", - "REDUCE_PERCENTILE_05" - ], - "description": "The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.", - "type": "string" - }, - "filter": { - "description": "A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\n metric.label.instance_name = \"my-instance-name\"\n", - "type": "string", - "location": "query" - }, - "aggregation.perSeriesAligner": { - "description": "The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.", - "type": "string", - "location": "query", - "enum": [ - "ALIGN_NONE", - "ALIGN_DELTA", - "ALIGN_RATE", - "ALIGN_INTERPOLATE", - "ALIGN_NEXT_OLDER", - "ALIGN_MIN", - "ALIGN_MAX", - "ALIGN_MEAN", - "ALIGN_COUNT", - "ALIGN_SUM", - "ALIGN_STDDEV", - "ALIGN_COUNT_TRUE", - "ALIGN_FRACTION_TRUE", - "ALIGN_PERCENTILE_99", - "ALIGN_PERCENTILE_95", - "ALIGN_PERCENTILE_50", - "ALIGN_PERCENTILE_05" - ] - }, - "pageToken": { - "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", - "type": "string", - "location": "query" - }, - "interval.startTime": { - "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", - "format": "google-datetime", - "type": "string", - "location": "query" - }, - "view": { - "description": "Specifies which information is returned about the time series.", - "type": "string", - "location": "query", - "enum": [ - "FULL", - "HEADERS" - ] - }, - "name": { - "location": "path", - "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$" - }, - "aggregation.groupByFields": { - "repeated": true, - "location": "query", - "description": "The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.", - "type": "string" - } - }, - "flatPath": "v3/projects/{projectsId}/timeSeries", - "path": "v3/{+name}/timeSeries", - "id": "monitoring.projects.timeSeries.list", - "description": "Lists time series that match a filter. This method does not require a Stackdriver account." - }, - "create": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.write" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", - "required": true, - "type": "string" - } - }, - "flatPath": "v3/projects/{projectsId}/timeSeries", - "path": "v3/{+name}/timeSeries", - "id": "monitoring.projects.timeSeries.create", - "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.", - "request": { - "$ref": "CreateTimeSeriesRequest" - } - } + "schemas": { + "ListMetricDescriptorsResponse": { + "description": "The ListMetricDescriptors response.", + "type": "object", + "properties": { + "metricDescriptors": { + "description": "The metric descriptors that are available to the project and that match the value of filter, if present.", + "type": "array", + "items": { + "$ref": "MetricDescriptor" } }, - "metricDescriptors": { - "methods": { - "create": { - "response": { - "$ref": "MetricDescriptor" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.write" - ], - "parameters": { - "name": { - "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "flatPath": "v3/projects/{projectsId}/metricDescriptors", - "path": "v3/{+name}/metricDescriptors", - "id": "monitoring.projects.metricDescriptors.create", - "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics.", - "request": { - "$ref": "MetricDescriptor" - } - }, - "delete": { - "description": "Deletes a metric descriptor. Only user-created custom metrics can be deleted.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "parameters": { - "name": { - "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.com/my_test_metric\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/metricDescriptors/.+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring" - ], - "flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}", - "path": "v3/{+name}", - "id": "monitoring.projects.metricDescriptors.delete" - }, - "list": { - "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.", - "response": { - "$ref": "ListMetricDescriptorsResponse" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "parameters": { - "name": { - "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - }, - "pageToken": { - "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", - "type": "string", - "location": "query" - }, - "pageSize": { - "type": "integer", - "location": "query", - "description": "A positive number that is the maximum number of results to return.", - "format": "int32" - }, - "filter": { - "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:\nmetric.type = starts_with(\"custom.googleapis.com/\")\n", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read", - "https://www.googleapis.com/auth/monitoring.write" - ], - "flatPath": "v3/projects/{projectsId}/metricDescriptors", - "path": "v3/{+name}/metricDescriptors", - "id": "monitoring.projects.metricDescriptors.list" - }, - "get": { - "response": { - "$ref": "MetricDescriptor" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "parameters": { - "name": { - "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googleapis.com/instance/disk/read_bytes_count\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/metricDescriptors/.+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read", - "https://www.googleapis.com/auth/monitoring.write" - ], - "flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}", - "path": "v3/{+name}", - "id": "monitoring.projects.metricDescriptors.get", - "description": "Gets a single metric descriptor. This method does not require a Stackdriver account." - } + "nextPageToken": { + "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", + "type": "string" + } + }, + "id": "ListMetricDescriptorsResponse" + }, + "MonitoredResourceDescriptor": { + "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", + "type": "object", + "properties": { + "labels": { + "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", + "type": "array", + "items": { + "$ref": "LabelDescriptor" } }, - "monitoredResourceDescriptors": { - "methods": { - "list": { - "response": { - "$ref": "ListMonitoredResourceDescriptorsResponse" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read", - "https://www.googleapis.com/auth/monitoring.write" - ], - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\"." - }, - "pageToken": { - "location": "query", - "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "A positive number that is the maximum number of results to return.", - "format": "int32", - "type": "integer" - }, - "filter": { - "location": "query", - "description": "An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label:\nresource.type = starts_with(\"gce_\") AND resource.label:id\n", - "type": "string" - } - }, - "flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors", - "path": "v3/{+name}/monitoredResourceDescriptors", - "id": "monitoring.projects.monitoredResourceDescriptors.list", - "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account." - }, - "get": { - "httpMethod": "GET", - "response": { - "$ref": "MonitoredResourceDescriptor" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/monitoredResourceDescriptors/[^/]+$", - "location": "path", - "description": "The monitored resource descriptor to get. The format is \"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}\". The {resource_type} is a predefined type, such as cloudsql_database.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read", - "https://www.googleapis.com/auth/monitoring.write" - ], - "flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors/{monitoredResourceDescriptorsId}", - "id": "monitoring.projects.monitoredResourceDescriptors.get", - "path": "v3/{+name}", - "description": "Gets a single monitored resource descriptor. This method does not require a Stackdriver account." - } + "name": { + "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".", + "type": "string" + }, + "displayName": { + "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", + "type": "string" + }, + "description": { + "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", + "type": "string" + }, + "type": { + "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.", + "type": "string" + } + }, + "id": "MonitoredResourceDescriptor" + }, + "TypedValue": { + "type": "object", + "properties": { + "doubleValue": { + "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10\u003csup\u003e±300\u003c/sup\u003e and it has 16 significant digits of precision.", + "format": "double", + "type": "number" + }, + "int64Value": { + "description": "A 64-bit integer. Its range is approximately ±9.2x10\u003csup\u003e18\u003c/sup\u003e.", + "format": "int64", + "type": "string" + }, + "distributionValue": { + "$ref": "Distribution", + "description": "A distribution value." + }, + "boolValue": { + "description": "A Boolean value: true or false.", + "type": "boolean" + }, + "stringValue": { + "description": "A variable-length string value.", + "type": "string" + } + }, + "id": "TypedValue", + "description": "A single strongly-typed value." + }, + "CollectdPayload": { + "description": "A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.", + "type": "object", + "properties": { + "endTime": { + "description": "The end time of the interval.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "The start time of the interval.", + "format": "google-datetime", + "type": "string" + }, + "values": { + "description": "The measured values during this time interval. Each value must have a different dataSourceName.", + "type": "array", + "items": { + "$ref": "CollectdValue" } }, - "groups": { - "methods": { - "delete": { - "flatPath": "v3/projects/{projectsId}/groups/{groupsId}", - "id": "monitoring.projects.groups.delete", - "path": "v3/{+name}", - "description": "Deletes an existing group.", - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The group to delete. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/groups/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring" - ] - }, - "list": { - "flatPath": "v3/projects/{projectsId}/groups", - "id": "monitoring.projects.groups.list", - "path": "v3/{+name}/groups", - "description": "Lists the existing groups.", - "httpMethod": "GET", - "response": { - "$ref": "ListGroupsResponse" - }, - "parameterOrder": [ - "name" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read" - ], - "parameters": { - "pageToken": { - "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "A positive number that is the maximum number of results to return.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "ancestorsOfGroup": { - "description": "A group name: \"projects/{project_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.", - "type": "string", - "location": "query" - }, - "name": { - "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - }, - "childrenOfGroup": { - "location": "query", - "description": "A group name: \"projects/{project_id_or_number}/groups/{group_id}\". Returns groups whose parentName field contains the group name. If no groups have this parent, the results are empty.", - "type": "string" - }, - "descendantsOfGroup": { - "type": "string", - "location": "query", - "description": "A group name: \"projects/{project_id_or_number}/groups/{group_id}\". Returns the descendants of the specified group. This is a superset of the results returned by the childrenOfGroup filter, and includes children-of-children, and so forth." - } - } - }, - "get": { - "flatPath": "v3/projects/{projectsId}/groups/{groupsId}", - "id": "monitoring.projects.groups.get", - "path": "v3/{+name}", - "description": "Gets a single group.", - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Group" - }, - "parameters": { - "name": { - "location": "path", - "description": "The group to retrieve. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/groups/[^/]+$" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read" - ] - }, - "update": { - "response": { - "$ref": "Group" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "PUT", - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/groups/[^/]+$", - "location": "path", - "description": "Output only. The name of this group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically." - }, - "validateOnly": { - "type": "boolean", - "location": "query", - "description": "If true, validate this request but do not update the existing group." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring" - ], - "flatPath": "v3/projects/{projectsId}/groups/{groupsId}", - "path": "v3/{+name}", - "id": "monitoring.projects.groups.update", - "request": { - "$ref": "Group" - }, - "description": "Updates an existing group. You can change any group attributes except name." - }, - "create": { - "id": "monitoring.projects.groups.create", - "path": "v3/{+name}/groups", - "request": { - "$ref": "Group" - }, - "description": "Creates a new group.", - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Group" - }, - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The project in which to create the group. The format is \"projects/{project_id_or_number}\"." - }, - "validateOnly": { - "location": "query", - "description": "If true, validate this request but do not create the group.", - "type": "boolean" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring" - ], - "flatPath": "v3/projects/{projectsId}/groups" - } - }, - "resources": { - "members": { - "methods": { - "list": { - "id": "monitoring.projects.groups.members.list", - "path": "v3/{+name}/members", - "description": "Lists the monitored resources that are members of a group.", - "httpMethod": "GET", - "response": { - "$ref": "ListGroupMembersResponse" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The group whose members are listed. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/groups/[^/]+$", - "location": "path" - }, - "interval.endTime": { - "description": "Required. The end of the time interval.", - "format": "google-datetime", - "type": "string", - "location": "query" - }, - "filter": { - "location": "query", - "description": "An optional list filter describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter:\nresource.type = \"gce_instance\"\n", - "type": "string" - }, - "pageToken": { - "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", - "type": "string", - "location": "query" - }, - "interval.startTime": { - "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", - "format": "google-datetime", - "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "A positive number that is the maximum number of results to return.", - "format": "int32", - "type": "integer" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.read" - ], - "flatPath": "v3/projects/{projectsId}/groups/{groupsId}/members" - } - } - } + "typeInstance": { + "description": "The measurement type instance. Example: \"used\".", + "type": "string" + }, + "metadata": { + "type": "object", + "additionalProperties": { + "$ref": "TypedValue" + }, + "description": "The measurement metadata. Example: \"process_id\" -\u003e 12345" + }, + "type": { + "type": "string", + "description": "The measurement type. Example: \"memory\"." + }, + "plugin": { + "description": "The name of the plugin. Example: \"disk\".", + "type": "string" + }, + "pluginInstance": { + "description": "The instance name of the plugin Example: \"hdcl\".", + "type": "string" + } + }, + "id": "CollectdPayload" + }, + "Linear": { + "id": "Linear", + "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): offset + (width * i). Lower bound (1 \u003c= i \u003c N): offset + (width * (i - 1)).", + "type": "object", + "properties": { + "offset": { + "description": "Lower bound of the first bucket.", + "format": "double", + "type": "number" + }, + "numFiniteBuckets": { + "description": "Must be greater than 0.", + "format": "int32", + "type": "integer" + }, + "width": { + "type": "number", + "description": "Must be greater than 0.", + "format": "double" + } + } + }, + "Option": { + "type": "object", + "properties": { + "name": { + "description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For example, \"google.api.http\".", + "type": "string" + }, + "value": { + "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } + }, + "id": "Option", + "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc." + }, + "Empty": { + "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", + "type": "object", + "properties": {}, + "id": "Empty" + }, + "Explicit": { + "type": "object", + "properties": { + "bounds": { + "description": "The values must be monotonically increasing.", + "type": "array", + "items": { + "format": "double", + "type": "number" } + } + }, + "id": "Explicit", + "description": "Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): boundsi Lower bound (1 \u003c= i \u003c N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets." + }, + "TimeInterval": { + "description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.", + "type": "object", + "properties": { + "startTime": { + "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", + "format": "google-datetime", + "type": "string" }, - "collectdTimeSeries": { - "methods": { - "create": { - "flatPath": "v3/projects/{projectsId}/collectdTimeSeries", - "path": "v3/{+name}/collectdTimeSeries", - "id": "monitoring.projects.collectdTimeSeries.create", - "request": { - "$ref": "CreateCollectdTimeSeriesRequest" - }, - "description": "Stackdriver Monitoring Agent only: Creates a new time series.\u003caside class=\"caution\"\u003eThis method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.\u003c/aside\u003e", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "POST", - "parameters": { - "name": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The project in which to create the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/monitoring", - "https://www.googleapis.com/auth/monitoring.write" - ] - } + "endTime": { + "description": "Required. The end of the time interval.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "TimeInterval" + }, + "Exponential": { + "id": "Exponential", + "description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): scale * (growth_factor ^ i). Lower bound (1 \u003c= i \u003c N): scale * (growth_factor ^ (i - 1)).", + "type": "object", + "properties": { + "growthFactor": { + "description": "Must be greater than 1.", + "format": "double", + "type": "number" + }, + "scale": { + "description": "Must be greater than 0.", + "format": "double", + "type": "number" + }, + "numFiniteBuckets": { + "type": "integer", + "description": "Must be greater than 0.", + "format": "int32" + } + } + }, + "Point": { + "description": "A single data point in a time series.", + "type": "object", + "properties": { + "interval": { + "$ref": "TimeInterval", + "description": "The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." + }, + "value": { + "$ref": "TypedValue", + "description": "The value of the data point." + } + }, + "id": "Point" + }, + "Metric": { + "type": "object", + "properties": { + "type": { + "description": "An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", + "type": "string" + }, + "labels": { + "description": "The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.", + "type": "object", + "additionalProperties": { + "type": "string" } } + }, + "id": "Metric", + "description": "A specific metric, identified by specifying values for all of the labels of a MetricDescriptor." + }, + "Field": { + "id": "Field", + "description": "A single field of a message type.", + "type": "object", + "properties": { + "jsonName": { + "description": "The field JSON name.", + "type": "string" + }, + "kind": { + "enumDescriptions": [ + "Field type unknown.", + "Field type double.", + "Field type float.", + "Field type int64.", + "Field type uint64.", + "Field type int32.", + "Field type fixed64.", + "Field type fixed32.", + "Field type bool.", + "Field type string.", + "Field type group. Proto2 syntax only, and deprecated.", + "Field type message.", + "Field type bytes.", + "Field type uint32.", + "Field type enum.", + "Field type sfixed32.", + "Field type sfixed64.", + "Field type sint32.", + "Field type sint64." + ], + "enum": [ + "TYPE_UNKNOWN", + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "description": "The field type.", + "type": "string" + }, + "options": { + "type": "array", + "items": { + "$ref": "Option" + }, + "description": "The protocol buffer options." + }, + "oneofIndex": { + "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", + "format": "int32", + "type": "integer" + }, + "packed": { + "description": "Whether to use alternative packed wire representation.", + "type": "boolean" + }, + "cardinality": { + "enum": [ + "CARDINALITY_UNKNOWN", + "CARDINALITY_OPTIONAL", + "CARDINALITY_REQUIRED", + "CARDINALITY_REPEATED" + ], + "description": "The field cardinality.", + "type": "string", + "enumDescriptions": [ + "For fields with unknown cardinality.", + "For optional fields.", + "For required fields. Proto2 syntax only.", + "For repeated fields." + ] + }, + "defaultValue": { + "description": "The string value of the default value of this field. Proto2 syntax only.", + "type": "string" + }, + "name": { + "type": "string", + "description": "The field name." + }, + "typeUrl": { + "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Timestamp\".", + "type": "string" + }, + "number": { + "description": "The field number.", + "format": "int32", + "type": "integer" + } } - } - }, - "parameters": { - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "$.xgafv": { - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "alt": { - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" + "LabelDescriptor": { + "description": "A description of a label.", + "type": "object", + "properties": { + "valueType": { + "enumDescriptions": [ + "A variable-length string. This is the default.", + "Boolean; true or false.", + "A 64-bit signed integer." + ], + "enum": [ + "STRING", + "BOOL", + "INT64" + ], + "description": "The type of data that can be assigned to the label.", + "type": "string" + }, + "key": { + "description": "The label key.", + "type": "string" + }, + "description": { + "description": "A human-readable description for the label.", + "type": "string" + } + }, + "id": "LabelDescriptor" }, - "key": { - "location": "query", - "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.", - "type": "string" + "ListTimeSeriesResponse": { + "type": "object", + "properties": { + "nextPageToken": { + "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", + "type": "string" + }, + "timeSeries": { + "description": "One or more time series that match the filter included in the request.", + "type": "array", + "items": { + "$ref": "TimeSeries" + } + } + }, + "id": "ListTimeSeriesResponse", + "description": "The ListTimeSeries response." }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" + "Group": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Output only. The name of this group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically." + }, + "parentName": { + "description": "The name of the group's parent, if it has one. The format is \"projects/{project_id_or_number}/groups/{group_id}\". For groups with no parent, parentName is the empty string, \"\".", + "type": "string" + }, + "displayName": { + "description": "A user-assigned name for this group, used only for display purposes.", + "type": "string" + }, + "isCluster": { + "description": "If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.", + "type": "boolean" + }, + "filter": { + "description": "The filter used to determine which monitored resources belong to this group.", + "type": "string" + } + }, + "id": "Group", + "description": "The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.Groups can be nested in parent-child hierarchies. The parentName field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-defined tags: \"environment\" and \"role\". A parent group has a filter, environment=\"production\". A child of that parent group has a filter, role=\"transcoder\". The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors." }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" + "Type": { + "type": "object", + "properties": { + "options": { + "type": "array", + "items": { + "$ref": "Option" + }, + "description": "The protocol buffer options." + }, + "fields": { + "type": "array", + "items": { + "$ref": "Field" + }, + "description": "The list of fields." + }, + "name": { + "description": "The fully qualified message name.", + "type": "string" + }, + "oneofs": { + "description": "The list of types appearing in oneof definitions in this type.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceContext": { + "$ref": "SourceContext", + "description": "The source context." + }, + "syntax": { + "enumDescriptions": [ + "Syntax proto2.", + "Syntax proto3." + ], + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ], + "description": "The source syntax.", + "type": "string" + } + }, + "id": "Type", + "description": "A protocol buffer message type." }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "BucketOptions": { + "description": "BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.", + "type": "object", + "properties": { + "exponentialBuckets": { + "description": "The exponential buckets.", + "$ref": "Exponential" + }, + "linearBuckets": { + "description": "The linear bucket.", + "$ref": "Linear" + }, + "explicitBuckets": { + "$ref": "Explicit", + "description": "The explicit buckets." + } + }, + "id": "BucketOptions" }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - } - }, - "version": "v3", - "baseUrl": "https://monitoring.googleapis.com/", - "description": "Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.", - "kind": "discovery#restDescription", - "servicePath": "", - "basePath": "", - "id": "monitoring:v3", - "revision": "20170327", - "documentationLink": "https://cloud.google.com/monitoring/api/", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { "CollectdValue": { + "id": "CollectdValue", "description": "A single data point from a collectd-based plugin.", "type": "object", "properties": { - "dataSourceName": { - "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\".", - "type": "string" - }, "value": { "$ref": "TypedValue", "description": "The measurement value." }, "dataSourceType": { - "type": "string", - "enumDescriptions": [ - "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.", - "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.", - "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.", - "A rate of change of the measurement.", - "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA." - ], "enum": [ "UNSPECIFIED_DATA_SOURCE_TYPE", "GAUGE", @@ -773,21 +522,32 @@ "DERIVE", "ABSOLUTE" ], - "description": "The type of measurement." + "description": "The type of measurement.", + "type": "string", + "enumDescriptions": [ + "An unspecified data source type. This corresponds to google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED.", + "An instantaneous measurement of a varying quantity. This corresponds to google.api.MetricDescriptor.MetricKind.GAUGE.", + "A cumulative value over time. This corresponds to google.api.MetricDescriptor.MetricKind.CUMULATIVE.", + "A rate of change of the measurement.", + "An amount of change since the last measurement interval. This corresponds to google.api.MetricDescriptor.MetricKind.DELTA." + ] + }, + "dataSourceName": { + "description": "The data source for the collectd value. For example there are two data sources for network measurements: \"rx\" and \"tx\".", + "type": "string" } - }, - "id": "CollectdValue" + } }, "SourceContext": { - "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.", - "type": "object", "properties": { "fileName": { "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\".", "type": "string" } }, - "id": "SourceContext" + "id": "SourceContext", + "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.", + "type": "object" }, "MetricDescriptor": { "properties": { @@ -827,14 +587,15 @@ } }, "name": { - "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent resource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descriptor. For example, following is the resource name of a custom metric within the GCP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"\n", - "type": "string" + "type": "string", + "description": "The resource name of the metric descriptor. Depending on the implementation, the name typically includes: (1) the parent resource name that defines the scope of the metric type or of its data; and (2) the metric's URL-encoded type, which also appears in the type field of this descriptor. For example, following is the resource name of a custom metric within the GCP project my-project-id:\n\"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"\n" }, "type": { "description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined custom metric types have the DNS name custom.googleapis.com. Metric types should use a natural hierarchical grouping. For example:\n\"custom.googleapis.com/invoice/paid/amount\"\n\"appengine.googleapis.com/http/server/response_latencies\"\n", "type": "string" }, "valueType": { + "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported.", "type": "string", "enumDescriptions": [ "Do not use this default value.", @@ -853,8 +614,7 @@ "STRING", "DISTRIBUTION", "MONEY" - ], - "description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported." + ] } }, "id": "MetricDescriptor", @@ -862,6 +622,7 @@ "type": "object" }, "Range": { + "id": "Range", "description": "The range of the population values.", "type": "object", "properties": { @@ -871,15 +632,13 @@ "type": "number" }, "max": { - "type": "number", "description": "The maximum of the population values.", - "format": "double" + "format": "double", + "type": "number" } - }, - "id": "Range" + } }, "ListGroupsResponse": { - "description": "The ListGroups response.", "type": "object", "properties": { "group": { @@ -894,22 +653,23 @@ "type": "string" } }, - "id": "ListGroupsResponse" + "id": "ListGroupsResponse", + "description": "The ListGroups response." }, "ListGroupMembersResponse": { "description": "The ListGroupMembers response.", "type": "object", "properties": { "members": { + "description": "A set of monitored resources in the group.", "type": "array", "items": { "$ref": "MonitoredResource" - }, - "description": "A set of monitored resources in the group." + } }, "nextPageToken": { - "type": "string", - "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method." + "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", + "type": "string" }, "totalSize": { "description": "The total number of elements matching this request.", @@ -920,10 +680,12 @@ "id": "ListGroupMembersResponse" }, "CreateCollectdTimeSeriesRequest": { + "description": "The CreateCollectdTimeSeries request.", + "type": "object", "properties": { "resource": { - "description": "The monitored resource associated with the time series.", - "$ref": "MonitoredResource" + "$ref": "MonitoredResource", + "description": "The monitored resource associated with the time series." }, "collectdPayloads": { "description": "The collectd payloads representing the time series data. You must not include more than a single point for each time series, so no two payloads can have the same values for all of the fields plugin, plugin_instance, type, and type_instance.", @@ -937,44 +699,33 @@ "type": "string" } }, - "id": "CreateCollectdTimeSeriesRequest", - "description": "The CreateCollectdTimeSeries request.", - "type": "object" + "id": "CreateCollectdTimeSeriesRequest" }, "ListMonitoredResourceDescriptorsResponse": { + "description": "The ListMonitoredResourcDescriptors response.", + "type": "object", "properties": { - "nextPageToken": { - "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", - "type": "string" - }, "resourceDescriptors": { "description": "The monitored resource descriptors that are available to this project and that match filter, if present.", "type": "array", "items": { "$ref": "MonitoredResourceDescriptor" } + }, + "nextPageToken": { + "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", + "type": "string" } }, - "id": "ListMonitoredResourceDescriptorsResponse", - "description": "The ListMonitoredResourcDescriptors response.", - "type": "object" + "id": "ListMonitoredResourceDescriptorsResponse" }, "TimeSeries": { "description": "A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.", "type": "object", "properties": { - "metric": { - "$ref": "Metric", - "description": "The associated metric. A fully-specified metric used to identify the time series." - }, - "points": { - "description": "The data points of this time series. When listing time series, the order of the points is specified by the list method.When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.", - "type": "array", - "items": { - "$ref": "Point" - } - }, "valueType": { + "description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.", + "type": "string", "enumDescriptions": [ "Do not use this default value.", "The value is a boolean. This value type can be used only if the metric kind is GAUGE.", @@ -992,13 +743,11 @@ "STRING", "DISTRIBUTION", "MONEY" - ], - "description": "The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.", - "type": "string" + ] }, "resource": { - "$ref": "MonitoredResource", - "description": "The associated resource. A fully-specified monitored resource used to identify the time series." + "description": "The associated resource. A fully-specified monitored resource used to identify the time series.", + "$ref": "MonitoredResource" }, "metricKind": { "enumDescriptions": [ @@ -1015,11 +764,24 @@ ], "description": "The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.", "type": "string" + }, + "metric": { + "description": "The associated metric. A fully-specified metric used to identify the time series.", + "$ref": "Metric" + }, + "points": { + "description": "The data points of this time series. When listing time series, the order of the points is specified by the list method.When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.", + "type": "array", + "items": { + "$ref": "Point" + } } }, "id": "TimeSeries" }, "CreateTimeSeriesRequest": { + "description": "The CreateTimeSeries request.", + "type": "object", "properties": { "timeSeries": { "description": "The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.", @@ -1029,18 +791,17 @@ } } }, - "id": "CreateTimeSeriesRequest", - "description": "The CreateTimeSeries request.", - "type": "object" + "id": "CreateTimeSeriesRequest" }, "Distribution": { + "id": "Distribution", "description": "Distribution contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets.The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths.Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the mean and sum_of_squared_deviation fields meaningless.", "type": "object", "properties": { "sumOfSquaredDeviation": { - "type": "number", "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is:\nSum[i=1..n]((x_i - mean)^2)\nKnuth, \"The Art of Computer Programming\", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is zero then this field must be zero.", - "format": "double" + "format": "double", + "type": "number" }, "range": { "$ref": "Range", @@ -1068,561 +829,800 @@ "description": "Required in the Stackdriver Monitoring API v3. Defines the histogram bucket boundaries.", "$ref": "BucketOptions" } - }, - "id": "Distribution" + } }, "MonitoredResource": { + "id": "MonitoredResource", "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type\": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n", "type": "object", "properties": { - "type": { - "type": "string", - "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\"." - }, "labels": { - "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".", - "type": "object", "additionalProperties": { "type": "string" - } - } - }, - "id": "MonitoredResource" - }, - "ListMetricDescriptorsResponse": { - "description": "The ListMetricDescriptors response.", - "type": "object", - "properties": { - "metricDescriptors": { - "description": "The metric descriptors that are available to the project and that match the value of filter, if present.", - "type": "array", - "items": { - "$ref": "MetricDescriptor" - } - }, - "nextPageToken": { - "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", - "type": "string" - } - }, - "id": "ListMetricDescriptorsResponse" - }, - "MonitoredResourceDescriptor": { - "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.", - "type": "object", - "properties": { - "name": { - "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\".", - "type": "string" - }, - "displayName": { - "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", - "type": "string" - }, - "description": { - "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", - "type": "string" - }, - "type": { - "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.", - "type": "string" - }, - "labels": { - "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".", - "type": "array", - "items": { - "$ref": "LabelDescriptor" - } - } - }, - "id": "MonitoredResourceDescriptor" - }, - "TypedValue": { - "description": "A single strongly-typed value.", - "type": "object", - "properties": { - "boolValue": { - "description": "A Boolean value: true or false.", - "type": "boolean" - }, - "stringValue": { - "description": "A variable-length string value.", - "type": "string" - }, - "doubleValue": { - "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately ±10\u003csup\u003e±300\u003c/sup\u003e and it has 16 significant digits of precision.", - "format": "double", - "type": "number" - }, - "int64Value": { - "description": "A 64-bit integer. Its range is approximately ±9.2x10\u003csup\u003e18\u003c/sup\u003e.", - "format": "int64", - "type": "string" - }, - "distributionValue": { - "description": "A distribution value.", - "$ref": "Distribution" - } - }, - "id": "TypedValue" - }, - "CollectdPayload": { - "id": "CollectdPayload", - "description": "A collection of data points sent from a collectd-based plugin. See the collectd documentation for more information.", - "type": "object", - "properties": { - "startTime": { - "type": "string", - "description": "The start time of the interval.", - "format": "google-datetime" - }, - "values": { - "description": "The measured values during this time interval. Each value must have a different dataSourceName.", - "type": "array", - "items": { - "$ref": "CollectdValue" - } - }, - "typeInstance": { - "description": "The measurement type instance. Example: \"used\".", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "$ref": "TypedValue" }, - "description": "The measurement metadata. Example: \"process_id\" -\u003e 12345", + "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Cloud SQL databases use the labels \"database_id\" and \"zone\".", "type": "object" }, "type": { - "type": "string", - "description": "The measurement type. Example: \"memory\"." - }, - "plugin": { - "description": "The name of the plugin. Example: \"disk\".", - "type": "string" - }, - "pluginInstance": { - "description": "The instance name of the plugin Example: \"hdcl\".", - "type": "string" - }, - "endTime": { - "description": "The end time of the interval.", - "format": "google-datetime", + "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL database is \"cloudsql_database\".", "type": "string" } } - }, - "Linear": { - "type": "object", - "properties": { - "width": { - "description": "Must be greater than 0.", - "format": "double", - "type": "number" - }, - "offset": { - "description": "Lower bound of the first bucket.", - "format": "double", - "type": "number" - }, - "numFiniteBuckets": { - "description": "Must be greater than 0.", - "format": "int32", - "type": "integer" - } - }, - "id": "Linear", - "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): offset + (width * i). Lower bound (1 \u003c= i \u003c N): offset + (width * (i - 1))." - }, - "Option": { - "type": "object", - "properties": { - "name": { - "description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For example, \"google.api.http\".", - "type": "string" + } + }, + "protocol": "rest", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "canonicalName": "Monitoring", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/monitoring.write": { + "description": "Publish metric data to your Google Cloud projects" }, - "value": { - "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - } - }, - "id": "Option", - "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc." - }, - "Empty": { - "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:\nservice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe JSON representation for Empty is empty JSON object {}.", - "type": "object", - "properties": {}, - "id": "Empty" - }, - "TimeInterval": { - "type": "object", - "properties": { - "endTime": { - "description": "Required. The end of the time interval.", - "format": "google-datetime", - "type": "string" + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" }, - "startTime": { - "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", - "format": "google-datetime", - "type": "string" + "https://www.googleapis.com/auth/monitoring.read": { + "description": "View monitoring data for all of your Google Cloud and third-party projects" + }, + "https://www.googleapis.com/auth/monitoring": { + "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects" } - }, - "id": "TimeInterval", - "description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time." - }, - "Explicit": { - "description": "Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): boundsi Lower bound (1 \u003c= i \u003c N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.", - "type": "object", - "properties": { - "bounds": { - "description": "The values must be monotonically increasing.", - "type": "array", - "items": { - "format": "double", - "type": "number" + } + } + }, + "rootUrl": "https://monitoring.googleapis.com/", + "ownerDomain": "google.com", + "name": "monitoring", + "batchPath": "batch", + "title": "Stackdriver Monitoring API", + "ownerName": "Google", + "resources": { + "projects": { + "resources": { + "groups": { + "methods": { + "update": { + "flatPath": "v3/projects/{projectsId}/groups/{groupsId}", + "path": "v3/{+name}", + "id": "monitoring.projects.groups.update", + "description": "Updates an existing group. You can change any group attributes except name.", + "request": { + "$ref": "Group" + }, + "response": { + "$ref": "Group" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring" + ], + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/groups/[^/]+$", + "location": "path", + "description": "Output only. The name of this group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically." + }, + "validateOnly": { + "location": "query", + "description": "If true, validate this request but do not update the existing group.", + "type": "boolean" + } + } + }, + "create": { + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Group" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring" + ], + "parameters": { + "name": { + "description": "The project in which to create the group. The format is \"projects/{project_id_or_number}\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + }, + "validateOnly": { + "type": "boolean", + "location": "query", + "description": "If true, validate this request but do not create the group." + } + }, + "flatPath": "v3/projects/{projectsId}/groups", + "id": "monitoring.projects.groups.create", + "path": "v3/{+name}/groups", + "description": "Creates a new group.", + "request": { + "$ref": "Group" + } + }, + "delete": { + "parameters": { + "name": { + "description": "The group to delete. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/groups/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring" + ], + "flatPath": "v3/projects/{projectsId}/groups/{groupsId}", + "path": "v3/{+name}", + "id": "monitoring.projects.groups.delete", + "description": "Deletes an existing group.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE" + }, + "list": { + "response": { + "$ref": "ListGroupsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "childrenOfGroup": { + "location": "query", + "description": "A group name: \"projects/{project_id_or_number}/groups/{group_id}\". Returns groups whose parentName field contains the group name. If no groups have this parent, the results are empty.", + "type": "string" + }, + "descendantsOfGroup": { + "description": "A group name: \"projects/{project_id_or_number}/groups/{group_id}\". Returns the descendants of the specified group. This is a superset of the results returned by the childrenOfGroup filter, and includes children-of-children, and so forth.", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "A positive number that is the maximum number of results to return.", + "format": "int32", + "type": "integer" + }, + "ancestorsOfGroup": { + "description": "A group name: \"projects/{project_id_or_number}/groups/{group_id}\". Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.", + "type": "string", + "location": "query" + }, + "name": { + "description": "The project whose groups are to be listed. The format is \"projects/{project_id_or_number}\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read" + ], + "flatPath": "v3/projects/{projectsId}/groups", + "path": "v3/{+name}/groups", + "id": "monitoring.projects.groups.list", + "description": "Lists the existing groups." + }, + "get": { + "response": { + "$ref": "Group" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/groups/[^/]+$", + "location": "path", + "description": "The group to retrieve. The format is \"projects/{project_id_or_number}/groups/{group_id}\"." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read" + ], + "flatPath": "v3/projects/{projectsId}/groups/{groupsId}", + "path": "v3/{+name}", + "id": "monitoring.projects.groups.get", + "description": "Gets a single group." + } + }, + "resources": { + "members": { + "methods": { + "list": { + "path": "v3/{+name}/members", + "id": "monitoring.projects.groups.members.list", + "description": "Lists the monitored resources that are members of a group.", + "response": { + "$ref": "ListGroupMembersResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "interval.endTime": { + "type": "string", + "location": "query", + "description": "Required. The end of the time interval.", + "format": "google-datetime" + }, + "filter": { + "location": "query", + "description": "An optional list filter describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter:\nresource.type = \"gce_instance\"\n", + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", + "type": "string" + }, + "pageSize": { + "description": "A positive number that is the maximum number of results to return.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "interval.startTime": { + "location": "query", + "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "location": "path", + "description": "The group whose members are listed. The format is \"projects/{project_id_or_number}/groups/{group_id}\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/groups/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read" + ], + "flatPath": "v3/projects/{projectsId}/groups/{groupsId}/members" + } + } + } } - } - }, - "id": "Explicit" - }, - "Exponential": { - "type": "object", - "properties": { - "numFiniteBuckets": { - "type": "integer", - "description": "Must be greater than 0.", - "format": "int32" - }, - "growthFactor": { - "description": "Must be greater than 1.", - "format": "double", - "type": "number" - }, - "scale": { - "description": "Must be greater than 0.", - "format": "double", - "type": "number" - } - }, - "id": "Exponential", - "description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 \u003c= i \u003c N-1): scale * (growth_factor ^ i). Lower bound (1 \u003c= i \u003c N): scale * (growth_factor ^ (i - 1))." - }, - "Point": { - "type": "object", - "properties": { - "value": { - "description": "The value of the data point.", - "$ref": "TypedValue" - }, - "interval": { - "$ref": "TimeInterval", - "description": "The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." - } - }, - "id": "Point", - "description": "A single data point in a time series." - }, - "Metric": { - "description": "A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.", - "type": "object", - "properties": { - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.", - "type": "object" - }, - "type": { - "description": "An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.", - "type": "string" - } - }, - "id": "Metric" - }, - "Field": { - "id": "Field", - "description": "A single field of a message type.", - "type": "object", - "properties": { - "jsonName": { - "description": "The field JSON name.", - "type": "string" }, - "kind": { - "description": "The field type.", - "type": "string", - "enumDescriptions": [ - "Field type unknown.", - "Field type double.", - "Field type float.", - "Field type int64.", - "Field type uint64.", - "Field type int32.", - "Field type fixed64.", - "Field type fixed32.", - "Field type bool.", - "Field type string.", - "Field type group. Proto2 syntax only, and deprecated.", - "Field type message.", - "Field type bytes.", - "Field type uint32.", - "Field type enum.", - "Field type sfixed32.", - "Field type sfixed64.", - "Field type sint32.", - "Field type sint64." - ], - "enum": [ - "TYPE_UNKNOWN", - "TYPE_DOUBLE", - "TYPE_FLOAT", - "TYPE_INT64", - "TYPE_UINT64", - "TYPE_INT32", - "TYPE_FIXED64", - "TYPE_FIXED32", - "TYPE_BOOL", - "TYPE_STRING", - "TYPE_GROUP", - "TYPE_MESSAGE", - "TYPE_BYTES", - "TYPE_UINT32", - "TYPE_ENUM", - "TYPE_SFIXED32", - "TYPE_SFIXED64", - "TYPE_SINT32", - "TYPE_SINT64" - ] + "collectdTimeSeries": { + "methods": { + "create": { + "request": { + "$ref": "CreateCollectdTimeSeriesRequest" + }, + "description": "Stackdriver Monitoring Agent only: Creates a new time series.\u003caside class=\"caution\"\u003eThis method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.\u003c/aside\u003e", + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "name": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "The project in which to create the time series. The format is \"projects/PROJECT_ID_OR_NUMBER\".", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.write" + ], + "flatPath": "v3/projects/{projectsId}/collectdTimeSeries", + "id": "monitoring.projects.collectdTimeSeries.create", + "path": "v3/{+name}/collectdTimeSeries" + } + } }, - "options": { - "description": "The protocol buffer options.", - "type": "array", - "items": { - "$ref": "Option" + "timeSeries": { + "methods": { + "list": { + "id": "monitoring.projects.timeSeries.list", + "path": "v3/{+name}/timeSeries", + "description": "Lists time series that match a filter. This method does not require a Stackdriver account.", + "httpMethod": "GET", + "response": { + "$ref": "ListTimeSeriesResponse" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "aggregation.groupByFields": { + "location": "query", + "description": "The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.", + "type": "string", + "repeated": true + }, + "name": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", + "required": true, + "type": "string" + }, + "interval.endTime": { + "description": "Required. The end of the time interval.", + "format": "google-datetime", + "type": "string", + "location": "query" + }, + "aggregation.alignmentPeriod": { + "location": "query", + "description": "The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.", + "format": "google-duration", + "type": "string" + }, + "pageSize": { + "type": "integer", + "location": "query", + "description": "A positive number that is the maximum number of results to return. When view field sets to FULL, it limits the number of Points server will return; if view field is HEADERS, it limits the number of TimeSeries server will return.", + "format": "int32" + }, + "orderBy": { + "location": "query", + "description": "Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.", + "type": "string" + }, + "aggregation.crossSeriesReducer": { + "type": "string", + "location": "query", + "enum": [ + "REDUCE_NONE", + "REDUCE_MEAN", + "REDUCE_MIN", + "REDUCE_MAX", + "REDUCE_SUM", + "REDUCE_STDDEV", + "REDUCE_COUNT", + "REDUCE_COUNT_TRUE", + "REDUCE_FRACTION_TRUE", + "REDUCE_PERCENTILE_99", + "REDUCE_PERCENTILE_95", + "REDUCE_PERCENTILE_50", + "REDUCE_PERCENTILE_05" + ], + "description": "The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned." + }, + "filter": { + "location": "query", + "description": "A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:\nmetric.type = \"compute.googleapis.com/instance/cpu/usage_time\" AND\n metric.label.instance_name = \"my-instance-name\"\n", + "type": "string" + }, + "aggregation.perSeriesAligner": { + "location": "query", + "enum": [ + "ALIGN_NONE", + "ALIGN_DELTA", + "ALIGN_RATE", + "ALIGN_INTERPOLATE", + "ALIGN_NEXT_OLDER", + "ALIGN_MIN", + "ALIGN_MAX", + "ALIGN_MEAN", + "ALIGN_COUNT", + "ALIGN_SUM", + "ALIGN_STDDEV", + "ALIGN_COUNT_TRUE", + "ALIGN_FRACTION_TRUE", + "ALIGN_PERCENTILE_99", + "ALIGN_PERCENTILE_95", + "ALIGN_PERCENTILE_50", + "ALIGN_PERCENTILE_05" + ], + "description": "The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.", + "type": "string" + }, + "pageToken": { + "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", + "type": "string", + "location": "query" + }, + "interval.startTime": { + "location": "query", + "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.", + "format": "google-datetime", + "type": "string" + }, + "view": { + "description": "Specifies which information is returned about the time series.", + "type": "string", + "location": "query", + "enum": [ + "FULL", + "HEADERS" + ] + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read" + ], + "flatPath": "v3/projects/{projectsId}/timeSeries" + }, + "create": { + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "name": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.write" + ], + "flatPath": "v3/projects/{projectsId}/timeSeries", + "id": "monitoring.projects.timeSeries.create", + "path": "v3/{+name}/timeSeries", + "request": { + "$ref": "CreateTimeSeriesRequest" + }, + "description": "Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response." + } } }, - "oneofIndex": { - "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", - "format": "int32", - "type": "integer" - }, - "cardinality": { - "description": "The field cardinality.", - "type": "string", - "enumDescriptions": [ - "For fields with unknown cardinality.", - "For optional fields.", - "For required fields. Proto2 syntax only.", - "For repeated fields." - ], - "enum": [ - "CARDINALITY_UNKNOWN", - "CARDINALITY_OPTIONAL", - "CARDINALITY_REQUIRED", - "CARDINALITY_REPEATED" - ] - }, - "packed": { - "description": "Whether to use alternative packed wire representation.", - "type": "boolean" - }, - "defaultValue": { - "description": "The string value of the default value of this field. Proto2 syntax only.", - "type": "string" - }, - "name": { - "type": "string", - "description": "The field name." - }, - "typeUrl": { - "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Timestamp\".", - "type": "string" + "metricDescriptors": { + "methods": { + "delete": { + "description": "Deletes a metric descriptor. Only user-created custom metrics can be deleted.", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "httpMethod": "DELETE", + "parameters": { + "name": { + "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example of {metric_id} is: \"custom.googleapis.com/my_test_metric\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/metricDescriptors/.+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring" + ], + "flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}", + "id": "monitoring.projects.metricDescriptors.delete", + "path": "v3/{+name}" + }, + "list": { + "flatPath": "v3/projects/{projectsId}/metricDescriptors", + "id": "monitoring.projects.metricDescriptors.list", + "path": "v3/{+name}/metricDescriptors", + "description": "Lists metric descriptors that match a filter. This method does not require a Stackdriver account.", + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "ListMetricDescriptorsResponse" + }, + "parameters": { + "filter": { + "description": "If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:\nmetric.type = starts_with(\"custom.googleapis.com/\")\n", + "type": "string", + "location": "query" + }, + "name": { + "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + }, + "pageToken": { + "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "A positive number that is the maximum number of results to return.", + "format": "int32", + "type": "integer" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read", + "https://www.googleapis.com/auth/monitoring.write" + ] + }, + "get": { + "description": "Gets a single metric descriptor. This method does not require a Stackdriver account.", + "response": { + "$ref": "MetricDescriptor" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "location": "path", + "description": "The metric descriptor on which to execute the request. The format is \"projects/{project_id_or_number}/metricDescriptors/{metric_id}\". An example value of {metric_id} is \"compute.googleapis.com/instance/disk/read_bytes_count\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/metricDescriptors/.+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read", + "https://www.googleapis.com/auth/monitoring.write" + ], + "flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}", + "path": "v3/{+name}", + "id": "monitoring.projects.metricDescriptors.get" + }, + "create": { + "id": "monitoring.projects.metricDescriptors.create", + "path": "v3/{+name}/metricDescriptors", + "description": "Creates a new metric descriptor. User-created metric descriptors define custom metrics.", + "request": { + "$ref": "MetricDescriptor" + }, + "httpMethod": "POST", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "MetricDescriptor" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.write" + ], + "parameters": { + "name": { + "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\".", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "flatPath": "v3/projects/{projectsId}/metricDescriptors" + } + } }, - "number": { - "description": "The field number.", - "format": "int32", - "type": "integer" + "monitoredResourceDescriptors": { + "methods": { + "list": { + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "ListMonitoredResourceDescriptorsResponse" + }, + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "The project on which to execute the request. The format is \"projects/{project_id_or_number}\"." + }, + "pageToken": { + "location": "query", + "description": "If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.", + "type": "string" + }, + "pageSize": { + "description": "A positive number that is the maximum number of results to return.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "filter": { + "location": "query", + "description": "An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label:\nresource.type = starts_with(\"gce_\") AND resource.label:id\n", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read", + "https://www.googleapis.com/auth/monitoring.write" + ], + "flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors", + "id": "monitoring.projects.monitoredResourceDescriptors.list", + "path": "v3/{+name}/monitoredResourceDescriptors", + "description": "Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account." + }, + "get": { + "description": "Gets a single monitored resource descriptor. This method does not require a Stackdriver account.", + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "MonitoredResourceDescriptor" + }, + "parameters": { + "name": { + "location": "path", + "description": "The monitored resource descriptor to get. The format is \"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}\". The {resource_type} is a predefined type, such as cloudsql_database.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/monitoredResourceDescriptors/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read", + "https://www.googleapis.com/auth/monitoring.write" + ], + "flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors/{monitoredResourceDescriptorsId}", + "id": "monitoring.projects.monitoredResourceDescriptors.get", + "path": "v3/{+name}" + } + } } } + } + }, + "parameters": { + "key": { + "location": "query", + "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.", + "type": "string" }, - "ListTimeSeriesResponse": { - "description": "The ListTimeSeries response.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.", - "type": "string" - }, - "timeSeries": { - "description": "One or more time series that match the filter included in the request.", - "type": "array", - "items": { - "$ref": "TimeSeries" - } - } - }, - "id": "ListTimeSeriesResponse" + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" }, - "LabelDescriptor": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "The label key." - }, - "description": { - "description": "A human-readable description for the label.", - "type": "string" - }, - "valueType": { - "enum": [ - "STRING", - "BOOL", - "INT64" - ], - "description": "The type of data that can be assigned to the label.", - "type": "string", - "enumDescriptions": [ - "A variable-length string. This is the default.", - "Boolean; true or false.", - "A 64-bit signed integer." - ] - } - }, - "id": "LabelDescriptor", - "description": "A description of a label." + "quotaUser": { + "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.", + "type": "string", + "location": "query" }, - "Group": { - "description": "The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.Groups can be nested in parent-child hierarchies. The parentName field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.For example, consider an infrastructure running a set of instances with two user-defined tags: \"environment\" and \"role\". A parent group has a filter, environment=\"production\". A child of that parent group has a filter, role=\"transcoder\". The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role and are in the production environment.The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors.", - "type": "object", - "properties": { - "isCluster": { - "description": "If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.", - "type": "boolean" - }, - "filter": { - "description": "The filter used to determine which monitored resources belong to this group.", - "type": "string" - }, - "name": { - "description": "Output only. The name of this group. The format is \"projects/{project_id_or_number}/groups/{group_id}\". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.", - "type": "string" - }, - "parentName": { - "description": "The name of the group's parent, if it has one. The format is \"projects/{project_id_or_number}/groups/{group_id}\". For groups with no parent, parentName is the empty string, \"\".", - "type": "string" - }, - "displayName": { - "description": "A user-assigned name for this group, used only for display purposes.", - "type": "string" - } - }, - "id": "Group" + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" }, - "Type": { - "properties": { - "options": { - "description": "The protocol buffer options.", - "type": "array", - "items": { - "$ref": "Option" - } - }, - "fields": { - "description": "The list of fields.", - "type": "array", - "items": { - "$ref": "Field" - } - }, - "name": { - "description": "The fully qualified message name.", - "type": "string" - }, - "oneofs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of types appearing in oneof definitions in this type." - }, - "sourceContext": { - "$ref": "SourceContext", - "description": "The source context." - }, - "syntax": { - "type": "string", - "enumDescriptions": [ - "Syntax proto2.", - "Syntax proto3." - ], - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ], - "description": "The source syntax." - } - }, - "id": "Type", - "description": "A protocol buffer message type.", - "type": "object" + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" }, - "BucketOptions": { - "properties": { - "exponentialBuckets": { - "description": "The exponential buckets.", - "$ref": "Exponential" - }, - "linearBuckets": { - "$ref": "Linear", - "description": "The linear bucket." - }, - "explicitBuckets": { - "description": "The explicit buckets.", - "$ref": "Explicit" - } - }, - "id": "BucketOptions", - "description": "BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.", - "type": "object" - } - }, - "protocol": "rest", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "canonicalName": "Monitoring", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/monitoring.write": { - "description": "Publish metric data to your Google Cloud projects" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/monitoring.read": { - "description": "View monitoring data for all of your Google Cloud and third-party projects" - }, - "https://www.googleapis.com/auth/monitoring": { - "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects" - } - } + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "alt": { + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" } }, - "rootUrl": "https://monitoring.googleapis.com/", - "ownerDomain": "google.com", - "name": "monitoring", - "batchPath": "batch", - "title": "Stackdriver Monitoring API", - "ownerName": "Google" + "version": "v3", + "baseUrl": "https://monitoring.googleapis.com/", + "servicePath": "", + "kind": "discovery#restDescription", + "description": "Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.", + "basePath": "", + "revision": "20170327", + "documentationLink": "https://cloud.google.com/monitoring/api/", + "id": "monitoring:v3", + "discoveryVersion": "v1", + "version_module": "True" } diff --git a/DiscoveryJson/partners_v2.json b/DiscoveryJson/partners_v2.json index 5def5da144..57caab2737 100644 --- a/DiscoveryJson/partners_v2.json +++ b/DiscoveryJson/partners_v2.json @@ -1,133 +1,35 @@ { + "version": "v2", + "baseUrl": "https://partners.googleapis.com/", + "canonicalName": "Partners", + "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.", + "kind": "discovery#restDescription", + "servicePath": "", + "rootUrl": "https://partners.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "partners", + "batchPath": "batch", + "id": "partners:v2", + "documentationLink": "https://developers.google.com/partners/", + "revision": "20170324", + "title": "Google Partners API", + "ownerName": "Google", + "discoveryVersion": "v1", "version_module": "True", "resources": { - "users": { + "leads": { "methods": { - "createCompanyRelation": { - "id": "partners.users.createCompanyRelation", - "path": "v2/users/{userId}/companyRelation", - "request": { - "$ref": "CompanyRelation" - }, - "description": "Creates a user's company relation. Affiliates the user to a company.", - "httpMethod": "PUT", - "parameterOrder": [ - "userId" - ], - "response": { - "$ref": "CompanyRelation" - }, - "parameters": { - "requestMetadata.trafficSource.trafficSubId": { - "location": "query", - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string" - }, - "userId": { - "location": "path", - "description": "The ID of the user. Can be set to \u003ccode\u003eme\u003c/code\u003e to mean\nthe currently authenticated user.", - "required": true, - "type": "string" - }, - "requestMetadata.userOverrides.userId": { - "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", - "type": "string" - }, - "requestMetadata.partnersSessionId": { - "location": "query", - "description": "Google Partners session ID.", - "type": "string" - }, - "requestMetadata.trafficSource.trafficSourceId": { - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string", - "location": "query" - }, - "requestMetadata.locale": { - "location": "query", - "description": "Locale to use for the current request.", - "type": "string" - }, - "requestMetadata.userOverrides.ipAddress": { - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string", - "location": "query" - }, - "requestMetadata.experimentIds": { - "type": "string", - "repeated": true, - "location": "query", - "description": "Experiment IDs the current request belongs to." - } - }, - "flatPath": "v2/users/{userId}/companyRelation" - }, - "deleteCompanyRelation": { - "path": "v2/users/{userId}/companyRelation", - "id": "partners.users.deleteCompanyRelation", - "description": "Deletes a user's company relation. Unaffiliaites the user from a company.", - "response": { - "$ref": "Empty" - }, - "httpMethod": "DELETE", - "parameterOrder": [ - "userId" - ], - "parameters": { - "requestMetadata.trafficSource.trafficSubId": { - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string", - "location": "query" - }, - "userId": { - "location": "path", - "description": "The ID of the user. Can be set to \u003ccode\u003eme\u003c/code\u003e to mean\nthe currently authenticated user.", - "required": true, - "type": "string" - }, - "requestMetadata.userOverrides.userId": { - "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", - "type": "string" - }, - "requestMetadata.partnersSessionId": { - "location": "query", - "description": "Google Partners session ID.", - "type": "string" - }, - "requestMetadata.trafficSource.trafficSourceId": { - "type": "string", - "location": "query", - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." - }, - "requestMetadata.locale": { - "type": "string", - "location": "query", - "description": "Locale to use for the current request." - }, - "requestMetadata.userOverrides.ipAddress": { - "location": "query", - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string" - }, - "requestMetadata.experimentIds": { - "repeated": true, - "location": "query", - "description": "Experiment IDs the current request belongs to.", - "type": "string" - } - }, - "flatPath": "v2/users/{userId}/companyRelation" - }, - "get": { + "list": { + "flatPath": "v2/leads", + "id": "partners.leads.list", + "path": "v2/leads", + "description": "Lists advertiser leads for a user's associated company.\nShould only be called within the context of an authorized logged in user.", + "httpMethod": "GET", + "parameterOrder": [], "response": { - "$ref": "User" + "$ref": "ListLeadsResponse" }, - "parameterOrder": [ - "userId" - ], - "httpMethod": "GET", "parameters": { "requestMetadata.experimentIds": { "location": "query", @@ -140,75 +42,64 @@ "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, - "userId": { - "description": "Identifier of the user. Can be set to \u003ccode\u003eme\u003c/code\u003e to mean the currently\nauthenticated user.", - "required": true, + "orderBy": { + "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported", "type": "string", - "location": "path" + "location": "query" }, "requestMetadata.partnersSessionId": { + "location": "query", "description": "Google Partners session ID.", - "type": "string", - "location": "query" + "type": "string" }, "requestMetadata.userOverrides.userId": { "location": "query", "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string" }, - "userView": { - "enum": [ - "BASIC", - "PROFILE", - "PUBLIC_PROFILE" - ], - "description": "Specifies what parts of the user information to return.", + "pageToken": { + "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListLeadsResponse.next_page_token`\nreturned from the previous call to\nListLeads.", "type": "string", "location": "query" }, + "pageSize": { + "location": "query", + "description": "Requested page size. Server may return fewer leads than requested.\nIf unspecified, server picks an appropriate default.", + "format": "int32", + "type": "integer" + }, "requestMetadata.trafficSource.trafficSourceId": { + "location": "query", "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string", - "location": "query" + "type": "string" }, "requestMetadata.locale": { + "location": "query", "description": "Locale to use for the current request.", - "type": "string", - "location": "query" + "type": "string" }, "requestMetadata.userOverrides.ipAddress": { "location": "query", "description": "IP address to use instead of the user's geo-located IP address.", "type": "string" } - }, - "flatPath": "v2/users/{userId}", - "path": "v2/users/{userId}", - "id": "partners.users.get", - "description": "Gets a user." - }, - "updateProfile": { - "id": "partners.users.updateProfile", - "path": "v2/users/profile", - "request": { - "$ref": "UserProfile" - }, - "description": "Updates a user's profile. A user can only update their own profile and\nshould only be called within the context of a logged in user.", - "httpMethod": "PATCH", + } + } + } + }, + "offers": { + "methods": { + "list": { + "httpMethod": "GET", "parameterOrder": [], "response": { - "$ref": "UserProfile" + "$ref": "ListOffersResponse" }, "parameters": { - "requestMetadata.trafficSource.trafficSourceId": { - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string", - "location": "query" - }, "requestMetadata.locale": { + "location": "query", "description": "Locale to use for the current request.", - "type": "string", - "location": "query" + "type": "string" }, "requestMetadata.userOverrides.ipAddress": { "location": "query", @@ -216,13 +107,18 @@ "type": "string" }, "requestMetadata.experimentIds": { - "repeated": true, - "location": "query", "description": "Experiment IDs the current request belongs to.", - "type": "string" + "type": "string", + "repeated": true, + "location": "query" }, "requestMetadata.trafficSource.trafficSubId": { - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", + "location": "query", + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." + }, + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", "type": "string", "location": "query" }, @@ -231,45 +127,113 @@ "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string" }, - "requestMetadata.partnersSessionId": { - "type": "string", - "location": "query", - "description": "Google Partners session ID." - } - }, - "flatPath": "v2/users/profile" - } - } - }, - "companies": { - "methods": { - "get": { - "id": "partners.companies.get", - "path": "v2/companies/{companyId}", - "description": "Gets a company.", - "httpMethod": "GET", - "parameterOrder": [ - "companyId" - ], - "response": { - "$ref": "GetCompanyResponse" - }, - "parameters": { "requestMetadata.trafficSource.trafficSourceId": { "location": "query", "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" - }, - "requestMetadata.userOverrides.ipAddress": { - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string", - "location": "query" - }, - "companyId": { - "description": "The ID of the company to retrieve.", - "required": true, - "type": "string", - "location": "path" + } + }, + "flatPath": "v2/offers", + "id": "partners.offers.list", + "path": "v2/offers", + "description": "Lists the Offers available for the current user" + } + }, + "resources": { + "history": { + "methods": { + "list": { + "id": "partners.offers.history.list", + "path": "v2/offers/history", + "description": "Lists the Historical Offers for the current user (or user's entire company)", + "httpMethod": "GET", + "response": { + "$ref": "ListOffersHistoryResponse" + }, + "parameterOrder": [], + "parameters": { + "requestMetadata.userOverrides.userId": { + "type": "string", + "location": "query", + "description": "Logged-in user ID to impersonate instead of the user's ID." + }, + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", + "type": "string", + "location": "query" + }, + "pageToken": { + "location": "query", + "description": "Token to retrieve a specific page.", + "type": "string" + }, + "pageSize": { + "location": "query", + "description": "Maximum number of rows to return per page.", + "format": "int32", + "type": "integer" + }, + "requestMetadata.trafficSource.trafficSourceId": { + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", + "location": "query" + }, + "requestMetadata.locale": { + "description": "Locale to use for the current request.", + "type": "string", + "location": "query" + }, + "requestMetadata.userOverrides.ipAddress": { + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string", + "location": "query" + }, + "entireCompany": { + "description": "if true, show history for the entire company. Requires user to be admin.", + "type": "boolean", + "location": "query" + }, + "requestMetadata.experimentIds": { + "location": "query", + "description": "Experiment IDs the current request belongs to.", + "type": "string", + "repeated": true + }, + "orderBy": { + "location": "query", + "description": "Comma-separated list of fields to order by, e.g.: \"foo,bar,baz\".\nUse \"foo desc\" to sort descending.\nList of valid field names is: name, offer_code, expiration_time, status,\n last_modified_time, sender_name, creation_time, country_code,\n offer_type.", + "type": "string" + }, + "requestMetadata.trafficSource.trafficSubId": { + "location": "query", + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string" + } + }, + "flatPath": "v2/offers/history" + } + } + } + } + }, + "userStates": { + "methods": { + "list": { + "response": { + "$ref": "ListUserStatesResponse" + }, + "parameterOrder": [], + "httpMethod": "GET", + "parameters": { + "requestMetadata.locale": { + "description": "Locale to use for the current request.", + "type": "string", + "location": "query" + }, + "requestMetadata.userOverrides.ipAddress": { + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string", + "location": "query" }, "requestMetadata.experimentIds": { "repeated": true, @@ -277,342 +241,294 @@ "description": "Experiment IDs the current request belongs to.", "type": "string" }, - "currencyCode": { - "description": "If the company's budget is in a different currency code than this one, then\nthe converted budget is converted to this currency code.", - "type": "string", - "location": "query" - }, - "orderBy": { - "description": "How to order addresses within the returned company. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.", - "type": "string", - "location": "query" - }, "requestMetadata.trafficSource.trafficSubId": { "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string", "location": "query" }, "requestMetadata.userOverrides.userId": { - "type": "string", "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID." + "description": "Logged-in user ID to impersonate instead of the user's ID.", + "type": "string" }, "requestMetadata.partnersSessionId": { - "location": "query", "description": "Google Partners session ID.", - "type": "string" - }, - "view": { - "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", - "type": "string", - "location": "query", - "enum": [ - "COMPANY_VIEW_UNSPECIFIED", - "CV_GOOGLE_PARTNER_SEARCH" - ] - }, - "address": { - "description": "The address to use for sorting the company's addresses by proximity.\nIf not given, the geo-located address of the request is used.\nUsed when order_by is set.", "type": "string", "location": "query" }, - "requestMetadata.locale": { + "requestMetadata.trafficSource.trafficSourceId": { "location": "query", - "description": "Locale to use for the current request.", + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" } }, - "flatPath": "v2/companies/{companyId}" - }, + "flatPath": "v2/userStates", + "path": "v2/userStates", + "id": "partners.userStates.list", + "description": "Lists states for current user." + } + } + }, + "analytics": { + "methods": { "list": { - "flatPath": "v2/companies", - "id": "partners.companies.list", - "path": "v2/companies", - "description": "Lists companies.", + "flatPath": "v2/analytics", + "id": "partners.analytics.list", + "path": "v2/analytics", + "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in user.", "httpMethod": "GET", - "parameterOrder": [], "response": { - "$ref": "ListCompaniesResponse" + "$ref": "ListAnalyticsResponse" }, + "parameterOrder": [], "parameters": { - "requestMetadata.partnersSessionId": { + "requestMetadata.trafficSource.trafficSubId": { "location": "query", - "description": "Google Partners session ID.", + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, - "pageToken": { + "requestMetadata.partnersSessionId": { "location": "query", - "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListCompaniesResponse.next_page_token`\nreturned from the previous call to\nListCompanies.", + "description": "Google Partners session ID.", "type": "string" }, - "companyName": { + "requestMetadata.userOverrides.userId": { + "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string", - "location": "query", - "description": "Company name to search for." + "location": "query" }, - "industries": { - "description": "List of industries the company can help with.", + "pageToken": { + "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListAnalyticsResponse.next_page_token`\nreturned from the previous call to\nListAnalytics.\nWill be a date string in `YYYY-MM-DD` format representing the end date\nof the date range of results to return.\nIf unspecified or set to \"\", default value is the current date.", "type": "string", - "repeated": true, - "location": "query", - "enum": [ - "INDUSTRY_UNSPECIFIED", - "I_AUTOMOTIVE", - "I_BUSINESS_TO_BUSINESS", - "I_CONSUMER_PACKAGED_GOODS", - "I_EDUCATION", - "I_FINANCE", - "I_HEALTHCARE", - "I_MEDIA_AND_ENTERTAINMENT", - "I_RETAIL", - "I_TECHNOLOGY", - "I_TRAVEL" - ] + "location": "query" }, - "websiteUrl": { + "pageSize": { + "description": "Requested page size. Server may return fewer analytics than requested.\nIf unspecified or set to 0, default value is 30.\nSpecifies the number of days in the date range when querying analytics.\nThe `page_token` represents the end date of the date range\nand the start date is calculated using the `page_size` as the number\nof days BEFORE the end date.\nMust be a non-negative integer.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "requestMetadata.trafficSource.trafficSourceId": { "location": "query", - "description": "Website URL that will help to find a better matched company.\n.", + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, - "gpsMotivations": { - "repeated": true, + "requestMetadata.locale": { "location": "query", - "enum": [ - "GPS_MOTIVATION_UNSPECIFIED", - "GPSM_HELP_WITH_ADVERTISING", - "GPSM_HELP_WITH_WEBSITE", - "GPSM_NO_WEBSITE" - ], - "description": "List of reasons for using Google Partner Search to get companies.", + "description": "Locale to use for the current request.", "type": "string" }, - "languageCodes": { - "description": "List of language codes that company can support. Only primary language\nsubtags are accepted as defined by\n\u003ca href=\"https://tools.ietf.org/html/bcp47\"\u003eBCP 47\u003c/a\u003e\n(IETF BCP 47, \"Tags for Identifying Languages\").", + "requestMetadata.userOverrides.ipAddress": { "type": "string", - "repeated": true, - "location": "query" + "location": "query", + "description": "IP address to use instead of the user's geo-located IP address." }, - "pageSize": { - "description": "Requested page size. Server may return fewer companies than requested.\nIf unspecified, server picks an appropriate default.", - "format": "int32", - "type": "integer", + "requestMetadata.experimentIds": { + "type": "string", + "repeated": true, + "location": "query", + "description": "Experiment IDs the current request belongs to." + } + } + } + } + }, + "v2": { + "methods": { + "updateCompanies": { + "request": { + "$ref": "Company" + }, + "description": "Update company.\nShould only be called within the context of an authorized logged in user.", + "response": { + "$ref": "Company" + }, + "parameterOrder": [], + "httpMethod": "PATCH", + "parameters": { + "requestMetadata.userOverrides.userId": { + "description": "Logged-in user ID to impersonate instead of the user's ID.", + "type": "string", "location": "query" }, - "requestMetadata.userOverrides.ipAddress": { - "description": "IP address to use instead of the user's geo-located IP address.", + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", "type": "string", "location": "query" }, - "requestMetadata.experimentIds": { - "description": "Experiment IDs the current request belongs to.", + "requestMetadata.trafficSource.trafficSourceId": { + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string", - "repeated": true, "location": "query" }, - "orderBy": { - "description": "How to order addresses within the returned companies. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.", + "requestMetadata.locale": { + "description": "Locale to use for the current request.", "type": "string", "location": "query" }, - "specializations": { + "requestMetadata.userOverrides.ipAddress": { "location": "query", - "enum": [ - "BADGE_SPECIALIZATION_UNKNOWN", - "BADGE_SPECIALIZATION_ADWORDS_SEARCH", - "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", - "BADGE_SPECIALIZATION_ADWORDS_MOBILE", - "BADGE_SPECIALIZATION_ADWORDS_VIDEO", - "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" - ], - "description": "List of specializations that the returned agencies should provide. If this\nis not empty, any returned agency must have at least one of these\nspecializations, or one of the services in the \"services\" field.", - "type": "string", - "repeated": true - }, - "maxMonthlyBudget.currencyCode": { - "location": "query", - "description": "The 3-letter currency code defined in ISO 4217.", + "description": "IP address to use instead of the user's geo-located IP address.", "type": "string" }, - "minMonthlyBudget.currencyCode": { + "updateMask": { "location": "query", - "description": "The 3-letter currency code defined in ISO 4217.", + "description": "Standard field mask for the set of fields to be updated.\nRequired with at least 1 value in FieldMask's paths.", + "format": "google-fieldmask", "type": "string" }, - "requestMetadata.userOverrides.userId": { + "requestMetadata.experimentIds": { + "description": "Experiment IDs the current request belongs to.", + "type": "string", + "repeated": true, + "location": "query" + }, + "requestMetadata.trafficSource.trafficSubId": { "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" + } + }, + "flatPath": "v2/companies", + "path": "v2/companies", + "id": "partners.updateCompanies" + }, + "getPartnersstatus": { + "description": "Gets Partners Status of the logged in user's agency.\nShould only be called if the logged in user is the admin of the agency.", + "httpMethod": "GET", + "parameterOrder": [], + "response": { + "$ref": "GetPartnersStatusResponse" + }, + "parameters": { + "requestMetadata.experimentIds": { + "location": "query", + "description": "Experiment IDs the current request belongs to.", + "type": "string", + "repeated": true }, - "view": { - "description": "The view of the `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", + "requestMetadata.trafficSource.trafficSubId": { + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string", - "location": "query", - "enum": [ - "COMPANY_VIEW_UNSPECIFIED", - "CV_GOOGLE_PARTNER_SEARCH" - ] + "location": "query" }, - "address": { + "requestMetadata.userOverrides.userId": { "location": "query", - "description": "The address to use when searching for companies.\nIf not given, the geo-located address of the request is used.", + "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string" }, - "requestMetadata.locale": { - "description": "Locale to use for the current request.", + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", "type": "string", "location": "query" }, - "minMonthlyBudget.units": { - "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", - "format": "int64", + "requestMetadata.trafficSource.trafficSourceId": { + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string", "location": "query" }, - "maxMonthlyBudget.nanos": { - "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer", + "requestMetadata.locale": { + "description": "Locale to use for the current request.", + "type": "string", "location": "query" }, - "services": { + "requestMetadata.userOverrides.ipAddress": { "location": "query", - "enum": [ - "SERVICE_UNSPECIFIED", - "S_ADVANCED_ADWORDS_SUPPORT", - "S_ADVERTISING_ON_GOOGLE", - "S_AN_ENHANCED_WEBSITE", - "S_AN_ONLINE_MARKETING_PLAN", - "S_MOBILE_AND_VIDEO_ADS", - "S_MOBILE_WEBSITE_SERVICES" - ], - "description": "List of services that the returned agencies should provide. If this is\nnot empty, any returned agency must have at least one of these services,\nor one of the specializations in the \"specializations\" field.", - "type": "string", - "repeated": true - }, - "maxMonthlyBudget.units": { - "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", - "format": "int64", + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string" + } + }, + "flatPath": "v2/partnersstatus", + "id": "partners.getPartnersstatus", + "path": "v2/partnersstatus" + }, + "updateLeads": { + "flatPath": "v2/leads", + "id": "partners.updateLeads", + "path": "v2/leads", + "request": { + "$ref": "Lead" + }, + "description": "Updates the specified lead.", + "httpMethod": "PATCH", + "parameterOrder": [], + "response": { + "$ref": "Lead" + }, + "parameters": { + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", "type": "string", "location": "query" }, + "requestMetadata.userOverrides.userId": { + "location": "query", + "description": "Logged-in user ID to impersonate instead of the user's ID.", + "type": "string" + }, "requestMetadata.trafficSource.trafficSourceId": { "location": "query", "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, - "requestMetadata.trafficSource.trafficSubId": { - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "requestMetadata.locale": { + "location": "query", + "description": "Locale to use for the current request.", + "type": "string" + }, + "requestMetadata.userOverrides.ipAddress": { + "location": "query", + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string" + }, + "updateMask": { + "description": "Standard field mask for the set of fields to be updated.\nRequired with at least 1 value in FieldMask's paths.\nOnly `state` and `adwords_customer_id` are currently supported.", + "format": "google-fieldmask", "type": "string", "location": "query" }, - "minMonthlyBudget.nanos": { - "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer", + "requestMetadata.experimentIds": { + "description": "Experiment IDs the current request belongs to.", + "type": "string", + "repeated": true, + "location": "query" + }, + "requestMetadata.trafficSource.trafficSubId": { + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", "location": "query" } } } - }, - "resources": { - "leads": { - "methods": { - "create": { - "httpMethod": "POST", - "parameterOrder": [ - "companyId" - ], - "response": { - "$ref": "CreateLeadResponse" - }, - "parameters": { - "companyId": { - "description": "The ID of the company to contact.", - "required": true, - "type": "string", - "location": "path" - } - }, - "flatPath": "v2/companies/{companyId}/leads", - "id": "partners.companies.leads.create", - "path": "v2/companies/{companyId}/leads", - "request": { - "$ref": "CreateLeadRequest" - }, - "description": "Creates an advertiser lead for the given company ID." - } - } - } - } - }, - "userEvents": { - "methods": { - "log": { - "flatPath": "v2/userEvents:log", - "path": "v2/userEvents:log", - "id": "partners.userEvents.log", - "description": "Logs a user event.", - "request": { - "$ref": "LogUserEventRequest" - }, - "response": { - "$ref": "LogUserEventResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {} - } } }, - "clientMessages": { + "users": { "methods": { - "log": { + "createCompanyRelation": { + "flatPath": "v2/users/{userId}/companyRelation", + "path": "v2/users/{userId}/companyRelation", + "id": "partners.users.createCompanyRelation", "request": { - "$ref": "LogMessageRequest" - }, - "description": "Logs a generic message from the client, such as\n`Failed to render component`, `Profile page is running slow`,\n`More than 500 users have accessed this result.`, etc.", - "response": { - "$ref": "LogMessageResponse" + "$ref": "CompanyRelation" }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "flatPath": "v2/clientMessages:log", - "path": "v2/clientMessages:log", - "id": "partners.clientMessages.log" - } - } - }, - "exams": { - "methods": { - "getToken": { - "httpMethod": "GET", + "description": "Creates a user's company relation. Affiliates the user to a company.", "response": { - "$ref": "ExamToken" + "$ref": "CompanyRelation" }, "parameterOrder": [ - "examType" + "userId" ], + "httpMethod": "PUT", "parameters": { - "requestMetadata.partnersSessionId": { - "location": "query", - "description": "Google Partners session ID.", - "type": "string" - }, - "requestMetadata.userOverrides.userId": { - "type": "string", - "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID." - }, "requestMetadata.trafficSource.trafficSourceId": { - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string", - "location": "query" + "location": "query", + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." }, "requestMetadata.locale": { + "location": "query", "description": "Locale to use for the current request.", - "type": "string", - "location": "query" + "type": "string" }, "requestMetadata.userOverrides.ipAddress": { "location": "query", @@ -620,454 +536,460 @@ "type": "string" }, "requestMetadata.experimentIds": { - "description": "Experiment IDs the current request belongs to.", - "type": "string", "repeated": true, - "location": "query" + "location": "query", + "description": "Experiment IDs the current request belongs to.", + "type": "string" }, "requestMetadata.trafficSource.trafficSubId": { - "type": "string", "location": "query", - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string" }, - "examType": { - "required": true, - "type": "string", + "userId": { "location": "path", - "enum": [ - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", - "CET_ADWORDS_FUNDAMENTALS", - "CET_ADWORDS_ADVANCED_SEARCH", - "CET_ADWORDS_ADVANCED_DISPLAY", - "CET_VIDEO_ADS", - "CET_DOUBLECLICK", - "CET_ANALYTICS", - "CET_SHOPPING", - "CET_MOBILE", - "CET_DIGITAL_SALES", - "CET_MOBILE_SITES" - ], - "description": "The exam type we are requesting a token for." + "description": "The ID of the user. Can be set to \u003ccode\u003eme\u003c/code\u003e to mean\nthe currently authenticated user.", + "required": true, + "type": "string" + }, + "requestMetadata.partnersSessionId": { + "type": "string", + "location": "query", + "description": "Google Partners session ID." + }, + "requestMetadata.userOverrides.userId": { + "description": "Logged-in user ID to impersonate instead of the user's ID.", + "type": "string", + "location": "query" } + } + }, + "deleteCompanyRelation": { + "response": { + "$ref": "Empty" }, - "flatPath": "v2/exams/{examType}/token", - "id": "partners.exams.getToken", - "path": "v2/exams/{examType}/token", - "description": "Gets an Exam Token for a Partner's user to take an exam in the Exams System" - } - } - }, - "leads": { - "methods": { - "list": { + "parameterOrder": [ + "userId" + ], + "httpMethod": "DELETE", "parameters": { + "requestMetadata.experimentIds": { + "repeated": true, + "location": "query", + "description": "Experiment IDs the current request belongs to.", + "type": "string" + }, + "requestMetadata.trafficSource.trafficSubId": { + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", + "location": "query" + }, + "userId": { + "location": "path", + "description": "The ID of the user. Can be set to \u003ccode\u003eme\u003c/code\u003e to mean\nthe currently authenticated user.", + "required": true, + "type": "string" + }, + "requestMetadata.userOverrides.userId": { + "description": "Logged-in user ID to impersonate instead of the user's ID.", + "type": "string", + "location": "query" + }, "requestMetadata.partnersSessionId": { "description": "Google Partners session ID.", "type": "string", "location": "query" }, - "requestMetadata.userOverrides.userId": { + "requestMetadata.trafficSource.trafficSourceId": { "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, - "pageToken": { + "requestMetadata.locale": { + "description": "Locale to use for the current request.", + "type": "string", + "location": "query" + }, + "requestMetadata.userOverrides.ipAddress": { + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string", + "location": "query" + } + }, + "flatPath": "v2/users/{userId}/companyRelation", + "path": "v2/users/{userId}/companyRelation", + "id": "partners.users.deleteCompanyRelation", + "description": "Deletes a user's company relation. Unaffiliaites the user from a company." + }, + "get": { + "response": { + "$ref": "User" + }, + "parameterOrder": [ + "userId" + ], + "httpMethod": "GET", + "parameters": { + "requestMetadata.userOverrides.userId": { "location": "query", - "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListLeadsResponse.next_page_token`\nreturned from the previous call to\nListLeads.", + "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string" }, - "pageSize": { - "description": "Requested page size. Server may return fewer leads than requested.\nIf unspecified, server picks an appropriate default.", - "format": "int32", - "type": "integer", + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", + "type": "string", "location": "query" }, + "userView": { + "location": "query", + "enum": [ + "BASIC", + "PROFILE", + "PUBLIC_PROFILE" + ], + "description": "Specifies what parts of the user information to return.", + "type": "string" + }, "requestMetadata.trafficSource.trafficSourceId": { "location": "query", "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, "requestMetadata.locale": { - "type": "string", "location": "query", - "description": "Locale to use for the current request." + "description": "Locale to use for the current request.", + "type": "string" }, "requestMetadata.userOverrides.ipAddress": { + "type": "string", "location": "query", - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string" + "description": "IP address to use instead of the user's geo-located IP address." }, "requestMetadata.experimentIds": { - "description": "Experiment IDs the current request belongs to.", "type": "string", "repeated": true, - "location": "query" + "location": "query", + "description": "Experiment IDs the current request belongs to." }, "requestMetadata.trafficSource.trafficSubId": { - "location": "query", "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string" + "type": "string", + "location": "query" }, - "orderBy": { - "location": "query", - "description": "How to order Leads. Currently, only `create_time`\nand `create_time desc` are supported", + "userId": { + "location": "path", + "description": "Identifier of the user. Can be set to \u003ccode\u003eme\u003c/code\u003e to mean the currently\nauthenticated user.", + "required": true, "type": "string" } }, - "flatPath": "v2/leads", - "path": "v2/leads", - "id": "partners.leads.list", - "description": "Lists advertiser leads for a user's associated company.\nShould only be called within the context of an authorized logged in user.", + "flatPath": "v2/users/{userId}", + "path": "v2/users/{userId}", + "id": "partners.users.get", + "description": "Gets a user." + }, + "updateProfile": { "response": { - "$ref": "ListLeadsResponse" + "$ref": "UserProfile" }, "parameterOrder": [], - "httpMethod": "GET" + "httpMethod": "PATCH", + "parameters": { + "requestMetadata.userOverrides.userId": { + "location": "query", + "description": "Logged-in user ID to impersonate instead of the user's ID.", + "type": "string" + }, + "requestMetadata.partnersSessionId": { + "location": "query", + "description": "Google Partners session ID.", + "type": "string" + }, + "requestMetadata.trafficSource.trafficSourceId": { + "type": "string", + "location": "query", + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." + }, + "requestMetadata.locale": { + "description": "Locale to use for the current request.", + "type": "string", + "location": "query" + }, + "requestMetadata.userOverrides.ipAddress": { + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string", + "location": "query" + }, + "requestMetadata.experimentIds": { + "repeated": true, + "location": "query", + "description": "Experiment IDs the current request belongs to.", + "type": "string" + }, + "requestMetadata.trafficSource.trafficSubId": { + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", + "location": "query" + } + }, + "flatPath": "v2/users/profile", + "path": "v2/users/profile", + "id": "partners.users.updateProfile", + "request": { + "$ref": "UserProfile" + }, + "description": "Updates a user's profile. A user can only update their own profile and\nshould only be called within the context of a logged in user." } } }, - "offers": { + "companies": { "methods": { - "list": { - "description": "Lists the Offers available for the current user", + "get": { + "description": "Gets a company.", "response": { - "$ref": "ListOffersResponse" + "$ref": "GetCompanyResponse" }, "httpMethod": "GET", - "parameterOrder": [], + "parameterOrder": [ + "companyId" + ], "parameters": { - "requestMetadata.userOverrides.ipAddress": { - "location": "query", - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string" + "currencyCode": { + "description": "If the company's budget is in a different currency code than this one, then\nthe converted budget is converted to this currency code.", + "type": "string", + "location": "query" }, "requestMetadata.experimentIds": { - "repeated": true, "location": "query", "description": "Experiment IDs the current request belongs to.", - "type": "string" + "type": "string", + "repeated": true }, "requestMetadata.trafficSource.trafficSubId": { - "location": "query", "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", + "location": "query" + }, + "orderBy": { + "location": "query", + "description": "How to order addresses within the returned company. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.", "type": "string" }, + "requestMetadata.partnersSessionId": { + "type": "string", + "location": "query", + "description": "Google Partners session ID." + }, "requestMetadata.userOverrides.userId": { + "type": "string", "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", + "description": "Logged-in user ID to impersonate instead of the user's ID." + }, + "view": { + "location": "query", + "enum": [ + "COMPANY_VIEW_UNSPECIFIED", + "CV_GOOGLE_PARTNER_SEARCH" + ], + "description": "The view of `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`.", "type": "string" }, - "requestMetadata.partnersSessionId": { + "requestMetadata.locale": { "location": "query", - "description": "Google Partners session ID.", + "description": "Locale to use for the current request.", "type": "string" }, - "requestMetadata.trafficSource.trafficSourceId": { - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "address": { + "description": "The address to use for sorting the company's addresses by proximity.\nIf not given, the geo-located address of the request is used.\nUsed when order_by is set.", "type": "string", "location": "query" }, - "requestMetadata.locale": { + "requestMetadata.trafficSource.trafficSourceId": { + "type": "string", "location": "query", - "description": "Locale to use for the current request.", + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." + }, + "requestMetadata.userOverrides.ipAddress": { + "location": "query", + "description": "IP address to use instead of the user's geo-located IP address.", "type": "string" + }, + "companyId": { + "description": "The ID of the company to retrieve.", + "required": true, + "type": "string", + "location": "path" } - }, - "flatPath": "v2/offers", - "path": "v2/offers", - "id": "partners.offers.list" - } - }, - "resources": { - "history": { - "methods": { - "list": { - "path": "v2/offers/history", - "id": "partners.offers.history.list", - "description": "Lists the Historical Offers for the current user (or user's entire company)", - "response": { - "$ref": "ListOffersHistoryResponse" - }, - "parameterOrder": [], - "httpMethod": "GET", - "parameters": { - "pageToken": { - "location": "query", - "description": "Token to retrieve a specific page.", - "type": "string" - }, - "pageSize": { - "description": "Maximum number of rows to return per page.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "requestMetadata.trafficSource.trafficSourceId": { - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string", - "location": "query" - }, - "requestMetadata.locale": { - "description": "Locale to use for the current request.", - "type": "string", - "location": "query" - }, - "requestMetadata.userOverrides.ipAddress": { - "location": "query", - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string" - }, - "requestMetadata.experimentIds": { - "description": "Experiment IDs the current request belongs to.", - "type": "string", - "repeated": true, - "location": "query" - }, - "entireCompany": { - "location": "query", - "description": "if true, show history for the entire company. Requires user to be admin.", - "type": "boolean" - }, - "requestMetadata.trafficSource.trafficSubId": { - "location": "query", - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string" - }, - "orderBy": { - "location": "query", - "description": "Comma-separated list of fields to order by, e.g.: \"foo,bar,baz\".\nUse \"foo desc\" to sort descending.\nList of valid field names is: name, offer_code, expiration_time, status,\n last_modified_time, sender_name, creation_time, country_code,\n offer_type.", - "type": "string" - }, - "requestMetadata.partnersSessionId": { - "description": "Google Partners session ID.", - "type": "string", - "location": "query" - }, - "requestMetadata.userOverrides.userId": { - "description": "Logged-in user ID to impersonate instead of the user's ID.", - "type": "string", - "location": "query" - } - }, - "flatPath": "v2/offers/history" - } - } - } - } - }, - "analytics": { - "methods": { + }, + "flatPath": "v2/companies/{companyId}", + "path": "v2/companies/{companyId}", + "id": "partners.companies.get" + }, "list": { "httpMethod": "GET", - "parameterOrder": [], "response": { - "$ref": "ListAnalyticsResponse" + "$ref": "ListCompaniesResponse" }, + "parameterOrder": [], "parameters": { - "requestMetadata.locale": { - "description": "Locale to use for the current request.", - "type": "string", - "location": "query" - }, - "requestMetadata.userOverrides.ipAddress": { - "type": "string", + "specializations": { "location": "query", - "description": "IP address to use instead of the user's geo-located IP address." + "enum": [ + "BADGE_SPECIALIZATION_UNKNOWN", + "BADGE_SPECIALIZATION_ADWORDS_SEARCH", + "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", + "BADGE_SPECIALIZATION_ADWORDS_MOBILE", + "BADGE_SPECIALIZATION_ADWORDS_VIDEO", + "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" + ], + "description": "List of specializations that the returned agencies should provide. If this\nis not empty, any returned agency must have at least one of these\nspecializations, or one of the services in the \"services\" field.", + "type": "string", + "repeated": true }, - "requestMetadata.experimentIds": { - "repeated": true, + "maxMonthlyBudget.currencyCode": { "location": "query", - "description": "Experiment IDs the current request belongs to.", + "description": "The 3-letter currency code defined in ISO 4217.", "type": "string" }, - "requestMetadata.trafficSource.trafficSubId": { - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string", - "location": "query" - }, "requestMetadata.userOverrides.userId": { "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string", "location": "query" }, - "requestMetadata.partnersSessionId": { + "minMonthlyBudget.currencyCode": { "location": "query", - "description": "Google Partners session ID.", + "description": "The 3-letter currency code defined in ISO 4217.", "type": "string" }, - "pageToken": { - "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListAnalyticsResponse.next_page_token`\nreturned from the previous call to\nListAnalytics.\nWill be a date string in `YYYY-MM-DD` format representing the end date\nof the date range of results to return.\nIf unspecified or set to \"\", default value is the current date.", + "view": { "type": "string", - "location": "query" - }, - "pageSize": { - "description": "Requested page size. Server may return fewer analytics than requested.\nIf unspecified or set to 0, default value is 30.\nSpecifies the number of days in the date range when querying analytics.\nThe `page_token` represents the end date of the date range\nand the start date is calculated using the `page_size` as the number\nof days BEFORE the end date.\nMust be a non-negative integer.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "requestMetadata.trafficSource.trafficSourceId": { "location": "query", - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string" - } - }, - "flatPath": "v2/analytics", - "id": "partners.analytics.list", - "path": "v2/analytics", - "description": "Lists analytics data for a user's associated company.\nShould only be called within the context of an authorized logged in user." - } - } - }, - "userStates": { - "methods": { - "list": { - "response": { - "$ref": "ListUserStatesResponse" - }, - "parameterOrder": [], - "httpMethod": "GET", - "parameters": { + "enum": [ + "COMPANY_VIEW_UNSPECIFIED", + "CV_GOOGLE_PARTNER_SEARCH" + ], + "description": "The view of the `Company` resource to be returned. This must not be\n`COMPANY_VIEW_UNSPECIFIED`." + }, "requestMetadata.locale": { "location": "query", "description": "Locale to use for the current request.", "type": "string" }, - "requestMetadata.userOverrides.ipAddress": { - "description": "IP address to use instead of the user's geo-located IP address.", + "address": { + "description": "The address to use when searching for companies.\nIf not given, the geo-located address of the request is used.", "type": "string", "location": "query" }, - "requestMetadata.experimentIds": { - "type": "string", - "repeated": true, - "location": "query", - "description": "Experiment IDs the current request belongs to." - }, - "requestMetadata.trafficSource.trafficSubId": { - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "minMonthlyBudget.units": { + "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", + "format": "int64", "type": "string", "location": "query" }, - "requestMetadata.partnersSessionId": { - "type": "string", - "location": "query", - "description": "Google Partners session ID." + "maxMonthlyBudget.nanos": { + "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32", + "type": "integer", + "location": "query" }, - "requestMetadata.userOverrides.userId": { + "services": { + "repeated": true, "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", + "enum": [ + "SERVICE_UNSPECIFIED", + "S_ADVANCED_ADWORDS_SUPPORT", + "S_ADVERTISING_ON_GOOGLE", + "S_AN_ENHANCED_WEBSITE", + "S_AN_ONLINE_MARKETING_PLAN", + "S_MOBILE_AND_VIDEO_ADS", + "S_MOBILE_WEBSITE_SERVICES" + ], + "description": "List of services that the returned agencies should provide. If this is\nnot empty, any returned agency must have at least one of these services,\nor one of the specializations in the \"specializations\" field.", "type": "string" }, "requestMetadata.trafficSource.trafficSourceId": { "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string", "location": "query" - } - }, - "flatPath": "v2/userStates", - "path": "v2/userStates", - "id": "partners.userStates.list", - "description": "Lists states for current user." - } - } - }, - "v2": { - "methods": { - "updateLeads": { - "description": "Updates the specified lead.", - "request": { - "$ref": "Lead" - }, - "httpMethod": "PATCH", - "parameterOrder": [], - "response": { - "$ref": "Lead" - }, - "parameters": { - "requestMetadata.partnersSessionId": { - "location": "query", - "description": "Google Partners session ID.", - "type": "string" }, - "requestMetadata.userOverrides.userId": { + "maxMonthlyBudget.units": { "location": "query", - "description": "Logged-in user ID to impersonate instead of the user's ID.", + "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", + "format": "int64", "type": "string" }, - "requestMetadata.trafficSource.trafficSourceId": { + "requestMetadata.trafficSource.trafficSubId": { "location": "query", - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", "type": "string" }, - "requestMetadata.locale": { - "location": "query", - "description": "Locale to use for the current request.", - "type": "string" + "minMonthlyBudget.nanos": { + "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32", + "type": "integer", + "location": "query" }, - "requestMetadata.userOverrides.ipAddress": { - "location": "query", - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string" + "requestMetadata.partnersSessionId": { + "description": "Google Partners session ID.", + "type": "string", + "location": "query" }, - "updateMask": { + "pageToken": { "location": "query", - "description": "Standard field mask for the set of fields to be updated.\nRequired with at least 1 value in FieldMask's paths.\nOnly `state` and `adwords_customer_id` are currently supported.", - "format": "google-fieldmask", + "description": "A token identifying a page of results that the server returns.\nTypically, this is the value of `ListCompaniesResponse.next_page_token`\nreturned from the previous call to\nListCompanies.", "type": "string" }, - "requestMetadata.experimentIds": { - "repeated": true, - "location": "query", - "description": "Experiment IDs the current request belongs to.", - "type": "string" - }, - "requestMetadata.trafficSource.trafficSubId": { - "location": "query", - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string" - } - }, - "flatPath": "v2/leads", - "id": "partners.updateLeads", - "path": "v2/leads" - }, - "updateCompanies": { - "httpMethod": "PATCH", - "parameterOrder": [], - "response": { - "$ref": "Company" - }, - "parameters": { - "requestMetadata.experimentIds": { - "description": "Experiment IDs the current request belongs to.", + "companyName": { + "description": "Company name to search for.", "type": "string", - "repeated": true, "location": "query" }, - "requestMetadata.trafficSource.trafficSubId": { + "industries": { "location": "query", - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", - "type": "string" + "enum": [ + "INDUSTRY_UNSPECIFIED", + "I_AUTOMOTIVE", + "I_BUSINESS_TO_BUSINESS", + "I_CONSUMER_PACKAGED_GOODS", + "I_EDUCATION", + "I_FINANCE", + "I_HEALTHCARE", + "I_MEDIA_AND_ENTERTAINMENT", + "I_RETAIL", + "I_TECHNOLOGY", + "I_TRAVEL" + ], + "description": "List of industries the company can help with.", + "type": "string", + "repeated": true }, - "requestMetadata.userOverrides.userId": { - "description": "Logged-in user ID to impersonate instead of the user's ID.", + "websiteUrl": { + "description": "Website URL that will help to find a better matched company.\n.", "type": "string", "location": "query" }, - "requestMetadata.partnersSessionId": { - "type": "string", + "gpsMotivations": { + "repeated": true, "location": "query", - "description": "Google Partners session ID." + "enum": [ + "GPS_MOTIVATION_UNSPECIFIED", + "GPSM_HELP_WITH_ADVERTISING", + "GPSM_HELP_WITH_WEBSITE", + "GPSM_NO_WEBSITE" + ], + "description": "List of reasons for using Google Partner Search to get companies.", + "type": "string" }, - "requestMetadata.trafficSource.trafficSourceId": { + "languageCodes": { + "repeated": true, "location": "query", - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "description": "List of language codes that company can support. Only primary language\nsubtags are accepted as defined by\n\u003ca href=\"https://tools.ietf.org/html/bcp47\"\u003eBCP 47\u003c/a\u003e\n(IETF BCP 47, \"Tags for Identifying Languages\").", "type": "string" }, - "requestMetadata.locale": { - "description": "Locale to use for the current request.", - "type": "string", + "pageSize": { + "description": "Requested page size. Server may return fewer companies than requested.\nIf unspecified, server picks an appropriate default.", + "format": "int32", + "type": "integer", "location": "query" }, "requestMetadata.userOverrides.ipAddress": { @@ -1075,27 +997,103 @@ "description": "IP address to use instead of the user's geo-located IP address.", "type": "string" }, - "updateMask": { - "description": "Standard field mask for the set of fields to be updated.\nRequired with at least 1 value in FieldMask's paths.", - "format": "google-fieldmask", + "requestMetadata.experimentIds": { + "description": "Experiment IDs the current request belongs to.", "type": "string", + "repeated": true, "location": "query" + }, + "orderBy": { + "location": "query", + "description": "How to order addresses within the returned companies. Currently, only\n`address` and `address desc` is supported which will sorted by closest to\nfarthest in distance from given address and farthest to closest distance\nfrom given address respectively.", + "type": "string" } }, "flatPath": "v2/companies", - "id": "partners.updateCompanies", + "id": "partners.companies.list", "path": "v2/companies", + "description": "Lists companies." + } + }, + "resources": { + "leads": { + "methods": { + "create": { + "response": { + "$ref": "CreateLeadResponse" + }, + "parameterOrder": [ + "companyId" + ], + "httpMethod": "POST", + "parameters": { + "companyId": { + "required": true, + "type": "string", + "location": "path", + "description": "The ID of the company to contact." + } + }, + "flatPath": "v2/companies/{companyId}/leads", + "path": "v2/companies/{companyId}/leads", + "id": "partners.companies.leads.create", + "request": { + "$ref": "CreateLeadRequest" + }, + "description": "Creates an advertiser lead for the given company ID." + } + } + } + } + }, + "userEvents": { + "methods": { + "log": { + "flatPath": "v2/userEvents:log", + "id": "partners.userEvents.log", + "path": "v2/userEvents:log", + "description": "Logs a user event.", "request": { - "$ref": "Company" + "$ref": "LogUserEventRequest" }, - "description": "Update company.\nShould only be called within the context of an authorized logged in user." - }, - "getPartnersstatus": { - "httpMethod": "GET", + "httpMethod": "POST", "parameterOrder": [], "response": { - "$ref": "GetPartnersStatusResponse" + "$ref": "LogUserEventResponse" + }, + "parameters": {} + } + } + }, + "clientMessages": { + "methods": { + "log": { + "description": "Logs a generic message from the client, such as\n`Failed to render component`, `Profile page is running slow`,\n`More than 500 users have accessed this result.`, etc.", + "request": { + "$ref": "LogMessageRequest" + }, + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "LogMessageResponse" + }, + "parameters": {}, + "flatPath": "v2/clientMessages:log", + "id": "partners.clientMessages.log", + "path": "v2/clientMessages:log" + } + } + }, + "exams": { + "methods": { + "getToken": { + "response": { + "$ref": "ExamToken" }, + "parameterOrder": [ + "examType" + ], + "httpMethod": "GET", "parameters": { "requestMetadata.locale": { "location": "query", @@ -1108,81 +1106,62 @@ "type": "string" }, "requestMetadata.experimentIds": { - "location": "query", "description": "Experiment IDs the current request belongs to.", "type": "string", - "repeated": true + "repeated": true, + "location": "query" }, "requestMetadata.trafficSource.trafficSubId": { - "type": "string", "location": "query", - "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us." + "description": "Second level identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string" }, - "requestMetadata.partnersSessionId": { - "description": "Google Partners session ID.", - "type": "string", - "location": "query" + "examType": { + "location": "path", + "enum": [ + "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", + "CET_ADWORDS_FUNDAMENTALS", + "CET_ADWORDS_ADVANCED_SEARCH", + "CET_ADWORDS_ADVANCED_DISPLAY", + "CET_VIDEO_ADS", + "CET_DOUBLECLICK", + "CET_ANALYTICS", + "CET_SHOPPING", + "CET_MOBILE", + "CET_DIGITAL_SALES", + "CET_MOBILE_SITES" + ], + "description": "The exam type we are requesting a token for.", + "required": true, + "type": "string" }, "requestMetadata.userOverrides.userId": { "location": "query", "description": "Logged-in user ID to impersonate instead of the user's ID.", "type": "string" }, - "requestMetadata.trafficSource.trafficSourceId": { + "requestMetadata.partnersSessionId": { "location": "query", - "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "description": "Google Partners session ID.", "type": "string" + }, + "requestMetadata.trafficSource.trafficSourceId": { + "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", + "type": "string", + "location": "query" } }, - "flatPath": "v2/partnersstatus", - "id": "partners.getPartnersstatus", - "path": "v2/partnersstatus", - "description": "Gets Partners Status of the logged in user's agency.\nShould only be called if the logged in user is the admin of the agency." + "flatPath": "v2/exams/{examType}/token", + "path": "v2/exams/{examType}/token", + "id": "partners.exams.getToken", + "description": "Gets an Exam Token for a Partner's user to take an exam in the Exams System" } } } }, "parameters": { - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "alt": { + "location": "query", "description": "Data format for response.", "default": "json", "enum": [ @@ -1195,29 +1174,28 @@ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" - ], - "location": "query" - }, - "key": { - "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.", - "type": "string", - "location": "query" + ] }, "access_token": { "location": "query", "description": "OAuth access token.", "type": "string" }, - "quotaUser": { - "location": "query", + "key": { + "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.", + "type": "string", + "location": "query" + }, + "quotaUser": { "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.", - "type": "string" + "type": "string", + "location": "query" }, "pp": { + "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" }, "oauth_token": { "location": "query", @@ -1228,156 +1206,314 @@ "location": "query", "description": "OAuth bearer token.", "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" } }, "schemas": { - "ListAnalyticsResponse": { - "description": "Response message for\nListAnalytics.", - "type": "object", + "ListOffersHistoryResponse": { "properties": { - "analytics": { - "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.", - "type": "array", - "items": { - "$ref": "Analytics" - } - }, "nextPageToken": { - "description": "A token to retrieve next page of results.\nPass this value in the `ListAnalyticsRequest.page_token` field in the\nsubsequent call to\nListAnalytics to retrieve the\nnext page of results.", + "description": "Supply this token in a ListOffersHistoryRequest to retrieve the next page.", "type": "string" }, "responseMetadata": { "$ref": "ResponseMetadata", "description": "Current response metadata." }, - "analyticsSummary": { - "$ref": "AnalyticsSummary", - "description": "Aggregated information across the response's\nanalytics." + "canShowEntireCompany": { + "description": "True if the user has the option to show entire company history.", + "type": "boolean" + }, + "totalResults": { + "description": "Number of results across all pages.", + "format": "int32", + "type": "integer" + }, + "showingEntireCompany": { + "description": "True if this response is showing entire company history.", + "type": "boolean" + }, + "offers": { + "description": "Historical offers meeting request.", + "type": "array", + "items": { + "$ref": "HistoricalOffer" + } } }, - "id": "ListAnalyticsResponse" + "id": "ListOffersHistoryResponse", + "description": "Response for ListOfferHistory.", + "type": "object" }, - "Company": { + "LogMessageResponse": { + "description": "Response message for\nLogClientMessage.", + "type": "object", "properties": { - "certificationStatuses": { - "type": "array", - "items": { - "$ref": "CertificationStatus" - }, - "description": "The list of Google Partners certification statuses for the company." + "responseMetadata": { + "$ref": "ResponseMetadata", + "description": "Current response metadata." + } + }, + "id": "LogMessageResponse" + }, + "SpecializationStatus": { + "description": "Agency specialization status", + "type": "object", + "properties": { + "badgeSpecialization": { + "description": "The specialization this status is for.", + "type": "string", + "enumDescriptions": [ + "Unknown specialization", + "AdWords Search specialization", + "AdWords Display specialization", + "AdWords Mobile specialization", + "AdWords Video specialization", + "AdWords Shopping specialization" + ], + "enum": [ + "BADGE_SPECIALIZATION_UNKNOWN", + "BADGE_SPECIALIZATION_ADWORDS_SEARCH", + "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", + "BADGE_SPECIALIZATION_ADWORDS_MOBILE", + "BADGE_SPECIALIZATION_ADWORDS_VIDEO", + "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" + ] }, - "id": { - "description": "The ID of the company.", - "type": "string" + "badgeSpecializationState": { + "enum": [ + "BADGE_SPECIALIZATION_STATE_UNKNOWN", + "BADGE_SPECIALIZATION_STATE_PASSED", + "BADGE_SPECIALIZATION_STATE_NOT_PASSED", + "BADGE_SPECIALIZATION_STATE_IN_GRACE" + ], + "description": "State of agency specialization.", + "type": "string", + "enumDescriptions": [ + "Unknown state", + "Specialization passed", + "Specialization not passed", + "Specialization in grace" + ] + } + }, + "id": "SpecializationStatus" + }, + "Certification": { + "properties": { + "lastAchieved": { + "type": "string", + "description": "The date the user last achieved certification.", + "format": "google-datetime" }, - "primaryLocation": { - "$ref": "Location", - "description": "The primary location of the company." + "achieved": { + "description": "Whether this certification has been achieved.", + "type": "boolean" }, - "publicProfile": { - "$ref": "PublicProfile", - "description": "Basic information from the company's public profile." + "expiration": { + "description": "Date this certification is due to expire.", + "format": "google-datetime", + "type": "string" }, - "originalMinMonthlyBudget": { - "$ref": "Money", - "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness." + "warning": { + "description": "Whether this certification is in the state of warning.", + "type": "boolean" }, - "services": { - "description": "Services the company can help with.", - "type": "array", - "items": { - "enum": [ - "SERVICE_UNSPECIFIED", - "S_ADVANCED_ADWORDS_SUPPORT", - "S_ADVERTISING_ON_GOOGLE", - "S_AN_ENHANCED_WEBSITE", - "S_AN_ONLINE_MARKETING_PLAN", - "S_MOBILE_AND_VIDEO_ADS", - "S_MOBILE_WEBSITE_SERVICES" - ], - "type": "string" - }, + "certificationType": { "enumDescriptions": [ "Unchosen.", - "Help with advanced AdWords support.", - "Help with advertising on Google.", - "Help with an enhanced website.", - "Help with an online marketing plan.", - "Help with mobile and video ads.", - "Help with mobile websites." - ] + "AdWords certified.", + "YouTube certified.", + "VideoAds certified.", + "Analytics certified.", + "DoubleClick certified.", + "Shopping certified.", + "Mobile certified.", + "Digital sales certified.", + "AdWords Search certified.", + "AdWords Display certified.", + "Mobile Sites certified." + ], + "enum": [ + "CERTIFICATION_TYPE_UNSPECIFIED", + "CT_ADWORDS", + "CT_YOUTUBE", + "CT_VIDEOADS", + "CT_ANALYTICS", + "CT_DOUBLECLICK", + "CT_SHOPPING", + "CT_MOBILE", + "CT_DIGITAL_SALES", + "CT_ADWORDS_SEARCH", + "CT_ADWORDS_DISPLAY", + "CT_MOBILE_SITES" + ], + "description": "The type of certification, the area of expertise.", + "type": "string" + } + }, + "id": "Certification", + "description": "A user's information on a specific certification.", + "type": "object" + }, + "User": { + "properties": { + "lastAccessTime": { + "description": "The most recent time the user interacted with the Partners site.\n@OutputOnly", + "format": "google-datetime", + "type": "string" }, - "ranks": { - "description": "Information related to the ranking of the company within the list of\ncompanies.", + "availableAdwordsManagerAccounts": { + "description": "This is the list of AdWords Manager Accounts the user has edit access to.\nIf the user has edit access to multiple accounts, the user can choose the\npreferred account and we use this when a personal account is needed. Can\nbe empty meaning the user has access to no accounts.\n@OutputOnly", "type": "array", "items": { - "$ref": "Rank" + "$ref": "AdWordsManagerAccountInfo" } }, - "badgeTier": { - "description": "Partner badge tier", - "type": "string", - "enumDescriptions": [ - "Tier badge is not set.", - "Agency has regular partner badge.", - "Agency has premier badge." - ], - "enum": [ - "BADGE_TIER_NONE", - "BADGE_TIER_REGULAR", - "BADGE_TIER_PREMIER" - ] - }, - "specializationStatus": { - "description": "The list of Google Partners specialization statuses for the company.", + "primaryEmails": { + "description": "The list of emails the user has access to/can select as primary.\n@OutputOnly", "type": "array", "items": { - "$ref": "SpecializationStatus" + "type": "string" } }, - "companyTypes": { - "enumDescriptions": [ - "Unchosen.", - "Handles all aspects of the advertising process.", - "Focuses solely on an advertiser's media placement.", - "Plans/executes advertising campaigns.", - "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digital.", - "Increases visibility in search engine result pages.", - "Drives promotional efforts for immediate impact.", - "Focuses on bid management, conversion, reporting.", - "Establishes favorable relationship with public through low/no-cost\ncommunications.", - "Does not manage other company's accounts, manages own marketing programs.", - "Full-service AdWords account management for local businesses." - ], - "description": "Company type labels listed on the company's profile.", + "examStatus": { + "description": "The list of exams the user ever taken. For each type of exam, only one\nentry is listed.", "type": "array", "items": { - "enum": [ - "COMPANY_TYPE_UNSPECIFIED", - "FULL_SERVICE_AGENCY", - "MEDIA_AGENCY", - "CREATIVE_AGENCY", - "CDIGITAL_AGENCY", - "SEM_SEO", - "PERFORMANCE_MARKETING", - "ADVERTISING_TOOL_DEVELOPMENT", - "PR", - "SELF_MANAGED", - "RESELLER" - ], - "type": "string" + "$ref": "ExamStatus" } }, - "autoApprovalEmailDomains": { - "description": "Email domains that allow users with a matching email address to get\nauto-approved for associating with this company.", + "id": { + "description": "The ID of the user.", + "type": "string" + }, + "publicProfile": { + "$ref": "PublicProfile", + "description": "Information about a user's external public profile outside Google Partners." + }, + "companyVerificationEmail": { + "description": "The email address used by the user used for company verification.\n@OutputOnly", + "type": "string" + }, + "certificationStatus": { + "description": "The list of achieved certifications. These are calculated based on exam\nresults and other requirements.\n@OutputOnly", "type": "array", "items": { - "type": "string" + "$ref": "Certification" + } + }, + "profile": { + "$ref": "UserProfile", + "description": "The profile information of a Partners user, contains all the directly\neditable user information." + }, + "company": { + "$ref": "CompanyRelation", + "description": "The company that the user is associated with.\nIf not present, the user is not associated with any company." + } + }, + "id": "User", + "description": "A resource representing a user of the Partners platform.", + "type": "object" + }, + "ListAnalyticsResponse": { + "description": "Response message for\nListAnalytics.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "A token to retrieve next page of results.\nPass this value in the `ListAnalyticsRequest.page_token` field in the\nsubsequent call to\nListAnalytics to retrieve the\nnext page of results.", + "type": "string" + }, + "responseMetadata": { + "$ref": "ResponseMetadata", + "description": "Current response metadata." + }, + "analyticsSummary": { + "description": "Aggregated information across the response's\nanalytics.", + "$ref": "AnalyticsSummary" + }, + "analytics": { + "description": "The list of analytics.\nSorted in ascending order of\nAnalytics.event_date.", + "type": "array", + "items": { + "$ref": "Analytics" + } + } + }, + "id": "ListAnalyticsResponse" + }, + "ListLeadsResponse": { + "description": "Response message for ListLeads.", + "type": "object", + "properties": { + "leads": { + "description": "The list of leads.", + "type": "array", + "items": { + "$ref": "Lead" } }, + "nextPageToken": { + "description": "A token to retrieve next page of results.\nPass this value in the `ListLeadsRequest.page_token` field in the\nsubsequent call to\nListLeads to retrieve the\nnext page of results.", + "type": "string" + }, + "responseMetadata": { + "$ref": "ResponseMetadata", + "description": "Current response metadata." + }, + "totalSize": { + "description": "The total count of leads for the given company.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListLeadsResponse" + }, + "Company": { + "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.", + "type": "object", + "properties": { "primaryLanguageCode": { - "type": "string", - "description": "The primary language code of the company, as defined by\n\u003ca href=\"https://tools.ietf.org/html/bcp47\"\u003eBCP 47\u003c/a\u003e\n(IETF BCP 47, \"Tags for Identifying Languages\")." + "description": "The primary language code of the company, as defined by\n\u003ca href=\"https://tools.ietf.org/html/bcp47\"\u003eBCP 47\u003c/a\u003e\n(IETF BCP 47, \"Tags for Identifying Languages\").", + "type": "string" }, "profileStatus": { "enumDescriptions": [ @@ -1407,23 +1543,9 @@ "description": "The minimum monthly budget that the company accepts for partner business,\nconverted to the requested currency code." }, "industries": { - "enumDescriptions": [ - "Unchosen.", - "The automotive industry.", - "The business-to-business industry.", - "The consumer packaged goods industry.", - "The education industry.", - "The finance industry.", - "The healthcare industry.", - "The media and entertainment industry.", - "The retail industry.", - "The technology industry.", - "The travel industry." - ], "description": "Industries the company can help with.", "type": "array", "items": { - "type": "string", "enum": [ "INDUSTRY_UNSPECIFIED", "I_AUTOMOTIVE", @@ -1436,8 +1558,22 @@ "I_RETAIL", "I_TECHNOLOGY", "I_TRAVEL" - ] - } + ], + "type": "string" + }, + "enumDescriptions": [ + "Unchosen.", + "The automotive industry.", + "The business-to-business industry.", + "The consumer packaged goods industry.", + "The education industry.", + "The finance industry.", + "The healthcare industry.", + "The media and entertainment industry.", + "The retail industry.", + "The technology industry.", + "The travel industry." + ] }, "websiteUrl": { "description": "URL of the company's website.", @@ -1460,117 +1596,192 @@ "type": "string" }, "localizedInfos": { + "description": "The list of localized info for the company.", "type": "array", "items": { "$ref": "LocalizedCompanyInfo" - }, - "description": "The list of localized info for the company." - } - }, - "id": "Company", - "description": "A company resource in the Google Partners API. Once certified, it qualifies\nfor being searched by advertisers.", - "type": "object" - }, - "ListLeadsResponse": { - "description": "Response message for ListLeads.", - "type": "object", - "properties": { - "nextPageToken": { - "type": "string", - "description": "A token to retrieve next page of results.\nPass this value in the `ListLeadsRequest.page_token` field in the\nsubsequent call to\nListLeads to retrieve the\nnext page of results." + } }, - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." + "certificationStatuses": { + "description": "The list of Google Partners certification statuses for the company.", + "type": "array", + "items": { + "$ref": "CertificationStatus" + } }, - "totalSize": { - "description": "The total count of leads for the given company.", - "format": "int32", - "type": "integer" + "id": { + "description": "The ID of the company.", + "type": "string" }, - "leads": { + "primaryLocation": { + "$ref": "Location", + "description": "The primary location of the company." + }, + "services": { + "description": "Services the company can help with.", "type": "array", "items": { - "$ref": "Lead" + "type": "string", + "enum": [ + "SERVICE_UNSPECIFIED", + "S_ADVANCED_ADWORDS_SUPPORT", + "S_ADVERTISING_ON_GOOGLE", + "S_AN_ENHANCED_WEBSITE", + "S_AN_ONLINE_MARKETING_PLAN", + "S_MOBILE_AND_VIDEO_ADS", + "S_MOBILE_WEBSITE_SERVICES" + ] }, - "description": "The list of leads." - } - }, - "id": "ListLeadsResponse" - }, - "CreateLeadResponse": { - "description": "Response message for CreateLead.", - "type": "object", - "properties": { - "lead": { - "$ref": "Lead", - "description": "Lead that was created depending on the outcome of\n\u003ca href=\"https://www.google.com/recaptcha/\"\u003ereCaptcha\u003c/a\u003e validation." - }, - "recaptchaStatus": { "enumDescriptions": [ "Unchosen.", - "No reCaptcha validation needed.", - "reCaptcha challenge passed.", - "reCaptcha challenge failed." - ], - "enum": [ - "RECAPTCHA_STATUS_UNSPECIFIED", - "RS_NOT_NEEDED", - "RS_PASSED", - "RS_FAILED" - ], - "description": "The outcome of \u003ca href=\"https://www.google.com/recaptcha/\"\u003ereCaptcha\u003c/a\u003e\nvalidation.", - "type": "string" + "Help with advanced AdWords support.", + "Help with advertising on Google.", + "Help with an enhanced website.", + "Help with an online marketing plan.", + "Help with mobile and video ads.", + "Help with mobile websites." + ] }, - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." - } - }, - "id": "CreateLeadResponse" - }, - "GetCompanyResponse": { - "type": "object", - "properties": { - "company": { - "$ref": "Company", - "description": "The company." + "originalMinMonthlyBudget": { + "description": "The unconverted minimum monthly budget that the company accepts for partner\nbusiness.", + "$ref": "Money" }, - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." - } - }, - "id": "GetCompanyResponse", - "description": "Response message for GetCompany." - }, - "Location": { - "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.", - "type": "object", - "properties": { - "address": { - "type": "string", - "description": "The single string version of the address." + "publicProfile": { + "$ref": "PublicProfile", + "description": "Basic information from the company's public profile." }, - "dependentLocality": { - "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.", - "type": "string" + "ranks": { + "description": "Information related to the ranking of the company within the list of\ncompanies.", + "type": "array", + "items": { + "$ref": "Rank" + } }, - "regionCode": { - "description": "CLDR (Common Locale Data Repository) region code .", + "specializationStatus": { + "description": "The list of Google Partners specialization statuses for the company.", + "type": "array", + "items": { + "$ref": "SpecializationStatus" + } + }, + "badgeTier": { + "description": "Partner badge tier", + "type": "string", + "enumDescriptions": [ + "Tier badge is not set.", + "Agency has regular partner badge.", + "Agency has premier badge." + ], + "enum": [ + "BADGE_TIER_NONE", + "BADGE_TIER_REGULAR", + "BADGE_TIER_PREMIER" + ] + }, + "companyTypes": { + "enumDescriptions": [ + "Unchosen.", + "Handles all aspects of the advertising process.", + "Focuses solely on an advertiser's media placement.", + "Plans/executes advertising campaigns.", + "Like a\nFULL_SERVICE_AGENCY,\nbut specializing in digital.", + "Increases visibility in search engine result pages.", + "Drives promotional efforts for immediate impact.", + "Focuses on bid management, conversion, reporting.", + "Establishes favorable relationship with public through low/no-cost\ncommunications.", + "Does not manage other company's accounts, manages own marketing programs.", + "Full-service AdWords account management for local businesses." + ], + "description": "Company type labels listed on the company's profile.", + "type": "array", + "items": { + "enum": [ + "COMPANY_TYPE_UNSPECIFIED", + "FULL_SERVICE_AGENCY", + "MEDIA_AGENCY", + "CREATIVE_AGENCY", + "CDIGITAL_AGENCY", + "SEM_SEO", + "PERFORMANCE_MARKETING", + "ADVERTISING_TOOL_DEVELOPMENT", + "PR", + "SELF_MANAGED", + "RESELLER" + ], + "type": "string" + } + }, + "autoApprovalEmailDomains": { + "description": "Email domains that allow users with a matching email address to get\nauto-approved for associating with this company.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "Company" + }, + "CreateLeadResponse": { + "description": "Response message for CreateLead.", + "type": "object", + "properties": { + "lead": { + "$ref": "Lead", + "description": "Lead that was created depending on the outcome of\n\u003ca href=\"https://www.google.com/recaptcha/\"\u003ereCaptcha\u003c/a\u003e validation." + }, + "recaptchaStatus": { + "enumDescriptions": [ + "Unchosen.", + "No reCaptcha validation needed.", + "reCaptcha challenge passed.", + "reCaptcha challenge failed." + ], + "enum": [ + "RECAPTCHA_STATUS_UNSPECIFIED", + "RS_NOT_NEEDED", + "RS_PASSED", + "RS_FAILED" + ], + "description": "The outcome of \u003ca href=\"https://www.google.com/recaptcha/\"\u003ereCaptcha\u003c/a\u003e\nvalidation.", "type": "string" }, + "responseMetadata": { + "description": "Current response metadata.", + "$ref": "ResponseMetadata" + } + }, + "id": "CreateLeadResponse" + }, + "GetCompanyResponse": { + "type": "object", + "properties": { + "company": { + "$ref": "Company", + "description": "The company." + }, + "responseMetadata": { + "description": "Current response metadata.", + "$ref": "ResponseMetadata" + } + }, + "id": "GetCompanyResponse", + "description": "Response message for GetCompany." + }, + "Location": { + "description": "A location with address and geographic coordinates. May optionally contain a\ndetailed (multi-field) version of the address.", + "type": "object", + "properties": { "postalCode": { - "description": "Values are frequently alphanumeric.", - "type": "string" + "type": "string", + "description": "Values are frequently alphanumeric." }, "sortingCode": { "description": "Use of this code is very country-specific, but will refer to a secondary\nclassification code for sorting mail.", "type": "string" }, "languageCode": { - "description": "Language code of the address. Should be in BCP 47 format.", - "type": "string" + "type": "string", + "description": "Language code of the address. Should be in BCP 47 format." }, "addressLine": { "description": "The following address lines represent the most specific part of any\naddress.", @@ -1590,6 +1801,18 @@ "latLng": { "$ref": "LatLng", "description": "The latitude and longitude of the location, in degrees." + }, + "address": { + "description": "The single string version of the address.", + "type": "string" + }, + "dependentLocality": { + "description": "Dependent locality or sublocality. Used for UK dependent localities, or\nneighborhoods or boroughs in other locations.", + "type": "string" + }, + "regionCode": { + "description": "CLDR (Common Locale Data Repository) region code .", + "type": "string" } }, "id": "Location" @@ -1598,8 +1821,16 @@ "description": "A token that allows a user to take an exam.", "type": "object", "properties": { - "examType": { + "examId": { "type": "string", + "description": "The id of the exam the token is for.", + "format": "int64" + }, + "token": { + "description": "The token, only present if the user has access to the exam.", + "type": "string" + }, + "examType": { "enumDescriptions": [ "Unchosen.", "Adwords Fundamentals exam.", @@ -1626,25 +1857,34 @@ "CET_DIGITAL_SALES", "CET_MOBILE_SITES" ], - "description": "The type of the exam the token belongs to." - }, - "examId": { - "description": "The id of the exam the token is for.", - "format": "int64", - "type": "string" - }, - "token": { - "description": "The token, only present if the user has access to the exam.", + "description": "The type of the exam the token belongs to.", "type": "string" } }, "id": "ExamToken" }, "CertificationExamStatus": { - "description": "Status for a Google Partners certification exam.", "type": "object", "properties": { + "numberUsersPass": { + "description": "The number of people who have passed the certification exam.", + "format": "int32", + "type": "integer" + }, "type": { + "enum": [ + "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", + "CET_ADWORDS_FUNDAMENTALS", + "CET_ADWORDS_ADVANCED_SEARCH", + "CET_ADWORDS_ADVANCED_DISPLAY", + "CET_VIDEO_ADS", + "CET_DOUBLECLICK", + "CET_ANALYTICS", + "CET_SHOPPING", + "CET_MOBILE", + "CET_DIGITAL_SALES", + "CET_MOBILE_SITES" + ], "description": "The type of certification exam.", "type": "string", "enumDescriptions": [ @@ -1659,31 +1899,13 @@ "Mobile exam.", "Digital Sales exam.", "Mobile Sites exam." - ], - "enum": [ - "CERTIFICATION_EXAM_TYPE_UNSPECIFIED", - "CET_ADWORDS_FUNDAMENTALS", - "CET_ADWORDS_ADVANCED_SEARCH", - "CET_ADWORDS_ADVANCED_DISPLAY", - "CET_VIDEO_ADS", - "CET_DOUBLECLICK", - "CET_ANALYTICS", - "CET_SHOPPING", - "CET_MOBILE", - "CET_DIGITAL_SALES", - "CET_MOBILE_SITES" ] - }, - "numberUsersPass": { - "description": "The number of people who have passed the certification exam.", - "format": "int32", - "type": "integer" } }, - "id": "CertificationExamStatus" + "id": "CertificationExamStatus", + "description": "Status for a Google Partners certification exam." }, "OptIns": { - "id": "OptIns", "description": "A set of opt-ins for a user.", "type": "object", "properties": { @@ -1696,21 +1918,21 @@ "type": "boolean" }, "physicalMail": { - "description": "An opt-in to receive special promotional gifts and material in the mail.", - "type": "boolean" + "type": "boolean", + "description": "An opt-in to receive special promotional gifts and material in the mail." }, "phoneContact": { - "type": "boolean", - "description": "An opt-in to allow recieivng phone calls about their Partners account." + "description": "An opt-in to allow recieivng phone calls about their Partners account.", + "type": "boolean" }, "marketComm": { "description": "An opt-in about receiving email from Partners marketing teams. Includes\nmember-only events and special promotional offers for Google products.", "type": "boolean" } - } + }, + "id": "OptIns" }, "Rank": { - "id": "Rank", "description": "Information related to ranking of results.", "type": "object", "properties": { @@ -1731,39 +1953,16 @@ "format": "double", "type": "number" } - } - }, - "GetPartnersStatusResponse": { - "description": "Response message for\nGetPartnersStatus.", - "type": "object", - "properties": { - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." - } }, - "id": "GetPartnersStatusResponse" + "id": "Rank" }, "UserProfile": { "description": "The profile information of a Partners user.", "type": "object", "properties": { - "phoneNumber": { - "description": "The user's phone number.", - "type": "string" - }, - "adwordsManagerAccount": { - "type": "string", - "description": "If the user has edit access to multiple accounts, the user can choose the\npreferred account and it is used when a personal account is needed. Can\nbe empty.", - "format": "int64" - }, - "primaryCountryCode": { - "type": "string", - "description": "The user's primary country, an ISO 2-character code." - }, - "emailAddress": { - "description": "The email address the user has selected on the Partners site as primary.", - "type": "string" + "profilePublic": { + "description": "Whether the user's public profile is visible to anyone with the URL.", + "type": "boolean" }, "channels": { "description": "A list of ids representing which channels the user selected they were in.", @@ -1772,10 +1971,6 @@ "type": "string" } }, - "profilePublic": { - "description": "Whether the user's public profile is visible to anyone with the URL.", - "type": "boolean" - }, "jobFunctions": { "description": "A list of ids represnting which job categories the user selected.", "type": "array", @@ -1788,30 +1983,30 @@ "type": "string" }, "address": { - "description": "The user's mailing address, contains multiple fields.", - "$ref": "Location" + "$ref": "Location", + "description": "The user's mailing address, contains multiple fields." }, "industries": { + "description": "A list of ids representing which industries the user selected.", "type": "array", "items": { "type": "string" - }, - "description": "A list of ids representing which industries the user selected." + } + }, + "familyName": { + "description": "The user's family name.", + "type": "string" }, "languages": { - "description": "The list of languages this user understands.", "type": "array", "items": { "type": "string" - } - }, - "familyName": { - "type": "string", - "description": "The user's family name." + }, + "description": "The list of languages this user understands." }, "emailOptIns": { - "description": "The list of opt-ins for the user, related to communication preferences.", - "$ref": "OptIns" + "$ref": "OptIns", + "description": "The list of opt-ins for the user, related to communication preferences." }, "markets": { "description": "A list of ids representing which markets the user was interested in.", @@ -1819,317 +2014,170 @@ "items": { "type": "string" } - } - }, - "id": "UserProfile" - }, - "HistoricalOffer": { - "type": "object", - "properties": { - "lastModifiedTime": { - "description": "Time last action was taken.", - "format": "google-datetime", - "type": "string" }, - "adwordsUrl": { - "description": "Client's AdWords page URL.", + "phoneNumber": { + "description": "The user's phone number.", "type": "string" }, - "offerType": { - "description": "Type of offer.", - "type": "string", - "enumDescriptions": [ - "Unset.", - "AdWords spend X get Y.", - "Youtube video.", - "Spend Match up to Y." - ], - "enum": [ - "OFFER_TYPE_UNSPECIFIED", - "OFFER_TYPE_SPEND_X_GET_Y", - "OFFER_TYPE_VIDEO", - "OFFER_TYPE_SPEND_MATCH" - ] - }, - "senderName": { - "description": "Name (First + Last) of the partners user to whom the incentive is allocated.", - "type": "string" - }, - "offerCountryCode": { - "type": "string", - "description": "Country Code for the offer country." - }, - "expirationTime": { - "description": "Time this offer expires.", - "format": "google-datetime", - "type": "string" - }, - "offerCode": { - "description": "Offer code.", - "type": "string" - }, - "creationTime": { - "description": "Time offer was first created.", - "format": "google-datetime", - "type": "string" - }, - "status": { - "description": "Status of the offer.", - "type": "string", - "enumDescriptions": [ - "Unset.", - "Offer distributed.", - "Offer redeemed.", - "Offer awarded.", - "Offer expired." - ], - "enum": [ - "OFFER_STATUS_UNSPECIFIED", - "OFFER_STATUS_DISTRIBUTED", - "OFFER_STATUS_REDEEMED", - "OFFER_STATUS_AWARDED", - "OFFER_STATUS_EXPIRED" - ] - }, - "clientEmail": { - "description": "Email address for client.", + "adwordsManagerAccount": { + "description": "If the user has edit access to multiple accounts, the user can choose the\npreferred account and it is used when a personal account is needed. Can\nbe empty.", + "format": "int64", "type": "string" }, - "clientId": { - "description": "ID of client.", - "format": "int64", + "primaryCountryCode": { + "description": "The user's primary country, an ISO 2-character code.", "type": "string" }, - "clientName": { - "description": "Name of the client.", + "emailAddress": { + "description": "The email address the user has selected on the Partners site as primary.", "type": "string" } }, - "id": "HistoricalOffer", - "description": "Historical information about a Google Partners Offer." + "id": "UserProfile" }, - "UserOverrides": { - "description": "Values to use instead of the user's respective defaults. These are only\nhonored by whitelisted products.", + "GetPartnersStatusResponse": { + "description": "Response message for\nGetPartnersStatus.", "type": "object", "properties": { - "ipAddress": { - "description": "IP address to use instead of the user's geo-located IP address.", - "type": "string" - }, - "userId": { - "description": "Logged-in user ID to impersonate instead of the user's ID.", - "type": "string" + "responseMetadata": { + "$ref": "ResponseMetadata", + "description": "Current response metadata." } }, - "id": "UserOverrides" + "id": "GetPartnersStatusResponse" }, - "LogUserEventRequest": { - "description": "Request message for\nLogUserEvent.", + "HistoricalOffer": { + "description": "Historical information about a Google Partners Offer.", "type": "object", "properties": { - "eventCategory": { - "enum": [ - "EVENT_CATEGORY_UNSPECIFIED", - "GOOGLE_PARTNER_SEARCH", - "GOOGLE_PARTNER_SIGNUP_FLOW", - "GOOGLE_PARTNER_PORTAL", - "GOOGLE_PARTNER_PORTAL_MY_PROFILE", - "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS", - "GOOGLE_PARTNER_PORTAL_COMMUNITY", - "GOOGLE_PARTNER_PORTAL_INSIGHTS", - "GOOGLE_PARTNER_PORTAL_CLIENTS", - "GOOGLE_PARTNER_PUBLIC_USER_PROFILE", - "GOOGLE_PARTNER_PANEL", - "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG", - "GOOGLE_PARTNER_CLIENT", - "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE", - "EXTERNAL_LINKS", - "GOOGLE_PARTNER_LANDING" - ], - "description": "The category the action belongs to.", + "lastModifiedTime": { "type": "string", - "enumDescriptions": [ - "Unchosen.", - "Google Partner Search category.", - "Google Partner sign-up flow category.", - "Google Partner portal category.", - "Google Partner portal my-profile category.", - "Google Partner portal certifications category.", - "Google Partner portal community category.", - "Google Partner portal insights category.", - "Google Partner portal clients category.", - "Google Partner portal public user profile category.", - "Google Partner panel category.", - "Google Partner portal last admin dialog category.", - "Google Partner client category.", - "Google Partner portal company profile category.", - "External links category.", - "Google Partner landing category." - ] + "description": "Time last action was taken.", + "format": "google-datetime" }, - "lead": { - "$ref": "Lead", - "description": "Advertiser lead information." + "adwordsUrl": { + "description": "Client's AdWords page URL.", + "type": "string" }, - "eventAction": { + "offerType": { + "description": "Type of offer.", + "type": "string", + "enumDescriptions": [ + "Unset.", + "AdWords spend X get Y.", + "Youtube video.", + "Spend Match up to Y." + ], "enum": [ - "EVENT_ACTION_UNSPECIFIED", - "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM", - "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP", - "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM", - "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP", - "SMB_CANCELED_PARTNER_CONTACT_FORM", - "SMB_CLICKED_CONTACT_A_PARTNER", - "SMB_COMPLETED_PARTNER_CONTACT_FORM", - "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM", - "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM", - "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM", - "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM", - "PARTNER_VIEWED_BY_SMB", - "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS", - "SMB_CHANGED_A_SEARCH_PARAMETER_TOP", - "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS", - "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM", - "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS", - "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA", - "SMB_PERFORMED_SEARCH_ON_GPS", - "SMB_VIEWED_A_PARTNER_ON_GPS", - "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE", - "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE", - "SMB_CLICKED_PARTNER_WEBSITE", - "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE", - "SMB_VIEWED_A_PARTNER_PROFILE", - "AGENCY_CLICKED_ACCEPT_TOS_BUTTON", - "AGENCY_CHANGED_TOS_COUNTRY", - "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL", - "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL", - "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION", - "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION", - "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL", - "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL", - "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL", - "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PROFILE", - "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL", - "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL", - "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFILE", - "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL", - "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE", - "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE", - "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL", - "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN", - "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION", - "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION", - "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION", - "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION", - "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION", - "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION", - "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION", - "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION", - "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION", - "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION", - "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION", - "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL", - "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN", - "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL", - "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL", - "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL", - "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL", - "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL", - "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL", - "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL", - "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL", - "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN", - "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL", - "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN", - "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE", - "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP", - "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH", - "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL", - "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL", - "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS", - "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PORTAL", - "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS", - "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS", - "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL", - "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY", - "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COMPANY", - "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUND", - "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NOT_FOUND", - "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND", - "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAGE", - "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPANY", - "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY", - "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH", - "AGENCY_SUCCESSFULLY_CREATED_COMPANY", - "AGENCY_ADDED_NEW_COMPANY_LOCATION", - "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFICATIONS", - "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFICATIONS", - "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS", - "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS", - "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS", - "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL", - "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL", - "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT", - "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED", - "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL", - "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL", - "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE", - "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE", - "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE", - "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE", - "AGENCY_OPENED_LAST_ADMIN_DIALOG", - "AGENCY_OPENED_DIALOG_WITH_NO_USERS", - "AGENCY_PROMOTED_USER_TO_ADMIN", - "AGENCY_UNAFFILIATED", - "AGENCY_CHANGED_ROLES", - "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE", - "SMB_VIEWED_ADWORDS_CERTIFICATE", - "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE", - "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE", - "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON", - "SMB_VIEWED_ANALYTICS_CERTIFICATE", - "SMB_VIEWED_DOUBLECLICK_CERTIFICATE", - "SMB_VIEWED_MOBILE_SITES_CERTIFICATE", - "SMB_VIEWED_VIDEO_ADS_CERTIFICATE", - "SMB_VIEWED_SHOPPING_CERTIFICATE", - "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON", - "CLICKED_HELP_AT_BOTTOM", - "CLICKED_HELP_AT_TOP", - "CLIENT_ERROR", - "AGENCY_CLICKED_LEFT_NAV_STORIES", - "CLICKED", - "SMB_VIEWED_MOBILE_CERTIFICATE", - "AGENCY_FAILED_COMPANY_VERIFICATION", - "VISITED_LANDING", - "VISITED_GPS", - "VISITED_AGENCY_PORTAL", - "CANCELLED_INDIVIDUAL_SIGN_UP", - "CANCELLED_COMPANY_SIGN_UP", - "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP", - "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_PROFILE", - "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS", - "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH", - "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS", - "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATIONS", - "AGENCY_LINKED_INDIVIDUAL_MCC", - "AGENCY_SUGGESTED_TO_USER", - "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED", - "AGENCY_PICKED_SUGGESTED_AGENCY", - "AGENCY_SEARCHED_FOR_AGENCIES", - "AGENCY_PICKED_SEARCHED_AGENCY", - "AGENCY_DISMISSED_AFFILIATION_WIDGET", - "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT", - "AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT", - "AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON", - "SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM" + "OFFER_TYPE_UNSPECIFIED", + "OFFER_TYPE_SPEND_X_GET_Y", + "OFFER_TYPE_VIDEO", + "OFFER_TYPE_SPEND_MATCH" + ] + }, + "senderName": { + "type": "string", + "description": "Name (First + Last) of the partners user to whom the incentive is allocated." + }, + "offerCountryCode": { + "description": "Country Code for the offer country.", + "type": "string" + }, + "expirationTime": { + "description": "Time this offer expires.", + "format": "google-datetime", + "type": "string" + }, + "offerCode": { + "description": "Offer code.", + "type": "string" + }, + "creationTime": { + "description": "Time offer was first created.", + "format": "google-datetime", + "type": "string" + }, + "clientEmail": { + "description": "Email address for client.", + "type": "string" + }, + "status": { + "enum": [ + "OFFER_STATUS_UNSPECIFIED", + "OFFER_STATUS_DISTRIBUTED", + "OFFER_STATUS_REDEEMED", + "OFFER_STATUS_AWARDED", + "OFFER_STATUS_EXPIRED" + ], + "description": "Status of the offer.", + "type": "string", + "enumDescriptions": [ + "Unset.", + "Offer distributed.", + "Offer redeemed.", + "Offer awarded.", + "Offer expired." + ] + }, + "clientId": { + "description": "ID of client.", + "format": "int64", + "type": "string" + }, + "clientName": { + "description": "Name of the client.", + "type": "string" + } + }, + "id": "HistoricalOffer" + }, + "LogUserEventRequest": { + "properties": { + "eventCategory": { + "type": "string", + "enumDescriptions": [ + "Unchosen.", + "Google Partner Search category.", + "Google Partner sign-up flow category.", + "Google Partner portal category.", + "Google Partner portal my-profile category.", + "Google Partner portal certifications category.", + "Google Partner portal community category.", + "Google Partner portal insights category.", + "Google Partner portal clients category.", + "Google Partner portal public user profile category.", + "Google Partner panel category.", + "Google Partner portal last admin dialog category.", + "Google Partner client category.", + "Google Partner portal company profile category.", + "External links category.", + "Google Partner landing category." + ], + "enum": [ + "EVENT_CATEGORY_UNSPECIFIED", + "GOOGLE_PARTNER_SEARCH", + "GOOGLE_PARTNER_SIGNUP_FLOW", + "GOOGLE_PARTNER_PORTAL", + "GOOGLE_PARTNER_PORTAL_MY_PROFILE", + "GOOGLE_PARTNER_PORTAL_CERTIFICATIONS", + "GOOGLE_PARTNER_PORTAL_COMMUNITY", + "GOOGLE_PARTNER_PORTAL_INSIGHTS", + "GOOGLE_PARTNER_PORTAL_CLIENTS", + "GOOGLE_PARTNER_PUBLIC_USER_PROFILE", + "GOOGLE_PARTNER_PANEL", + "GOOGLE_PARTNER_PORTAL_LAST_ADMIN_DIALOG", + "GOOGLE_PARTNER_CLIENT", + "GOOGLE_PARTNER_PORTAL_COMPANY_PROFILE", + "EXTERNAL_LINKS", + "GOOGLE_PARTNER_LANDING" ], + "description": "The category the action belongs to." + }, + "lead": { + "$ref": "Lead", + "description": "Advertiser lead information." + }, + "eventAction": { "description": "The action that occurred.", "type": "string", "enumDescriptions": [ @@ -2289,6 +2337,164 @@ "Agency user is maklingg progress viewing a content item.", "Agency clicked `cancel Terms Of Service` button.", "Advertiser entered website in contact form." + ], + "enum": [ + "EVENT_ACTION_UNSPECIFIED", + "SMB_CLICKED_FIND_A_PARTNER_BUTTON_BOTTOM", + "SMB_CLICKED_FIND_A_PARTNER_BUTTON_TOP", + "AGENCY_CLICKED_JOIN_NOW_BUTTON_BOTTOM", + "AGENCY_CLICKED_JOIN_NOW_BUTTON_TOP", + "SMB_CANCELED_PARTNER_CONTACT_FORM", + "SMB_CLICKED_CONTACT_A_PARTNER", + "SMB_COMPLETED_PARTNER_CONTACT_FORM", + "SMB_ENTERED_EMAIL_IN_CONTACT_PARTNER_FORM", + "SMB_ENTERED_NAME_IN_CONTACT_PARTNER_FORM", + "SMB_ENTERED_PHONE_IN_CONTACT_PARTNER_FORM", + "SMB_FAILED_RECAPTCHA_IN_CONTACT_PARTNER_FORM", + "PARTNER_VIEWED_BY_SMB", + "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_GPS", + "SMB_CHANGED_A_SEARCH_PARAMETER_TOP", + "SMB_CLICKED_CONTACT_A_PARTNER_ON_GPS", + "SMB_CLICKED_SHOW_MORE_PARTNERS_BUTTON_BOTTOM", + "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_GPS", + "SMB_NO_PARTNERS_AVAILABLE_WITH_SEARCH_CRITERIA", + "SMB_PERFORMED_SEARCH_ON_GPS", + "SMB_VIEWED_A_PARTNER_ON_GPS", + "SMB_CANCELED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE", + "SMB_CLICKED_CONTACT_A_PARTNER_ON_PROFILE_PAGE", + "SMB_CLICKED_PARTNER_WEBSITE", + "SMB_COMPLETED_PARTNER_CONTACT_FORM_ON_PROFILE_PAGE", + "SMB_VIEWED_A_PARTNER_PROFILE", + "AGENCY_CLICKED_ACCEPT_TOS_BUTTON", + "AGENCY_CHANGED_TOS_COUNTRY", + "AGENCY_ADDED_ADDRESS_IN_MY_PROFILE_PORTAL", + "AGENCY_ADDED_PHONE_NUMBER_IN_MY_PROFILE_PORTAL", + "AGENCY_CHANGED_PRIMARY_ACCOUNT_ASSOCIATION", + "AGENCY_CHANGED_PRIMARY_COUNTRY_ASSOCIATION", + "AGENCY_CLICKED_AFFILIATE_BUTTON_IN_MY_PROFILE_IN_PORTAL", + "AGENCY_CLICKED_GIVE_EDIT_ACCESS_IN_MY_PROFILE_PORTAL", + "AGENCY_CLICKED_LOG_OUT_IN_MY_PROFILE_PORTAL", + "AGENCY_CLICKED_MY_PROFILE_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_COMPLETE_PROFILE", + "AGENCY_CLICKED_UNAFFILIATE_IN_MY_PROFILE_PORTAL", + "AGENCY_FILLED_OUT_COMP_AFFILIATION_IN_MY_PROFILE_PORTAL", + "AGENCY_SUCCESSFULLY_CONNECTED_WITH_COMPANY_IN_MY_PROFILE", + "AGENCY_CLICKED_CREATE_MCC_IN_MY_PROFILE_PORTAL", + "AGENCY_DIDNT_HAVE_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE", + "AGENCY_HAD_AN_MCC_ASSOCIATED_ON_COMPLETE_PROFILE", + "AGENCY_ADDED_JOB_FUNCTION_IN_MY_PROFILE_PORTAL", + "AGENCY_LOOKED_AT_JOB_FUNCTION_DROP_DOWN", + "AGENCY_SELECTED_ACCOUNT_MANAGER_AS_JOB_FUNCTION", + "AGENCY_SELECTED_ACCOUNT_PLANNER_AS_JOB_FUNCTION", + "AGENCY_SELECTED_ANALYTICS_AS_JOB_FUNCTION", + "AGENCY_SELECTED_CREATIVE_AS_JOB_FUNCTION", + "AGENCY_SELECTED_MEDIA_BUYER_AS_JOB_FUNCTION", + "AGENCY_SELECTED_MEDIA_PLANNER_AS_JOB_FUNCTION", + "AGENCY_SELECTED_OTHER_AS_JOB_FUNCTION", + "AGENCY_SELECTED_PRODUCTION_AS_JOB_FUNCTION", + "AGENCY_SELECTED_SEO_AS_JOB_FUNCTION", + "AGENCY_SELECTED_SALES_REP_AS_JOB_FUNCTION", + "AGENCY_SELECTED_SEARCH_SPECIALIST_AS_JOB_FUNCTION", + "AGENCY_ADDED_CHANNELS_IN_MY_PROFILE_PORTAL", + "AGENCY_LOOKED_AT_ADD_CHANNEL_DROP_DOWN", + "AGENCY_SELECTED_CROSS_CHANNEL_FROM_ADD_CHANNEL", + "AGENCY_SELECTED_DISPLAY_FROM_ADD_CHANNEL", + "AGENCY_SELECTED_MOBILE_FROM_ADD_CHANNEL", + "AGENCY_SELECTED_SEARCH_FROM_ADD_CHANNEL", + "AGENCY_SELECTED_SOCIAL_FROM_ADD_CHANNEL", + "AGENCY_SELECTED_TOOLS_FROM_ADD_CHANNEL", + "AGENCY_SELECTED_YOUTUBE_FROM_ADD_CHANNEL", + "AGENCY_ADDED_INDUSTRIES_IN_MY_PROFILE_PORTAL", + "AGENCY_CHANGED_ADD_INDUSTRIES_DROP_DOWN", + "AGENCY_ADDED_MARKETS_IN_MY_PROFILE_PORTAL", + "AGENCY_CHANGED_ADD_MARKETS_DROP_DOWN", + "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_MYPROFILE", + "AGENCY_CHECKED_RECIEVE_MAIL_PROMOTIONS_SIGNUP", + "AGENCY_SELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH", + "AGENCY_SELECTED_OPT_IN_BETA_TESTS_IN_MY_PROFILE_PORTAL", + "AGENCY_SELECTED_OPT_IN_NEWS_IN_MY_PROFILE_PORTAL", + "AGENCY_SELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS", + "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUG_IN_MY_PROFILE_PORTAL", + "AGENCY_SELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS", + "AGENCY_SELECTED_OPT_IN_SELECT_ALL_EMAIL_NOTIFICATIONS", + "AGENCY_SELECTED_SELECT_ALL_OPT_INS_IN_MY_PROFILE_PORTAL", + "AGENCY_CLICKED_BACK_BUTTON_ON_CONNECT_WITH_COMPANY", + "AGENCY_CLICKED_CONTINUE_TO_OVERVIEW_ON_CONNECT_WITH_COMPANY", + "AGECNY_CLICKED_CREATE_MCC_CONNECT_WITH_COMPANY_NOT_FOUND", + "AGECNY_CLICKED_GIVE_EDIT_ACCESS_CONNECT_WITH_COMPANY_NOT_FOUND", + "AGECNY_CLICKED_LOG_OUT_CONNECT_WITH_COMPANY_NOT_FOUND", + "AGENCY_CLICKED_SKIP_FOR_NOW_ON_CONNECT_WITH_COMPANY_PAGE", + "AGENCY_CLOSED_CONNECTED_TO_COMPANY_X_BUTTON_WRONG_COMPANY", + "AGENCY_COMPLETED_FIELD_CONNECT_WITH_COMPANY", + "AGECNY_FOUND_COMPANY_TO_CONNECT_WITH", + "AGENCY_SUCCESSFULLY_CREATED_COMPANY", + "AGENCY_ADDED_NEW_COMPANY_LOCATION", + "AGENCY_CLICKED_COMMUNITY_JOIN_NOW_LINK_IN_PORTAL_NOTIFICATIONS", + "AGENCY_CLICKED_CONNECT_TO_COMPANY_LINK_IN_PORTAL_NOTIFICATIONS", + "AGENCY_CLICKED_GET_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS", + "AGENCY_CLICKED_GET_VIDEO_ADS_CERTIFIED_LINK_IN_PORTAL_NOTIFICATIONS", + "AGENCY_CLICKED_LINK_TO_MCC_LINK_IN_PORTAL_NOTIFICATIONS", + "AGENCY_CLICKED_INSIGHT_CONTENT_IN_PORTAL", + "AGENCY_CLICKED_INSIGHTS_VIEW_NOW_PITCH_DECKS_IN_PORTAL", + "AGENCY_CLICKED_INSIGHTS_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_INSIGHTS_UPLOAD_CONTENT", + "AGENCY_CLICKED_INSIGHTS_VIEWED_DEPRECATED", + "AGENCY_CLICKED_COMMUNITY_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_JOIN_COMMUNITY_BUTTON_COMMUNITY_PORTAL", + "AGENCY_CLICKED_CERTIFICATIONS_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_CERTIFICATIONS_PRODUCT_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_PARTNER_STATUS_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_PARTNER_STATUS_PRODUCT_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_OFFERS_LEFT_NAV_IN_PORTAL", + "AGENCY_CLICKED_SEND_BUTTON_ON_OFFERS_PAGE", + "AGENCY_CLICKED_EXAM_DETAILS_ON_CERT_ADWORDS_PAGE", + "AGENCY_CLICKED_SEE_EXAMS_CERTIFICATION_MAIN_PAGE", + "AGENCY_CLICKED_TAKE_EXAM_ON_CERT_EXAM_PAGE", + "AGENCY_OPENED_LAST_ADMIN_DIALOG", + "AGENCY_OPENED_DIALOG_WITH_NO_USERS", + "AGENCY_PROMOTED_USER_TO_ADMIN", + "AGENCY_UNAFFILIATED", + "AGENCY_CHANGED_ROLES", + "SMB_CLICKED_COMPANY_NAME_LINK_TO_PROFILE", + "SMB_VIEWED_ADWORDS_CERTIFICATE", + "SMB_VIEWED_ADWORDS_SEARCH_CERTIFICATE", + "SMB_VIEWED_ADWORDS_DISPLAY_CERTIFICATE", + "SMB_CLICKED_ADWORDS_CERTIFICATE_HELP_ICON", + "SMB_VIEWED_ANALYTICS_CERTIFICATE", + "SMB_VIEWED_DOUBLECLICK_CERTIFICATE", + "SMB_VIEWED_MOBILE_SITES_CERTIFICATE", + "SMB_VIEWED_VIDEO_ADS_CERTIFICATE", + "SMB_VIEWED_SHOPPING_CERTIFICATE", + "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON", + "CLICKED_HELP_AT_BOTTOM", + "CLICKED_HELP_AT_TOP", + "CLIENT_ERROR", + "AGENCY_CLICKED_LEFT_NAV_STORIES", + "CLICKED", + "SMB_VIEWED_MOBILE_CERTIFICATE", + "AGENCY_FAILED_COMPANY_VERIFICATION", + "VISITED_LANDING", + "VISITED_GPS", + "VISITED_AGENCY_PORTAL", + "CANCELLED_INDIVIDUAL_SIGN_UP", + "CANCELLED_COMPANY_SIGN_UP", + "AGENCY_CLICKED_SIGN_IN_BUTTON_TOP", + "AGENCY_CLICKED_SAVE_AND_CONTINUE_AT_BOT_OF_INCOMPLETE_PROFILE", + "AGENCY_UNSELECTED_OPT_IN_NEWS_INVITATIONS_AND_PROMOS", + "AGENCY_UNSELECTED_OPT_IN_BETA_TESTS_AND_MKT_RESEARCH", + "AGENCY_UNSELECTED_OPT_IN_PERFORMANCE_SUGGESTIONS", + "AGENCY_SELECTED_OPT_OUT_UNSELECT_ALL_EMAIL_NOTIFICATIONS", + "AGENCY_LINKED_INDIVIDUAL_MCC", + "AGENCY_SUGGESTED_TO_USER", + "AGENCY_IGNORED_SUGGESTED_AGENCIES_AND_SEARCHED", + "AGENCY_PICKED_SUGGESTED_AGENCY", + "AGENCY_SEARCHED_FOR_AGENCIES", + "AGENCY_PICKED_SEARCHED_AGENCY", + "AGENCY_DISMISSED_AFFILIATION_WIDGET", + "AGENCY_CLICKED_INSIGHTS_DOWNLOAD_CONTENT", + "AGENCY_PROGRESS_INSIGHTS_VIEW_CONTENT", + "AGENCY_CLICKED_CANCEL_ACCEPT_TOS_BUTTON", + "SMB_ENTERED_WEBSITE_IN_CONTACT_PARTNER_FORM" ] }, "url": { @@ -2296,8 +2502,8 @@ "type": "string" }, "requestMetadata": { - "description": "Current request metadata.", - "$ref": "RequestMetadata" + "$ref": "RequestMetadata", + "description": "Current request metadata." }, "eventScope": { "description": "The scope of the event.", @@ -2323,65 +2529,82 @@ } } }, - "id": "LogUserEventRequest" + "id": "LogUserEventRequest", + "description": "Request message for\nLogUserEvent.", + "type": "object" + }, + "UserOverrides": { + "description": "Values to use instead of the user's respective defaults. These are only\nhonored by whitelisted products.", + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Logged-in user ID to impersonate instead of the user's ID." + }, + "ipAddress": { + "description": "IP address to use instead of the user's geo-located IP address.", + "type": "string" + } + }, + "id": "UserOverrides" }, "AnalyticsDataPoint": { "description": "Details of the analytics events for a `Company` within a single day.", "type": "object", "properties": { - "eventLocations": { - "type": "array", - "items": { - "$ref": "LatLng" - }, - "description": "Location information of where these events occurred." - }, "eventCount": { "description": "Number of times the type of event occurred.\nMeaning depends on context (e.g. profile views, contacts, etc.).", "format": "int32", "type": "integer" + }, + "eventLocations": { + "description": "Location information of where these events occurred.", + "type": "array", + "items": { + "$ref": "LatLng" + } } }, "id": "AnalyticsDataPoint" }, "Analytics": { + "description": "Analytics data for a `Company` within a single day.", + "type": "object", "properties": { "contacts": { "$ref": "AnalyticsDataPoint", "description": "Instances of users contacting the `Company`\non the specified date." }, "eventDate": { - "description": "Date on which these events occurred.", - "$ref": "Date" + "$ref": "Date", + "description": "Date on which these events occurred." }, "profileViews": { - "$ref": "AnalyticsDataPoint", - "description": "Instances of users viewing the `Company` profile\non the specified date." + "description": "Instances of users viewing the `Company` profile\non the specified date.", + "$ref": "AnalyticsDataPoint" }, "searchViews": { "$ref": "AnalyticsDataPoint", "description": "Instances of users seeing the `Company` in Google Partners Search results\non the specified date." } }, - "id": "Analytics", - "description": "Analytics data for a `Company` within a single day.", - "type": "object" + "id": "Analytics" }, "AdWordsManagerAccountInfo": { - "description": "Information about a particular AdWords Manager Account.\nRead more at https://support.google.com/adwords/answer/6139186", "type": "object", "properties": { + "customerName": { + "description": "Name of the customer this account represents.", + "type": "string" + }, "id": { "description": "The AdWords Manager Account id.", "format": "int64", "type": "string" - }, - "customerName": { - "description": "Name of the customer this account represents.", - "type": "string" } }, - "id": "AdWordsManagerAccountInfo" + "id": "AdWordsManagerAccountInfo", + "description": "Information about a particular AdWords Manager Account.\nRead more at https://support.google.com/adwords/answer/6139186" }, "PublicProfile": { "description": "Basic information from a public profile.", @@ -2392,20 +2615,20 @@ "type": "string" }, "url": { - "description": "The URL of the public profile.", - "type": "string" + "type": "string", + "description": "The URL of the public profile." }, "profileImage": { - "type": "string", - "description": "The URL to the main profile image of the public profile." + "description": "The URL to the main profile image of the public profile.", + "type": "string" }, "displayName": { "description": "The display name of the public profile.", "type": "string" }, "displayImageUrl": { - "description": "The URL to the main display image of the public profile. Being deprecated.", - "type": "string" + "type": "string", + "description": "The URL to the main display image of the public profile. Being deprecated." } }, "id": "PublicProfile" @@ -2415,8 +2638,8 @@ "type": "object", "properties": { "debugInfo": { - "description": "Debug information about this request.", - "$ref": "DebugInfo" + "$ref": "DebugInfo", + "description": "Debug information about this request." } }, "id": "ResponseMetadata" @@ -2437,9 +2660,29 @@ } }, "AvailableOffer": { + "type": "object", "properties": { + "name": { + "description": "Name of the offer.", + "type": "string" + }, + "id": { + "description": "ID of this offer.", + "format": "int64", + "type": "string" + }, + "qualifiedCustomersComplete": { + "type": "boolean", + "description": "Whether or not the list of qualified customers is definitely complete." + }, + "countryOfferInfos": { + "description": "Offer info by country.", + "type": "array", + "items": { + "$ref": "CountryOfferInfo" + } + }, "offerType": { - "type": "string", "enumDescriptions": [ "Unset.", "AdWords spend X get Y.", @@ -2452,12 +2695,13 @@ "OFFER_TYPE_VIDEO", "OFFER_TYPE_SPEND_MATCH" ], - "description": "Type of offer." + "description": "Type of offer.", + "type": "string" }, "maxAccountAge": { + "type": "integer", "description": "The maximum age of an account [in days] to be eligible.", - "format": "int32", - "type": "integer" + "format": "int32" }, "qualifiedCustomer": { "type": "array", @@ -2484,7 +2728,6 @@ "type": "string" }, "offerLevel": { - "type": "string", "enumDescriptions": [ "Unset.", "Users/Agencies that have no offers because of a problem.", @@ -2505,51 +2748,34 @@ "OFFER_LEVEL_LIMIT_15", "OFFER_LEVEL_LIMIT_50" ], - "description": "Level of this offer." - }, - "name": { - "type": "string", - "description": "Name of the offer." - }, - "id": { - "description": "ID of this offer.", - "format": "int64", + "description": "Level of this offer.", "type": "string" - }, - "qualifiedCustomersComplete": { - "description": "Whether or not the list of qualified customers is definitely complete.", - "type": "boolean" - }, - "countryOfferInfos": { - "type": "array", - "items": { - "$ref": "CountryOfferInfo" - }, - "description": "Offer info by country." } }, "id": "AvailableOffer", - "description": "Available Offers to be distributed.", - "type": "object" + "description": "Available Offers to be distributed." }, "LatLng": { - "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", "type": "object", "properties": { - "latitude": { - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", "format": "double", "type": "number" }, - "longitude": { - "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", "format": "double", "type": "number" } }, - "id": "LatLng" + "id": "LatLng", + "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION." }, "Money": { + "id": "Money", + "description": "Represents an amount of money with its currency type.", + "type": "object", "properties": { "units": { "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", @@ -2565,15 +2791,9 @@ "format": "int32", "type": "integer" } - }, - "id": "Money", - "description": "Represents an amount of money with its currency type.", - "type": "object" + } }, "AnalyticsSummary": { - "id": "AnalyticsSummary", - "description": "Analytics aggregated data for a `Company` for a given date range.", - "type": "object", "properties": { "searchViewsCount": { "description": "Aggregated number of times users saw the `Company`\nin Google Partners Search results for given date range.", @@ -2586,18 +2806,19 @@ "type": "integer" }, "profileViewsCount": { + "type": "integer", "description": "Aggregated number of profile views for the `Company` for given date range.", - "format": "int32", - "type": "integer" + "format": "int32" } - } + }, + "id": "AnalyticsSummary", + "description": "Analytics aggregated data for a `Company` for a given date range.", + "type": "object" }, "LogMessageRequest": { + "description": "Request message for\nLogClientMessage.", + "type": "object", "properties": { - "details": { - "description": "Details about the client message.", - "type": "string" - }, "clientInfo": { "additionalProperties": { "type": "string" @@ -2606,18 +2827,10 @@ "type": "object" }, "requestMetadata": { - "$ref": "RequestMetadata", - "description": "Current request metadata." + "description": "Current request metadata.", + "$ref": "RequestMetadata" }, "level": { - "type": "string", - "enumDescriptions": [ - "Unchosen.", - "Message level for tracing information.", - "Message level for informational messages.", - "Message level for potential problems.", - "Message level for serious failures." - ], "enum": [ "MESSAGE_LEVEL_UNSPECIFIED", "ML_FINE", @@ -2625,23 +2838,41 @@ "ML_WARNING", "ML_SEVERE" ], - "description": "Message level of client message." + "description": "Message level of client message.", + "type": "string", + "enumDescriptions": [ + "Unchosen.", + "Message level for tracing information.", + "Message level for informational messages.", + "Message level for potential problems.", + "Message level for serious failures." + ] + }, + "details": { + "description": "Details about the client message.", + "type": "string" } }, - "id": "LogMessageRequest", - "description": "Request message for\nLogClientMessage.", - "type": "object" + "id": "LogMessageRequest" }, "Lead": { "description": "A lead resource that represents an advertiser contact for a `Company`. These\nare usually generated via Google Partner Search (the advertiser portal).", "type": "object", "properties": { - "languageCode": { - "description": "Language code of the lead's language preference, as defined by\n\u003ca href=\"https://tools.ietf.org/html/bcp47\"\u003eBCP 47\u003c/a\u003e\n(IETF BCP 47, \"Tags for Identifying Languages\").", + "givenName": { + "description": "First name of lead source.", "type": "string" }, + "minMonthlyBudget": { + "description": "The minimum monthly budget lead source is willing to spend.", + "$ref": "Money" + }, "websiteUrl": { - "description": "Website URL of lead source.", + "type": "string", + "description": "Website URL of lead source." + }, + "languageCode": { + "description": "Language code of the lead's language preference, as defined by\n\u003ca href=\"https://tools.ietf.org/html/bcp47\"\u003eBCP 47\u003c/a\u003e\n(IETF BCP 47, \"Tags for Identifying Languages\").", "type": "string" }, "state": { @@ -2663,6 +2894,7 @@ "type": "string" }, "gpsMotivations": { + "description": "List of reasons for using Google Partner Search and creating a lead.", "type": "array", "items": { "enum": [ @@ -2678,25 +2910,24 @@ "Advertiser needs help with their advertising.", "Advertiser needs help with their website.", "Advertiser does not have a website." - ], - "description": "List of reasons for using Google Partner Search and creating a lead." + ] }, "email": { - "description": "Email address of lead source.", - "type": "string" - }, - "familyName": { "type": "string", - "description": "Last name of lead source." + "description": "Email address of lead source." }, - "id": { - "description": "ID of the lead.", + "familyName": { + "description": "Last name of lead source.", "type": "string" }, "comments": { "description": "Comments lead source gave.", "type": "string" }, + "id": { + "type": "string", + "description": "ID of the lead." + }, "adwordsCustomerId": { "description": "The AdWords Customer ID of the lead.", "format": "int64", @@ -2716,24 +2947,16 @@ "type": "boolean" }, "type": { - "enum": [ - "LEAD_TYPE_UNSPECIFIED", - "LT_GPS" - ], - "description": "Type of lead.", "type": "string", "enumDescriptions": [ "Unchosen.", "Google Partner Search." - ] - }, - "minMonthlyBudget": { - "$ref": "Money", - "description": "The minimum monthly budget lead source is willing to spend." - }, - "givenName": { - "description": "First name of lead source.", - "type": "string" + ], + "enum": [ + "LEAD_TYPE_UNSPECIFIED", + "LT_GPS" + ], + "description": "Type of lead." } }, "id": "Lead" @@ -2748,8 +2971,8 @@ "type": "string" }, "serverTraceInfo": { - "type": "string", - "description": "Server-side debug stack trace." + "description": "Server-side debug stack trace.", + "type": "string" }, "serviceUrl": { "description": "URL of the service that handled this request.", @@ -2761,11 +2984,11 @@ "description": "Response message for\nListUserStates.", "type": "object", "properties": { - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." - }, "userStates": { + "enumDescriptions": [ + "Unchosen.", + "User must pass \u003ca href=\"https://www.google.com/recaptcha/\"\u003ereCaptcha\u003c/a\u003e to\ncontact a Partner via Google Partner Search." + ], "description": "User's states.", "type": "array", "items": { @@ -2774,11 +2997,11 @@ "US_REQUIRES_RECAPTCHA_FOR_GPS_CONTACT" ], "type": "string" - }, - "enumDescriptions": [ - "Unchosen.", - "User must pass \u003ca href=\"https://www.google.com/recaptcha/\"\u003ereCaptcha\u003c/a\u003e to\ncontact a Partner via Google Partner Search." - ] + } + }, + "responseMetadata": { + "$ref": "ResponseMetadata", + "description": "Current response metadata." } }, "id": "ListUserStatesResponse" @@ -2787,33 +3010,14 @@ "description": "A CompanyRelation resource representing information about a user's\naffiliation and standing with a company in Partners.", "type": "object", "properties": { - "logoUrl": { - "description": "A URL to a profile photo, e.g. a G+ profile photo.", - "type": "string" - }, - "resolvedTimestamp": { - "description": "The timestamp when the user was approved.\n@OutputOnly", - "format": "google-datetime", - "type": "string" - }, - "companyAdmin": { - "description": "Indicates if the user is an admin for this company.", - "type": "boolean" - }, - "address": { - "description": "The primary address for this company.", - "type": "string" - }, - "isPending": { - "description": "The flag that indicates if the company is pending verification.", - "type": "boolean" - }, "creationTime": { "description": "The timestamp of when affiliation was requested.\n@OutputOnly", "format": "google-datetime", "type": "string" }, "state": { + "description": "The state of relationship, in terms of approvals.", + "type": "string", "enumDescriptions": [ "Default unspecified value.", "User has filled in a request to be associated with an company.\nNow waiting email confirmation.", @@ -2825,30 +3029,28 @@ "USER_COMPANY_RELATION_STATE_AWAIT_EMAIL", "USER_COMPANY_RELATION_STATE_AWAIT_ADMIN", "USER_COMPANY_RELATION_STATE_APPROVED" - ], - "description": "The state of relationship, in terms of approvals.", - "type": "string" - }, - "name": { - "description": "The name (in the company's primary language) for the company.", - "type": "string" + ] }, "managerAccount": { "description": "The AdWords manager account # associated this company.", "format": "int64", "type": "string" }, + "name": { + "description": "The name (in the company's primary language) for the company.", + "type": "string" + }, "segment": { "description": "The segment the company is classified as.", "type": "array", "items": { + "type": "string", "enum": [ "COMPANY_SEGMENT_UNKNOWN", "COMPANY_SEGMENT_NAL", "COMPANY_SEGMENT_PSP", "COMPANY_SEGMENT_PPSP" - ], - "type": "string" + ] }, "enumDescriptions": [ "Default segment indicates an unknown.", @@ -2865,42 +3067,59 @@ } }, "badgeTier": { + "enumDescriptions": [ + "Tier badge is not set.", + "Agency has regular partner badge.", + "Agency has premier badge." + ], "enum": [ "BADGE_TIER_NONE", "BADGE_TIER_REGULAR", "BADGE_TIER_PREMIER" ], - "description": "Whether the company is a Partner.", - "type": "string", - "enumDescriptions": [ - "Tier badge is not set.", - "Agency has regular partner badge.", - "Agency has premier badge." - ] + "description": "Whether the company is a Partner.", + "type": "string" }, "phoneNumber": { - "description": "The phone number for the company's primary address.", - "type": "string" + "type": "string", + "description": "The phone number for the company's primary address." }, "website": { - "description": "The website URL for this company.", - "type": "string" + "type": "string", + "description": "The website URL for this company." }, "companyId": { "description": "The ID of the company. There may be no id if this is a\npending company.5", "type": "string" + }, + "logoUrl": { + "description": "A URL to a profile photo, e.g. a G+ profile photo.", + "type": "string" + }, + "resolvedTimestamp": { + "description": "The timestamp when the user was approved.\n@OutputOnly", + "format": "google-datetime", + "type": "string" + }, + "companyAdmin": { + "description": "Indicates if the user is an admin for this company.", + "type": "boolean" + }, + "address": { + "description": "The primary address for this company.", + "type": "string" + }, + "isPending": { + "description": "The flag that indicates if the company is pending verification.", + "type": "boolean" } }, "id": "CompanyRelation" }, "Date": { + "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", "type": "object", "properties": { - "month": { - "description": "Month of year. Must be from 1 to 12.", - "format": "int32", - "type": "integer" - }, "year": { "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.", "format": "int32", @@ -2910,10 +3129,14 @@ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.", "format": "int32", "type": "integer" + }, + "month": { + "description": "Month of year. Must be from 1 to 12.", + "format": "int32", + "type": "integer" } }, - "id": "Date", - "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`." + "id": "Date" }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", @@ -2922,8 +3145,6 @@ "id": "Empty" }, "TrafficSource": { - "description": "Source of traffic for the current request.", - "type": "object", "properties": { "trafficSourceId": { "description": "Identifier to indicate where the traffic comes from.\nAn identifier has multiple letters created by a team which redirected the\ntraffic to us.", @@ -2934,13 +3155,16 @@ "type": "string" } }, - "id": "TrafficSource" + "id": "TrafficSource", + "description": "Source of traffic for the current request.", + "type": "object" }, "CreateLeadRequest": { + "type": "object", "properties": { "requestMetadata": { - "$ref": "RequestMetadata", - "description": "Current request metadata." + "description": "Current request metadata.", + "$ref": "RequestMetadata" }, "lead": { "$ref": "Lead", @@ -2952,24 +3176,11 @@ } }, "id": "CreateLeadRequest", - "description": "Request message for CreateLead.", - "type": "object" + "description": "Request message for CreateLead." }, "RequestMetadata": { - "description": "Common data that is in each API request.", "type": "object", "properties": { - "experimentIds": { - "description": "Experiment IDs the current request belongs to.", - "type": "array", - "items": { - "type": "string" - } - }, - "trafficSource": { - "$ref": "TrafficSource", - "description": "Source of traffic for the current request." - }, "locale": { "description": "Locale to use for the current request.", "type": "string" @@ -2981,53 +3192,25 @@ "partnersSessionId": { "description": "Google Partners session ID.", "type": "string" + }, + "experimentIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Experiment IDs the current request belongs to." + }, + "trafficSource": { + "$ref": "TrafficSource", + "description": "Source of traffic for the current request." } }, - "id": "RequestMetadata" + "id": "RequestMetadata", + "description": "Common data that is in each API request." }, "EventData": { "properties": { "key": { - "enumDescriptions": [ - "Unchosen.", - "Action data.", - "Agency ID data.", - "Agency name data.", - "Agency phone number data.", - "Agency website data.", - "Budget data.", - "Center-point data.", - "Certification data.", - "Comment data.", - "Country data.", - "Currency data.", - "Currently viewed agency ID data.", - "Distance data.", - "Distance type data.", - "Exam data.", - "History token data.", - "Identifier data.", - "Industry data.", - "Insight tag data.", - "Language data.", - "Location data.", - "Marketing opt-in data.", - "Query data.", - "Search start index data.", - "Service data.", - "Show vow data.", - "Solution data.", - "Traffic source ID data.", - "Traffic sub ID data.", - "Viewport data.", - "Website data.", - "Details data.", - "Experiment ID data.", - "Google Partner Search motivation data.", - "URL data.", - "Element we wanted user to focus on.", - "Progress when viewing an item \\[0-100\\]." - ], "enum": [ "EVENT_DATA_TYPE_UNSPECIFIED", "ACTION", @@ -3069,14 +3252,54 @@ "PROGRESS" ], "description": "Data type.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Unchosen.", + "Action data.", + "Agency ID data.", + "Agency name data.", + "Agency phone number data.", + "Agency website data.", + "Budget data.", + "Center-point data.", + "Certification data.", + "Comment data.", + "Country data.", + "Currency data.", + "Currently viewed agency ID data.", + "Distance data.", + "Distance type data.", + "Exam data.", + "History token data.", + "Identifier data.", + "Industry data.", + "Insight tag data.", + "Language data.", + "Location data.", + "Marketing opt-in data.", + "Query data.", + "Search start index data.", + "Service data.", + "Show vow data.", + "Solution data.", + "Traffic source ID data.", + "Traffic sub ID data.", + "Viewport data.", + "Website data.", + "Details data.", + "Experiment ID data.", + "Google Partner Search motivation data.", + "URL data.", + "Element we wanted user to focus on.", + "Progress when viewing an item \\[0-100\\]." + ] }, "values": { + "description": "Data values.", "type": "array", "items": { "type": "string" - }, - "description": "Data values." + } } }, "id": "EventData", @@ -3087,20 +3310,6 @@ "description": "A user's information on a specific exam.", "type": "object", "properties": { - "expiration": { - "description": "Date this exam is due to expire.", - "format": "google-datetime", - "type": "string" - }, - "warning": { - "description": "Whether this exam is in the state of warning.", - "type": "boolean" - }, - "lastPassed": { - "description": "The date the user last passed this exam.", - "format": "google-datetime", - "type": "string" - }, "examType": { "enumDescriptions": [ "Unchosen.", @@ -3131,12 +3340,26 @@ "description": "The type of the exam.", "type": "string" }, + "taken": { + "description": "The date the user last taken this exam.", + "format": "google-datetime", + "type": "string" + }, "passed": { "description": "Whether this exam has been passed and not expired.", "type": "boolean" }, - "taken": { - "description": "The date the user last taken this exam.", + "warning": { + "description": "Whether this exam is in the state of warning.", + "type": "boolean" + }, + "expiration": { + "description": "Date this exam is due to expire.", + "format": "google-datetime", + "type": "string" + }, + "lastPassed": { + "description": "The date the user last passed this exam.", "format": "google-datetime", "type": "string" } @@ -3144,10 +3367,24 @@ "id": "ExamStatus" }, "ListOffersResponse": { + "id": "ListOffersResponse", "description": "Response for ListOffer.", "type": "object", "properties": { + "availableOffers": { + "type": "array", + "items": { + "$ref": "AvailableOffer" + }, + "description": "Available Offers to be distributed." + }, + "responseMetadata": { + "description": "Current response metadata.", + "$ref": "ResponseMetadata" + }, "noOfferReason": { + "description": "Reason why no Offers are available.", + "type": "string", "enumDescriptions": [ "Unset.", "Not an MCC.", @@ -3159,27 +3396,11 @@ "NO_OFFER_REASON_NO_MCC", "NO_OFFER_REASON_LIMIT_REACHED", "NO_OFFER_REASON_INELIGIBLE" - ], - "description": "Reason why no Offers are available.", - "type": "string" - }, - "availableOffers": { - "description": "Available Offers to be distributed.", - "type": "array", - "items": { - "$ref": "AvailableOffer" - } - }, - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." + ] } - }, - "id": "ListOffersResponse" + } }, "CountryOfferInfo": { - "description": "Offer info by country.", - "type": "object", "properties": { "offerCountryCode": { "description": "Country code for which offer codes may be requested.", @@ -3190,6 +3411,12 @@ "type": "string" }, "offerType": { + "enumDescriptions": [ + "Unset.", + "AdWords spend X get Y.", + "Youtube video.", + "Spend Match up to Y." + ], "enum": [ "OFFER_TYPE_UNSPECIFIED", "OFFER_TYPE_SPEND_X_GET_Y", @@ -3197,23 +3424,18 @@ "OFFER_TYPE_SPEND_MATCH" ], "description": "Type of offer country is eligible for.", - "type": "string", - "enumDescriptions": [ - "Unset.", - "AdWords spend X get Y.", - "Youtube video.", - "Spend Match up to Y." - ] + "type": "string" }, "getYAmount": { "description": "(localized) Get Y amount for that country's offer.", "type": "string" } }, - "id": "CountryOfferInfo" + "id": "CountryOfferInfo", + "description": "Offer info by country.", + "type": "object" }, "ListCompaniesResponse": { - "description": "Response message for\nListCompanies.", "type": "object", "properties": { "companies": { @@ -3228,16 +3450,21 @@ "type": "string" }, "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." + "description": "Current response metadata.", + "$ref": "ResponseMetadata" } }, - "id": "ListCompaniesResponse" + "id": "ListCompaniesResponse", + "description": "Response message for\nListCompanies." }, "OfferCustomer": { "description": "Customers qualified for an offer.", "type": "object", "properties": { + "spendXAmount": { + "description": "Formatted Spend X amount with currency code.", + "type": "string" + }, "adwordsUrl": { "description": "URL to the customer's AdWords page.", "type": "string" @@ -3248,54 +3475,52 @@ "type": "string" }, "countryCode": { - "description": "Country code of the customer.", - "type": "string" + "type": "string", + "description": "Country code of the customer." }, "creationTime": { + "type": "string", "description": "Time the customer was created.", - "format": "google-datetime", - "type": "string" - }, - "eligibilityDaysLeft": { - "description": "Days the customer is still eligible.", - "format": "int32", - "type": "integer" + "format": "google-datetime" }, "offerType": { - "enum": [ - "OFFER_TYPE_UNSPECIFIED", - "OFFER_TYPE_SPEND_X_GET_Y", - "OFFER_TYPE_VIDEO", - "OFFER_TYPE_SPEND_MATCH" - ], - "description": "Type of the offer", "type": "string", "enumDescriptions": [ "Unset.", "AdWords spend X get Y.", "Youtube video.", "Spend Match up to Y." - ] + ], + "enum": [ + "OFFER_TYPE_UNSPECIFIED", + "OFFER_TYPE_SPEND_X_GET_Y", + "OFFER_TYPE_VIDEO", + "OFFER_TYPE_SPEND_MATCH" + ], + "description": "Type of the offer" + }, + "eligibilityDaysLeft": { + "type": "integer", + "description": "Days the customer is still eligible.", + "format": "int32" }, "getYAmount": { - "description": "Formatted Get Y amount with currency code.", - "type": "string" + "type": "string", + "description": "Formatted Get Y amount with currency code." }, "name": { "description": "Name of the customer.", "type": "string" - }, - "spendXAmount": { - "description": "Formatted Spend X amount with currency code.", - "type": "string" } }, "id": "OfferCustomer" }, "CertificationStatus": { - "description": "Google Partners certification status.", - "type": "object", "properties": { + "isCertified": { + "description": "Whether certification is passing.", + "type": "boolean" + }, "examStatuses": { "description": "List of certification exam statuses.", "type": "array", @@ -3304,7 +3529,6 @@ } }, "type": { - "description": "The type of the certification.", "type": "string", "enumDescriptions": [ "Unchosen.", @@ -3333,26 +3557,23 @@ "CT_ADWORDS_SEARCH", "CT_ADWORDS_DISPLAY", "CT_MOBILE_SITES" - ] + ], + "description": "The type of the certification." }, "userCount": { "description": "Number of people who are certified,", "format": "int32", "type": "integer" - }, - "isCertified": { - "description": "Whether certification is passing.", - "type": "boolean" } }, - "id": "CertificationStatus" + "id": "CertificationStatus", + "description": "Google Partners certification status.", + "type": "object" }, "LocalizedCompanyInfo": { + "description": "The localized company information.", + "type": "object", "properties": { - "overview": { - "description": "Localized brief description that the company uses to advertise themselves.", - "type": "string" - }, "displayName": { "description": "Localized display name.", "type": "string" @@ -3367,11 +3588,13 @@ "items": { "type": "string" } + }, + "overview": { + "description": "Localized brief description that the company uses to advertise themselves.", + "type": "string" } }, - "id": "LocalizedCompanyInfo", - "description": "The localized company information.", - "type": "object" + "id": "LocalizedCompanyInfo" }, "LogUserEventResponse": { "description": "Response message for\nLogUserEvent.", @@ -3383,234 +3606,11 @@ } }, "id": "LogUserEventResponse" - }, - "ListOffersHistoryResponse": { - "description": "Response for ListOfferHistory.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "Supply this token in a ListOffersHistoryRequest to retrieve the next page.", - "type": "string" - }, - "responseMetadata": { - "description": "Current response metadata.", - "$ref": "ResponseMetadata" - }, - "canShowEntireCompany": { - "description": "True if the user has the option to show entire company history.", - "type": "boolean" - }, - "totalResults": { - "description": "Number of results across all pages.", - "format": "int32", - "type": "integer" - }, - "showingEntireCompany": { - "type": "boolean", - "description": "True if this response is showing entire company history." - }, - "offers": { - "description": "Historical offers meeting request.", - "type": "array", - "items": { - "$ref": "HistoricalOffer" - } - } - }, - "id": "ListOffersHistoryResponse" - }, - "LogMessageResponse": { - "description": "Response message for\nLogClientMessage.", - "type": "object", - "properties": { - "responseMetadata": { - "$ref": "ResponseMetadata", - "description": "Current response metadata." - } - }, - "id": "LogMessageResponse" - }, - "SpecializationStatus": { - "description": "Agency specialization status", - "type": "object", - "properties": { - "badgeSpecialization": { - "enumDescriptions": [ - "Unknown specialization", - "AdWords Search specialization", - "AdWords Display specialization", - "AdWords Mobile specialization", - "AdWords Video specialization", - "AdWords Shopping specialization" - ], - "enum": [ - "BADGE_SPECIALIZATION_UNKNOWN", - "BADGE_SPECIALIZATION_ADWORDS_SEARCH", - "BADGE_SPECIALIZATION_ADWORDS_DISPLAY", - "BADGE_SPECIALIZATION_ADWORDS_MOBILE", - "BADGE_SPECIALIZATION_ADWORDS_VIDEO", - "BADGE_SPECIALIZATION_ADWORDS_SHOPPING" - ], - "description": "The specialization this status is for.", - "type": "string" - }, - "badgeSpecializationState": { - "enumDescriptions": [ - "Unknown state", - "Specialization passed", - "Specialization not passed", - "Specialization in grace" - ], - "enum": [ - "BADGE_SPECIALIZATION_STATE_UNKNOWN", - "BADGE_SPECIALIZATION_STATE_PASSED", - "BADGE_SPECIALIZATION_STATE_NOT_PASSED", - "BADGE_SPECIALIZATION_STATE_IN_GRACE" - ], - "description": "State of agency specialization.", - "type": "string" - } - }, - "id": "SpecializationStatus" - }, - "Certification": { - "description": "A user's information on a specific certification.", - "type": "object", - "properties": { - "certificationType": { - "description": "The type of certification, the area of expertise.", - "type": "string", - "enumDescriptions": [ - "Unchosen.", - "AdWords certified.", - "YouTube certified.", - "VideoAds certified.", - "Analytics certified.", - "DoubleClick certified.", - "Shopping certified.", - "Mobile certified.", - "Digital sales certified.", - "AdWords Search certified.", - "AdWords Display certified.", - "Mobile Sites certified." - ], - "enum": [ - "CERTIFICATION_TYPE_UNSPECIFIED", - "CT_ADWORDS", - "CT_YOUTUBE", - "CT_VIDEOADS", - "CT_ANALYTICS", - "CT_DOUBLECLICK", - "CT_SHOPPING", - "CT_MOBILE", - "CT_DIGITAL_SALES", - "CT_ADWORDS_SEARCH", - "CT_ADWORDS_DISPLAY", - "CT_MOBILE_SITES" - ] - }, - "lastAchieved": { - "description": "The date the user last achieved certification.", - "format": "google-datetime", - "type": "string" - }, - "achieved": { - "description": "Whether this certification has been achieved.", - "type": "boolean" - }, - "expiration": { - "description": "Date this certification is due to expire.", - "format": "google-datetime", - "type": "string" - }, - "warning": { - "description": "Whether this certification is in the state of warning.", - "type": "boolean" - } - }, - "id": "Certification" - }, - "User": { - "properties": { - "examStatus": { - "description": "The list of exams the user ever taken. For each type of exam, only one\nentry is listed.", - "type": "array", - "items": { - "$ref": "ExamStatus" - } - }, - "id": { - "description": "The ID of the user.", - "type": "string" - }, - "publicProfile": { - "description": "Information about a user's external public profile outside Google Partners.", - "$ref": "PublicProfile" - }, - "certificationStatus": { - "description": "The list of achieved certifications. These are calculated based on exam\nresults and other requirements.\n@OutputOnly", - "type": "array", - "items": { - "$ref": "Certification" - } - }, - "companyVerificationEmail": { - "description": "The email address used by the user used for company verification.\n@OutputOnly", - "type": "string" - }, - "profile": { - "$ref": "UserProfile", - "description": "The profile information of a Partners user, contains all the directly\neditable user information." - }, - "company": { - "description": "The company that the user is associated with.\nIf not present, the user is not associated with any company.", - "$ref": "CompanyRelation" - }, - "lastAccessTime": { - "description": "The most recent time the user interacted with the Partners site.\n@OutputOnly", - "format": "google-datetime", - "type": "string" - }, - "primaryEmails": { - "description": "The list of emails the user has access to/can select as primary.\n@OutputOnly", - "type": "array", - "items": { - "type": "string" - } - }, - "availableAdwordsManagerAccounts": { - "description": "This is the list of AdWords Manager Accounts the user has edit access to.\nIf the user has edit access to multiple accounts, the user can choose the\npreferred account and we use this when a personal account is needed. Can\nbe empty meaning the user has access to no accounts.\n@OutputOnly", - "type": "array", - "items": { - "$ref": "AdWordsManagerAccountInfo" - } - } - }, - "id": "User", - "description": "A resource representing a user of the Partners platform.", - "type": "object" } }, "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "version": "v2", - "baseUrl": "https://partners.googleapis.com/", - "canonicalName": "Partners", - "servicePath": "", - "description": "Searches certified companies and creates contact leads with them, and also audits the usage of clients.", - "kind": "discovery#restDescription", - "rootUrl": "https://partners.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "partners", - "batchPath": "batch", - "revision": "20170324", - "documentationLink": "https://developers.google.com/partners/", - "id": "partners:v2", - "title": "Google Partners API", - "discoveryVersion": "v1", - "ownerName": "Google" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + } } diff --git a/DiscoveryJson/people_v1.json b/DiscoveryJson/people_v1.json index c2918fa417..d717166840 100644 --- a/DiscoveryJson/people_v1.json +++ b/DiscoveryJson/people_v1.json @@ -1,4 +1,14 @@ { + "basePath": "", + "ownerDomain": "google.com", + "name": "people", + "batchPath": "batch", + "revision": "20170328", + "documentationLink": "https://developers.google.com/people/", + "id": "people:v1", + "title": "Google People API", + "discoveryVersion": "v1", + "ownerName": "Google", "version_module": "True", "resources": { "people": { @@ -40,27 +50,30 @@ "id": "people.people.getBatchGet" }, "get": { + "flatPath": "v1/people/{peopleId}", + "id": "people.people.get", + "path": "v1/{+resourceName}", "description": "Provides information about a person resource for a resource name. Use\n`people/me` to indicate the authenticated user.", - "response": { - "$ref": "Person" - }, + "httpMethod": "GET", "parameterOrder": [ "resourceName" ], - "httpMethod": "GET", + "response": { + "$ref": "Person" + }, "parameters": { - "requestMask.includeField": { - "location": "query", - "description": "Comma-separated list of fields to be included in the response. Omitting\nthis field will include all fields except for connections.list requests,\nwhich have a default mask that includes common fields like metadata, name,\nphoto, and profile url.\nEach path should start with `person.`: for example, `person.names` or\n`person.photos`.", - "format": "google-fieldmask", - "type": "string" - }, "resourceName": { "location": "path", "description": "The resource name of the person to provide information about.\n\n- To get information about the authenticated user, specify `people/me`.\n- To get information about any user, specify the resource name that\n identifies the user, such as the resource names returned by\n [`people.connections.list`](/people/api/rest/v1/people.connections/list).", "required": true, "type": "string", "pattern": "^people/[^/]+$" + }, + "requestMask.includeField": { + "location": "query", + "description": "Comma-separated list of fields to be included in the response. Omitting\nthis field will include all fields except for connections.list requests,\nwhich have a default mask that includes common fields like metadata, name,\nphoto, and profile url.\nEach path should start with `person.`: for example, `person.names` or\n`person.photos`.", + "format": "google-fieldmask", + "type": "string" } }, "scopes": [ @@ -73,10 +86,7 @@ "https://www.googleapis.com/auth/user.phonenumbers.read", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile" - ], - "flatPath": "v1/people/{peopleId}", - "path": "v1/{+resourceName}", - "id": "people.people.get" + ] } }, "resources": { @@ -92,6 +102,23 @@ ], "httpMethod": "GET", "parameters": { + "requestSyncToken": { + "description": "Whether the response should include a sync token, which can be used to get\nall changes since the last request.", + "type": "boolean", + "location": "query" + }, + "resourceName": { + "description": "The resource name to return connections for. Only `people/me` is valid.", + "required": true, + "type": "string", + "pattern": "^people/[^/]+$", + "location": "path" + }, + "pageToken": { + "location": "query", + "description": "The token of the page to be returned.", + "type": "string" + }, "requestMask.includeField": { "description": "Comma-separated list of fields to be included in the response. Omitting\nthis field will include all fields except for connections.list requests,\nwhich have a default mask that includes common fields like metadata, name,\nphoto, and profile url.\nEach path should start with `person.`: for example, `person.names` or\n`person.photos`.", "format": "google-fieldmask", @@ -99,10 +126,10 @@ "location": "query" }, "pageSize": { - "location": "query", "description": "The number of connections to include in the response. Valid values are\nbetween 1 and 500, inclusive. Defaults to 100.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" }, "syncToken": { "location": "query", @@ -118,23 +145,6 @@ "FIRST_NAME_ASCENDING", "LAST_NAME_ASCENDING" ] - }, - "requestSyncToken": { - "description": "Whether the response should include a sync token, which can be used to get\nall changes since the last request.", - "type": "boolean", - "location": "query" - }, - "pageToken": { - "description": "The token of the page to be returned.", - "type": "string", - "location": "query" - }, - "resourceName": { - "description": "The resource name to return connections for. Only `people/me` is valid.", - "required": true, - "type": "string", - "pattern": "^people/[^/]+$", - "location": "path" } }, "scopes": [ @@ -151,42 +161,6 @@ } }, "parameters": { - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, "$.xgafv": { "enumDescriptions": [ "v1 error format", @@ -200,42 +174,78 @@ "description": "V1 error format.", "type": "string" }, - "alt": { + "callback": { + "description": "JSONP", "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", + "location": "query" + }, + "alt": { "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" - ] + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" }, "access_token": { + "location": "query", "description": "OAuth access token.", - "type": "string", - "location": "query" + "type": "string" }, "key": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, "quotaUser": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, "pp": { "description": "Pretty-print response.", "type": "boolean", "default": "true", "location": "query" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" } }, "schemas": { @@ -244,8 +254,6 @@ "type": "object", "properties": { "objectType": { - "description": "The profile object type.", - "type": "string", "enumDescriptions": [ "Unspecified.", "Person.", @@ -255,7 +263,9 @@ "OBJECT_TYPE_UNSPECIFIED", "PERSON", "PAGE" - ] + ], + "description": "The profile object type.", + "type": "string" } }, "id": "ProfileMetadata" @@ -265,8 +275,8 @@ "type": "object", "properties": { "metadata": { - "description": "Metadata about the gender.", - "$ref": "FieldMetadata" + "$ref": "FieldMetadata", + "description": "Metadata about the gender." }, "value": { "description": "The gender for the person. The gender can be custom or predefined.\nPossible values include, but are not limited to, the\nfollowing:\n\n* `male`\n* `female`\n* `other`\n* `unknown`", @@ -283,6 +293,10 @@ "description": "A person's associated URLs.", "type": "object", "properties": { + "formattedType": { + "description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.", + "type": "string" + }, "metadata": { "$ref": "FieldMetadata", "description": "Metadata about the URL." @@ -294,10 +308,6 @@ "value": { "description": "The URL.", "type": "string" - }, - "formattedType": { - "description": "The read-only type of the URL translated and formatted in the viewer's\naccount locale or the `Accept-Language` HTTP header locale.", - "type": "string" } }, "id": "Url" @@ -307,8 +317,8 @@ "type": "object", "properties": { "metadata": { - "description": "Metadata about the cover photo.", - "$ref": "FieldMetadata" + "$ref": "FieldMetadata", + "description": "Metadata about the cover photo." }, "default": { "description": "True if the cover photo is the default cover photo;\nfalse if the cover photo is a user-provided cover photo.", @@ -321,13 +331,32 @@ }, "id": "CoverPhoto" }, + "Interest": { + "description": "One of the person's interests.", + "type": "object", + "properties": { + "metadata": { + "$ref": "FieldMetadata", + "description": "Metadata about the interest." + }, + "value": { + "description": "The interest; for example, `stargazing`.", + "type": "string" + } + }, + "id": "Interest" + }, "ImClient": { "description": "A person's instant messaging client.", "type": "object", "properties": { + "formattedType": { + "description": "The read-only type of the IM client translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", + "type": "string" + }, "metadata": { - "$ref": "FieldMetadata", - "description": "Metadata about the IM client." + "description": "Metadata about the IM client.", + "$ref": "FieldMetadata" }, "type": { "description": "The type of the IM client. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`", @@ -344,29 +373,10 @@ "formattedProtocol": { "description": "The read-only protocol of the IM client formatted in the viewer's account\nlocale or the `Accept-Language` HTTP header locale.", "type": "string" - }, - "formattedType": { - "description": "The read-only type of the IM client translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", - "type": "string" } }, "id": "ImClient" }, - "Interest": { - "description": "One of the person's interests.", - "type": "object", - "properties": { - "metadata": { - "description": "Metadata about the interest.", - "$ref": "FieldMetadata" - }, - "value": { - "description": "The interest; for example, `stargazing`.", - "type": "string" - } - }, - "id": "Interest" - }, "Nickname": { "description": "A person's nickname.", "type": "object", @@ -404,17 +414,13 @@ "description": "A person's email address.", "type": "object", "properties": { - "formattedType": { - "description": "The read-only type of the email address translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", - "type": "string" - }, "displayName": { "description": "The display name of the email.", "type": "string" }, "metadata": { - "description": "Metadata about the email address.", - "$ref": "FieldMetadata" + "$ref": "FieldMetadata", + "description": "Metadata about the email address." }, "type": { "description": "The type of the email address. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `home`\n* `work`\n* `other`", @@ -423,6 +429,10 @@ "value": { "description": "The email address.", "type": "string" + }, + "formattedType": { + "description": "The read-only type of the email address translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", + "type": "string" } }, "id": "EmailAddress" @@ -458,12 +468,12 @@ "type": "object", "properties": { "contactGroupMembership": { - "description": "The contact group membership.", - "$ref": "ContactGroupMembership" + "$ref": "ContactGroupMembership", + "description": "The contact group membership." }, "domainMembership": { - "$ref": "DomainMembership", - "description": "The domain membership." + "description": "The domain membership.", + "$ref": "DomainMembership" }, "metadata": { "description": "Metadata about the membership.", @@ -596,8 +606,8 @@ "type": "object", "properties": { "metadata": { - "description": "Metadata about the bragging rights.", - "$ref": "FieldMetadata" + "$ref": "FieldMetadata", + "description": "Metadata about the bragging rights." }, "value": { "description": "The bragging rights; for example, `climbed mount everest`.", @@ -611,8 +621,8 @@ "type": "object", "properties": { "metadata": { - "description": "Metadata about the locale.", - "$ref": "FieldMetadata" + "$ref": "FieldMetadata", + "description": "Metadata about the locale." }, "value": { "description": "The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)\nlanguage tag representing the locale.", @@ -625,26 +635,42 @@ "description": "A person's past or current organization. Overlapping date ranges are\npermitted.", "type": "object", "properties": { - "location": { - "description": "The location of the organization office the person works at.", + "endDate": { + "$ref": "Date", + "description": "The end date when the person left the organization." + }, + "symbol": { + "description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.", + "type": "string" + }, + "name": { + "description": "The name of the organization.", "type": "string" }, + "metadata": { + "$ref": "FieldMetadata", + "description": "Metadata about the organization." + }, "title": { "description": "The person's job title at the organization.", "type": "string" }, - "current": { - "description": "True if the organization is the person's current organization;\nfalse if the organization is a past organization.", + "location": { + "description": "The location of the organization office the person works at.", + "type": "string" + }, + "current": { + "description": "True if the organization is the person's current organization;\nfalse if the organization is a past organization.", "type": "boolean" }, + "startDate": { + "description": "The start date when the person joined the organization.", + "$ref": "Date" + }, "formattedType": { "description": "The read-only type of the organization translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", "type": "string" }, - "startDate": { - "$ref": "Date", - "description": "The start date when the person joined the organization." - }, "domain": { "description": "The domain name associated with the organization; for example, `google.com`.", "type": "string" @@ -653,33 +679,17 @@ "description": "The person's department at the organization.", "type": "string" }, - "phoneticName": { - "description": "The phonetic name of the organization.", - "type": "string" - }, "type": { "description": "The type of the organization. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `work`\n* `school`", "type": "string" }, - "jobDescription": { - "description": "The person's job description at the organization.", - "type": "string" - }, - "endDate": { - "description": "The end date when the person left the organization.", - "$ref": "Date" - }, - "symbol": { - "description": "The symbol associated with the organization; for example, a stock ticker\nsymbol, abbreviation, or acronym.", + "phoneticName": { + "description": "The phonetic name of the organization.", "type": "string" }, - "name": { - "description": "The name of the organization.", + "jobDescription": { + "description": "The person's job description at the organization.", "type": "string" - }, - "metadata": { - "$ref": "FieldMetadata", - "description": "Metadata about the organization." } }, "id": "Organization" @@ -697,6 +707,8 @@ "type": "string" }, "contentType": { + "description": "The content type of the biography.", + "type": "string", "enumDescriptions": [ "Unspecified.", "Plain text.", @@ -706,9 +718,7 @@ "CONTENT_TYPE_UNSPECIFIED", "TEXT_PLAIN", "TEXT_HTML" - ], - "description": "The content type of the biography.", - "type": "string" + ] } }, "id": "Biography" @@ -717,10 +727,6 @@ "description": "A person's age range.", "type": "object", "properties": { - "metadata": { - "description": "Metadata about the age range.", - "$ref": "FieldMetadata" - }, "ageRange": { "description": "The age range.", "type": "string", @@ -736,6 +742,10 @@ "EIGHTEEN_TO_TWENTY", "TWENTY_ONE_OR_OLDER" ] + }, + "metadata": { + "description": "Metadata about the age range.", + "$ref": "FieldMetadata" } }, "id": "AgeRangeType" @@ -759,42 +769,25 @@ }, "id": "FieldMetadata" }, - "Source": { - "description": "The source of a field.", + "PersonResponse": { + "description": "The response for a single person", "type": "object", "properties": { - "type": { - "enumDescriptions": [ - "Unspecified.", - "[Google Account](https://accounts.google.com).", - "[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/\u003cid\u003e where \u003cid\u003e is the source\nid.", - "[Google Apps domain profile](https://admin.google.com).", - "[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/\u003cid\u003e where \u003cid\u003e is the source\nid." - ], - "enum": [ - "SOURCE_TYPE_UNSPECIFIED", - "ACCOUNT", - "PROFILE", - "DOMAIN_PROFILE", - "CONTACT" - ], - "description": "The source type.", - "type": "string" + "person": { + "$ref": "Person", + "description": "The person." }, - "etag": { - "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nsource. Used for web cache validation. Only populated in\nperson.metadata.sources.", - "type": "string" + "httpStatusCode": { + "description": "[HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).", + "format": "int32", + "type": "integer" }, - "id": { - "description": "The unique identifier within the source type generated by the server.", + "requestedResourceName": { + "description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL.", "type": "string" - }, - "profileMetadata": { - "description": "Metadata about a source of type PROFILE.", - "$ref": "ProfileMetadata" } }, - "id": "Source" + "id": "PersonResponse" }, "RelationshipInterest": { "description": "A person's read-only relationship interest .", @@ -815,38 +808,47 @@ }, "id": "RelationshipInterest" }, - "PersonResponse": { - "description": "The response for a single person", + "Source": { + "description": "The source of a field.", "type": "object", "properties": { - "person": { - "$ref": "Person", - "description": "The person." + "type": { + "description": "The source type.", + "type": "string", + "enumDescriptions": [ + "Unspecified.", + "[Google Account](https://accounts.google.com).", + "[Google profile](https://profiles.google.com). You can view the\nprofile at https://profiles.google.com/\u003cid\u003e where \u003cid\u003e is the source\nid.", + "[Google Apps domain profile](https://admin.google.com).", + "[Google contact](https://contacts.google.com). You can view the\ncontact at https://contact.google.com/\u003cid\u003e where \u003cid\u003e is the source\nid." + ], + "enum": [ + "SOURCE_TYPE_UNSPECIFIED", + "ACCOUNT", + "PROFILE", + "DOMAIN_PROFILE", + "CONTACT" + ] }, - "httpStatusCode": { - "description": "[HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).", - "format": "int32", - "type": "integer" + "etag": { + "description": "The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the\nsource. Used for web cache validation. Only populated in\nperson.metadata.sources.", + "type": "string" }, - "requestedResourceName": { - "description": "The original requested resource name. May be different than the resource\nname on the returned person.\n\nThe resource name can change when adding or removing fields that link a\ncontact and profile such as a verified email, verified phone number, or a\nprofile URL.", + "id": { + "description": "The unique identifier within the source type generated by the server.", "type": "string" + }, + "profileMetadata": { + "$ref": "ProfileMetadata", + "description": "Metadata about a source of type PROFILE." } }, - "id": "PersonResponse" + "id": "Source" }, "Relation": { "description": "A person's relation to another person.", "type": "object", "properties": { - "person": { - "description": "The name of the other person this relation refers to.", - "type": "string" - }, - "formattedType": { - "description": "The type of the relation translated and formatted in the viewer's account\nlocale or the locale specified in the Accept-Language HTTP header.", - "type": "string" - }, "metadata": { "description": "Metadata about the relation.", "$ref": "FieldMetadata" @@ -854,6 +856,14 @@ "type": { "description": "The person's relation to the other person. The type can be custom or predefined.\nPossible values include, but are not limited to, the following values:\n\n* `spouse`\n* `child`\n* `mother`\n* `father`\n* `parent`\n* `brother`\n* `sister`\n* `friend`\n* `relative`\n* `domesticPartner`\n* `manager`\n* `assistant`\n* `referredBy`\n* `partner`", "type": "string" + }, + "person": { + "description": "The name of the other person this relation refers to.", + "type": "string" + }, + "formattedType": { + "description": "The type of the relation translated and formatted in the viewer's account\nlocale or the locale specified in the Accept-Language HTTP header.", + "type": "string" } }, "id": "Relation" @@ -863,8 +873,8 @@ "type": "object", "properties": { "metadata": { - "$ref": "FieldMetadata", - "description": "Metadata about the occupation." + "description": "Metadata about the occupation.", + "$ref": "FieldMetadata" }, "value": { "description": "The occupation; for example, `carpenter`.", @@ -877,6 +887,64 @@ "description": "Information about a person merged from various data sources such as the\nauthenticated user's contacts and profile data. Fields other than IDs,\nmetadata, and group memberships are user-edited.\n\nMost fields can have multiple items. The items in a field have no guaranteed\norder, but each non-empty field is guaranteed to have exactly one field with\n`metadata.primary` set to true.\nNEXT_ID: 31", "type": "object", "properties": { + "ageRange": { + "description": "DEPRECATED(Please read person.age_ranges instead). The person's age range.", + "type": "string", + "enumDescriptions": [ + "Unspecified.", + "Younger than eighteen.", + "Between eighteen and twenty.", + "Twenty-one and older." + ], + "enum": [ + "AGE_RANGE_UNSPECIFIED", + "LESS_THAN_EIGHTEEN", + "EIGHTEEN_TO_TWENTY", + "TWENTY_ONE_OR_OLDER" + ] + }, + "taglines": { + "description": "The person's taglines.", + "type": "array", + "items": { + "$ref": "Tagline" + } + }, + "ageRanges": { + "description": "The person's age ranges.", + "type": "array", + "items": { + "$ref": "AgeRangeType" + } + }, + "addresses": { + "description": "The person's street addresses.", + "type": "array", + "items": { + "$ref": "Address" + } + }, + "events": { + "description": "The person's events.", + "type": "array", + "items": { + "$ref": "Event" + } + }, + "memberships": { + "description": "The person's group memberships.", + "type": "array", + "items": { + "$ref": "Membership" + } + }, + "phoneNumbers": { + "description": "The person's phone numbers.", + "type": "array", + "items": { + "$ref": "PhoneNumber" + } + }, "coverPhotos": { "description": "The person's cover photos.", "type": "array", @@ -926,18 +994,18 @@ "$ref": "Nickname" } }, - "relations": { - "description": "The person's relations.", + "names": { + "description": "The person's names.", "type": "array", "items": { - "$ref": "Relation" + "$ref": "Name" } }, - "names": { - "description": "The person's names.", + "relations": { + "description": "The person's relations.", "type": "array", "items": { - "$ref": "Name" + "$ref": "Relation" } }, "occupations": { @@ -990,6 +1058,10 @@ "$ref": "Gender" } }, + "resourceName": { + "description": "The resource name for the person, assigned by the server. An ASCII string\nwith a max length of 27 characters. Always starts with `people/`.", + "type": "string" + }, "interests": { "description": "The person's interests.", "type": "array", @@ -997,10 +1069,6 @@ "$ref": "Interest" } }, - "resourceName": { - "description": "The resource name for the person, assigned by the server. An ASCII string\nwith a max length of 27 characters. Always starts with `people/`.", - "type": "string" - }, "biographies": { "description": "The person's biographies.", "type": "array", @@ -1028,64 +1096,6 @@ "items": { "$ref": "Photo" } - }, - "ageRange": { - "description": "DEPRECATED(Please read person.age_ranges instead). The person's age range.", - "type": "string", - "enumDescriptions": [ - "Unspecified.", - "Younger than eighteen.", - "Between eighteen and twenty.", - "Twenty-one and older." - ], - "enum": [ - "AGE_RANGE_UNSPECIFIED", - "LESS_THAN_EIGHTEEN", - "EIGHTEEN_TO_TWENTY", - "TWENTY_ONE_OR_OLDER" - ] - }, - "taglines": { - "description": "The person's taglines.", - "type": "array", - "items": { - "$ref": "Tagline" - } - }, - "ageRanges": { - "description": "The person's age ranges.", - "type": "array", - "items": { - "$ref": "AgeRangeType" - } - }, - "addresses": { - "description": "The person's street addresses.", - "type": "array", - "items": { - "$ref": "Address" - } - }, - "events": { - "description": "The person's events.", - "type": "array", - "items": { - "$ref": "Event" - } - }, - "memberships": { - "description": "The person's group memberships.", - "type": "array", - "items": { - "$ref": "Membership" - } - }, - "phoneNumbers": { - "description": "The person's phone numbers.", - "type": "array", - "items": { - "$ref": "PhoneNumber" - } } }, "id": "Person" @@ -1103,33 +1113,10 @@ }, "id": "GetPeopleResponse" }, - "Photo": { - "description": "A person's read-only photo. A picture shown next to the person's name to\nhelp others recognize the person.", - "type": "object", - "properties": { - "metadata": { - "description": "Metadata about the photo.", - "$ref": "FieldMetadata" - }, - "url": { - "description": "The URL of the photo.", - "type": "string" - } - }, - "id": "Photo" - }, "PhoneNumber": { "description": "A person's phone number.", "type": "object", "properties": { - "formattedType": { - "description": "The read-only type of the phone number translated and formatted in the\nviewer's account locale or the the `Accept-Language` HTTP header locale.", - "type": "string" - }, - "canonicalForm": { - "description": "The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the phone number.", - "type": "string" - }, "metadata": { "$ref": "FieldMetadata", "description": "Metadata about the phone number." @@ -1141,18 +1128,36 @@ "value": { "description": "The phone number.", "type": "string" + }, + "formattedType": { + "description": "The read-only type of the phone number translated and formatted in the\nviewer's account locale or the the `Accept-Language` HTTP header locale.", + "type": "string" + }, + "canonicalForm": { + "description": "The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf)\nform of the phone number.", + "type": "string" } }, "id": "PhoneNumber" }, - "ListConnectionsResponse": { + "Photo": { + "description": "A person's read-only photo. A picture shown next to the person's name to\nhelp others recognize the person.", "type": "object", "properties": { - "totalPeople": { - "description": "The total number of people in the list without pagination.", - "format": "int32", - "type": "integer" + "metadata": { + "description": "Metadata about the photo.", + "$ref": "FieldMetadata" }, + "url": { + "description": "The URL of the photo.", + "type": "string" + } + }, + "id": "Photo" + }, + "ListConnectionsResponse": { + "type": "object", + "properties": { "nextPageToken": { "description": "The token that can be used to retrieve the next page of results.", "type": "string" @@ -1167,6 +1172,11 @@ "nextSyncToken": { "description": "The token that can be used to retrieve changes since the last request.", "type": "string" + }, + "totalPeople": { + "description": "The total number of people in the list without pagination.", + "format": "int32", + "type": "integer" } }, "id": "ListConnectionsResponse" @@ -1275,36 +1285,11 @@ }, "id": "ContactGroupMembership" }, - "Event": { - "description": "An event related to the person.", - "type": "object", - "properties": { - "formattedType": { - "description": "The read-only type of the event translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", - "type": "string" - }, - "metadata": { - "$ref": "FieldMetadata", - "description": "Metadata about the event." - }, - "type": { - "description": "The type of the event. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `anniversary`\n* `other`", - "type": "string" - }, - "date": { - "description": "The date of the event.", - "$ref": "Date" - } - }, - "id": "Event" - }, "PersonMetadata": { "description": "The read-only metadata about a person.", "type": "object", "properties": { "objectType": { - "description": "DEPRECATED(Please read person.metadata.sources.profile_metadata instead).\nThe type of the person object.", - "type": "string", "enumDescriptions": [ "Unspecified.", "Person.", @@ -1314,7 +1299,9 @@ "OBJECT_TYPE_UNSPECIFIED", "PERSON", "PAGE" - ] + ], + "description": "DEPRECATED(Please read person.metadata.sources.profile_metadata instead).\nThe type of the person object.", + "type": "string" }, "linkedPeopleResourceNames": { "description": "Resource names of people linked to this resource.", @@ -1343,11 +1330,34 @@ } }, "id": "PersonMetadata" + }, + "Event": { + "description": "An event related to the person.", + "type": "object", + "properties": { + "formattedType": { + "description": "The read-only type of the event translated and formatted in the\nviewer's account locale or the `Accept-Language` HTTP header locale.", + "type": "string" + }, + "metadata": { + "description": "Metadata about the event.", + "$ref": "FieldMetadata" + }, + "type": { + "description": "The type of the event. The type can be custom or predefined.\nPossible values include, but are not limited to, the following:\n\n* `anniversary`\n* `other`", + "type": "string" + }, + "date": { + "description": "The date of the event.", + "$ref": "Date" + } + }, + "id": "Event" } }, "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, "protocol": "rest", "version": "v1", @@ -1355,48 +1365,38 @@ "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/user.birthday.read": { - "description": "View your complete date of birth" - }, - "https://www.googleapis.com/auth/contacts.readonly": { - "description": "View your contacts" - }, - "https://www.googleapis.com/auth/plus.login": { - "description": "Know the list of people in your circles, your age range, and language" + "https://www.googleapis.com/auth/user.addresses.read": { + "description": "View your street addresses" }, - "https://www.googleapis.com/auth/userinfo.profile": { - "description": "View your basic profile info" + "https://www.googleapis.com/auth/contacts": { + "description": "Manage your contacts" }, "https://www.googleapis.com/auth/user.emails.read": { "description": "View your email addresses" }, - "https://www.googleapis.com/auth/contacts": { - "description": "Manage your contacts" - }, - "https://www.googleapis.com/auth/user.addresses.read": { - "description": "View your street addresses" + "https://www.googleapis.com/auth/userinfo.email": { + "description": "View your email address" }, "https://www.googleapis.com/auth/user.phonenumbers.read": { "description": "View your phone numbers" }, - "https://www.googleapis.com/auth/userinfo.email": { - "description": "View your email address" + "https://www.googleapis.com/auth/contacts.readonly": { + "description": "View your contacts" + }, + "https://www.googleapis.com/auth/user.birthday.read": { + "description": "View your complete date of birth" + }, + "https://www.googleapis.com/auth/plus.login": { + "description": "Know the list of people in your circles, your age range, and language" + }, + "https://www.googleapis.com/auth/userinfo.profile": { + "description": "View your basic profile info" } } } }, - "servicePath": "", - "description": "Provides access to information about profiles and contacts.", "kind": "discovery#restDescription", - "rootUrl": "https://people.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "people", - "batchPath": "batch", - "revision": "20170328", - "documentationLink": "https://developers.google.com/people/", - "id": "people:v1", - "title": "Google People API", - "discoveryVersion": "v1", - "ownerName": "Google" + "description": "Provides access to information about profiles and contacts.", + "servicePath": "", + "rootUrl": "https://people.googleapis.com/" } diff --git a/DiscoveryJson/playmoviespartner_v1.json b/DiscoveryJson/playmoviespartner_v1.json index 7283f87ccd..cd9f865a89 100644 --- a/DiscoveryJson/playmoviespartner_v1.json +++ b/DiscoveryJson/playmoviespartner_v1.json @@ -1,505 +1,566 @@ { - "schemas": { - "Order": { - "description": "An Order tracks the fulfillment of an Edit when delivered using the\nlegacy, non-component-based delivery.\n\nEach Order is uniquely identified by an `order_id`, which is generated\nby Google.\n\nExternally, Orders can also be identified by partners using its `custom_id`\n(when provided).", - "type": "object", - "properties": { - "normalizedPriority": { - "enumDescriptions": [ - "Value could not be determined, please contact technical support if\nit should.", - "A low-priority asset, typically from a library movie.", - "A high-priority asset, typically from a new release or box office hit." - ], - "enum": [ - "NORMALIZED_PRIORITY_UNSPECIFIED", - "LOW_PRIORITY", - "HIGH_PRIORITY" - ], - "description": "A simpler representation of the priority.", - "type": "string" - }, - "orderId": { - "description": "ID internally generated by Google to uniquely identify an Order.\nExample: 'abcde12_x'", - "type": "string" - }, - "type": { - "description": "Type of the Edit linked to the Order.", - "type": "string", - "enumDescriptions": [ - "Value could not be determined, please contact technical support if\nit should.", - "A movie picture.", - "A season of a TV show.", - "An episode of a TV show.", - "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\"" - ], - "enum": [ - "TITLE_TYPE_UNSPECIFIED", - "MOVIE", - "SEASON", - "EPISODE", - "BUNDLE" - ] - }, - "rejectionNote": { - "description": "Field explaining why an Order has been rejected.\nExample: \"Trailer audio is 2ch mono, please re-deliver in stereo\".", - "type": "string" - }, - "channelId": { - "description": "YouTube Channel ID that should be used to fulfill the Order.\nExample: \"UCRG64darCZhb\".", - "type": "string" - }, - "pphName": { - "description": "Name of the post-production house that manages the Edit ordered.", - "type": "string" - }, - "legacyPriority": { - "description": "Legacy Order priority, as defined by Google.\nExample: 'P0'", - "type": "string" - }, - "orderedTime": { - "description": "Timestamp when the Order was created.", - "format": "google-datetime", - "type": "string" - }, - "priority": { - "description": "Order priority, as defined by Google.\nThe higher the value, the higher the priority.\nExample: 90", - "format": "double", - "type": "number" - }, - "videoId": { - "description": "Google-generated ID identifying the video linked to this Order, once\ndelivered.\nExample: 'gtry456_xc'.", - "type": "string" - }, - "episodeName": { - "description": "Default Episode name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The - Pilot\".", - "type": "string" - }, - "countries": { - "description": "Countries where the Order is available,\nusing the \"ISO 3166-1 alpha-2\" format (example: \"US\").", - "type": "array", - "items": { - "type": "string" + "resources": { + "accounts": { + "resources": { + "avails": { + "methods": { + "get": { + "response": { + "$ref": "Avail" + }, + "parameterOrder": [ + "accountId", + "availId" + ], + "httpMethod": "GET", + "parameters": { + "accountId": { + "description": "REQUIRED. See _General rules_ for more information about this field.", + "required": true, + "type": "string", + "location": "path" + }, + "availId": { + "description": "REQUIRED. Avail ID.", + "required": true, + "type": "string", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/playmovies_partner.readonly" + ], + "flatPath": "v1/accounts/{accountId}/avails/{availId}", + "path": "v1/accounts/{accountId}/avails/{availId}", + "id": "playmoviespartner.accounts.avails.get", + "description": "Get an Avail given its avail group id and avail id." + }, + "list": { + "flatPath": "v1/accounts/{accountId}/avails", + "path": "v1/accounts/{accountId}/avails", + "id": "playmoviespartner.accounts.avails.list", + "description": "List Avails owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.", + "response": { + "$ref": "ListAvailsResponse" + }, + "parameterOrder": [ + "accountId" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/playmovies_partner.readonly" + ], + "parameters": { + "accountId": { + "description": "REQUIRED. See _General rules_ for more information about this field.", + "required": true, + "type": "string", + "location": "path" + }, + "territories": { + "location": "query", + "description": "Filter Avails that match (case-insensitive) any of the given country codes,\nusing the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").", + "type": "string", + "repeated": true + }, + "title": { + "description": "Filter that matches Avails with a `title_internal_alias`,\n`series_title_internal_alias`, `season_title_internal_alias`,\nor `episode_title_internal_alias` that contains the given\ncase-insensitive title.", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "location": "query" + }, + "videoIds": { + "description": "Filter Avails that match any of the given `video_id`s.", + "type": "string", + "repeated": true, + "location": "query" + }, + "pageSize": { + "description": "See _List methods rules_ for info about this field.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "altIds": { + "location": "query", + "description": "Filter Avails that match (case-insensitive) any of the given partner-specific custom ids.", + "type": "string", + "repeated": true + }, + "pphNames": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "repeated": true, + "location": "query" + }, + "altId": { + "description": "Filter Avails that match a case-insensitive, partner-specific custom id.\nNOTE: this field is deprecated and will be removed on V2; `alt_ids`\nshould be used instead.", + "type": "string", + "location": "query" + }, + "studioNames": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "repeated": true, + "location": "query" + } + } + } } }, - "statusDetail": { - "enumDescriptions": [ - "Value could not be determined, please contact technical support if\nit should.", - "Approved by Google's Quality Control team.", - "Rejected by Google's Quality Control team, pending partner redelivery.", - "Internal error while processing the Order.", - "Waiting for initial delivery from partner.", - "Used on Orders that do not have Status, like TV Seasons.", - "Waiting for re-delivery from partner.", - "Asset was delivered by partner, but is being reviewed by Google's\nQuality Control team.", - "Waiting for Google to process the asset." - ], - "enum": [ - "ORDER_STATUS_UNSPECIFIED", - "ORDER_STATUS_QC_APPROVED", - "ORDER_STATUS_QC_REJECTION", - "ORDER_STATUS_INTERNAL_FIX", - "ORDER_STATUS_OPEN_ORDER", - "ORDER_STATUS_NOT_AVAILABLE", - "ORDER_STATUS_AWAITING_REDELIVERY", - "ORDER_STATUS_READY_FOR_QC", - "ORDER_STATUS_FILE_PROCESSING" - ], - "description": "Detailed status of the order", - "type": "string" - }, - "status": { - "enumDescriptions": [ - "Value could not be determined, please contact technical support if\nit should.", - "Approved by Google.", - "Waiting for partner to re-deliver the asset after a rejection by Google.", - "Waiting for Google to process the asset.", - "Waiting for partner to deliver the asset.", - "Used when Status is not available (i.e: Orders for TV Seasons)." - ], - "enum": [ - "STATUS_UNSPECIFIED", - "STATUS_APPROVED", - "STATUS_FAILED", - "STATUS_PROCESSING", - "STATUS_UNFULFILLED", - "STATUS_NOT_AVAILABLE" - ], - "description": "High-level status of the order.", - "type": "string" - }, - "earliestAvailStartTime": { - "description": "Timestamp of the earliest start date of the Avails\nlinked to this Order.", - "format": "google-datetime", - "type": "string" - }, - "name": { - "description": "Default Edit name,\nusually in the language of the country of origin.\nExample: \"Googlers, The\".", - "type": "string" - }, - "studioName": { - "description": "Name of the studio that owns the Edit ordered.", - "type": "string" - }, - "receivedTime": { - "description": "Timestamp when the Order was fulfilled.", - "format": "google-datetime", - "type": "string" - }, - "seasonName": { - "description": "Default Season name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The - A Brave New World\".", - "type": "string" - }, - "customId": { - "description": "ID that can be used to externally identify an Order.\nThis ID is provided by partners when submitting the Avails.\nExample: 'GOOGLER_2006'", - "type": "string" - }, - "approvedTime": { - "description": "Timestamp when the Order was approved.", - "format": "google-datetime", - "type": "string" - }, - "channelName": { - "description": "YouTube Channel Name that should be used to fulfill the Order.\nExample: \"Google_channel\".", - "type": "string" - }, - "showName": { - "description": "Default Show name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The\".", - "type": "string" - } - }, - "id": "Order" - }, - "ListStoreInfosResponse": { - "description": "Response to the 'ListStoreInfos' method.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "See 'List methods rules' for info about this field.", - "type": "string" + "orders": { + "methods": { + "get": { + "flatPath": "v1/accounts/{accountId}/orders/{orderId}", + "path": "v1/accounts/{accountId}/orders/{orderId}", + "id": "playmoviespartner.accounts.orders.get", + "description": "Get an Order given its id.\n\nSee _Authentication and Authorization rules_ and\n_Get methods rules_ for more information about this method.", + "response": { + "$ref": "Order" + }, + "parameterOrder": [ + "accountId", + "orderId" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/playmovies_partner.readonly" + ], + "parameters": { + "accountId": { + "description": "REQUIRED. See _General rules_ for more information about this field.", + "required": true, + "type": "string", + "location": "path" + }, + "orderId": { + "description": "REQUIRED. Order ID.", + "required": true, + "type": "string", + "location": "path" + } + } + }, + "list": { + "response": { + "$ref": "ListOrdersResponse" + }, + "parameterOrder": [ + "accountId" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/playmovies_partner.readonly" + ], + "parameters": { + "status": { + "location": "query", + "enum": [ + "STATUS_UNSPECIFIED", + "STATUS_APPROVED", + "STATUS_FAILED", + "STATUS_PROCESSING", + "STATUS_UNFULFILLED", + "STATUS_NOT_AVAILABLE" + ], + "description": "Filter Orders that match one of the given status.", + "type": "string", + "repeated": true + }, + "name": { + "description": "Filter that matches Orders with a `name`, `show`, `season` or `episode`\nthat contains the given case-insensitive name.", + "type": "string", + "location": "query" + }, + "studioNames": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "repeated": true, + "location": "query" + }, + "accountId": { + "description": "REQUIRED. See _General rules_ for more information about this field.", + "required": true, + "type": "string", + "location": "path" + }, + "pageToken": { + "location": "query", + "description": "See _List methods rules_ for info about this field.", + "type": "string" + }, + "customId": { + "location": "query", + "description": "Filter Orders that match a case-insensitive, partner-specific custom id.", + "type": "string" + }, + "videoIds": { + "location": "query", + "description": "Filter Orders that match any of the given `video_id`s.", + "type": "string", + "repeated": true + }, + "pageSize": { + "description": "See _List methods rules_ for info about this field.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "pphNames": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "repeated": true, + "location": "query" + } + }, + "flatPath": "v1/accounts/{accountId}/orders", + "path": "v1/accounts/{accountId}/orders", + "id": "playmoviespartner.accounts.orders.list", + "description": "List Orders owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method." + } + } }, "storeInfos": { - "description": "List of StoreInfos that match the request criteria.", - "type": "array", - "items": { - "$ref": "StoreInfo" + "methods": { + "list": { + "description": "List StoreInfos owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.", + "httpMethod": "GET", + "parameterOrder": [ + "accountId" + ], + "response": { + "$ref": "ListStoreInfosResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/playmovies_partner.readonly" + ], + "parameters": { + "pageSize": { + "location": "query", + "description": "See _List methods rules_ for info about this field.", + "format": "int32", + "type": "integer" + }, + "mids": { + "location": "query", + "description": "Filter StoreInfos that match any of the given `mid`s.", + "type": "string", + "repeated": true + }, + "pphNames": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "repeated": true, + "location": "query" + }, + "countries": { + "location": "query", + "description": "Filter StoreInfos that match (case-insensitive) any of the given country\ncodes, using the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").", + "type": "string", + "repeated": true + }, + "name": { + "location": "query", + "description": "Filter that matches StoreInfos with a `name` or `show_name`\nthat contains the given case-insensitive name.", + "type": "string" + }, + "studioNames": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "repeated": true, + "location": "query" + }, + "accountId": { + "location": "path", + "description": "REQUIRED. See _General rules_ for more information about this field.", + "required": true, + "type": "string" + }, + "seasonIds": { + "description": "Filter StoreInfos that match any of the given `season_id`s.", + "type": "string", + "repeated": true, + "location": "query" + }, + "pageToken": { + "description": "See _List methods rules_ for info about this field.", + "type": "string", + "location": "query" + }, + "videoId": { + "description": "Filter StoreInfos that match a given `video_id`.\nNOTE: this field is deprecated and will be removed on V2; `video_ids`\nshould be used instead.", + "type": "string", + "location": "query" + }, + "videoIds": { + "description": "Filter StoreInfos that match any of the given `video_id`s.", + "type": "string", + "repeated": true, + "location": "query" + } + }, + "flatPath": "v1/accounts/{accountId}/storeInfos", + "id": "playmoviespartner.accounts.storeInfos.list", + "path": "v1/accounts/{accountId}/storeInfos" + } + }, + "resources": { + "country": { + "methods": { + "get": { + "flatPath": "v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}", + "path": "v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}", + "id": "playmoviespartner.accounts.storeInfos.country.get", + "description": "Get a StoreInfo given its video id and country.\n\nSee _Authentication and Authorization rules_ and\n_Get methods rules_ for more information about this method.", + "response": { + "$ref": "StoreInfo" + }, + "parameterOrder": [ + "accountId", + "videoId", + "country" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/playmovies_partner.readonly" + ], + "parameters": { + "videoId": { + "location": "path", + "description": "REQUIRED. Video ID.", + "required": true, + "type": "string" + }, + "country": { + "location": "path", + "description": "REQUIRED. Edit country.", + "required": true, + "type": "string" + }, + "accountId": { + "description": "REQUIRED. See _General rules_ for more information about this field.", + "required": true, + "type": "string", + "location": "path" + } + } + } + } + } } - }, - "totalSize": { - "description": "See _List methods rules_ for more information about this field.", - "format": "int32", - "type": "integer" } - }, - "id": "ListStoreInfosResponse" + } + } + }, + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ] }, - "ListAvailsResponse": { - "description": "Response to the 'ListAvails' method.", - "type": "object", - "properties": { - "avails": { - "description": "List of Avails that match the request criteria.", - "type": "array", - "items": { - "$ref": "Avail" - } - }, - "nextPageToken": { - "description": "See _List methods rules_ for info about this field.", - "type": "string" - }, - "totalSize": { - "description": "See _List methods rules_ for more information about this field.", - "format": "int32", - "type": "integer" - } - }, - "id": "ListAvailsResponse" + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "alt": { + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" + }, + "key": { + "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.", + "type": "string", + "location": "query" + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" }, - "Avail": { - "description": "An Avail describes the Availability Window of a specific Edit in a given\ncountry, which means the period Google is allowed to sell or rent the Edit.\n\nAvails are exposed in EMA format Version 1.6b (available at\nhttp://www.movielabs.com/md/avails/)\n\nStudios can see the Avails for the Titles they own.\nPost-production houses cannot see any Avails.", + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + } + }, + "schemas": { + "Order": { + "description": "An Order tracks the fulfillment of an Edit when delivered using the\nlegacy, non-component-based delivery.\n\nEach Order is uniquely identified by an `order_id`, which is generated\nby Google.\n\nExternally, Orders can also be identified by partners using its `custom_id`\n(when provided).", "type": "object", "properties": { - "end": { - "description": "End of term in YYYY-MM-DD format in the timezone of the country\nof the Avail.\n\"Open\" if no end date is available.\nExample: \"2019-02-17\"", - "type": "string" - }, - "videoId": { - "description": "Google-generated ID identifying the video linked to this Avail, once\ndelivered.\nNot part of EMA Specs.\nExample: 'gtry456_xc'", - "type": "string" - }, - "start": { - "description": "Start of term in YYYY-MM-DD format in the timezone of the\ncountry of the Avail.\nExample: \"2013-05-14\".", - "type": "string" - }, - "ratingSystem": { - "description": "Rating system applied to the version of title within territory\nof Avail.\nRating systems should be formatted as per\n[EMA ratings spec](http://www.movielabs.com/md/ratings/)\nExample: \"MPAA\"", - "type": "string" - }, - "pphNames": { - "description": "Name of the post-production houses that manage the Avail.\nNot part of EMA Specs.", + "countries": { + "description": "Countries where the Order is available,\nusing the \"ISO 3166-1 alpha-2\" format (example: \"US\").", "type": "array", "items": { "type": "string" } }, - "seriesAltId": { - "description": "Other identifier referring to the series, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers\".", - "type": "string" - }, - "altId": { - "description": "Other identifier referring to the Edit, as defined by partner.\nExample: \"GOOGLER_2006\"", - "type": "string" - }, - "episodeNumber": { - "description": "The number assigned to the episode within a season.\nOnly available on TV Avails.\nExample: \"3\".", - "type": "string" - }, - "seriesTitleInternalAlias": { - "description": "Title used by involved parties to refer to this series.\nOnly available on TV Avails.\nExample: \"Googlers, The\".", - "type": "string" - }, - "formatProfile": { - "enumDescriptions": [ - "Value could not be determined, please contact technical support if\nit should.", - "Standard-definition format.", - "High-definition format.", - "4K UHD." - ], - "enum": [ - "FORMAT_PROFILE_UNSPECIFIED", - "SD", - "HD", - "UHD" - ], - "description": "Indicates the format profile covered by the transaction.", - "type": "string" - }, - "contentId": { - "description": "Title Identifier. This should be the Title Level EIDR.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".", - "type": "string" - }, - "titleInternalAlias": { - "description": "Title used by involved parties to refer to this content.\nExample: \"Googlers, The\".\nOnly available on Movie Avails.", - "type": "string" - }, - "ratingValue": { - "description": "Value representing the rating.\nRatings should be formatted as per http://www.movielabs.com/md/ratings/\nExample: \"PG\"", - "type": "string" - }, - "storeLanguage": { - "description": "Spoken language of the intended audience.\nLanguage shall be encoded in accordance with RFC 5646.\nExample: \"fr\".", - "type": "string" - }, - "captionExemption": { - "description": "Communicating an exempt category as defined by FCC regulations.\nIt is not required for non-US Avails.\nExample: \"1\"", - "type": "string" - }, - "displayName": { - "description": "The name of the studio that owns the Edit referred in the Avail.\nThis is the equivalent of `studio_name` in other resources, but it follows\nthe EMA nomenclature.\nExample: \"Google Films\".", - "type": "string" - }, - "productId": { - "description": "Edit Identifier. This should be the Edit Level EIDR.\nExample: \"10.2340/1489-49A2-3956-4B2D-FE16-6\"", - "type": "string" - }, - "seasonTitleInternalAlias": { - "description": "Title used by involved parties to refer to this season.\nOnly available on TV Avails.\nExample: \"Googlers, The\".", - "type": "string" - }, - "priceValue": { - "description": "Value to be applied to the pricing type.\nExample: \"4\" or \"2.99\"", - "type": "string" - }, - "episodeAltId": { - "description": "Other identifier referring to the episode, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers_s1_3\".", - "type": "string" - }, - "territory": { - "description": "ISO 3166-1 alpha-2 country code for the country or territory\nof this Avail.\nFor Avails, we use Territory in lieu of Country to comply with\nEMA specifications.\nBut please note that Territory and Country identify the same thing.\nExample: \"US\".", - "type": "string" - }, - "workType": { - "description": "Work type as enumerated in EMA.", + "statusDetail": { + "description": "Detailed status of the order", "type": "string", "enumDescriptions": [ "Value could not be determined, please contact technical support if\nit should.", - "A movie picture.", - "A season of a TV show.", - "An episode of a TV show.", - "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\"" + "Approved by Google's Quality Control team.", + "Rejected by Google's Quality Control team, pending partner redelivery.", + "Internal error while processing the Order.", + "Waiting for initial delivery from partner.", + "Used on Orders that do not have Status, like TV Seasons.", + "Waiting for re-delivery from partner.", + "Asset was delivered by partner, but is being reviewed by Google's\nQuality Control team.", + "Waiting for Google to process the asset." ], "enum": [ - "TITLE_TYPE_UNSPECIFIED", - "MOVIE", - "SEASON", - "EPISODE", - "BUNDLE" + "ORDER_STATUS_UNSPECIFIED", + "ORDER_STATUS_QC_APPROVED", + "ORDER_STATUS_QC_REJECTION", + "ORDER_STATUS_INTERNAL_FIX", + "ORDER_STATUS_OPEN_ORDER", + "ORDER_STATUS_NOT_AVAILABLE", + "ORDER_STATUS_AWAITING_REDELIVERY", + "ORDER_STATUS_READY_FOR_QC", + "ORDER_STATUS_FILE_PROCESSING" ] }, - "availId": { - "description": "ID internally generated by Google to uniquely identify an Avail.\nNot part of EMA Specs.", - "type": "string" - }, - "ratingReason": { - "description": "Value representing the rating reason.\nRating reasons should be formatted as per\n[EMA ratings spec](http://www.movielabs.com/md/ratings/)\nand comma-separated for inclusion of multiple reasons.\nExample: \"L, S, V\"", - "type": "string" - }, - "episodeTitleInternalAlias": { - "description": "OPTIONAL.TV Only. Title used by involved parties to refer to this episode.\nOnly available on TV Avails.\nExample: \"Coding at Google\".", - "type": "string" - }, - "suppressionLiftDate": { - "description": "First date an Edit could be publically announced as becoming\navailable at a specific future date in territory of Avail.\n*Not* the Avail start date or pre-order start date.\nFormat is YYYY-MM-DD.\nOnly available for pre-orders.\nExample: \"2012-12-10\"", - "type": "string" - }, - "seasonAltId": { - "description": "Other identifier referring to the season, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers_s1\".", - "type": "string" - }, - "encodeId": { - "description": "Manifestation Identifier. This should be the Manifestation\nLevel EIDR.\nExample: \"10.2340/1489-49A2-3956-4B2D-FE16-7\"", - "type": "string" - }, - "priceType": { - "description": "Type of pricing that should be applied to this Avail\nbased on how the partner classify them.\nExample: \"Tier\", \"WSP\", \"SRP\", or \"Category\".", - "type": "string" - }, - "captionIncluded": { - "description": "Communicating if caption file will be delivered.", - "type": "boolean" - }, - "licenseType": { + "status": { + "description": "High-level status of the order.", + "type": "string", "enumDescriptions": [ "Value could not be determined, please contact technical support if\nit should.", - "Electronic Sell Through - purchase policy for unlimited viewing.", - "Video On Demand - rental policy for temporary viewing.", - "Subscription Video On Demand - used for subscription platforms.\nNot supported on Google Play.", - "Pre-order Electronic Sell Through - pre-order purchase only window." + "Approved by Google.", + "Waiting for partner to re-deliver the asset after a rejection by Google.", + "Waiting for Google to process the asset.", + "Waiting for partner to deliver the asset.", + "Used when Status is not available (i.e: Orders for TV Seasons)." ], "enum": [ - "LICENSE_TYPE_UNSPECIFIED", - "EST", - "VOD", - "SVOD", - "POEST" - ], - "description": "Type of transaction.", - "type": "string" - }, - "seasonNumber": { - "description": "The number assigned to the season within a series.\nOnly available on TV Avails.\nExample: \"1\".", - "type": "string" - }, - "releaseDate": { - "description": "Release date of the Title in earliest released territory.\nTypically it is just the year, but it is free-form as per EMA spec.\nExamples: \"1979\", \"Oct 2014\"", - "type": "string" - } - }, - "id": "Avail" - }, - "ListOrdersResponse": { - "description": "Response to the 'ListOrders' method.", - "type": "object", - "properties": { - "orders": { - "description": "List of Orders that match the request criteria.", - "type": "array", - "items": { - "$ref": "Order" - } - }, - "nextPageToken": { - "description": "See _List methods rules_ for info about this field.", - "type": "string" + "STATUS_UNSPECIFIED", + "STATUS_APPROVED", + "STATUS_FAILED", + "STATUS_PROCESSING", + "STATUS_UNFULFILLED", + "STATUS_NOT_AVAILABLE" + ] }, - "totalSize": { - "description": "See _List methods rules_ for more information about this field.", - "format": "int32", - "type": "integer" - } - }, - "id": "ListOrdersResponse" - }, - "StoreInfo": { - "description": "Information about a playable sequence (video) associated with an Edit\nand available at the Google Play Store.\n\nInternally, each StoreInfo is uniquely identified by a `video_id`\nand `country`.\n\nExternally, Title-level EIDR or Edit-level EIDR, if provided,\ncan also be used to identify a specific title or edit in a country.", - "type": "object", - "properties": { - "seasonNumber": { - "description": "The number assigned to the season within a show.\nOnly available on TV Edits.\nExample: \"1\".", + "earliestAvailStartTime": { + "description": "Timestamp of the earliest start date of the Avails\nlinked to this Order.", + "format": "google-datetime", "type": "string" }, - "editLevelEidr": { - "description": "Edit-level EIDR ID.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-6\".", + "name": { + "description": "Default Edit name,\nusually in the language of the country of origin.\nExample: \"Googlers, The\".", "type": "string" }, - "hasEstOffer": { - "description": "Whether the Edit has a EST offer.", - "type": "boolean" - }, - "hasSdOffer": { - "description": "Whether the Edit has a SD offer.", - "type": "boolean" - }, - "videoId": { - "description": "Google-generated ID identifying the video linked to the Edit.\nExample: 'gtry456_xc'", + "studioName": { + "description": "Name of the studio that owns the Edit ordered.", "type": "string" }, - "liveTime": { - "description": "Timestamp when the Edit went live on the Store.", + "receivedTime": { + "description": "Timestamp when the Order was fulfilled.", "format": "google-datetime", "type": "string" }, - "hasInfoCards": { - "description": "Whether the Edit has info cards.", - "type": "boolean" - }, - "hasVodOffer": { - "description": "Whether the Edit has a VOD offer.", - "type": "boolean" - }, - "pphNames": { - "description": "Name of the post-production houses that manage the Edit.", - "type": "array", - "items": { - "type": "string" - } - }, - "episodeNumber": { - "description": "The number assigned to the episode within a season.\nOnly available on TV Edits.\nExample: \"1\".", + "seasonName": { + "description": "Default Season name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The - A Brave New World\".", "type": "string" }, - "studioName": { - "description": "Name of the studio that owns the Edit ordered.", + "customId": { + "description": "ID that can be used to externally identify an Order.\nThis ID is provided by partners when submitting the Avails.\nExample: 'GOOGLER_2006'", "type": "string" }, - "subtitles": { - "description": "Subtitles available for this Edit.", - "type": "array", - "items": { - "type": "string" - } + "approvedTime": { + "description": "Timestamp when the Order was approved.", + "format": "google-datetime", + "type": "string" }, - "audioTracks": { - "description": "Audio tracks available for this Edit.", - "type": "array", - "items": { - "type": "string" - } + "channelName": { + "description": "YouTube Channel Name that should be used to fulfill the Order.\nExample: \"Google_channel\".", + "type": "string" }, "showName": { - "description": "Default Show name, usually in the language of the country of\norigin.\nOnly available for TV Edits\nExample: \"Googlers, The\".", + "description": "Default Show name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The\".", "type": "string" }, - "country": { - "description": "Country where Edit is available in ISO 3166-1 alpha-2 country\ncode.\nExample: \"US\".", + "orderId": { + "description": "ID internally generated by Google to uniquely identify an Order.\nExample: 'abcde12_x'", "type": "string" }, - "showId": { - "description": "Google-generated ID identifying the show linked to the Edit.\nOnly available for TV Edits.\nExample: 'et2hsue_x'", - "type": "string" + "normalizedPriority": { + "description": "A simpler representation of the priority.", + "type": "string", + "enumDescriptions": [ + "Value could not be determined, please contact technical support if\nit should.", + "A low-priority asset, typically from a library movie.", + "A high-priority asset, typically from a new release or box office hit." + ], + "enum": [ + "NORMALIZED_PRIORITY_UNSPECIFIED", + "LOW_PRIORITY", + "HIGH_PRIORITY" + ] }, "type": { - "description": "Edit type, like Movie, Episode or Season.", + "description": "Type of the Edit linked to the Order.", "type": "string", "enumDescriptions": [ "Value could not be determined, please contact technical support if\nit should.", @@ -507,525 +568,464 @@ "A season of a TV show.", "An episode of a TV show.", "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\"" - ], - "enum": [ - "TITLE_TYPE_UNSPECIFIED", - "MOVIE", - "SEASON", - "EPISODE", - "BUNDLE" - ] - }, - "trailerId": { - "description": "Google-generated ID identifying the trailer linked to the Edit.\nExample: 'bhd_4e_cx'", - "type": "string" - }, - "hasHdOffer": { - "description": "Whether the Edit has a HD offer.", - "type": "boolean" - }, - "mid": { - "description": "Knowledge Graph ID associated to this Edit, if available.\nThis ID links the Edit to its knowledge entity, externally accessible\nat http://freebase.com.\nIn the absense of Title EIDR or Edit EIDR, this ID helps link together\nmultiple Edits across countries.\nExample: '/m/0ffx29'", - "type": "string" - }, - "hasAudio51": { - "description": "Whether the Edit has a 5.1 channel audio track.", - "type": "boolean" - }, - "name": { - "description": "Default Edit name, usually in the language of the country of\norigin.\nExample: \"Googlers, The\".", - "type": "string" - }, - "seasonId": { - "description": "Google-generated ID identifying the season linked to the Edit.\nOnly available for TV Edits.\nExample: 'ster23ex'", - "type": "string" - }, - "titleLevelEidr": { - "description": "Title-level EIDR ID.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".", - "type": "string" - }, - "seasonName": { - "description": "Default Season name, usually in the language of the country of\norigin.\nOnly available for TV Edits\nExample: \"Googlers, The - A Brave New World\".", - "type": "string" - } - }, - "id": "StoreInfo" - } - }, - "protocol": "rest", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "version": "v1", - "baseUrl": "https://playmoviespartner.googleapis.com/", - "canonicalName": "Play Movies", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/playmovies_partner.readonly": { - "description": "View the digital assets you publish on Google Play Movies and TV" - } - } - } - }, - "servicePath": "", - "kind": "discovery#restDescription", - "description": "Gets the delivery status of titles for Google Play Movies Partners.", - "rootUrl": "https://playmoviespartner.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "playmoviespartner", - "batchPath": "batch", - "revision": "20170321", - "documentationLink": "https://developers.google.com/playmoviespartner/", - "id": "playmoviespartner:v1", - "title": "Google Play Movies Partner API", - "discoveryVersion": "v1", - "ownerName": "Google", - "resources": { - "accounts": { - "resources": { - "avails": { - "methods": { - "get": { - "description": "Get an Avail given its avail group id and avail id.", - "response": { - "$ref": "Avail" - }, - "parameterOrder": [ - "accountId", - "availId" - ], - "httpMethod": "GET", - "parameters": { - "availId": { - "description": "REQUIRED. Avail ID.", - "required": true, - "type": "string", - "location": "path" - }, - "accountId": { - "location": "path", - "description": "REQUIRED. See _General rules_ for more information about this field.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/playmovies_partner.readonly" - ], - "flatPath": "v1/accounts/{accountId}/avails/{availId}", - "path": "v1/accounts/{accountId}/avails/{availId}", - "id": "playmoviespartner.accounts.avails.get" - }, - "list": { - "flatPath": "v1/accounts/{accountId}/avails", - "path": "v1/accounts/{accountId}/avails", - "id": "playmoviespartner.accounts.avails.list", - "description": "List Avails owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.", - "parameterOrder": [ - "accountId" - ], - "response": { - "$ref": "ListAvailsResponse" - }, - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/playmovies_partner.readonly" - ], - "parameters": { - "altId": { - "location": "query", - "description": "Filter Avails that match a case-insensitive, partner-specific custom id.\nNOTE: this field is deprecated and will be removed on V2; `alt_ids`\nshould be used instead.", - "type": "string" - }, - "studioNames": { - "location": "query", - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "repeated": true - }, - "accountId": { - "description": "REQUIRED. See _General rules_ for more information about this field.", - "required": true, - "type": "string", - "location": "path" - }, - "territories": { - "location": "query", - "description": "Filter Avails that match (case-insensitive) any of the given country codes,\nusing the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").", - "type": "string", - "repeated": true - }, - "title": { - "description": "Filter that matches Avails with a `title_internal_alias`,\n`series_title_internal_alias`, `season_title_internal_alias`,\nor `episode_title_internal_alias` that contains the given\ncase-insensitive title.", - "type": "string", - "location": "query" - }, - "pageToken": { - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "location": "query" - }, - "videoIds": { - "description": "Filter Avails that match any of the given `video_id`s.", - "type": "string", - "repeated": true, - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "See _List methods rules_ for info about this field.", - "format": "int32", - "type": "integer" - }, - "altIds": { - "location": "query", - "description": "Filter Avails that match (case-insensitive) any of the given partner-specific custom ids.", - "type": "string", - "repeated": true - }, - "pphNames": { - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "repeated": true, - "location": "query" - } - } - } + ], + "enum": [ + "TITLE_TYPE_UNSPECIFIED", + "MOVIE", + "SEASON", + "EPISODE", + "BUNDLE" + ] + }, + "rejectionNote": { + "description": "Field explaining why an Order has been rejected.\nExample: \"Trailer audio is 2ch mono, please re-deliver in stereo\".", + "type": "string" + }, + "channelId": { + "description": "YouTube Channel ID that should be used to fulfill the Order.\nExample: \"UCRG64darCZhb\".", + "type": "string" + }, + "legacyPriority": { + "description": "Legacy Order priority, as defined by Google.\nExample: 'P0'", + "type": "string" + }, + "pphName": { + "description": "Name of the post-production house that manages the Edit ordered.", + "type": "string" + }, + "orderedTime": { + "description": "Timestamp when the Order was created.", + "format": "google-datetime", + "type": "string" + }, + "priority": { + "description": "Order priority, as defined by Google.\nThe higher the value, the higher the priority.\nExample: 90", + "format": "double", + "type": "number" + }, + "videoId": { + "description": "Google-generated ID identifying the video linked to this Order, once\ndelivered.\nExample: 'gtry456_xc'.", + "type": "string" + }, + "episodeName": { + "description": "Default Episode name,\nusually in the language of the country of origin.\nOnly available for TV Edits\nExample: \"Googlers, The - Pilot\".", + "type": "string" + } + }, + "id": "Order" + }, + "ListStoreInfosResponse": { + "description": "Response to the 'ListStoreInfos' method.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "See 'List methods rules' for info about this field.", + "type": "string" + }, + "storeInfos": { + "description": "List of StoreInfos that match the request criteria.", + "type": "array", + "items": { + "$ref": "StoreInfo" + } + }, + "totalSize": { + "description": "See _List methods rules_ for more information about this field.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListStoreInfosResponse" + }, + "ListAvailsResponse": { + "description": "Response to the 'ListAvails' method.", + "type": "object", + "properties": { + "avails": { + "description": "List of Avails that match the request criteria.", + "type": "array", + "items": { + "$ref": "Avail" } }, + "nextPageToken": { + "description": "See _List methods rules_ for info about this field.", + "type": "string" + }, + "totalSize": { + "description": "See _List methods rules_ for more information about this field.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListAvailsResponse" + }, + "ListOrdersResponse": { + "description": "Response to the 'ListOrders' method.", + "type": "object", + "properties": { "orders": { - "methods": { - "get": { - "description": "Get an Order given its id.\n\nSee _Authentication and Authorization rules_ and\n_Get methods rules_ for more information about this method.", - "httpMethod": "GET", - "parameterOrder": [ - "accountId", - "orderId" - ], - "response": { - "$ref": "Order" - }, - "parameters": { - "accountId": { - "location": "path", - "description": "REQUIRED. See _General rules_ for more information about this field.", - "required": true, - "type": "string" - }, - "orderId": { - "description": "REQUIRED. Order ID.", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/playmovies_partner.readonly" - ], - "flatPath": "v1/accounts/{accountId}/orders/{orderId}", - "id": "playmoviespartner.accounts.orders.get", - "path": "v1/accounts/{accountId}/orders/{orderId}" - }, - "list": { - "response": { - "$ref": "ListOrdersResponse" - }, - "parameterOrder": [ - "accountId" - ], - "httpMethod": "GET", - "parameters": { - "status": { - "description": "Filter Orders that match one of the given status.", - "type": "string", - "repeated": true, - "location": "query", - "enum": [ - "STATUS_UNSPECIFIED", - "STATUS_APPROVED", - "STATUS_FAILED", - "STATUS_PROCESSING", - "STATUS_UNFULFILLED", - "STATUS_NOT_AVAILABLE" - ] - }, - "studioNames": { - "location": "query", - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "repeated": true - }, - "name": { - "description": "Filter that matches Orders with a `name`, `show`, `season` or `episode`\nthat contains the given case-insensitive name.", - "type": "string", - "location": "query" - }, - "accountId": { - "location": "path", - "description": "REQUIRED. See _General rules_ for more information about this field.", - "required": true, - "type": "string" - }, - "videoIds": { - "location": "query", - "description": "Filter Orders that match any of the given `video_id`s.", - "type": "string", - "repeated": true - }, - "customId": { - "description": "Filter Orders that match a case-insensitive, partner-specific custom id.", - "type": "string", - "location": "query" - }, - "pageToken": { - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "See _List methods rules_ for info about this field.", - "format": "int32", - "type": "integer" - }, - "pphNames": { - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "repeated": true, - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/playmovies_partner.readonly" - ], - "flatPath": "v1/accounts/{accountId}/orders", - "path": "v1/accounts/{accountId}/orders", - "id": "playmoviespartner.accounts.orders.list", - "description": "List Orders owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method." - } + "description": "List of Orders that match the request criteria.", + "type": "array", + "items": { + "$ref": "Order" + } + }, + "nextPageToken": { + "description": "See _List methods rules_ for info about this field.", + "type": "string" + }, + "totalSize": { + "description": "See _List methods rules_ for more information about this field.", + "format": "int32", + "type": "integer" + } + }, + "id": "ListOrdersResponse" + }, + "StoreInfo": { + "description": "Information about a playable sequence (video) associated with an Edit\nand available at the Google Play Store.\n\nInternally, each StoreInfo is uniquely identified by a `video_id`\nand `country`.\n\nExternally, Title-level EIDR or Edit-level EIDR, if provided,\ncan also be used to identify a specific title or edit in a country.", + "type": "object", + "properties": { + "seasonId": { + "description": "Google-generated ID identifying the season linked to the Edit.\nOnly available for TV Edits.\nExample: 'ster23ex'", + "type": "string" + }, + "titleLevelEidr": { + "description": "Title-level EIDR ID.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".", + "type": "string" + }, + "seasonName": { + "description": "Default Season name, usually in the language of the country of\norigin.\nOnly available for TV Edits\nExample: \"Googlers, The - A Brave New World\".", + "type": "string" + }, + "seasonNumber": { + "description": "The number assigned to the season within a show.\nOnly available on TV Edits.\nExample: \"1\".", + "type": "string" + }, + "editLevelEidr": { + "description": "Edit-level EIDR ID.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-6\".", + "type": "string" + }, + "hasEstOffer": { + "description": "Whether the Edit has a EST offer.", + "type": "boolean" + }, + "hasSdOffer": { + "description": "Whether the Edit has a SD offer.", + "type": "boolean" + }, + "liveTime": { + "description": "Timestamp when the Edit went live on the Store.", + "format": "google-datetime", + "type": "string" + }, + "videoId": { + "description": "Google-generated ID identifying the video linked to the Edit.\nExample: 'gtry456_xc'", + "type": "string" + }, + "hasInfoCards": { + "description": "Whether the Edit has info cards.", + "type": "boolean" + }, + "hasVodOffer": { + "description": "Whether the Edit has a VOD offer.", + "type": "boolean" + }, + "pphNames": { + "description": "Name of the post-production houses that manage the Edit.", + "type": "array", + "items": { + "type": "string" } }, - "storeInfos": { - "methods": { - "list": { - "description": "List StoreInfos owned or managed by the partner.\n\nSee _Authentication and Authorization rules_ and\n_List methods rules_ for more information about this method.", - "httpMethod": "GET", - "parameterOrder": [ - "accountId" - ], - "response": { - "$ref": "ListStoreInfosResponse" - }, - "parameters": { - "pageSize": { - "location": "query", - "description": "See _List methods rules_ for info about this field.", - "format": "int32", - "type": "integer" - }, - "mids": { - "description": "Filter StoreInfos that match any of the given `mid`s.", - "type": "string", - "repeated": true, - "location": "query" - }, - "pphNames": { - "location": "query", - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "repeated": true - }, - "countries": { - "description": "Filter StoreInfos that match (case-insensitive) any of the given country\ncodes, using the \"ISO 3166-1 alpha-2\" format (examples: \"US\", \"us\", \"Us\").", - "type": "string", - "repeated": true, - "location": "query" - }, - "studioNames": { - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "repeated": true, - "location": "query" - }, - "name": { - "location": "query", - "description": "Filter that matches StoreInfos with a `name` or `show_name`\nthat contains the given case-insensitive name.", - "type": "string" - }, - "accountId": { - "description": "REQUIRED. See _General rules_ for more information about this field.", - "required": true, - "type": "string", - "location": "path" - }, - "seasonIds": { - "location": "query", - "description": "Filter StoreInfos that match any of the given `season_id`s.", - "type": "string", - "repeated": true - }, - "videoIds": { - "location": "query", - "description": "Filter StoreInfos that match any of the given `video_id`s.", - "type": "string", - "repeated": true - }, - "videoId": { - "description": "Filter StoreInfos that match a given `video_id`.\nNOTE: this field is deprecated and will be removed on V2; `video_ids`\nshould be used instead.", - "type": "string", - "location": "query" - }, - "pageToken": { - "description": "See _List methods rules_ for info about this field.", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/playmovies_partner.readonly" - ], - "flatPath": "v1/accounts/{accountId}/storeInfos", - "id": "playmoviespartner.accounts.storeInfos.list", - "path": "v1/accounts/{accountId}/storeInfos" - } - }, - "resources": { - "country": { - "methods": { - "get": { - "flatPath": "v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}", - "id": "playmoviespartner.accounts.storeInfos.country.get", - "path": "v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}", - "description": "Get a StoreInfo given its video id and country.\n\nSee _Authentication and Authorization rules_ and\n_Get methods rules_ for more information about this method.", - "httpMethod": "GET", - "parameterOrder": [ - "accountId", - "videoId", - "country" - ], - "response": { - "$ref": "StoreInfo" - }, - "parameters": { - "videoId": { - "location": "path", - "description": "REQUIRED. Video ID.", - "required": true, - "type": "string" - }, - "country": { - "description": "REQUIRED. Edit country.", - "required": true, - "type": "string", - "location": "path" - }, - "accountId": { - "description": "REQUIRED. See _General rules_ for more information about this field.", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/playmovies_partner.readonly" - ] - } - } - } + "episodeNumber": { + "description": "The number assigned to the episode within a season.\nOnly available on TV Edits.\nExample: \"1\".", + "type": "string" + }, + "studioName": { + "description": "Name of the studio that owns the Edit ordered.", + "type": "string" + }, + "subtitles": { + "description": "Subtitles available for this Edit.", + "type": "array", + "items": { + "type": "string" + } + }, + "audioTracks": { + "description": "Audio tracks available for this Edit.", + "type": "array", + "items": { + "type": "string" + } + }, + "showName": { + "description": "Default Show name, usually in the language of the country of\norigin.\nOnly available for TV Edits\nExample: \"Googlers, The\".", + "type": "string" + }, + "country": { + "description": "Country where Edit is available in ISO 3166-1 alpha-2 country\ncode.\nExample: \"US\".", + "type": "string" + }, + "showId": { + "description": "Google-generated ID identifying the show linked to the Edit.\nOnly available for TV Edits.\nExample: 'et2hsue_x'", + "type": "string" + }, + "type": { + "description": "Edit type, like Movie, Episode or Season.", + "type": "string", + "enumDescriptions": [ + "Value could not be determined, please contact technical support if\nit should.", + "A movie picture.", + "A season of a TV show.", + "An episode of a TV show.", + "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\"" + ], + "enum": [ + "TITLE_TYPE_UNSPECIFIED", + "MOVIE", + "SEASON", + "EPISODE", + "BUNDLE" + ] + }, + "trailerId": { + "description": "Google-generated ID identifying the trailer linked to the Edit.\nExample: 'bhd_4e_cx'", + "type": "string" + }, + "hasHdOffer": { + "description": "Whether the Edit has a HD offer.", + "type": "boolean" + }, + "mid": { + "description": "Knowledge Graph ID associated to this Edit, if available.\nThis ID links the Edit to its knowledge entity, externally accessible\nat http://freebase.com.\nIn the absense of Title EIDR or Edit EIDR, this ID helps link together\nmultiple Edits across countries.\nExample: '/m/0ffx29'", + "type": "string" + }, + "hasAudio51": { + "description": "Whether the Edit has a 5.1 channel audio track.", + "type": "boolean" + }, + "name": { + "description": "Default Edit name, usually in the language of the country of\norigin.\nExample: \"Googlers, The\".", + "type": "string" + } + }, + "id": "StoreInfo" + }, + "Avail": { + "description": "An Avail describes the Availability Window of a specific Edit in a given\ncountry, which means the period Google is allowed to sell or rent the Edit.\n\nAvails are exposed in EMA format Version 1.6b (available at\nhttp://www.movielabs.com/md/avails/)\n\nStudios can see the Avails for the Titles they own.\nPost-production houses cannot see any Avails.", + "type": "object", + "properties": { + "captionIncluded": { + "description": "Communicating if caption file will be delivered.", + "type": "boolean" + }, + "licenseType": { + "description": "Type of transaction.", + "type": "string", + "enumDescriptions": [ + "Value could not be determined, please contact technical support if\nit should.", + "Electronic Sell Through - purchase policy for unlimited viewing.", + "Video On Demand - rental policy for temporary viewing.", + "Subscription Video On Demand - used for subscription platforms.\nNot supported on Google Play.", + "Pre-order Electronic Sell Through - pre-order purchase only window." + ], + "enum": [ + "LICENSE_TYPE_UNSPECIFIED", + "EST", + "VOD", + "SVOD", + "POEST" + ] + }, + "seasonNumber": { + "description": "The number assigned to the season within a series.\nOnly available on TV Avails.\nExample: \"1\".", + "type": "string" + }, + "releaseDate": { + "description": "Release date of the Title in earliest released territory.\nTypically it is just the year, but it is free-form as per EMA spec.\nExamples: \"1979\", \"Oct 2014\"", + "type": "string" + }, + "end": { + "description": "End of term in YYYY-MM-DD format in the timezone of the country\nof the Avail.\n\"Open\" if no end date is available.\nExample: \"2019-02-17\"", + "type": "string" + }, + "videoId": { + "description": "Google-generated ID identifying the video linked to this Avail, once\ndelivered.\nNot part of EMA Specs.\nExample: 'gtry456_xc'", + "type": "string" + }, + "start": { + "description": "Start of term in YYYY-MM-DD format in the timezone of the\ncountry of the Avail.\nExample: \"2013-05-14\".", + "type": "string" + }, + "pphNames": { + "description": "Name of the post-production houses that manage the Avail.\nNot part of EMA Specs.", + "type": "array", + "items": { + "type": "string" } + }, + "ratingSystem": { + "description": "Rating system applied to the version of title within territory\nof Avail.\nRating systems should be formatted as per\n[EMA ratings spec](http://www.movielabs.com/md/ratings/)\nExample: \"MPAA\"", + "type": "string" + }, + "seriesAltId": { + "description": "Other identifier referring to the series, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers\".", + "type": "string" + }, + "altId": { + "description": "Other identifier referring to the Edit, as defined by partner.\nExample: \"GOOGLER_2006\"", + "type": "string" + }, + "episodeNumber": { + "description": "The number assigned to the episode within a season.\nOnly available on TV Avails.\nExample: \"3\".", + "type": "string" + }, + "seriesTitleInternalAlias": { + "description": "Title used by involved parties to refer to this series.\nOnly available on TV Avails.\nExample: \"Googlers, The\".", + "type": "string" + }, + "formatProfile": { + "description": "Indicates the format profile covered by the transaction.", + "type": "string", + "enumDescriptions": [ + "Value could not be determined, please contact technical support if\nit should.", + "Standard-definition format.", + "High-definition format.", + "4K UHD." + ], + "enum": [ + "FORMAT_PROFILE_UNSPECIFIED", + "SD", + "HD", + "UHD" + ] + }, + "ratingValue": { + "description": "Value representing the rating.\nRatings should be formatted as per http://www.movielabs.com/md/ratings/\nExample: \"PG\"", + "type": "string" + }, + "titleInternalAlias": { + "description": "Title used by involved parties to refer to this content.\nExample: \"Googlers, The\".\nOnly available on Movie Avails.", + "type": "string" + }, + "contentId": { + "description": "Title Identifier. This should be the Title Level EIDR.\nExample: \"10.5240/1489-49A2-3956-4B2D-FE16-5\".", + "type": "string" + }, + "storeLanguage": { + "description": "Spoken language of the intended audience.\nLanguage shall be encoded in accordance with RFC 5646.\nExample: \"fr\".", + "type": "string" + }, + "productId": { + "description": "Edit Identifier. This should be the Edit Level EIDR.\nExample: \"10.2340/1489-49A2-3956-4B2D-FE16-6\"", + "type": "string" + }, + "displayName": { + "description": "The name of the studio that owns the Edit referred in the Avail.\nThis is the equivalent of `studio_name` in other resources, but it follows\nthe EMA nomenclature.\nExample: \"Google Films\".", + "type": "string" + }, + "captionExemption": { + "description": "Communicating an exempt category as defined by FCC regulations.\nIt is not required for non-US Avails.\nExample: \"1\"", + "type": "string" + }, + "seasonTitleInternalAlias": { + "description": "Title used by involved parties to refer to this season.\nOnly available on TV Avails.\nExample: \"Googlers, The\".", + "type": "string" + }, + "episodeAltId": { + "description": "Other identifier referring to the episode, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers_s1_3\".", + "type": "string" + }, + "priceValue": { + "description": "Value to be applied to the pricing type.\nExample: \"4\" or \"2.99\"", + "type": "string" + }, + "territory": { + "description": "ISO 3166-1 alpha-2 country code for the country or territory\nof this Avail.\nFor Avails, we use Territory in lieu of Country to comply with\nEMA specifications.\nBut please note that Territory and Country identify the same thing.\nExample: \"US\".", + "type": "string" + }, + "ratingReason": { + "description": "Value representing the rating reason.\nRating reasons should be formatted as per\n[EMA ratings spec](http://www.movielabs.com/md/ratings/)\nand comma-separated for inclusion of multiple reasons.\nExample: \"L, S, V\"", + "type": "string" + }, + "availId": { + "description": "ID internally generated by Google to uniquely identify an Avail.\nNot part of EMA Specs.", + "type": "string" + }, + "workType": { + "description": "Work type as enumerated in EMA.", + "type": "string", + "enumDescriptions": [ + "Value could not be determined, please contact technical support if\nit should.", + "A movie picture.", + "A season of a TV show.", + "An episode of a TV show.", + "A collection of movies, i.e. \"Googlers 1 and Googlers, the return\"" + ], + "enum": [ + "TITLE_TYPE_UNSPECIFIED", + "MOVIE", + "SEASON", + "EPISODE", + "BUNDLE" + ] + }, + "episodeTitleInternalAlias": { + "description": "OPTIONAL.TV Only. Title used by involved parties to refer to this episode.\nOnly available on TV Avails.\nExample: \"Coding at Google\".", + "type": "string" + }, + "suppressionLiftDate": { + "description": "First date an Edit could be publically announced as becoming\navailable at a specific future date in territory of Avail.\n*Not* the Avail start date or pre-order start date.\nFormat is YYYY-MM-DD.\nOnly available for pre-orders.\nExample: \"2012-12-10\"", + "type": "string" + }, + "seasonAltId": { + "description": "Other identifier referring to the season, as defined by partner.\nOnly available on TV avails.\nExample: \"rs_googlers_s1\".", + "type": "string" + }, + "encodeId": { + "description": "Manifestation Identifier. This should be the Manifestation\nLevel EIDR.\nExample: \"10.2340/1489-49A2-3956-4B2D-FE16-7\"", + "type": "string" + }, + "priceType": { + "description": "Type of pricing that should be applied to this Avail\nbased on how the partner classify them.\nExample: \"Tier\", \"WSP\", \"SRP\", or \"Category\".", + "type": "string" } - } + }, + "id": "Avail" } }, - "parameters": { - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" - }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "protocol": "rest", + "version": "v1", + "baseUrl": "https://playmoviespartner.googleapis.com/", + "canonicalName": "Play Movies", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/playmovies_partner.readonly": { + "description": "View the digital assets you publish on Google Play Movies and TV" + } + } } - } + }, + "servicePath": "", + "description": "Gets the delivery status of titles for Google Play Movies Partners.", + "kind": "discovery#restDescription", + "rootUrl": "https://playmoviespartner.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "playmoviespartner", + "batchPath": "batch", + "id": "playmoviespartner:v1", + "documentationLink": "https://developers.google.com/playmoviespartner/", + "revision": "20170321", + "title": "Google Play Movies Partner API", + "ownerName": "Google", + "discoveryVersion": "v1" } diff --git a/DiscoveryJson/proximitybeacon_v1beta1.json b/DiscoveryJson/proximitybeacon_v1beta1.json index 8784bf5c85..37147c6e67 100644 --- a/DiscoveryJson/proximitybeacon_v1beta1.json +++ b/DiscoveryJson/proximitybeacon_v1beta1.json @@ -1,26 +1,7 @@ { - "version": "v1beta1", - "baseUrl": "https://proximitybeacon.googleapis.com/", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/userlocation.beacon.registry": { - "description": "View and modify your beacons" - } - } - } - }, - "kind": "discovery#restDescription", - "description": "Registers, manages, indexes, and searches beacons.", - "servicePath": "", - "rootUrl": "https://proximitybeacon.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "proximitybeacon", - "batchPath": "batch", - "revision": "20170320", - "documentationLink": "https://developers.google.com/beacons/proximity/", "id": "proximitybeacon:v1beta1", + "documentationLink": "https://developers.google.com/beacons/proximity/", + "revision": "20170320", "title": "Google Proximity Beacon API", "ownerName": "Google", "discoveryVersion": "v1", @@ -29,88 +10,27 @@ "v1beta1": { "methods": { "getEidparams": { - "id": "proximitybeacon.getEidparams", - "path": "v1beta1/eidparams", - "description": "Gets the Proximity Beacon API's current public key and associated\nparameters used to initiate the Diffie-Hellman key exchange required to\nregister a beacon that broadcasts the Eddystone-EID format. This key\nchanges periodically; clients may cache it and re-use the same public key\nto provision and register multiple beacons. However, clients should be\nprepared to refresh this key when they encounter an error registering an\nEddystone-EID beacon.", - "httpMethod": "GET", - "parameterOrder": [], "response": { "$ref": "EphemeralIdRegistrationParams" }, + "parameterOrder": [], + "httpMethod": "GET", + "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/userlocation.beacon.registry" ], - "parameters": {}, - "flatPath": "v1beta1/eidparams" + "flatPath": "v1beta1/eidparams", + "path": "v1beta1/eidparams", + "id": "proximitybeacon.getEidparams", + "description": "Gets the Proximity Beacon API's current public key and associated\nparameters used to initiate the Diffie-Hellman key exchange required to\nregister a beacon that broadcasts the Eddystone-EID format. This key\nchanges periodically; clients may cache it and re-use the same public key\nto provision and register multiple beacons. However, clients should be\nprepared to refresh this key when they encounter an error registering an\nEddystone-EID beacon." } } }, "beacons": { "methods": { - "update": { - "id": "proximitybeacon.beacons.update", - "path": "v1beta1/{+beaconName}", - "request": { - "$ref": "Beacon" - }, - "description": "Updates the information about the specified beacon. **Any field that you do\nnot populate in the submitted beacon will be permanently erased**, so you\nshould follow the \"read, modify, write\" pattern to avoid inadvertently\ndestroying data.\n\nChanges to the beacon status via this method will be silently ignored.\nTo update beacon status, use the separate methods on this API for\nactivation, deactivation, and decommissioning.\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", - "httpMethod": "PUT", - "parameterOrder": [ - "beaconName" - ], - "response": { - "$ref": "Beacon" - }, - "parameters": { - "projectId": { - "location": "query", - "description": "The project id of the beacon to update. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.", - "type": "string" - }, - "beaconName": { - "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.\n\nThis field must be left empty when registering. After reading a beacon,\nclients can use the name for future operations.", - "required": true, - "type": "string", - "pattern": "^beacons/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], - "flatPath": "v1beta1/beacons/{beaconsId}" - }, - "decommission": { - "description": "Decommissions the specified beacon in the service. This beacon will no\nlonger be returned from `beaconinfo.getforobserved`. This operation is\npermanent -- you will not be able to re-register a beacon with this ID\nagain.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", - "httpMethod": "POST", - "parameterOrder": [ - "beaconName" - ], - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], - "parameters": { - "beaconName": { - "required": true, - "type": "string", - "pattern": "^beacons/[^/]+$", - "location": "path", - "description": "Beacon that should be decommissioned. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID of the beacon's \"stable\" UID.\nRequired." - }, - "projectId": { - "location": "query", - "description": "The project id of the beacon to decommission. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.", - "type": "string" - } - }, - "flatPath": "v1beta1/beacons/{beaconsId}:decommission", - "id": "proximitybeacon.beacons.decommission", - "path": "v1beta1/{+beaconName}:decommission" - }, "deactivate": { + "id": "proximitybeacon.beacons.deactivate", + "path": "v1beta1/{+beaconName}:deactivate", "description": "Deactivates a beacon. Once deactivated, the API will not return\ninformation nor attachment data for the beacon when queried via\n`beaconinfo.getforobserved`. Calling this method on an already inactive\nbeacon will do nothing (but will return a successful response code).\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", "httpMethod": "POST", "response": { @@ -120,25 +40,23 @@ "beaconName" ], "parameters": { - "projectId": { - "description": "The project id of the beacon to deactivate. If the project id is not\nspecified then the project making the request is used. The project id must\nmatch the project that owns the beacon.\nOptional.", - "type": "string", - "location": "query" - }, "beaconName": { + "pattern": "^beacons/[^/]+$", + "location": "path", "description": "Beacon that should be deactivated. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", "required": true, + "type": "string" + }, + "projectId": { + "description": "The project id of the beacon to deactivate. If the project id is not\nspecified then the project making the request is used. The project id must\nmatch the project that owns the beacon.\nOptional.", "type": "string", - "pattern": "^beacons/[^/]+$", - "location": "path" + "location": "query" } }, "scopes": [ "https://www.googleapis.com/auth/userlocation.beacon.registry" ], - "flatPath": "v1beta1/beacons/{beaconsId}:deactivate", - "id": "proximitybeacon.beacons.deactivate", - "path": "v1beta1/{+beaconName}:deactivate" + "flatPath": "v1beta1/beacons/{beaconsId}:deactivate" }, "delete": { "httpMethod": "DELETE", @@ -148,58 +66,58 @@ "parameterOrder": [ "beaconName" ], - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], "parameters": { "beaconName": { + "pattern": "^beacons/[^/]+$", "location": "path", "description": "Beacon that should be deleted. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", "required": true, - "type": "string", - "pattern": "^beacons/[^/]+$" + "type": "string" }, "projectId": { - "location": "query", "description": "The project id of the beacon to delete. If not provided, the project\nthat is making the request is used.\nOptional.", - "type": "string" + "type": "string", + "location": "query" } }, + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" + ], "flatPath": "v1beta1/beacons/{beaconsId}", "id": "proximitybeacon.beacons.delete", "path": "v1beta1/{+beaconName}", "description": "Deletes the specified beacon including all diagnostics data for the beacon\nas well as any attachments on the beacon (including those belonging to\nother projects). This operation cannot be undone.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project." }, "list": { - "path": "v1beta1/beacons", "id": "proximitybeacon.beacons.list", + "path": "v1beta1/beacons", "description": "Searches the beacon registry for beacons that match the given search\ncriteria. Only those beacons that the client has permission to list\nwill be returned.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.", + "httpMethod": "GET", + "parameterOrder": [], "response": { "$ref": "ListBeaconsResponse" }, - "parameterOrder": [], - "httpMethod": "GET", "parameters": { - "projectId": { - "description": "The project id to list beacons under. If not present then the project\ncredential that made the request is used as the project.\nOptional.", - "type": "string", - "location": "query" - }, "pageToken": { "location": "query", "description": "A pagination token obtained from a previous request to list beacons.", "type": "string" }, "q": { - "location": "query", "description": "Filter query string that supports the following field filters:\n\n* **description:`\"\u003cstring\u003e\"`**\n For example: **description:\"Room 3\"**\n Returns beacons whose description matches tokens in the string \"Room 3\"\n (not necessarily that exact string).\n The string must be double-quoted.\n* **status:`\u003cenum\u003e`**\n For example: **status:active**\n Returns beacons whose status matches the given value. Values must be\n one of the Beacon.Status enum values (case insensitive). Accepts\n multiple filters which will be combined with OR logic.\n* **stability:`\u003cenum\u003e`**\n For example: **stability:mobile**\n Returns beacons whose expected stability matches the given value.\n Values must be one of the Beacon.Stability enum values (case\n insensitive). Accepts multiple filters which will be combined with\n OR logic.\n* **place\\_id:`\"\u003cstring\u003e\"`**\n For example: **place\\_id:\"ChIJVSZzVR8FdkgRXGmmm6SslKw=\"**\n Returns beacons explicitly registered at the given place, expressed as\n a Place ID obtained from [Google Places API](/places/place-id). Does not\n match places inside the given place. Does not consider the beacon's\n actual location (which may be different from its registered place).\n Accepts multiple filters that will be combined with OR logic. The place\n ID must be double-quoted.\n* **registration\\_time`[\u003c|\u003e|\u003c=|\u003e=]\u003cinteger\u003e`**\n For example: **registration\\_time\u003e=1433116800**\n Returns beacons whose registration time matches the given filter.\n Supports the operators: \u003c, \u003e, \u003c=, and \u003e=. Timestamp must be expressed as\n an integer number of seconds since midnight January 1, 1970 UTC. Accepts\n at most two filters that will be combined with AND logic, to support\n \"between\" semantics. If more than two are supplied, the latter ones are\n ignored.\n* **lat:`\u003cdouble\u003e lng:\u003cdouble\u003e radius:\u003cinteger\u003e`**\n For example: **lat:51.1232343 lng:-1.093852 radius:1000**\n Returns beacons whose registered location is within the given circle.\n When any of these fields are given, all are required. Latitude and\n longitude must be decimal degrees between -90.0 and 90.0 and between\n -180.0 and 180.0 respectively. Radius must be an integer number of\n meters between 10 and 1,000,000 (1000 km).\n* **property:`\"\u003cstring\u003e=\u003cstring\u003e\"`**\n For example: **property:\"battery-type=CR2032\"**\n Returns beacons which have a property of the given name and value.\n Supports multiple filters which will be combined with OR logic.\n The entire name=value string must be double-quoted as one string.\n* **attachment\\_type:`\"\u003cstring\u003e\"`**\n For example: **attachment_type:\"my-namespace/my-type\"**\n Returns beacons having at least one attachment of the given namespaced\n type. Supports \"any within this namespace\" via the partial wildcard\n syntax: \"my-namespace/*\". Supports multiple filters which will be\n combined with OR logic. The string must be double-quoted.\n* **indoor\\_level:`\"\u003cstring\u003e\"`**\n For example: **indoor\\_level:\"1\"**\n Returns beacons which are located on the given indoor level. Accepts\n multiple filters that will be combined with OR logic.\n\nMultiple filters on the same field are combined with OR logic (except\nregistration_time which is combined with AND logic).\nMultiple filters on different fields are combined with AND logic.\nFilters should be separated by spaces.\n\nAs with any HTTP query string parameter, the whole filter expression must\nbe URL-encoded.\n\nExample REST request:\n`GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`", - "type": "string" + "type": "string", + "location": "query" }, "pageSize": { "description": "The maximum number of records to return for this request, up to a\nserver-defined upper limit.", "format": "int32", "type": "integer", "location": "query" + }, + "projectId": { + "location": "query", + "description": "The project id to list beacons under. If not present then the project\ncredential that made the request is used as the project.\nOptional.", + "type": "string" } }, "scopes": [ @@ -208,14 +126,11 @@ "flatPath": "v1beta1/beacons" }, "register": { - "httpMethod": "POST", - "parameterOrder": [], "response": { "$ref": "Beacon" }, - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], + "parameterOrder": [], + "httpMethod": "POST", "parameters": { "projectId": { "location": "query", @@ -223,32 +138,35 @@ "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" + ], "flatPath": "v1beta1/beacons:register", - "id": "proximitybeacon.beacons.register", "path": "v1beta1/beacons:register", - "description": "Registers a previously unregistered beacon given its `advertisedId`.\nThese IDs are unique within the system. An ID can be registered only once.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", + "id": "proximitybeacon.beacons.register", "request": { "$ref": "Beacon" - } + }, + "description": "Registers a previously unregistered beacon given its `advertisedId`.\nThese IDs are unique within the system. An ID can be registered only once.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project." }, "activate": { - "path": "v1beta1/{+beaconName}:activate", - "id": "proximitybeacon.beacons.activate", - "description": "Activates a beacon. A beacon that is active will return information\nand attachment data when queried via `beaconinfo.getforobserved`.\nCalling this method on an already active beacon will do nothing (but\nwill return a successful response code).\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", + "parameterOrder": [ + "beaconName" + ], + "httpMethod": "POST", "response": { "$ref": "Empty" }, - "httpMethod": "POST", - "parameterOrder": [ - "beaconName" + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" ], "parameters": { "beaconName": { + "pattern": "^beacons/[^/]+$", "location": "path", "description": "Beacon that should be activated. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", "required": true, - "type": "string", - "pattern": "^beacons/[^/]+$" + "type": "string" }, "projectId": { "location": "query", @@ -256,146 +174,219 @@ "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], - "flatPath": "v1beta1/beacons/{beaconsId}:activate" + "flatPath": "v1beta1/beacons/{beaconsId}:activate", + "path": "v1beta1/{+beaconName}:activate", + "id": "proximitybeacon.beacons.activate", + "description": "Activates a beacon. A beacon that is active will return information\nand attachment data when queried via `beaconinfo.getforobserved`.\nCalling this method on an already active beacon will do nothing (but\nwill return a successful response code).\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project." }, "get": { - "flatPath": "v1beta1/beacons/{beaconsId}", - "path": "v1beta1/{+beaconName}", - "id": "proximitybeacon.beacons.get", "description": "Returns detailed information about the specified beacon.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.\n\nRequests may supply an Eddystone-EID beacon name in the form:\n`beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID\nbroadcast by the beacon. The returned `Beacon` object will contain the\nbeacon's stable Eddystone-UID. Clients not authorized to resolve the\nbeacon's ephemeral Eddystone-EID broadcast will receive an error.", + "parameterOrder": [ + "beaconName" + ], "response": { "$ref": "Beacon" }, "httpMethod": "GET", - "parameterOrder": [ - "beaconName" + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" ], "parameters": { - "projectId": { - "description": "The project id of the beacon to request. If the project id is not specified\nthen the project making the request is used. The project id must match the\nproject that owns the beacon.\nOptional.", - "type": "string", - "location": "query" - }, "beaconName": { + "pattern": "^beacons/[^/]+$", "location": "path", "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", "required": true, + "type": "string" + }, + "projectId": { + "location": "query", + "description": "The project id of the beacon to request. If the project id is not specified\nthen the project making the request is used. The project id must match the\nproject that owns the beacon.\nOptional.", + "type": "string" + } + }, + "flatPath": "v1beta1/beacons/{beaconsId}", + "id": "proximitybeacon.beacons.get", + "path": "v1beta1/{+beaconName}" + }, + "update": { + "httpMethod": "PUT", + "parameterOrder": [ + "beaconName" + ], + "response": { + "$ref": "Beacon" + }, + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" + ], + "parameters": { + "beaconName": { + "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.\n\nThis field must be left empty when registering. After reading a beacon,\nclients can use the name for future operations.", + "required": true, "type": "string", - "pattern": "^beacons/[^/]+$" + "pattern": "^beacons/[^/]+$", + "location": "path" + }, + "projectId": { + "location": "query", + "description": "The project id of the beacon to update. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.", + "type": "string" } }, + "flatPath": "v1beta1/beacons/{beaconsId}", + "id": "proximitybeacon.beacons.update", + "path": "v1beta1/{+beaconName}", + "description": "Updates the information about the specified beacon. **Any field that you do\nnot populate in the submitted beacon will be permanently erased**, so you\nshould follow the \"read, modify, write\" pattern to avoid inadvertently\ndestroying data.\n\nChanges to the beacon status via this method will be silently ignored.\nTo update beacon status, use the separate methods on this API for\nactivation, deactivation, and decommissioning.\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", + "request": { + "$ref": "Beacon" + } + }, + "decommission": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "beaconName" + ], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/userlocation.beacon.registry" - ] + ], + "parameters": { + "beaconName": { + "description": "Beacon that should be decommissioned. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID of the beacon's \"stable\" UID.\nRequired.", + "required": true, + "type": "string", + "pattern": "^beacons/[^/]+$", + "location": "path" + }, + "projectId": { + "location": "query", + "description": "The project id of the beacon to decommission. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.", + "type": "string" + } + }, + "flatPath": "v1beta1/beacons/{beaconsId}:decommission", + "path": "v1beta1/{+beaconName}:decommission", + "id": "proximitybeacon.beacons.decommission", + "description": "Decommissions the specified beacon in the service. This beacon will no\nlonger be returned from `beaconinfo.getforobserved`. This operation is\npermanent -- you will not be able to re-register a beacon with this ID\nagain.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project." } }, "resources": { - "diagnostics": { + "attachments": { "methods": { - "list": { - "response": { - "$ref": "ListDiagnosticsResponse" + "create": { + "description": "Associates the given data with the specified beacon. Attachment data must\ncontain two parts:\n\u003cul\u003e\n\u003cli\u003eA namespaced type.\u003c/li\u003e\n\u003cli\u003eThe actual attachment data itself.\u003c/li\u003e\n\u003c/ul\u003e\nThe namespaced type consists of two parts, the namespace and the type.\nThe namespace must be one of the values returned by the `namespaces`\nendpoint, while the type can be a string of any characters except for the\nforward slash (`/`) up to 100 characters in length.\n\nAttachment data can be up to 1024 bytes long.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", + "request": { + "$ref": "BeaconAttachment" }, - "httpMethod": "GET", + "httpMethod": "POST", "parameterOrder": [ "beaconName" ], + "response": { + "$ref": "BeaconAttachment" + }, "scopes": [ "https://www.googleapis.com/auth/userlocation.beacon.registry" ], "parameters": { "beaconName": { - "location": "path", - "description": "Beacon that the diagnostics are for.", + "description": "Beacon on which the attachment should be created. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", "required": true, "type": "string", - "pattern": "^beacons/[^/]+$" + "pattern": "^beacons/[^/]+$", + "location": "path" }, - "pageToken": { - "type": "string", + "projectId": { "location": "query", - "description": "Requests results that occur after the `page_token`, obtained from the\nresponse to a previous request. Optional." - }, - "pageSize": { - "description": "Specifies the maximum number of results to return. Defaults to\n10. Maximum 1000. Optional.", - "format": "int32", - "type": "integer", - "location": "query" + "description": "The project id of the project the attachment will belong to. If\nthe project id is not specified then the project making the request\nis used.\nOptional.", + "type": "string" + } + }, + "flatPath": "v1beta1/beacons/{beaconsId}/attachments", + "id": "proximitybeacon.beacons.attachments.create", + "path": "v1beta1/{+beaconName}/attachments" + }, + "batchDelete": { + "description": "Deletes multiple attachments on a given beacon. This operation is\npermanent and cannot be undone.\n\nYou can optionally specify `namespacedType` to choose which attachments\nshould be deleted. If you do not specify `namespacedType`, all your\nattachments on the given beacon will be deleted. You also may explicitly\nspecify `*/*` to delete all.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", + "response": { + "$ref": "DeleteAttachmentsResponse" + }, + "parameterOrder": [ + "beaconName" + ], + "httpMethod": "POST", + "parameters": { + "beaconName": { + "pattern": "^beacons/[^/]+$", + "location": "path", + "description": "The beacon whose attachments should be deleted. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", + "required": true, + "type": "string" }, - "alertFilter": { - "type": "string", + "projectId": { "location": "query", - "enum": [ - "ALERT_UNSPECIFIED", - "WRONG_LOCATION", - "LOW_BATTERY" - ], - "description": "Requests only beacons that have the given alert. For example, to find\nbeacons that have low batteries use `alert_filter=LOW_BATTERY`." + "description": "The project id to delete beacon attachments under. This field can be\nused when \"*\" is specified to mean all attachment namespaces. Projects\nmay have multiple attachments with multiple namespaces. If \"*\" is\nspecified and the projectId string is empty, then the project\nmaking the request is used.\nOptional.", + "type": "string" }, - "projectId": { + "namespacedType": { "location": "query", - "description": "Requests only diagnostic records for the given project id. If not set,\nthen the project making the request will be used for looking up\ndiagnostic records. Optional.", + "description": "Specifies the namespace and type of attachments to delete in\n`namespace/type` format. Accepts `*/*` to specify\n\"all types in all namespaces\".\nOptional.", "type": "string" } }, - "flatPath": "v1beta1/beacons/{beaconsId}/diagnostics", - "path": "v1beta1/{+beaconName}/diagnostics", - "id": "proximitybeacon.beacons.diagnostics.list", - "description": "List the diagnostics for a single beacon. You can also list diagnostics for\nall the beacons owned by your Google Developers Console project by using\nthe beacon name `beacons/-`.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project." - } - } - }, - "attachments": { - "methods": { + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" + ], + "flatPath": "v1beta1/beacons/{beaconsId}/attachments:batchDelete", + "path": "v1beta1/{+beaconName}/attachments:batchDelete", + "id": "proximitybeacon.beacons.attachments.batchDelete" + }, "delete": { - "path": "v1beta1/{+attachmentName}", - "id": "proximitybeacon.beacons.attachments.delete", - "description": "Deletes the specified attachment for the given beacon. Each attachment has\na unique attachment name (`attachmentName`) which is returned when you\nfetch the attachment data via this API. You specify this with the delete\nrequest to control which attachment is removed. This operation cannot be\nundone.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", "response": { "$ref": "Empty" }, - "httpMethod": "DELETE", "parameterOrder": [ "attachmentName" ], - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], + "httpMethod": "DELETE", "parameters": { "projectId": { + "description": "The project id of the attachment to delete. If not provided, the project\nthat is making the request is used.\nOptional.", "type": "string", - "location": "query", - "description": "The project id of the attachment to delete. If not provided, the project\nthat is making the request is used.\nOptional." + "location": "query" }, "attachmentName": { + "description": "The attachment name (`attachmentName`) of\nthe attachment to remove. For example:\n`beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For\nEddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the\nbeacon's current EID, or its \"stable\" Eddystone-UID.\nRequired.", "required": true, "type": "string", "pattern": "^beacons/[^/]+/attachments/[^/]+$", - "location": "path", - "description": "The attachment name (`attachmentName`) of\nthe attachment to remove. For example:\n`beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For\nEddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the\nbeacon's current EID, or its \"stable\" Eddystone-UID.\nRequired." + "location": "path" } }, - "flatPath": "v1beta1/beacons/{beaconsId}/attachments/{attachmentsId}" + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" + ], + "flatPath": "v1beta1/beacons/{beaconsId}/attachments/{attachmentsId}", + "path": "v1beta1/{+attachmentName}", + "id": "proximitybeacon.beacons.attachments.delete", + "description": "Deletes the specified attachment for the given beacon. Each attachment has\na unique attachment name (`attachmentName`) which is returned when you\nfetch the attachment data via this API. You specify this with the delete\nrequest to control which attachment is removed. This operation cannot be\nundone.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project." }, "list": { - "httpMethod": "GET", - "parameterOrder": [ - "beaconName" - ], "response": { "$ref": "ListBeaconAttachmentsResponse" }, - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" + "parameterOrder": [ + "beaconName" ], + "httpMethod": "GET", "parameters": { "namespacedType": { - "type": "string", "location": "query", - "description": "Specifies the namespace and type of attachment to include in response in\n\u003cvar\u003enamespace/type\u003c/var\u003e format. Accepts `*/*` to specify\n\"all types in all namespaces\"." + "description": "Specifies the namespace and type of attachment to include in response in\n\u003cvar\u003enamespace/type\u003c/var\u003e format. Accepts `*/*` to specify\n\"all types in all namespaces\".", + "type": "string" }, "beaconName": { "pattern": "^beacons/[^/]+$", @@ -405,73 +396,63 @@ "type": "string" }, "projectId": { + "location": "query", "description": "The project id to list beacon attachments under. This field can be\nused when \"*\" is specified to mean all attachment namespaces. Projects\nmay have multiple attachments with multiple namespaces. If \"*\" is\nspecified and the projectId string is empty, then the project\nmaking the request is used.\nOptional.", - "type": "string", - "location": "query" + "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/userlocation.beacon.registry" + ], "flatPath": "v1beta1/beacons/{beaconsId}/attachments", "id": "proximitybeacon.beacons.attachments.list", "path": "v1beta1/{+beaconName}/attachments", "description": "Returns the attachments for the specified beacon that match the specified\nnamespaced-type pattern.\n\nTo control which namespaced types are returned, you add the\n`namespacedType` query parameter to the request. You must either use\n`*/*`, to return all attachments, or the namespace must be one of\nthe ones returned from the `namespaces` endpoint.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project." - }, - "create": { + } + } + }, + "diagnostics": { + "methods": { + "list": { + "description": "List the diagnostics for a single beacon. You can also list diagnostics for\nall the beacons owned by your Google Developers Console project by using\nthe beacon name `beacons/-`.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.", "response": { - "$ref": "BeaconAttachment" + "$ref": "ListDiagnosticsResponse" }, "parameterOrder": [ "beaconName" ], - "httpMethod": "POST", + "httpMethod": "GET", "parameters": { "beaconName": { - "pattern": "^beacons/[^/]+$", - "location": "path", - "description": "Beacon on which the attachment should be created. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired.", + "description": "Beacon that the diagnostics are for.", "required": true, - "type": "string" + "type": "string", + "pattern": "^beacons/[^/]+$", + "location": "path" }, - "projectId": { + "pageToken": { "location": "query", - "description": "The project id of the project the attachment will belong to. If\nthe project id is not specified then the project making the request\nis used.\nOptional.", + "description": "Requests results that occur after the `page_token`, obtained from the\nresponse to a previous request. Optional.", "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/userlocation.beacon.registry" - ], - "flatPath": "v1beta1/beacons/{beaconsId}/attachments", - "path": "v1beta1/{+beaconName}/attachments", - "id": "proximitybeacon.beacons.attachments.create", - "request": { - "$ref": "BeaconAttachment" - }, - "description": "Associates the given data with the specified beacon. Attachment data must\ncontain two parts:\n\u003cul\u003e\n\u003cli\u003eA namespaced type.\u003c/li\u003e\n\u003cli\u003eThe actual attachment data itself.\u003c/li\u003e\n\u003c/ul\u003e\nThe namespaced type consists of two parts, the namespace and the type.\nThe namespace must be one of the values returned by the `namespaces`\nendpoint, while the type can be a string of any characters except for the\nforward slash (`/`) up to 100 characters in length.\n\nAttachment data can be up to 1024 bytes long.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project." - }, - "batchDelete": { - "description": "Deletes multiple attachments on a given beacon. This operation is\npermanent and cannot be undone.\n\nYou can optionally specify `namespacedType` to choose which attachments\nshould be deleted. If you do not specify `namespacedType`, all your\nattachments on the given beacon will be deleted. You also may explicitly\nspecify `*/*` to delete all.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **Is owner** or **Can edit** permissions in the\nGoogle Developers Console project.", - "httpMethod": "POST", - "parameterOrder": [ - "beaconName" - ], - "response": { - "$ref": "DeleteAttachmentsResponse" - }, - "parameters": { - "namespacedType": { - "description": "Specifies the namespace and type of attachments to delete in\n`namespace/type` format. Accepts `*/*` to specify\n\"all types in all namespaces\".\nOptional.", - "type": "string", + }, + "pageSize": { + "description": "Specifies the maximum number of results to return. Defaults to\n10. Maximum 1000. Optional.", + "format": "int32", + "type": "integer", "location": "query" }, - "beaconName": { - "required": true, + "alertFilter": { + "enum": [ + "ALERT_UNSPECIFIED", + "WRONG_LOCATION", + "LOW_BATTERY" + ], + "description": "Requests only beacons that have the given alert. For example, to find\nbeacons that have low batteries use `alert_filter=LOW_BATTERY`.", "type": "string", - "pattern": "^beacons/[^/]+$", - "location": "path", - "description": "The beacon whose attachments should be deleted. A beacon name has the\nformat \"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast\nby the beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`\nfor AltBeacon. For Eddystone-EID beacons, you may use either the\ncurrent EID or the beacon's \"stable\" UID.\nRequired." + "location": "query" }, "projectId": { - "description": "The project id to delete beacon attachments under. This field can be\nused when \"*\" is specified to mean all attachment namespaces. Projects\nmay have multiple attachments with multiple namespaces. If \"*\" is\nspecified and the projectId string is empty, then the project\nmaking the request is used.\nOptional.", + "description": "Requests only diagnostic records for the given project id. If not set,\nthen the project making the request will be used for looking up\ndiagnostic records. Optional.", "type": "string", "location": "query" } @@ -479,9 +460,9 @@ "scopes": [ "https://www.googleapis.com/auth/userlocation.beacon.registry" ], - "flatPath": "v1beta1/beacons/{beaconsId}/attachments:batchDelete", - "id": "proximitybeacon.beacons.attachments.batchDelete", - "path": "v1beta1/{+beaconName}/attachments:batchDelete" + "flatPath": "v1beta1/beacons/{beaconsId}/diagnostics", + "path": "v1beta1/{+beaconName}/diagnostics", + "id": "proximitybeacon.beacons.diagnostics.list" } } } @@ -490,15 +471,15 @@ "beaconinfo": { "methods": { "getforobserved": { - "httpMethod": "POST", - "parameterOrder": [], "response": { "$ref": "GetInfoForObservedBeaconsResponse" }, + "parameterOrder": [], + "httpMethod": "POST", "parameters": {}, "flatPath": "v1beta1/beaconinfo:getforobserved", - "id": "proximitybeacon.beaconinfo.getforobserved", "path": "v1beta1/beaconinfo:getforobserved", + "id": "proximitybeacon.beaconinfo.getforobserved", "request": { "$ref": "GetInfoForObservedBeaconsRequest" }, @@ -509,9 +490,6 @@ "namespaces": { "methods": { "list": { - "path": "v1beta1/namespaces", - "id": "proximitybeacon.namespaces.list", - "description": "Lists all attachment namespaces owned by your Google Developers Console\nproject. Attachment data associated with a beacon must include a\nnamespaced type, and the namespace must be owned by your project.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project.", "response": { "$ref": "ListNamespacesResponse" }, @@ -522,25 +500,24 @@ ], "parameters": { "projectId": { - "type": "string", "location": "query", - "description": "The project id to list namespaces under.\nOptional." + "description": "The project id to list namespaces under.\nOptional.", + "type": "string" } }, - "flatPath": "v1beta1/namespaces" + "flatPath": "v1beta1/namespaces", + "path": "v1beta1/namespaces", + "id": "proximitybeacon.namespaces.list", + "description": "Lists all attachment namespaces owned by your Google Developers Console\nproject. Attachment data associated with a beacon must include a\nnamespaced type, and the namespace must be owned by your project.\n\nAuthenticate using an [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)\nfrom a signed-in user with **viewer**, **Is owner** or **Can edit**\npermissions in the Google Developers Console project." }, "update": { - "request": { + "response": { "$ref": "Namespace" }, - "description": "Updates the information about the specified namespace. Only the namespace\nvisibility can be updated.", - "httpMethod": "PUT", "parameterOrder": [ "namespaceName" ], - "response": { - "$ref": "Namespace" - }, + "httpMethod": "PUT", "parameters": { "namespaceName": { "pattern": "^namespaces/[^/]+$", @@ -550,41 +527,61 @@ "type": "string" }, "projectId": { + "location": "query", "description": "The project id of the namespace to update. If the project id is not\nspecified then the project making the request is used. The project id\nmust match the project that owns the beacon.\nOptional.", - "type": "string", - "location": "query" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/userlocation.beacon.registry" ], "flatPath": "v1beta1/namespaces/{namespacesId}", + "path": "v1beta1/{+namespaceName}", "id": "proximitybeacon.namespaces.update", - "path": "v1beta1/{+namespaceName}" + "request": { + "$ref": "Namespace" + }, + "description": "Updates the information about the specified namespace. Only the namespace\nvisibility can be updated." } } } }, "parameters": { - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, + "callback": { "location": "query", + "description": "JSONP", + "type": "string" + }, + "$.xgafv": { "enum": [ "1", "2" ], "description": "V1 error format.", - "type": "string" - }, - "callback": { "type": "string", - "location": "query", - "description": "JSONP" + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -592,72 +589,89 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" - }, - "key": { - "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.", - "type": "string", - "location": "query" + "default": "json" }, "access_token": { "location": "query", "description": "OAuth access token.", "type": "string" }, - "quotaUser": { + "key": { "location": "query", - "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.", + "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.", "type": "string" }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, "pp": { + "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" }, - "oauth_token": { + "bearer_token": { "location": "query", - "description": "OAuth 2.0 token for the current user.", + "description": "OAuth bearer token.", "type": "string" }, - "bearer_token": { + "oauth_token": { "location": "query", - "description": "OAuth bearer token.", + "description": "OAuth 2.0 token for the current user.", "type": "string" }, "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { + "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "default": "true" } }, "schemas": { - "BeaconAttachment": { - "description": "Project-specific data associated with a beacon.", + "GetInfoForObservedBeaconsRequest": { + "description": "Request for beacon and attachment information about beacons that\na mobile client has encountered \"in the wild\".", "type": "object", "properties": { + "observations": { + "description": "The beacons that the client has encountered.\nAt least one must be given.", + "type": "array", + "items": { + "$ref": "Observation" + } + }, + "namespacedTypes": { + "description": "Specifies what kind of attachments to include in the response.\nWhen given, the response will include only attachments of the given types.\nWhen empty, no attachments will be returned. Must be in the format\n\u003cvar\u003enamespace/type\u003c/var\u003e. Accepts `*` to specify all types in\nall namespaces owned by the client.\nOptional.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "GetInfoForObservedBeaconsRequest" + }, + "Empty": { + "properties": {}, + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object" + }, + "BeaconAttachment": { + "properties": { + "attachmentName": { + "description": "Resource name of this attachment. Attachment names have the format:\n\u003ccode\u003ebeacons/\u003cvar\u003ebeacon_id\u003c/var\u003e/attachments/\u003cvar\u003eattachment_id\u003c/var\u003e\u003c/code\u003e.\nLeave this empty on creation.", + "type": "string" + }, + "namespacedType": { + "description": "Specifies what kind of attachment this is. Tells a client how to\ninterpret the `data` field. Format is \u003cvar\u003enamespace/type\u003c/var\u003e. Namespace\nprovides type separation between clients. Type describes the type of\n`data`, for use by the client when parsing the `data` field.\nRequired.", + "type": "string" + }, "data": { "description": "An opaque data container for client-provided data. Must be\n[base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP\nrequests, and will be so encoded (with padding) in responses.\nRequired.", "format": "byte", @@ -667,21 +681,24 @@ "description": "The UTC time when this attachment was created, in milliseconds since the\nUNIX epoch.", "format": "google-datetime", "type": "string" - }, - "attachmentName": { - "description": "Resource name of this attachment. Attachment names have the format:\n\u003ccode\u003ebeacons/\u003cvar\u003ebeacon_id\u003c/var\u003e/attachments/\u003cvar\u003eattachment_id\u003c/var\u003e\u003c/code\u003e.\nLeave this empty on creation.", - "type": "string" - }, - "namespacedType": { - "description": "Specifies what kind of attachment this is. Tells a client how to\ninterpret the `data` field. Format is \u003cvar\u003enamespace/type\u003c/var\u003e. Namespace\nprovides type separation between clients. Type describes the type of\n`data`, for use by the client when parsing the `data` field.\nRequired.", - "type": "string" } }, - "id": "BeaconAttachment" + "id": "BeaconAttachment", + "description": "Project-specific data associated with a beacon.", + "type": "object" }, "EphemeralIdRegistration": { - "type": "object", "properties": { + "initialClockValue": { + "description": "The initial clock value of the beacon. The beacon's clock must have\nbegun counting at this value immediately prior to transmitting this\nvalue to the resolving service. Significant delay in transmitting this\nvalue to the service risks registration or resolution failures. If a\nvalue is not provided, the default is zero.", + "format": "uint64", + "type": "string" + }, + "beaconEcdhPublicKey": { + "description": "The beacon's public key used for the Elliptic curve Diffie-Hellman\nkey exchange. When this field is populated, `service_ecdh_public_key`\nmust also be populated, and `beacon_identity_key` must not be.", + "format": "byte", + "type": "string" + }, "rotationPeriodExponent": { "description": "Indicates the nominal period between each rotation of the beacon's\nephemeral ID. \"Nominal\" because the beacon should randomize the\nactual interval. See [the spec at github](https://github.com/google/eddystone/tree/master/eddystone-eid)\nfor details. This value corresponds to a power-of-two scaler on the\nbeacon's clock: when the scaler value is K, the beacon will begin\nbroadcasting a new ephemeral ID on average every 2^K seconds.", "format": "uint32", @@ -698,42 +715,34 @@ "type": "string" }, "initialEid": { - "type": "string", "description": "An initial ephemeral ID calculated using the clock value submitted as\n`initial_clock_value`, and the secret key generated by the\nDiffie-Hellman key exchange using `service_ecdh_public_key` and\n`service_ecdh_public_key`. This initial EID value will be used by the\nservice to confirm that the key exchange process was successful.", - "format": "byte" - }, - "beaconEcdhPublicKey": { - "description": "The beacon's public key used for the Elliptic curve Diffie-Hellman\nkey exchange. When this field is populated, `service_ecdh_public_key`\nmust also be populated, and `beacon_identity_key` must not be.", "format": "byte", "type": "string" - }, - "initialClockValue": { - "type": "string", - "description": "The initial clock value of the beacon. The beacon's clock must have\nbegun counting at this value immediately prior to transmitting this\nvalue to the resolving service. Significant delay in transmitting this\nvalue to the service risks registration or resolution failures. If a\nvalue is not provided, the default is zero.", - "format": "uint64" } }, "id": "EphemeralIdRegistration", - "description": "Write-only registration parameters for beacons using Eddystone-EID format.\nTwo ways of securely registering an Eddystone-EID beacon with the service\nare supported:\n\n1. Perform an ECDH key exchange via this API, including a previous call\n to `GET /v1beta1/eidparams`. In this case the fields\n `beacon_ecdh_public_key` and `service_ecdh_public_key` should be\n populated and `beacon_identity_key` should not be populated. This\n method ensures that only the two parties in the ECDH key exchange can\n compute the identity key, which becomes a secret between them.\n2. Derive or obtain the beacon's identity key via other secure means\n (perhaps an ECDH key exchange between the beacon and a mobile device\n or any other secure method), and then submit the resulting identity key\n to the service. In this case `beacon_identity_key` field should be\n populated, and neither of `beacon_ecdh_public_key` nor\n `service_ecdh_public_key` fields should be. The security of this method\n depends on how securely the parties involved (in particular the\n bluetooth client) handle the identity key, and obviously on how\n securely the identity key was generated.\n\nSee [the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub." + "description": "Write-only registration parameters for beacons using Eddystone-EID format.\nTwo ways of securely registering an Eddystone-EID beacon with the service\nare supported:\n\n1. Perform an ECDH key exchange via this API, including a previous call\n to `GET /v1beta1/eidparams`. In this case the fields\n `beacon_ecdh_public_key` and `service_ecdh_public_key` should be\n populated and `beacon_identity_key` should not be populated. This\n method ensures that only the two parties in the ECDH key exchange can\n compute the identity key, which becomes a secret between them.\n2. Derive or obtain the beacon's identity key via other secure means\n (perhaps an ECDH key exchange between the beacon and a mobile device\n or any other secure method), and then submit the resulting identity key\n to the service. In this case `beacon_identity_key` field should be\n populated, and neither of `beacon_ecdh_public_key` nor\n `service_ecdh_public_key` fields should be. The security of this method\n depends on how securely the parties involved (in particular the\n bluetooth client) handle the identity key, and obviously on how\n securely the identity key was generated.\n\nSee [the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub.", + "type": "object" }, "LatLng": { - "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", - "type": "object", "properties": { - "latitude": { - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", "format": "double", "type": "number" }, - "longitude": { - "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", "format": "double", "type": "number" } }, - "id": "LatLng" + "id": "LatLng", + "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", + "type": "object" }, "ListBeaconAttachmentsResponse": { + "description": "Response to `ListBeaconAttachments` that contains the requested attachments.", "type": "object", "properties": { "attachments": { @@ -744,16 +753,13 @@ } } }, - "id": "ListBeaconAttachmentsResponse", - "description": "Response to `ListBeaconAttachments` that contains the requested attachments." + "id": "ListBeaconAttachmentsResponse" }, "Namespace": { "description": "An attachment namespace defines read and write access for all the attachments\ncreated under it. Each namespace is globally unique, and owned by one\nproject which is the only project that can create attachments under it.", "type": "object", "properties": { "servingVisibility": { - "description": "Specifies what clients may receive attachments under this namespace\nvia `beaconinfo.getforobserved`.", - "type": "string", "enumDescriptions": [ "Do not use this value.", "Served only to the project that owns the namespace.", @@ -763,7 +769,9 @@ "VISIBILITY_UNSPECIFIED", "UNLISTED", "PUBLIC" - ] + ], + "description": "Specifies what clients may receive attachments under this namespace\nvia `beaconinfo.getforobserved`.", + "type": "string" }, "namespaceName": { "description": "Resource name of this namespace. Namespaces names have the format:\n\u003ccode\u003enamespaces/\u003cvar\u003enamespace\u003c/var\u003e\u003c/code\u003e.", @@ -781,8 +789,8 @@ "type": "string" }, "advertisedId": { - "$ref": "AdvertisedId", - "description": "The ID advertised by the beacon." + "description": "The ID advertised by the beacon.", + "$ref": "AdvertisedId" }, "attachments": { "description": "Attachments matching the type(s) requested.\nMay be empty if no attachment types were requested.", @@ -795,32 +803,20 @@ "id": "BeaconInfo" }, "AttachmentInfo": { - "description": "A subset of attachment information served via the\n`beaconinfo.getforobserved` method, used when your users encounter your\nbeacons.", - "type": "object", "properties": { + "namespacedType": { + "description": "Specifies what kind of attachment this is. Tells a client how to\ninterpret the `data` field. Format is \u003cvar\u003enamespace/type\u003c/var\u003e, for\nexample \u003ccode\u003escrupulous-wombat-12345/welcome-message\u003c/code\u003e", + "type": "string" + }, "data": { "description": "An opaque data container for client-provided data.", "format": "byte", "type": "string" - }, - "namespacedType": { - "description": "Specifies what kind of attachment this is. Tells a client how to\ninterpret the `data` field. Format is \u003cvar\u003enamespace/type\u003c/var\u003e, for\nexample \u003ccode\u003escrupulous-wombat-12345/welcome-message\u003c/code\u003e", - "type": "string" - } - }, - "id": "AttachmentInfo" - }, - "DeleteAttachmentsResponse": { - "description": "Response for a request to delete attachments.", - "type": "object", - "properties": { - "numDeleted": { - "description": "The number of attachments that were deleted.", - "format": "int32", - "type": "integer" } }, - "id": "DeleteAttachmentsResponse" + "id": "AttachmentInfo", + "description": "A subset of attachment information served via the\n`beaconinfo.getforobserved` method, used when your users encounter your\nbeacons.", + "type": "object" }, "EphemeralIdRegistrationParams": { "properties": { @@ -830,62 +826,72 @@ "type": "string" }, "minRotationPeriodExponent": { - "type": "integer", "description": "Indicates the minimum rotation period supported by the service.\nSee EddystoneEidRegistration.rotation_period_exponent", - "format": "uint32" + "format": "uint32", + "type": "integer" }, "maxRotationPeriodExponent": { - "type": "integer", "description": "Indicates the maximum rotation period supported by the service.\nSee EddystoneEidRegistration.rotation_period_exponent", - "format": "uint32" + "format": "uint32", + "type": "integer" } }, "id": "EphemeralIdRegistrationParams", "description": "Information a client needs to provision and register beacons that\nbroadcast Eddystone-EID format beacon IDs, using Elliptic curve\nDiffie-Hellman key exchange. See\n[the Eddystone specification](https://github.com/google/eddystone/tree/master/eddystone-eid) at GitHub.", "type": "object" }, - "Observation": { - "description": "Represents one beacon observed once.", + "DeleteAttachmentsResponse": { + "description": "Response for a request to delete attachments.", "type": "object", "properties": { - "timestampMs": { - "type": "string", - "description": "Time when the beacon was observed.", - "format": "google-datetime" - }, - "advertisedId": { - "$ref": "AdvertisedId", - "description": "The ID advertised by the beacon the client has encountered.\n\nIf the submitted `advertised_id` type is Eddystone-EID, then the client\nmust be authorized to resolve the given beacon. Otherwise no data will be\nreturned for that beacon.\nRequired." - }, + "numDeleted": { + "description": "The number of attachments that were deleted.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteAttachmentsResponse" + }, + "Observation": { + "properties": { "telemetry": { "description": "The array of telemetry bytes received from the beacon. The server is\nresponsible for parsing it. This field may frequently be empty, as\nwith a beacon that transmits telemetry only occasionally.", "format": "byte", "type": "string" + }, + "timestampMs": { + "description": "Time when the beacon was observed.", + "format": "google-datetime", + "type": "string" + }, + "advertisedId": { + "description": "The ID advertised by the beacon the client has encountered.\n\nIf the submitted `advertised_id` type is Eddystone-EID, then the client\nmust be authorized to resolve the given beacon. Otherwise no data will be\nreturned for that beacon.\nRequired.", + "$ref": "AdvertisedId" } }, - "id": "Observation" + "id": "Observation", + "description": "Represents one beacon observed once.", + "type": "object" }, "ListDiagnosticsResponse": { - "id": "ListDiagnosticsResponse", "description": "Response that contains the requested diagnostics.", "type": "object", "properties": { + "nextPageToken": { + "description": "Token that can be used for pagination. Returned only if the\nrequest matches more beacons than can be returned in this response.", + "type": "string" + }, "diagnostics": { "description": "The diagnostics matching the given request.", "type": "array", "items": { "$ref": "Diagnostics" } - }, - "nextPageToken": { - "type": "string", - "description": "Token that can be used for pagination. Returned only if the\nrequest matches more beacons than can be returned in this response." } - } + }, + "id": "ListDiagnosticsResponse" }, "GetInfoForObservedBeaconsResponse": { - "description": "Information about the requested beacons, optionally including attachment\ndata.", - "type": "object", "properties": { "beacons": { "description": "Public information about beacons.\nMay be empty if the request matched no beacons.", @@ -895,44 +901,24 @@ } } }, - "id": "GetInfoForObservedBeaconsResponse" + "id": "GetInfoForObservedBeaconsResponse", + "description": "Information about the requested beacons, optionally including attachment\ndata.", + "type": "object" }, "Beacon": { - "description": "Details of a beacon device.", - "type": "object", "properties": { - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Properties of the beacon device, for example battery type or firmware\nversion.\nOptional." - }, - "status": { - "description": "Current status of the beacon.\nRequired.", - "type": "string", - "enumDescriptions": [ - "Do not use this value.", - "The \"normal\" in-use state of a beacon.", - "Beacon should no longer be used for any purpose. This is irreversible.", - "The beacon should not be visible to mobile devices. This is reversible." - ], - "enum": [ - "STATUS_UNSPECIFIED", - "ACTIVE", - "DECOMMISSIONED", - "INACTIVE" - ] - }, - "indoorLevel": { - "$ref": "IndoorLevel", - "description": "The indoor level information for this beacon, if known. As returned by the\nGoogle Maps API.\nOptional." - }, "beaconName": { "description": "Resource name of this beacon. A beacon name has the format\n\"beacons/N!beaconId\" where the beaconId is the base16 ID broadcast by\nthe beacon and N is a code for the beacon's type. Possible values are\n`3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.\n\nThis field must be left empty when registering. After reading a beacon,\nclients can use the name for future operations.", "type": "string" }, "expectedStability": { + "enum": [ + "STABILITY_UNSPECIFIED", + "STABLE", + "PORTABLE", + "MOBILE", + "ROVING" + ], "description": "Expected location stability. This is set when the beacon is registered or\nupdated, not automatically detected in any way.\nOptional.", "type": "string", "enumDescriptions": [ @@ -941,42 +927,64 @@ "Usually stable but may move rarely, usually within a single place,\nfor example a store display.", "Moves frequently, for example a personal item or food truck.", "Moves continuously in service, for example a bus or train." - ], - "enum": [ - "STABILITY_UNSPECIFIED", - "STABLE", - "PORTABLE", - "MOBILE", - "ROVING" ] }, "advertisedId": { - "$ref": "AdvertisedId", - "description": "The identifier of a beacon as advertised by it. This field must be\npopulated when registering. It may be empty when updating a beacon\nrecord because it is ignored in updates.\n\nWhen registering a beacon that broadcasts Eddystone-EID, this field\nshould contain a \"stable\" Eddystone-UID that identifies the beacon and\nlinks it to its attachments. The stable Eddystone-UID is only used for\nadministering the beacon." - }, - "provisioningKey": { - "type": "string", - "description": "Some beacons may require a user to provide an authorization key before\nchanging any of its configuration (e.g. broadcast frames, transmit power).\nThis field provides a place to store and control access to that key.\nThis field is populated in responses to `GET /v1beta1/beacons/3!beaconId`\nfrom users with write access to the given beacon. That is to say: If the\nuser is authorized to write the beacon's confidential data in the service,\nthe service considers them authorized to configure the beacon. Note\nthat this key grants nothing on the service, only on the beacon itself.", - "format": "byte" + "description": "The identifier of a beacon as advertised by it. This field must be\npopulated when registering. It may be empty when updating a beacon\nrecord because it is ignored in updates.\n\nWhen registering a beacon that broadcasts Eddystone-EID, this field\nshould contain a \"stable\" Eddystone-UID that identifies the beacon and\nlinks it to its attachments. The stable Eddystone-UID is only used for\nadministering the beacon.", + "$ref": "AdvertisedId" }, "ephemeralIdRegistration": { "$ref": "EphemeralIdRegistration", "description": "Write-only registration parameters for beacons using Eddystone-EID\n(remotely resolved ephemeral ID) format. This information will not be\npopulated in API responses. When submitting this data, the `advertised_id`\nfield must contain an ID of type Eddystone-UID. Any other ID type will\nresult in an error." }, - "latLng": { - "$ref": "LatLng", - "description": "The location of the beacon, expressed as a latitude and longitude pair.\nThis location is given when the beacon is registered or updated. It does\nnot necessarily indicate the actual current location of the beacon.\nOptional." + "provisioningKey": { + "description": "Some beacons may require a user to provide an authorization key before\nchanging any of its configuration (e.g. broadcast frames, transmit power).\nThis field provides a place to store and control access to that key.\nThis field is populated in responses to `GET /v1beta1/beacons/3!beaconId`\nfrom users with write access to the given beacon. That is to say: If the\nuser is authorized to write the beacon's confidential data in the service,\nthe service considers them authorized to configure the beacon. Note\nthat this key grants nothing on the service, only on the beacon itself.", + "format": "byte", + "type": "string" + }, + "description": { + "description": "Free text used to identify and describe the beacon. Maximum length 140\ncharacters.\nOptional.", + "type": "string" }, "placeId": { "description": "The [Google Places API](/places/place-id) Place ID of the place where\nthe beacon is deployed. This is given when the beacon is registered or\nupdated, not automatically detected in any way.\nOptional.", "type": "string" }, - "description": { - "description": "Free text used to identify and describe the beacon. Maximum length 140\ncharacters.\nOptional.", + "latLng": { + "$ref": "LatLng", + "description": "The location of the beacon, expressed as a latitude and longitude pair.\nThis location is given when the beacon is registered or updated. It does\nnot necessarily indicate the actual current location of the beacon.\nOptional." + }, + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Properties of the beacon device, for example battery type or firmware\nversion.\nOptional.", + "type": "object" + }, + "indoorLevel": { + "description": "The indoor level information for this beacon, if known. As returned by the\nGoogle Maps API.\nOptional.", + "$ref": "IndoorLevel" + }, + "status": { + "enumDescriptions": [ + "Do not use this value.", + "The \"normal\" in-use state of a beacon.", + "Beacon should no longer be used for any purpose. This is irreversible.", + "The beacon should not be visible to mobile devices. This is reversible." + ], + "enum": [ + "STATUS_UNSPECIFIED", + "ACTIVE", + "DECOMMISSIONED", + "INACTIVE" + ], + "description": "Current status of the beacon.\nRequired.", "type": "string" } }, - "id": "Beacon" + "id": "Beacon", + "description": "Details of a beacon device.", + "type": "object" }, "AdvertisedId": { "description": "Defines a unique identifier of a beacon as broadcast by the device.", @@ -1009,9 +1017,12 @@ "id": "AdvertisedId" }, "Date": { - "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", - "type": "object", "properties": { + "month": { + "description": "Month of year. Must be from 1 to 12.", + "format": "int32", + "type": "integer" + }, "year": { "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without\na year.", "format": "int32", @@ -1021,16 +1032,14 @@ "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not significant.", "format": "int32", "type": "integer" - }, - "month": { - "description": "Month of year. Must be from 1 to 12.", - "format": "int32", - "type": "integer" } }, - "id": "Date" + "id": "Date", + "description": "Represents a whole calendar date, e.g. date of birth. The time of day and\ntime zone are either specified elsewhere or are not significant. The date\nis relative to the Proleptic Gregorian Calendar. The day may be 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independent\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", + "type": "object" }, "IndoorLevel": { + "description": "Indoor level, a human-readable string as returned by Google Maps APIs,\nuseful to indicate which floor of a building a beacon is located on.", "type": "object", "properties": { "name": { @@ -1038,11 +1047,9 @@ "type": "string" } }, - "id": "IndoorLevel", - "description": "Indoor level, a human-readable string as returned by Google Maps APIs,\nuseful to indicate which floor of a building a beacon is located on." + "id": "IndoorLevel" }, "ListNamespacesResponse": { - "type": "object", "properties": { "namespaces": { "description": "The attachments that corresponded to the request params.", @@ -1053,9 +1060,11 @@ } }, "id": "ListNamespacesResponse", - "description": "Response to ListNamespacesRequest that contains all the project's namespaces." + "description": "Response to ListNamespacesRequest that contains all the project's namespaces.", + "type": "object" }, "ListBeaconsResponse": { + "description": "Response that contains list beacon results and pagination help.", "type": "object", "properties": { "nextPageToken": { @@ -1075,12 +1084,9 @@ "type": "string" } }, - "id": "ListBeaconsResponse", - "description": "Response that contains list beacon results and pagination help." + "id": "ListBeaconsResponse" }, "Diagnostics": { - "description": "Diagnostics for a single beacon.", - "type": "object", "properties": { "estimatedLowBatteryDate": { "$ref": "Date", @@ -1091,11 +1097,6 @@ "type": "string" }, "alerts": { - "enumDescriptions": [ - "Invalid value. Should never appear.", - "The beacon has been reported in a location different than its registered\nlocation. This may indicate that the beacon has been moved. This signal\nis not 100% accurate, but indicates that further investigation is worth\nwhile.", - "The battery level for the beacon is low enough that, given the beacon's\ncurrent use, its battery will run out with in the next 60 days. This\nindicates that the battery should be replaced soon." - ], "description": "An unordered list of Alerts that the beacon has.", "type": "array", "items": { @@ -1105,42 +1106,41 @@ "LOW_BATTERY" ], "type": "string" - } - } - }, - "id": "Diagnostics" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object", - "properties": {}, - "id": "Empty" - }, - "GetInfoForObservedBeaconsRequest": { - "id": "GetInfoForObservedBeaconsRequest", - "description": "Request for beacon and attachment information about beacons that\na mobile client has encountered \"in the wild\".", - "type": "object", - "properties": { - "observations": { - "type": "array", - "items": { - "$ref": "Observation" }, - "description": "The beacons that the client has encountered.\nAt least one must be given." - }, - "namespacedTypes": { - "description": "Specifies what kind of attachments to include in the response.\nWhen given, the response will include only attachments of the given types.\nWhen empty, no attachments will be returned. Must be in the format\n\u003cvar\u003enamespace/type\u003c/var\u003e. Accepts `*` to specify all types in\nall namespaces owned by the client.\nOptional.", - "type": "array", - "items": { - "type": "string" - } + "enumDescriptions": [ + "Invalid value. Should never appear.", + "The beacon has been reported in a location different than its registered\nlocation. This may indicate that the beacon has been moved. This signal\nis not 100% accurate, but indicates that further investigation is worth\nwhile.", + "The battery level for the beacon is low enough that, given the beacon's\ncurrent use, its battery will run out with in the next 60 days. This\nindicates that the battery should be replaced soon." + ] } - } + }, + "id": "Diagnostics", + "description": "Diagnostics for a single beacon.", + "type": "object" } }, + "protocol": "rest", "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "version": "v1beta1", + "baseUrl": "https://proximitybeacon.googleapis.com/", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/userlocation.beacon.registry": { + "description": "View and modify your beacons" + } + } + } }, - "protocol": "rest" + "kind": "discovery#restDescription", + "description": "Registers, manages, indexes, and searches beacons.", + "servicePath": "", + "rootUrl": "https://proximitybeacon.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "proximitybeacon", + "batchPath": "batch" } diff --git a/DiscoveryJson/pubsub_v1.json b/DiscoveryJson/pubsub_v1.json index 1a505264ec..9a9563f04c 100644 --- a/DiscoveryJson/pubsub_v1.json +++ b/DiscoveryJson/pubsub_v1.json @@ -1,20 +1,4 @@ { - "canonicalName": "Pubsub", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/pubsub": { - "description": "View and manage Pub/Sub topics and subscriptions" - } - } - } - }, - "description": "Provides reliable, many-to-many, asynchronous messaging between applications.\n", - "servicePath": "", - "kind": "discovery#restDescription", "rootUrl": "https://pubsub.googleapis.com/", "basePath": "", "ownerDomain": "google.com", @@ -24,61 +8,101 @@ "documentationLink": "https://cloud.google.com/pubsub/docs", "id": "pubsub:v1", "title": "Google Cloud Pub/Sub API", - "ownerName": "Google", "discoveryVersion": "v1", + "ownerName": "Google", "resources": { "projects": { "resources": { "subscriptions": { "methods": { - "getIamPolicy": { - "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy", - "id": "pubsub.projects.subscriptions.getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "list": { + "description": "Lists matching subscriptions.", "httpMethod": "GET", "parameterOrder": [ - "resource" + "project" ], "response": { - "$ref": "Policy" + "$ref": "ListSubscriptionsResponse" + }, + "parameters": { + "pageToken": { + "location": "query", + "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.", + "type": "string" + }, + "pageSize": { + "description": "Maximum number of subscriptions to return.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "project": { + "description": "The name of the cloud project that subscriptions belong to.\nFormat is `projects/{project}`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1/projects/{projectsId}/subscriptions", + "id": "pubsub.projects.subscriptions.list", + "path": "v1/{+project}/subscriptions" + }, + "create": { + "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", + "id": "pubsub.projects.subscriptions.create", + "path": "v1/{+name}", + "description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic, conforming\nto the\n[resource name format](https://cloud.google.com/pubsub/docs/overview#names).\nThe generated name is populated in the returned Subscription object.\nNote that for REST API requests, you must specify a name in the request.", + "request": { + "$ref": "Subscription" + }, + "httpMethod": "PUT", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Subscription" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], "parameters": { - "resource": { + "name": { "required": true, "type": "string", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field." + "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`." } } }, - "modifyAckDeadline": { - "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline", - "path": "v1/{+subscription}:modifyAckDeadline", - "id": "pubsub.projects.subscriptions.modifyAckDeadline", + "setIamPolicy": { + "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "id": "pubsub.projects.subscriptions.setIamPolicy", "request": { - "$ref": "ModifyAckDeadlineRequest" + "$ref": "SetIamPolicyRequest" }, - "description": "Modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.", + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", "response": { - "$ref": "Empty" + "$ref": "Policy" }, "parameterOrder": [ - "subscription" + "resource" ], "httpMethod": "POST", "parameters": { - "subscription": { + "resource": { + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "location": "path", - "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + "type": "string" } }, "scopes": [ @@ -96,11 +120,11 @@ }, "parameters": { "subscription": { - "location": "path", "description": "The subscription whose message is being acknowledged.\nFormat is `projects/{project}/subscriptions/{sub}`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", + "location": "path" } }, "scopes": [ @@ -115,33 +139,92 @@ }, "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error." }, - "get": { - "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", - "id": "pubsub.projects.subscriptions.get", - "path": "v1/{+subscription}", - "description": "Gets the configuration details of a subscription.", + "getIamPolicy": { + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy", + "path": "v1/{+resource}:getIamPolicy", + "id": "pubsub.projects.subscriptions.getIamPolicy", + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset." + }, + "modifyAckDeadline": { + "response": { + "$ref": "Empty" + }, "parameterOrder": [ "subscription" ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "subscription": { + "location": "path", + "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline", + "path": "v1/{+subscription}:modifyAckDeadline", + "id": "pubsub.projects.subscriptions.modifyAckDeadline", + "description": "Modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.", + "request": { + "$ref": "ModifyAckDeadlineRequest" + } + }, + "get": { + "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", + "path": "v1/{+subscription}", + "id": "pubsub.projects.subscriptions.get", + "description": "Gets the configuration details of a subscription.", "response": { "$ref": "Subscription" }, + "parameterOrder": [ + "subscription" + ], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], "parameters": { "subscription": { + "description": "The name of the subscription to get.\nFormat is `projects/{project}/subscriptions/{sub}`.", "required": true, "type": "string", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The name of the subscription to get.\nFormat is `projects/{project}/subscriptions/{sub}`." + "location": "path" } } }, "testIamPermissions": { + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", "response": { "$ref": "TestIamPermissionsResponse" }, @@ -149,28 +232,28 @@ "resource" ], "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], "parameters": { "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field." + "location": "path" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:testIamPermissions", "path": "v1/{+resource}:testIamPermissions", - "id": "pubsub.projects.subscriptions.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "request": { - "$ref": "TestIamPermissionsRequest" - } + "id": "pubsub.projects.subscriptions.testIamPermissions" }, "modifyPushConfig": { + "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.", + "request": { + "$ref": "ModifyPushConfigRequest" + }, "response": { "$ref": "Empty" }, @@ -184,25 +267,18 @@ ], "parameters": { "subscription": { - "location": "path", "description": "The name of the subscription.\nFormat is `projects/{project}/subscriptions/{sub}`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", + "location": "path" } }, "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyPushConfig", "path": "v1/{+subscription}:modifyPushConfig", - "id": "pubsub.projects.subscriptions.modifyPushConfig", - "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.", - "request": { - "$ref": "ModifyPushConfigRequest" - } + "id": "pubsub.projects.subscriptions.modifyPushConfig" }, "pull": { - "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", - "id": "pubsub.projects.subscriptions.pull", - "path": "v1/{+subscription}:pull", "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.", "request": { "$ref": "PullRequest" @@ -220,169 +296,74 @@ ], "parameters": { "subscription": { + "location": "path", + "description": "The subscription from which messages should be pulled.\nFormat is `projects/{project}/subscriptions/{sub}`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The subscription from which messages should be pulled.\nFormat is `projects/{project}/subscriptions/{sub}`." + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" } - } + }, + "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", + "id": "pubsub.projects.subscriptions.pull", + "path": "v1/{+subscription}:pull" }, "delete": { - "description": "Deletes an existing subscription. All messages retained in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription or its topic unless the same topic is specified.", - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "subscription" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], "parameters": { "subscription": { + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", "location": "path", "description": "The subscription to delete.\nFormat is `projects/{project}/subscriptions/{sub}`.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + "type": "string" } }, "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", + "path": "v1/{+subscription}", "id": "pubsub.projects.subscriptions.delete", - "path": "v1/{+subscription}" - }, - "list": { - "flatPath": "v1/projects/{projectsId}/subscriptions", - "path": "v1/{+project}/subscriptions", - "id": "pubsub.projects.subscriptions.list", - "description": "Lists matching subscriptions.", + "description": "Deletes an existing subscription. All messages retained in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription or its topic unless the same topic is specified.", "response": { - "$ref": "ListSubscriptionsResponse" + "$ref": "Empty" }, "parameterOrder": [ - "project" + "subscription" ], + "httpMethod": "DELETE" + } + } + }, + "snapshots": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", "httpMethod": "GET", + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], "parameters": { - "pageToken": { - "type": "string", - "location": "query", - "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data." - }, - "pageSize": { - "type": "integer", - "location": "query", - "description": "Maximum number of subscriptions to return.", - "format": "int32" - }, - "project": { - "location": "path", - "description": "The name of the cloud project that subscriptions belong to.\nFormat is `projects/{project}`.", + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^projects/[^/]+$" + "pattern": "^projects/[^/]+/snapshots/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" - ] - }, - "create": { - "description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic, conforming\nto the\n[resource name format](https://cloud.google.com/pubsub/docs/overview#names).\nThe generated name is populated in the returned Subscription object.\nNote that for REST API requests, you must specify a name in the request.", - "request": { - "$ref": "Subscription" - }, - "response": { - "$ref": "Subscription" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "PUT", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`." - } - }, - "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", - "path": "v1/{+name}", - "id": "pubsub.projects.subscriptions.create" - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$" - } - }, - "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy", - "id": "pubsub.projects.subscriptions.setIamPolicy", - "path": "v1/{+resource}:setIamPolicy" - } - } - }, - "snapshots": { - "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "resource": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/snapshots/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field." - } - }, - "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "id": "pubsub.projects.snapshots.getIamPolicy" + ], + "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:getIamPolicy", + "id": "pubsub.projects.snapshots.getIamPolicy", + "path": "v1/{+resource}:getIamPolicy" }, "setIamPolicy": { - "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "id": "pubsub.projects.snapshots.setIamPolicy", "request": { "$ref": "SetIamPolicyRequest" }, @@ -396,17 +377,20 @@ "httpMethod": "POST", "parameters": { "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", "pattern": "^projects/[^/]+/snapshots/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field." + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" - ] + ], + "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "id": "pubsub.projects.snapshots.setIamPolicy" }, "testIamPermissions": { "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", @@ -426,11 +410,11 @@ ], "parameters": { "resource": { - "location": "path", "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/snapshots/[^/]+$" + "pattern": "^projects/[^/]+/snapshots/[^/]+$", + "location": "path" } }, "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}:testIamPermissions", @@ -441,126 +425,31 @@ }, "topics": { "methods": { - "list": { - "httpMethod": "GET", - "parameterOrder": [ - "project" - ], - "response": { - "$ref": "ListTopicsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "pageToken": { - "location": "query", - "description": "The value returned by the last `ListTopicsResponse`; indicates that this is\na continuation of a prior `ListTopics` call, and that the system should\nreturn the next page of data.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "Maximum number of topics to return.", - "format": "int32", - "type": "integer" - }, - "project": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The name of the cloud project that topics belong to.\nFormat is `projects/{project}`." - } - }, - "flatPath": "v1/projects/{projectsId}/topics", - "id": "pubsub.projects.topics.list", - "path": "v1/{+project}/topics", - "description": "Lists matching topics." - }, - "create": { - "description": "Creates the given topic with the given name.", - "request": { - "$ref": "Topic" - }, - "httpMethod": "PUT", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Topic" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "name": { - "location": "path", - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$" - } - }, - "flatPath": "v1/projects/{projectsId}/topics/{topicsId}", - "id": "pubsub.projects.topics.create", - "path": "v1/{+name}" - }, - "setIamPolicy": { - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "getIamPolicy": { "response": { "$ref": "Policy" }, "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "httpMethod": "GET", "parameters": { "resource": { "required": true, "type": "string", "pattern": "^projects/[^/]+/topics/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field." + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field." } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "flatPath": "v1/projects/{projectsId}/topics/{topicsId}:setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "id": "pubsub.projects.topics.setIamPolicy" - }, - "getIamPolicy": { "flatPath": "v1/projects/{projectsId}/topics/{topicsId}:getIamPolicy", - "id": "pubsub.projects.topics.getIamPolicy", "path": "v1/{+resource}:getIamPolicy", - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "httpMethod": "GET", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$" - } - } + "id": "pubsub.projects.topics.getIamPolicy", + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset." }, "get": { "httpMethod": "GET", @@ -572,11 +461,11 @@ }, "parameters": { "topic": { - "required": true, - "type": "string", "pattern": "^projects/[^/]+/topics/[^/]+$", "location": "path", - "description": "The name of the topic to get.\nFormat is `projects/{project}/topics/{topic}`." + "description": "The name of the topic to get.\nFormat is `projects/{project}/topics/{topic}`.", + "required": true, + "type": "string" } }, "scopes": [ @@ -589,20 +478,24 @@ "description": "Gets the configuration of a topic." }, "publish": { - "response": { - "$ref": "PublishResponse" + "request": { + "$ref": "PublishRequest" }, + "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute.", + "httpMethod": "POST", "parameterOrder": [ "topic" ], - "httpMethod": "POST", + "response": { + "$ref": "PublishResponse" + }, "parameters": { "topic": { + "pattern": "^projects/[^/]+/topics/[^/]+$", "location": "path", "description": "The messages in the request will be published on this topic.\nFormat is `projects/{project}/topics/{topic}`.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$" + "type": "string" } }, "scopes": [ @@ -610,28 +503,24 @@ "https://www.googleapis.com/auth/pubsub" ], "flatPath": "v1/projects/{projectsId}/topics/{topicsId}:publish", - "path": "v1/{+topic}:publish", "id": "pubsub.projects.topics.publish", - "request": { - "$ref": "PublishRequest" - }, - "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute." + "path": "v1/{+topic}:publish" }, "testIamPermissions": { - "response": { - "$ref": "TestIamPermissionsResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "TestIamPermissionsResponse" + }, "parameters": { "resource": { - "location": "path", "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$" + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" } }, "scopes": [ @@ -639,8 +528,8 @@ "https://www.googleapis.com/auth/pubsub" ], "flatPath": "v1/projects/{projectsId}/topics/{topicsId}:testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", "id": "pubsub.projects.topics.testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", "request": { "$ref": "TestIamPermissionsRequest" }, @@ -648,70 +537,165 @@ }, "delete": { "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.", - "response": { - "$ref": "Empty" - }, "parameterOrder": [ "topic" ], "httpMethod": "DELETE", + "response": { + "$ref": "Empty" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], "parameters": { "topic": { + "description": "Name of the topic to delete.\nFormat is `projects/{project}/topics/{topic}`.", "required": true, "type": "string", "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/topics/{topicsId}", + "id": "pubsub.projects.topics.delete", + "path": "v1/{+topic}" + }, + "list": { + "response": { + "$ref": "ListTopicsResponse" + }, + "parameterOrder": [ + "project" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "pageToken": { + "type": "string", + "location": "query", + "description": "The value returned by the last `ListTopicsResponse`; indicates that this is\na continuation of a prior `ListTopics` call, and that the system should\nreturn the next page of data." + }, + "pageSize": { + "description": "Maximum number of topics to return.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "project": { + "location": "path", + "description": "The name of the cloud project that topics belong to.\nFormat is `projects/{project}`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$" + } + }, + "flatPath": "v1/projects/{projectsId}/topics", + "path": "v1/{+project}/topics", + "id": "pubsub.projects.topics.list", + "description": "Lists matching topics." + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/topics/{topicsId}:setIamPolicy", + "id": "pubsub.projects.topics.setIamPolicy", + "path": "v1/{+resource}:setIamPolicy" + }, + "create": { + "response": { + "$ref": "Topic" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "name": { "location": "path", - "description": "Name of the topic to delete.\nFormat is `projects/{project}/topics/{topic}`." + "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$" } }, "flatPath": "v1/projects/{projectsId}/topics/{topicsId}", - "path": "v1/{+topic}", - "id": "pubsub.projects.topics.delete" + "path": "v1/{+name}", + "id": "pubsub.projects.topics.create", + "description": "Creates the given topic with the given name.", + "request": { + "$ref": "Topic" + } } }, "resources": { "subscriptions": { "methods": { "list": { - "flatPath": "v1/projects/{projectsId}/topics/{topicsId}/subscriptions", - "path": "v1/{+topic}/subscriptions", - "id": "pubsub.projects.topics.subscriptions.list", "description": "Lists the name of the subscriptions for this topic.", - "response": { - "$ref": "ListTopicSubscriptionsResponse" - }, + "httpMethod": "GET", "parameterOrder": [ "topic" ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], + "response": { + "$ref": "ListTopicSubscriptionsResponse" + }, "parameters": { + "pageSize": { + "location": "query", + "description": "Maximum number of subscription names to return.", + "format": "int32", + "type": "integer" + }, "topic": { + "description": "The name of the topic that subscriptions are attached to.\nFormat is `projects/{project}/topics/{topic}`.", "required": true, "type": "string", "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path", - "description": "The name of the topic that subscriptions are attached to.\nFormat is `projects/{project}/topics/{topic}`." + "location": "path" }, "pageToken": { - "location": "query", "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuation of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "Maximum number of subscription names to return.", - "format": "int32", - "type": "integer" + "type": "string", + "location": "query" } - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1/projects/{projectsId}/topics/{topicsId}/subscriptions", + "id": "pubsub.projects.topics.subscriptions.list", + "path": "v1/{+topic}/subscriptions" } } } @@ -721,68 +705,52 @@ } }, "parameters": { - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], + "access_token": { "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + "description": "OAuth access token.", + "type": "string" }, "key": { + "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.", "type": "string", - "location": "query", - "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." - }, - "access_token": { - "type": "string", - "location": "query", - "description": "OAuth access token." + "location": "query" }, "quotaUser": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, "pp": { - "type": "boolean", - "default": "true", "location": "query", - "description": "Pretty-print response." + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" }, "oauth_token": { "type": "string", "location": "query", "description": "OAuth 2.0 token for the current user." }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string", - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + "location": "query" }, "prettyPrint": { - "type": "boolean", - "default": "true", "location": "query", - "description": "Returns response with indentations and line breaks." + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" }, "uploadType": { - "type": "string", "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, "fields": { "location": "query", @@ -790,93 +758,196 @@ "type": "string" }, "$.xgafv": { + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" ], + "location": "query" + }, + "callback": { "location": "query", - "enum": [ - "1", - "2" + "description": "JSONP", + "type": "string" + }, + "alt": { + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" ], - "description": "V1 error format." - }, - "callback": { - "type": "string", "location": "query", - "description": "JSONP" + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] } }, "schemas": { - "ModifyAckDeadlineRequest": { + "PublishResponse": { + "description": "Response for the `Publish` method.", + "type": "object", + "properties": { + "messageIds": { + "description": "The server-assigned ID of each published message, in the same order as\nthe messages in the request. IDs are guaranteed to be unique within\nthe topic.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "PublishResponse" + }, + "Subscription": { + "description": "A subscription resource.", "type": "object", "properties": { + "pushConfig": { + "$ref": "PushConfig", + "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods." + }, "ackDeadlineSeconds": { + "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using\npull.\nThe minimum custom deadline you can specify is 10 seconds.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\nIf this parameter is 0, a default value of 10 seconds is used.\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", + "type": "string" + }, + "topic": { + "type": "string", + "description": "The name of the topic from which this subscription is receiving messages.\nFormat is `projects/{project}/topics/{topic}`.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted." + } + }, + "id": "Subscription" + }, + "TestIamPermissionsRequest": { + "type": "object", + "properties": { + "permissions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions)." + } + }, + "id": "TestIamPermissionsRequest", + "description": "Request message for `TestIamPermissions` method." + }, + "Topic": { + "description": "A topic resource.", + "type": "object", + "properties": { + "name": { + "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "type": "string" + } + }, + "id": "Topic" + }, + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "type": "object", + "properties": { + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" + }, + "version": { "type": "integer", - "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.\nThe minimum deadline you can specify is 0 seconds.\nThe maximum deadline you can specify is 600 seconds (10 minutes).", + "description": "Version of the `Policy`. The default version is 0.", "format": "int32" }, + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" + } + } + }, + "id": "Policy" + }, + "ModifyAckDeadlineRequest": { + "description": "Request for the ModifyAckDeadline method.", + "type": "object", + "properties": { "ackIds": { + "description": "List of acknowledgment IDs.", "type": "array", "items": { "type": "string" - }, - "description": "List of acknowledgment IDs." + } + }, + "ackDeadlineSeconds": { + "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.\nThe minimum deadline you can specify is 0 seconds.\nThe maximum deadline you can specify is 600 seconds (10 minutes).", + "format": "int32", + "type": "integer" } }, - "id": "ModifyAckDeadlineRequest", - "description": "Request for the ModifyAckDeadline method." + "id": "ModifyAckDeadlineRequest" }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", + "$ref": "Policy" } }, "id": "SetIamPolicyRequest" }, + "ModifyPushConfigRequest": { + "description": "Request for the ModifyPushConfig method.", + "type": "object", + "properties": { + "pushConfig": { + "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called.", + "$ref": "PushConfig" + } + }, + "id": "ModifyPushConfigRequest" + }, "PubsubMessage": { - "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute.", "type": "object", "properties": { - "data": { - "type": "string", - "description": "The message payload.", - "format": "byte" - }, "attributes": { + "description": "Optional attributes for this message.", "type": "object", "additionalProperties": { "type": "string" - }, - "description": "Optional attributes for this message." + } }, "messageId": { - "type": "string", - "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call." + "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.", + "type": "string" }, "publishTime": { - "type": "string", "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be populated by the\npublisher in a `Publish` call.", - "format": "google-datetime" - } - }, - "id": "PubsubMessage" - }, - "ModifyPushConfigRequest": { - "type": "object", - "properties": { - "pushConfig": { - "$ref": "PushConfig", - "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called." + "format": "google-datetime", + "type": "string" + }, + "data": { + "description": "The message payload.", + "format": "byte", + "type": "string" } }, - "id": "ModifyPushConfigRequest", - "description": "Request for the ModifyPushConfig method." + "id": "PubsubMessage", + "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute." }, "Binding": { "description": "Associates `members` with a `role`.", @@ -890,37 +961,38 @@ } }, "role": { - "type": "string", - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired" + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" } }, "id": "Binding" }, "ListTopicsResponse": { + "description": "Response for the `ListTopics` method.", "type": "object", "properties": { + "nextPageToken": { + "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.", + "type": "string" + }, "topics": { "type": "array", "items": { "$ref": "Topic" }, "description": "The resulting topics." - }, - "nextPageToken": { - "type": "string", - "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`." } }, - "id": "ListTopicsResponse", - "description": "Response for the `ListTopics` method." + "id": "ListTopicsResponse" }, "Empty": { - "type": "object", "properties": {}, "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object" }, "AcknowledgeRequest": { + "description": "Request for the Acknowledge method.", "type": "object", "properties": { "ackIds": { @@ -931,23 +1003,22 @@ } } }, - "id": "AcknowledgeRequest", - "description": "Request for the Acknowledge method." + "id": "AcknowledgeRequest" }, "ListTopicSubscriptionsResponse": { "description": "Response for the `ListTopicSubscriptions` method.", "type": "object", "properties": { - "nextPageToken": { - "type": "string", - "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions." - }, "subscriptions": { "description": "The names of the subscriptions that match the request.", "type": "array", "items": { "type": "string" } + }, + "nextPageToken": { + "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.", + "type": "string" } }, "id": "ListTopicSubscriptionsResponse" @@ -986,20 +1057,22 @@ "type": "object", "properties": { "pushEndpoint": { - "type": "string", - "description": "A URL locating the endpoint to which messages should be pushed.\nFor example, a Webhook endpoint might use \"https://example.com/push\"." + "description": "A URL locating the endpoint to which messages should be pushed.\nFor example, a Webhook endpoint might use \"https://example.com/push\".", + "type": "string" }, "attributes": { + "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the pushed message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the pushed message (i.e., its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub API.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.", "type": "object", "additionalProperties": { "type": "string" - }, - "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the pushed message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the pushed message (i.e., its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub API.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API." + } } }, "id": "PushConfig" }, "TestIamPermissionsResponse": { + "id": "TestIamPermissionsResponse", + "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { @@ -1009,11 +1082,11 @@ }, "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed." } - }, - "id": "TestIamPermissionsResponse", - "description": "Response message for `TestIamPermissions` method." + } }, "PullRequest": { + "id": "PullRequest", + "description": "Request for the `Pull` method.", "type": "object", "properties": { "returnImmediately": { @@ -1021,139 +1094,66 @@ "type": "boolean" }, "maxMessages": { - "type": "integer", "description": "The maximum number of messages returned for this request. The Pub/Sub\nsystem may return fewer than the number specified.", - "format": "int32" + "format": "int32", + "type": "integer" } - }, - "id": "PullRequest", - "description": "Request for the `Pull` method." + } }, "ListSubscriptionsResponse": { + "description": "Response for the `ListSubscriptions` method.", "type": "object", "properties": { - "nextPageToken": { - "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListSubscriptionsRequest` to get more subscriptions.", - "type": "string" - }, "subscriptions": { "description": "The subscriptions that match the request.", "type": "array", "items": { "$ref": "Subscription" } + }, + "nextPageToken": { + "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListSubscriptionsRequest` to get more subscriptions.", + "type": "string" } }, - "id": "ListSubscriptionsResponse", - "description": "Response for the `ListSubscriptions` method." + "id": "ListSubscriptionsResponse" }, "PublishRequest": { + "description": "Request for the Publish method.", "type": "object", "properties": { "messages": { + "description": "The messages to publish.", "type": "array", "items": { "$ref": "PubsubMessage" - }, - "description": "The messages to publish." - } - }, - "id": "PublishRequest", - "description": "Request for the Publish method." - }, - "PublishResponse": { - "description": "Response for the `Publish` method.", - "type": "object", - "properties": { - "messageIds": { - "description": "The server-assigned ID of each published message, in the same order as\nthe messages in the request. IDs are guaranteed to be unique within\nthe topic.", - "type": "array", - "items": { - "type": "string" } } }, - "id": "PublishResponse" - }, - "Subscription": { - "description": "A subscription resource.", - "type": "object", - "properties": { - "ackDeadlineSeconds": { - "type": "integer", - "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using\npull.\nThe minimum custom deadline you can specify is 10 seconds.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\nIf this parameter is 0, a default value of 10 seconds is used.\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.", - "format": "int32" - }, - "name": { - "type": "string", - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`." - }, - "topic": { - "description": "The name of the topic from which this subscription is receiving messages.\nFormat is `projects/{project}/topics/{topic}`.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.", - "type": "string" - }, - "pushConfig": { - "$ref": "PushConfig", - "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods." - } - }, - "id": "Subscription" - }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions)." - } - }, - "id": "TestIamPermissionsRequest" - }, - "Policy": { - "type": "object", - "properties": { - "etag": { - "type": "string", - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte" - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "bindings": { - "type": "array", - "items": { - "$ref": "Binding" - }, - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error." - } - }, - "id": "Policy", - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam)." - }, - "Topic": { - "type": "object", - "properties": { - "name": { - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", - "type": "string" - } - }, - "id": "Topic", - "description": "A topic resource." + "id": "PublishRequest" } }, + "protocol": "rest", "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" }, - "protocol": "rest", "version": "v1", - "baseUrl": "https://pubsub.googleapis.com/" + "baseUrl": "https://pubsub.googleapis.com/", + "canonicalName": "Pubsub", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/pubsub": { + "description": "View and manage Pub/Sub topics and subscriptions" + } + } + } + }, + "servicePath": "", + "kind": "discovery#restDescription", + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.\n" } diff --git a/DiscoveryJson/pubsub_v1beta1a.json b/DiscoveryJson/pubsub_v1beta1a.json index 86d74ae733..44b506b0c4 100644 --- a/DiscoveryJson/pubsub_v1beta1a.json +++ b/DiscoveryJson/pubsub_v1beta1a.json @@ -1,107 +1,102 @@ { + "basePath": "", + "ownerDomain": "google.com", + "name": "pubsub", + "batchPath": "batch", + "revision": "20170308", + "documentationLink": "https://cloud.google.com/pubsub/docs", + "id": "pubsub:v1beta1a", + "title": "Google Cloud Pub/Sub API", + "discoveryVersion": "v1", + "ownerName": "Google", "resources": { - "subscriptions": { + "topics": { "methods": { - "modifyPushConfig": { - "flatPath": "v1beta1a/subscriptions/modifyPushConfig", - "path": "v1beta1a/subscriptions/modifyPushConfig", - "id": "pubsub.subscriptions.modifyPushConfig", - "description": "Modifies the \u003ccode\u003ePushConfig\u003c/code\u003e for a specified subscription.\nThis method can be used to suspend the flow of messages to an endpoint\nby clearing the \u003ccode\u003ePushConfig\u003c/code\u003e field in the request. Messages\nwill be accumulated for delivery even if no push configuration is\ndefined or while the configuration is modified.", - "request": { - "$ref": "ModifyPushConfigRequest" - }, - "response": { - "$ref": "Empty" - }, - "parameterOrder": [], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": {} - }, "delete": { + "flatPath": "v1beta1a/topics/{topicsId}", + "path": "v1beta1a/topics/{+topic}", + "id": "pubsub.topics.delete", + "description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does\nnot exist. After a topic is deleted, a new topic may be created with the\nsame name.", "response": { "$ref": "Empty" }, "parameterOrder": [ - "subscription" + "topic" ], "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], "parameters": { - "subscription": { - "location": "path", - "description": "The subscription to delete.", + "topic": { "required": true, "type": "string", - "pattern": "^.+$" + "pattern": "^.+$", + "location": "path", + "description": "Name of the topic to delete." } }, - "flatPath": "v1beta1a/subscriptions/{subscriptionsId}", - "path": "v1beta1a/subscriptions/{+subscription}", - "id": "pubsub.subscriptions.delete", - "description": "Deletes an existing subscription. All pending messages in the subscription\nare immediately dropped. Calls to Pull after deletion will return\nNOT_FOUND." + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ] }, - "pull": { - "httpMethod": "POST", - "parameterOrder": [], + "publishBatch": { + "description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does\nnot exist.", + "request": { + "$ref": "PublishBatchRequest" + }, "response": { - "$ref": "PullResponse" + "$ref": "PublishBatchResponse" }, - "parameters": {}, + "parameterOrder": [], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "flatPath": "v1beta1a/subscriptions/pull", - "id": "pubsub.subscriptions.pull", - "path": "v1beta1a/subscriptions/pull", - "request": { - "$ref": "PullRequest" - }, - "description": "Pulls a single message from the server.\nIf return_immediately is true, and no messages are available in the\nsubscription, this method returns FAILED_PRECONDITION. The system is free\nto return an UNAVAILABLE error if no messages are available in a\nreasonable amount of time (to reduce system load)." + "parameters": {}, + "flatPath": "v1beta1a/topics/publishBatch", + "path": "v1beta1a/topics/publishBatch", + "id": "pubsub.topics.publishBatch" }, "list": { - "httpMethod": "GET", + "path": "v1beta1a/topics", + "id": "pubsub.topics.list", + "description": "Lists matching topics.", "response": { - "$ref": "ListSubscriptionsResponse" + "$ref": "ListTopicsResponse" }, + "httpMethod": "GET", "parameterOrder": [], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], "parameters": { - "pageToken": { - "type": "string", - "location": "query", - "description": "The value obtained in the last \u003ccode\u003eListSubscriptionsResponse\u003c/code\u003e\nfor continuation." - }, "query": { + "description": "A valid label query expression.", "type": "string", - "location": "query", - "description": "A valid label query expression." + "location": "query" }, "maxResults": { + "description": "Maximum number of topics to return.", + "format": "int32", "type": "integer", + "location": "query" + }, + "pageToken": { "location": "query", - "description": "Maximum number of subscriptions to return.", - "format": "int32" + "description": "The value obtained in the last \u003ccode\u003eListTopicsResponse\u003c/code\u003e\nfor continuation.", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta1a/subscriptions", - "id": "pubsub.subscriptions.list", - "path": "v1beta1a/subscriptions", - "description": "Lists matching subscriptions." + "flatPath": "v1beta1a/topics" }, "create": { + "description": "Creates the given topic with the given name.", + "request": { + "$ref": "Topic" + }, "response": { - "$ref": "Subscription" + "$ref": "Topic" }, "parameterOrder": [], "httpMethod": "POST", @@ -110,40 +105,65 @@ "https://www.googleapis.com/auth/pubsub" ], "parameters": {}, - "flatPath": "v1beta1a/subscriptions", - "path": "v1beta1a/subscriptions", - "id": "pubsub.subscriptions.create", - "description": "Creates a subscription on a given topic for a given subscriber.\nIf the subscription already exists, returns ALREADY_EXISTS.\nIf the corresponding topic doesn't exist, returns NOT_FOUND.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic.", - "request": { - "$ref": "Subscription" - } + "flatPath": "v1beta1a/topics", + "path": "v1beta1a/topics", + "id": "pubsub.topics.create" }, - "acknowledge": { - "httpMethod": "POST", - "parameterOrder": [], + "get": { + "flatPath": "v1beta1a/topics/{topicsId}", + "id": "pubsub.topics.get", + "path": "v1beta1a/topics/{+topic}", + "description": "Gets the configuration of a topic. Since the topic only has the name\nattribute, this method is only useful to check the existence of a topic.\nIf other attributes are added in the future, they will be returned here.", + "httpMethod": "GET", "response": { - "$ref": "Empty" + "$ref": "Topic" }, - "parameters": {}, + "parameterOrder": [ + "topic" + ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "flatPath": "v1beta1a/subscriptions/acknowledge", - "id": "pubsub.subscriptions.acknowledge", - "path": "v1beta1a/subscriptions/acknowledge", + "parameters": { + "topic": { + "description": "The name of the topic to get.", + "required": true, + "type": "string", + "pattern": "^.+$", + "location": "path" + } + } + }, + "publish": { + "flatPath": "v1beta1a/topics/publish", + "path": "v1beta1a/topics/publish", + "id": "pubsub.topics.publish", + "description": "Adds a message to the topic. Returns NOT_FOUND if the topic does not\nexist.", "request": { - "$ref": "AcknowledgeRequest" + "$ref": "PublishRequest" }, - "description": "Acknowledges a particular received message: the Pub/Sub system can remove\nthe given message from the subscription. Acknowledging a message whose\nAck deadline has expired may succeed, but the message could have been\nalready redelivered. Acknowledging a message more than once will not\nresult in an error. This is only used for messages received via pull." - }, - "modifyAckDeadline": { - "flatPath": "v1beta1a/subscriptions/modifyAckDeadline", - "id": "pubsub.subscriptions.modifyAckDeadline", - "path": "v1beta1a/subscriptions/modifyAckDeadline", - "description": "Modifies the Ack deadline for a message received from a pull request.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": {} + } + } + }, + "subscriptions": { + "methods": { + "modifyPushConfig": { + "id": "pubsub.subscriptions.modifyPushConfig", + "path": "v1beta1a/subscriptions/modifyPushConfig", + "description": "Modifies the \u003ccode\u003ePushConfig\u003c/code\u003e for a specified subscription.\nThis method can be used to suspend the flow of messages to an endpoint\nby clearing the \u003ccode\u003ePushConfig\u003c/code\u003e field in the request. Messages\nwill be accumulated for delivery even if no push configuration is\ndefined or while the configuration is modified.", "request": { - "$ref": "ModifyAckDeadlineRequest" + "$ref": "ModifyPushConfigRequest" }, "httpMethod": "POST", "parameterOrder": [], @@ -154,93 +174,90 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "parameters": {} + "parameters": {}, + "flatPath": "v1beta1a/subscriptions/modifyPushConfig" }, - "get": { - "flatPath": "v1beta1a/subscriptions/{subscriptionsId}", - "path": "v1beta1a/subscriptions/{+subscription}", - "id": "pubsub.subscriptions.get", - "description": "Gets the configuration details of a subscription.", + "pull": { "response": { - "$ref": "Subscription" + "$ref": "PullResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": {}, + "flatPath": "v1beta1a/subscriptions/pull", + "path": "v1beta1a/subscriptions/pull", + "id": "pubsub.subscriptions.pull", + "description": "Pulls a single message from the server.\nIf return_immediately is true, and no messages are available in the\nsubscription, this method returns FAILED_PRECONDITION. The system is free\nto return an UNAVAILABLE error if no messages are available in a\nreasonable amount of time (to reduce system load).", + "request": { + "$ref": "PullRequest" + } + }, + "delete": { + "response": { + "$ref": "Empty" }, "parameterOrder": [ "subscription" ], - "httpMethod": "GET", + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], "parameters": { "subscription": { + "description": "The subscription to delete.", "required": true, "type": "string", "pattern": "^.+$", - "location": "path", - "description": "The name of the subscription to get." + "location": "path" } - } + }, + "flatPath": "v1beta1a/subscriptions/{subscriptionsId}", + "path": "v1beta1a/subscriptions/{+subscription}", + "id": "pubsub.subscriptions.delete", + "description": "Deletes an existing subscription. All pending messages in the subscription\nare immediately dropped. Calls to Pull after deletion will return\nNOT_FOUND." }, - "pullBatch": { - "httpMethod": "POST", - "parameterOrder": [], + "list": { "response": { - "$ref": "PullBatchResponse" + "$ref": "ListSubscriptionsResponse" }, - "parameters": {}, + "parameterOrder": [], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "flatPath": "v1beta1a/subscriptions/pullBatch", - "id": "pubsub.subscriptions.pullBatch", - "path": "v1beta1a/subscriptions/pullBatch", - "request": { - "$ref": "PullBatchRequest" - }, - "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The system is free to return UNAVAILABLE\nif there are too many pull requests outstanding for the given subscription." - } - } - }, - "topics": { - "methods": { - "list": { - "description": "Lists matching topics.", - "httpMethod": "GET", - "response": { - "$ref": "ListTopicsResponse" - }, - "parameterOrder": [], "parameters": { "query": { + "description": "A valid label query expression.", "type": "string", - "location": "query", - "description": "A valid label query expression." + "location": "query" }, "maxResults": { - "location": "query", - "description": "Maximum number of topics to return.", + "description": "Maximum number of subscriptions to return.", "format": "int32", - "type": "integer" + "type": "integer", + "location": "query" }, "pageToken": { - "location": "query", - "description": "The value obtained in the last \u003ccode\u003eListTopicsResponse\u003c/code\u003e\nfor continuation.", - "type": "string" + "description": "The value obtained in the last \u003ccode\u003eListSubscriptionsResponse\u003c/code\u003e\nfor continuation.", + "type": "string", + "location": "query" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta1a/topics", - "id": "pubsub.topics.list", - "path": "v1beta1a/topics" + "flatPath": "v1beta1a/subscriptions", + "path": "v1beta1a/subscriptions", + "id": "pubsub.subscriptions.list", + "description": "Lists matching subscriptions." }, "create": { "response": { - "$ref": "Topic" + "$ref": "Subscription" }, "parameterOrder": [], "httpMethod": "POST", @@ -249,131 +266,154 @@ "https://www.googleapis.com/auth/pubsub" ], "parameters": {}, - "flatPath": "v1beta1a/topics", - "path": "v1beta1a/topics", - "id": "pubsub.topics.create", - "description": "Creates the given topic with the given name.", + "flatPath": "v1beta1a/subscriptions", + "path": "v1beta1a/subscriptions", + "id": "pubsub.subscriptions.create", + "description": "Creates a subscription on a given topic for a given subscriber.\nIf the subscription already exists, returns ALREADY_EXISTS.\nIf the corresponding topic doesn't exist, returns NOT_FOUND.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic.", "request": { - "$ref": "Topic" + "$ref": "Subscription" } }, - "get": { + "modifyAckDeadline": { + "path": "v1beta1a/subscriptions/modifyAckDeadline", + "id": "pubsub.subscriptions.modifyAckDeadline", + "description": "Modifies the Ack deadline for a message received from a pull request.", + "request": { + "$ref": "ModifyAckDeadlineRequest" + }, "response": { - "$ref": "Topic" + "$ref": "Empty" }, - "parameterOrder": [ - "topic" - ], - "httpMethod": "GET", + "parameterOrder": [], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "parameters": { - "topic": { - "required": true, - "type": "string", - "pattern": "^.+$", - "location": "path", - "description": "The name of the topic to get." - } - }, - "flatPath": "v1beta1a/topics/{topicsId}", - "path": "v1beta1a/topics/{+topic}", - "id": "pubsub.topics.get", - "description": "Gets the configuration of a topic. Since the topic only has the name\nattribute, this method is only useful to check the existence of a topic.\nIf other attributes are added in the future, they will be returned here." + "parameters": {}, + "flatPath": "v1beta1a/subscriptions/modifyAckDeadline" }, - "publish": { + "acknowledge": { + "id": "pubsub.subscriptions.acknowledge", + "path": "v1beta1a/subscriptions/acknowledge", + "description": "Acknowledges a particular received message: the Pub/Sub system can remove\nthe given message from the subscription. Acknowledging a message whose\nAck deadline has expired may succeed, but the message could have been\nalready redelivered. Acknowledging a message more than once will not\nresult in an error. This is only used for messages received via pull.", + "request": { + "$ref": "AcknowledgeRequest" + }, "httpMethod": "POST", "parameterOrder": [], "response": { "$ref": "Empty" }, - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], - "flatPath": "v1beta1a/topics/publish", - "id": "pubsub.topics.publish", - "path": "v1beta1a/topics/publish", + "parameters": {}, + "flatPath": "v1beta1a/subscriptions/acknowledge" + }, + "pullBatch": { + "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The system is free to return UNAVAILABLE\nif there are too many pull requests outstanding for the given subscription.", "request": { - "$ref": "PublishRequest" + "$ref": "PullBatchRequest" }, - "description": "Adds a message to the topic. Returns NOT_FOUND if the topic does not\nexist." - }, - "delete": { "response": { - "$ref": "Empty" + "$ref": "PullBatchResponse" }, - "parameterOrder": [ - "topic" - ], - "httpMethod": "DELETE", + "parameterOrder": [], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" ], + "parameters": {}, + "flatPath": "v1beta1a/subscriptions/pullBatch", + "path": "v1beta1a/subscriptions/pullBatch", + "id": "pubsub.subscriptions.pullBatch" + }, + "get": { + "flatPath": "v1beta1a/subscriptions/{subscriptionsId}", + "id": "pubsub.subscriptions.get", + "path": "v1beta1a/subscriptions/{+subscription}", + "description": "Gets the configuration details of a subscription.", + "httpMethod": "GET", + "response": { + "$ref": "Subscription" + }, + "parameterOrder": [ + "subscription" + ], "parameters": { - "topic": { + "subscription": { "required": true, "type": "string", "pattern": "^.+$", "location": "path", - "description": "Name of the topic to delete." + "description": "The name of the subscription to get." } }, - "flatPath": "v1beta1a/topics/{topicsId}", - "path": "v1beta1a/topics/{+topic}", - "id": "pubsub.topics.delete", - "description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does\nnot exist. After a topic is deleted, a new topic may be created with the\nsame name." - }, - "publishBatch": { - "description": "Adds one or more messages to the topic. Returns NOT_FOUND if the topic does\nnot exist.", - "request": { - "$ref": "PublishBatchRequest" - }, - "response": { - "$ref": "PublishBatchResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/pubsub" - ], - "parameters": {}, - "flatPath": "v1beta1a/topics/publishBatch", - "path": "v1beta1a/topics/publishBatch", - "id": "pubsub.topics.publishBatch" + ] } } } }, "parameters": { - "upload_protocol": { + "key": { "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "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.", "type": "string" }, - "prettyPrint": { + "access_token": { + "type": "string", "location": "query", - "description": "Returns response with indentations and line breaks.", + "description": "OAuth access token." + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", "type": "boolean", - "default": "true" + "default": "true", + "location": "query" }, - "uploadType": { + "oauth_token": { "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "description": "OAuth 2.0 token for the current user.", "type": "string" }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" + }, "fields": { "location": "query", "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, - "$.xgafv": { + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string", + "location": "query" + }, + "$.xgafv": { "enumDescriptions": [ "v1 error format", "v2 error format" @@ -383,7 +423,8 @@ "1", "2" ], - "description": "V1 error format." + "description": "V1 error format.", + "type": "string" }, "callback": { "location": "query", @@ -405,169 +446,49 @@ "location": "query", "description": "Data format for response.", "default": "json" - }, - "access_token": { - "type": "string", - "location": "query", - "description": "OAuth access token." - }, - "key": { - "type": "string", - "location": "query", - "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." - }, - "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "type": "string", - "location": "query", - "description": "OAuth 2.0 token for the current user." - }, - "bearer_token": { - "type": "string", - "location": "query", - "description": "OAuth bearer token." } }, "schemas": { - "Label": { - "description": "A key-value pair applied to a given object.", - "type": "object", - "properties": { - "strValue": { - "type": "string", - "description": "A string value." - }, - "numValue": { - "description": "An integer value.", - "format": "int64", - "type": "string" - }, - "key": { - "description": "The key of a label is a syntactically valid URL (as per RFC 1738) with\nthe \"scheme\" and initial slashes omitted and with the additional\nrestrictions noted below. Each key should be globally unique. The\n\"host\" portion is called the \"namespace\" and is not necessarily\nresolvable to a network endpoint. Instead, the namespace indicates what\nsystem or entity defines the semantics of the label. Namespaces do not\nrestrict the set of objects to which a label may be associated.\n\nKeys are defined by the following grammar:\n\n key = hostname \"/\" kpath\n kpath = ksegment *[ \"/\" ksegment ]\n ksegment = alphadigit | *[ alphadigit | \"-\" | \"_\" | \".\" ]\n\nwhere \"hostname\" and \"alphadigit\" are defined as in RFC 1738.\n\nExample key:\n spanner.google.com/universe", - "type": "string" - } - }, - "id": "Label" - }, - "ModifyAckDeadlineRequest": { - "type": "object", - "properties": { - "subscription": { - "type": "string", - "description": "Next Index: 5\nThe name of the subscription from which messages are being pulled." - }, - "ackId": { - "type": "string", - "description": "The acknowledgment ID. Either this or ack_ids must be populated,\nnot both." - }, - "ackDeadlineSeconds": { - "type": "integer", - "description": "The new ack deadline with respect to the time this request was sent to the\nPub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack\ndeadline will expire 10 seconds after the ModifyAckDeadline call was made.\nSpecifying zero may immediately make the message available for another pull\nrequest.", - "format": "int32" - }, - "ackIds": { - "description": "List of acknowledgment IDs. Either this field or ack_id\nshould be populated, not both.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "ModifyAckDeadlineRequest", - "description": "Request for the ModifyAckDeadline method." - }, - "PullBatchRequest": { - "type": "object", - "properties": { - "subscription": { - "description": "The subscription from which messages should be pulled.", - "type": "string" - }, - "returnImmediately": { - "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the Pull response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.", - "type": "boolean" - }, - "maxEvents": { - "description": "The maximum number of PubsubEvents returned for this request. The Pub/Sub\nsystem may return fewer than the number of events specified.", - "format": "int32", - "type": "integer" - } - }, - "id": "PullBatchRequest", - "description": "Request for the PullBatch method." + "Empty": { + "properties": {}, + "id": "Empty", + "description": "An empty message that you can re-use to avoid defining duplicated empty\nmessages in your project. A typical example is to use it as argument or the\nreturn value of a service API. For instance:\n\n service Foo {\n rpc Bar (proto2.Empty) returns (proto2.Empty) { };\n };\n\nBEGIN GOOGLE-INTERNAL\nThe difference between this one and net/rpc/empty-message.proto is that\n1) The generated message here is in proto2 C++ API.\n2) The proto2.Empty has minimum dependencies\n (no message_set or net/rpc dependencies)\nEND GOOGLE-INTERNAL", + "type": "object" }, - "PubsubMessage": { + "AcknowledgeRequest": { "type": "object", "properties": { - "data": { - "type": "string", - "description": "The message payload.", - "format": "byte" - }, - "messageId": { - "type": "string", - "description": "ID of this message assigned by the server at publication time. Guaranteed\nto be unique within the topic. This value may be read by a subscriber\nthat receives a PubsubMessage via a Pull call or a push delivery. It must\nnot be populated by a publisher in a Publish call." + "subscription": { + "description": "The subscription whose message is being acknowledged.", + "type": "string" }, - "label": { - "description": "Optional list of labels for this message. Keys in this collection must\nbe unique.", + "ackId": { + "description": "The acknowledgment ID for the message being acknowledged. This was\nreturned by the Pub/Sub system in the Pull response.", "type": "array", "items": { - "$ref": "Label" + "type": "string" } - }, - "publishTime": { - "description": "The time at which the message was published.\nThe time is milliseconds since the UNIX epoch.", - "format": "int64", - "type": "string" - } - }, - "id": "PubsubMessage", - "description": "A message data and its labels." - }, - "ModifyPushConfigRequest": { - "description": "Request for the ModifyPushConfig method.", - "type": "object", - "properties": { - "pushConfig": { - "$ref": "PushConfig", - "description": "An empty \u003ccode\u003epush_config\u003c/code\u003e indicates that the Pub/Sub system should\npause pushing messages from the given subscription." - }, - "subscription": { - "type": "string", - "description": "The name of the subscription." } }, - "id": "ModifyPushConfigRequest" + "id": "AcknowledgeRequest", + "description": "Request for the Acknowledge method." }, - "ListTopicsResponse": { - "description": "Response for the ListTopics method.", + "PullBatchResponse": { + "description": "Response for the PullBatch method.", "type": "object", "properties": { - "topic": { + "pullResponses": { + "description": "Received Pub/Sub messages or status events. The Pub/Sub system will return\nzero messages if there are no more messages available in the backlog. The\nPub/Sub system may return fewer than the max_events requested even if\nthere are more messages available in the backlog.", "type": "array", "items": { - "$ref": "Topic" - }, - "description": "The resulting topics." - }, - "nextPageToken": { - "type": "string", - "description": "If not empty, indicates that there are more topics that match the request,\nand this value should be passed to the next \u003ccode\u003eListTopicsRequest\u003c/code\u003e\nto continue." + "$ref": "PullResponse" + } } }, - "id": "ListTopicsResponse" + "id": "PullBatchResponse" }, "PublishBatchRequest": { + "id": "PublishBatchRequest", "description": "Request for the PublishBatch method.", "type": "object", "properties": { @@ -582,54 +503,33 @@ "description": "The messages in the request will be published on this topic.", "type": "string" } - }, - "id": "PublishBatchRequest" - }, - "Empty": { - "type": "object", - "properties": {}, - "id": "Empty", - "description": "An empty message that you can re-use to avoid defining duplicated empty\nmessages in your project. A typical example is to use it as argument or the\nreturn value of a service API. For instance:\n\n service Foo {\n rpc Bar (proto2.Empty) returns (proto2.Empty) { };\n };\n\nBEGIN GOOGLE-INTERNAL\nThe difference between this one and net/rpc/empty-message.proto is that\n1) The generated message here is in proto2 C++ API.\n2) The proto2.Empty has minimum dependencies\n (no message_set or net/rpc dependencies)\nEND GOOGLE-INTERNAL" - }, - "PullBatchResponse": { - "type": "object", - "properties": { - "pullResponses": { - "description": "Received Pub/Sub messages or status events. The Pub/Sub system will return\nzero messages if there are no more messages available in the backlog. The\nPub/Sub system may return fewer than the max_events requested even if\nthere are more messages available in the backlog.", - "type": "array", - "items": { - "$ref": "PullResponse" - } - } - }, - "id": "PullBatchResponse", - "description": "Response for the PullBatch method." + } }, - "AcknowledgeRequest": { + "ListTopicsResponse": { + "description": "Response for the ListTopics method.", "type": "object", "properties": { - "ackId": { - "description": "The acknowledgment ID for the message being acknowledged. This was\nreturned by the Pub/Sub system in the Pull response.", + "nextPageToken": { + "description": "If not empty, indicates that there are more topics that match the request,\nand this value should be passed to the next \u003ccode\u003eListTopicsRequest\u003c/code\u003e\nto continue.", + "type": "string" + }, + "topic": { + "description": "The resulting topics.", "type": "array", "items": { - "type": "string" + "$ref": "Topic" } - }, - "subscription": { - "type": "string", - "description": "The subscription whose message is being acknowledged." } }, - "id": "AcknowledgeRequest", - "description": "Request for the Acknowledge method." + "id": "ListTopicsResponse" }, "PullResponse": { "description": "Either a \u003ccode\u003ePubsubMessage\u003c/code\u003e or a truncation event. One of these two\nmust be populated.", "type": "object", "properties": { "ackId": { - "type": "string", - "description": "This ID must be used to acknowledge the received event or message." + "description": "This ID must be used to acknowledge the received event or message.", + "type": "string" }, "pubsubEvent": { "$ref": "PubsubEvent", @@ -639,7 +539,6 @@ "id": "PullResponse" }, "PushConfig": { - "description": "Configuration for a push delivery endpoint.", "type": "object", "properties": { "pushEndpoint": { @@ -647,45 +546,55 @@ "type": "string" } }, - "id": "PushConfig" + "id": "PushConfig", + "description": "Configuration for a push delivery endpoint." }, "PullRequest": { + "description": "Request for the Pull method.", "type": "object", "properties": { "subscription": { - "type": "string", - "description": "The subscription from which a message should be pulled." + "description": "The subscription from which a message should be pulled.", + "type": "string" }, "returnImmediately": { "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the Pull response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning FAILED_PRECONDITION. The client may cancel the request if\nit does not wish to wait any longer for the response.", "type": "boolean" } }, - "id": "PullRequest", - "description": "Request for the Pull method." + "id": "PullRequest" }, "ListSubscriptionsResponse": { + "description": "Response for the ListSubscriptions method.", "type": "object", "properties": { "subscription": { + "description": "The subscriptions that match the request.", "type": "array", "items": { "$ref": "Subscription" - }, - "description": "The subscriptions that match the request." + } }, "nextPageToken": { "description": "If not empty, indicates that there are more subscriptions that match the\nrequest and this value should be passed to the next\n\u003ccode\u003eListSubscriptionsRequest\u003c/code\u003e to continue.", "type": "string" } }, - "id": "ListSubscriptionsResponse", - "description": "Response for the ListSubscriptions method." + "id": "ListSubscriptionsResponse" }, "PubsubEvent": { + "id": "PubsubEvent", "description": "An event indicating a received message or truncation event.", "type": "object", "properties": { + "message": { + "description": "A received message.", + "$ref": "PubsubMessage" + }, + "subscription": { + "description": "The subscription that received the event.", + "type": "string" + }, "truncated": { "description": "Indicates that this subscription has been truncated.", "type": "boolean" @@ -693,88 +602,189 @@ "deleted": { "description": "Indicates that this subscription has been deleted. (Note that pull\nsubscribers will always receive NOT_FOUND in response in their pull\nrequest on the subscription, rather than seeing this boolean.)", "type": "boolean" - }, + } + } + }, + "PublishRequest": { + "description": "Request for the Publish method.", + "type": "object", + "properties": { "message": { "$ref": "PubsubMessage", - "description": "A received message." + "description": "The message to publish." }, - "subscription": { - "description": "The subscription that received the event.", + "topic": { + "description": "The message in the request will be published on this topic.", "type": "string" } }, - "id": "PubsubEvent" + "id": "PublishRequest" }, - "PublishRequest": { + "Subscription": { + "description": "A subscription resource.", "type": "object", "properties": { - "topic": { - "description": "The message in the request will be published on this topic.", + "pushConfig": { + "$ref": "PushConfig", + "description": "If push delivery is used with this subscription, this field is\nused to configure it." + }, + "ackDeadlineSeconds": { + "description": "For either push or pull delivery, the value is the maximum time after a\nsubscriber receives a message before the subscriber should acknowledge or\nNack the message. If the Ack deadline for a message passes without an\nAck or a Nack, the Pub/Sub system will eventually redeliver the message.\nIf a subscriber acknowledges after the deadline, the Pub/Sub system may\naccept the Ack, but it is possible that the message has been already\ndelivered again. Multiple Acks to the message are allowed and will\nsucceed.\n\nFor push delivery, this value is used to set the request timeout for\nthe call to the push endpoint.\n\nFor pull delivery, this value is used as the initial value for the Ack\ndeadline. It may be overridden for each message using its corresponding\nack_id with \u003ccode\u003eModifyAckDeadline\u003c/code\u003e.\nWhile a message is outstanding (i.e. it has been delivered to a pull\nsubscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub\nsystem will not deliver that message to another pull subscriber\n(on a best-effort basis).", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Name of the subscription.", "type": "string" }, - "message": { - "$ref": "PubsubMessage", - "description": "The message to publish." + "topic": { + "description": "The name of the topic from which this subscription is receiving messages.", + "type": "string" } }, - "id": "PublishRequest", - "description": "Request for the Publish method." + "id": "Subscription" }, "PublishBatchResponse": { - "description": "Response for the PublishBatch method.", "type": "object", "properties": { "messageIds": { + "description": "The server-assigned ID of each published message, in the same order as\nthe messages in the request. IDs are guaranteed to be unique within\nthe topic.", "type": "array", "items": { "type": "string" - }, - "description": "The server-assigned ID of each published message, in the same order as\nthe messages in the request. IDs are guaranteed to be unique within\nthe topic." + } } }, - "id": "PublishBatchResponse" + "id": "PublishBatchResponse", + "description": "Response for the PublishBatch method." }, - "Subscription": { - "description": "A subscription resource.", + "Topic": { + "description": "A topic resource.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the topic." + } + }, + "id": "Topic" + }, + "Label": { + "description": "A key-value pair applied to a given object.", "type": "object", "properties": { + "strValue": { + "description": "A string value.", + "type": "string" + }, + "numValue": { + "description": "An integer value.", + "format": "int64", + "type": "string" + }, + "key": { + "description": "The key of a label is a syntactically valid URL (as per RFC 1738) with\nthe \"scheme\" and initial slashes omitted and with the additional\nrestrictions noted below. Each key should be globally unique. The\n\"host\" portion is called the \"namespace\" and is not necessarily\nresolvable to a network endpoint. Instead, the namespace indicates what\nsystem or entity defines the semantics of the label. Namespaces do not\nrestrict the set of objects to which a label may be associated.\n\nKeys are defined by the following grammar:\n\n key = hostname \"/\" kpath\n kpath = ksegment *[ \"/\" ksegment ]\n ksegment = alphadigit | *[ alphadigit | \"-\" | \"_\" | \".\" ]\n\nwhere \"hostname\" and \"alphadigit\" are defined as in RFC 1738.\n\nExample key:\n spanner.google.com/universe", + "type": "string" + } + }, + "id": "Label" + }, + "ModifyAckDeadlineRequest": { + "properties": { + "subscription": { + "description": "Next Index: 5\nThe name of the subscription from which messages are being pulled.", + "type": "string" + }, + "ackId": { + "description": "The acknowledgment ID. Either this or ack_ids must be populated,\nnot both.", + "type": "string" + }, "ackDeadlineSeconds": { - "description": "For either push or pull delivery, the value is the maximum time after a\nsubscriber receives a message before the subscriber should acknowledge or\nNack the message. If the Ack deadline for a message passes without an\nAck or a Nack, the Pub/Sub system will eventually redeliver the message.\nIf a subscriber acknowledges after the deadline, the Pub/Sub system may\naccept the Ack, but it is possible that the message has been already\ndelivered again. Multiple Acks to the message are allowed and will\nsucceed.\n\nFor push delivery, this value is used to set the request timeout for\nthe call to the push endpoint.\n\nFor pull delivery, this value is used as the initial value for the Ack\ndeadline. It may be overridden for each message using its corresponding\nack_id with \u003ccode\u003eModifyAckDeadline\u003c/code\u003e.\nWhile a message is outstanding (i.e. it has been delivered to a pull\nsubscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub\nsystem will not deliver that message to another pull subscriber\n(on a best-effort basis).", + "description": "The new ack deadline with respect to the time this request was sent to the\nPub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new ack\ndeadline will expire 10 seconds after the ModifyAckDeadline call was made.\nSpecifying zero may immediately make the message available for another pull\nrequest.", "format": "int32", "type": "integer" }, - "name": { - "description": "Name of the subscription.", + "ackIds": { + "description": "List of acknowledgment IDs. Either this field or ack_id\nshould be populated, not both.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "ModifyAckDeadlineRequest", + "description": "Request for the ModifyAckDeadline method.", + "type": "object" + }, + "PullBatchRequest": { + "description": "Request for the PullBatch method.", + "type": "object", + "properties": { + "maxEvents": { + "description": "The maximum number of PubsubEvents returned for this request. The Pub/Sub\nsystem may return fewer than the number of events specified.", + "format": "int32", + "type": "integer" + }, + "subscription": { + "description": "The subscription from which messages should be pulled.", "type": "string" }, - "topic": { - "description": "The name of the topic from which this subscription is receiving messages.", + "returnImmediately": { + "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the Pull response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.", + "type": "boolean" + } + }, + "id": "PullBatchRequest" + }, + "PubsubMessage": { + "type": "object", + "properties": { + "data": { + "description": "The message payload.", + "format": "byte", "type": "string" }, - "pushConfig": { - "$ref": "PushConfig", - "description": "If push delivery is used with this subscription, this field is\nused to configure it." + "messageId": { + "description": "ID of this message assigned by the server at publication time. Guaranteed\nto be unique within the topic. This value may be read by a subscriber\nthat receives a PubsubMessage via a Pull call or a push delivery. It must\nnot be populated by a publisher in a Publish call.", + "type": "string" + }, + "label": { + "type": "array", + "items": { + "$ref": "Label" + }, + "description": "Optional list of labels for this message. Keys in this collection must\nbe unique." + }, + "publishTime": { + "description": "The time at which the message was published.\nThe time is milliseconds since the UNIX epoch.", + "format": "int64", + "type": "string" } }, - "id": "Subscription" + "id": "PubsubMessage", + "description": "A message data and its labels." }, - "Topic": { + "ModifyPushConfigRequest": { + "description": "Request for the ModifyPushConfig method.", "type": "object", "properties": { - "name": { - "description": "Name of the topic.", + "pushConfig": { + "$ref": "PushConfig", + "description": "An empty \u003ccode\u003epush_config\u003c/code\u003e indicates that the Pub/Sub system should\npause pushing messages from the given subscription." + }, + "subscription": { + "description": "The name of the subscription.", "type": "string" } }, - "id": "Topic", - "description": "A topic resource." + "id": "ModifyPushConfigRequest" } }, + "protocol": "rest", "icons": { "x32": "http://www.google.com/images/icons/product/search-32.gif", "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "protocol": "rest", "version": "v1beta1a", "baseUrl": "https://pubsub.googleapis.com/", "canonicalName": "Pubsub", @@ -790,18 +800,8 @@ } } }, - "kind": "discovery#restDescription", - "description": "Provides reliable, many-to-many, asynchronous messaging between applications.\n", "servicePath": "", - "rootUrl": "https://pubsub.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "pubsub", - "batchPath": "batch", - "revision": "20170308", - "documentationLink": "https://cloud.google.com/pubsub/docs", - "id": "pubsub:v1beta1a", - "title": "Google Cloud Pub/Sub API", - "discoveryVersion": "v1", - "ownerName": "Google" + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.\n", + "kind": "discovery#restDescription", + "rootUrl": "https://pubsub.googleapis.com/" } diff --git a/DiscoveryJson/pubsub_v1beta2.json b/DiscoveryJson/pubsub_v1beta2.json index 5746b9f501..55f2ba6491 100644 --- a/DiscoveryJson/pubsub_v1beta2.json +++ b/DiscoveryJson/pubsub_v1beta2.json @@ -1,781 +1,317 @@ { - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/pubsub": { - "description": "View and manage Pub/Sub topics and subscriptions" + "schemas": { + "AcknowledgeRequest": { + "description": "Request for the Acknowledge method.", + "type": "object", + "properties": { + "ackIds": { + "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "AcknowledgeRequest" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {}, + "id": "Empty" + }, + "ListTopicsResponse": { + "description": "Response for the `ListTopics` method.", + "type": "object", + "properties": { + "topics": { + "description": "The resulting topics.", + "type": "array", + "items": { + "$ref": "Topic" + } }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" + "nextPageToken": { + "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.", + "type": "string" } - } - } - }, - "kind": "discovery#restDescription", - "description": "Provides reliable, many-to-many, asynchronous messaging between applications.\n", - "servicePath": "", - "rootUrl": "https://pubsub.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "pubsub", - "batchPath": "batch", - "revision": "20170308", - "documentationLink": "https://cloud.google.com/pubsub/docs", - "id": "pubsub:v1beta2", - "title": "Google Cloud Pub/Sub API", - "ownerName": "Google", - "discoveryVersion": "v1", - "resources": { - "projects": { - "resources": { + }, + "id": "ListTopicsResponse" + }, + "ListTopicSubscriptionsResponse": { + "description": "Response for the `ListTopicSubscriptions` method.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.", + "type": "string" + }, "subscriptions": { - "methods": { - "pull": { - "request": { - "$ref": "PullRequest" - }, - "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.", - "response": { - "$ref": "PullResponse" - }, - "parameterOrder": [ - "subscription" - ], - "httpMethod": "POST", - "parameters": { - "subscription": { - "description": "The subscription from which messages should be pulled.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", - "path": "v1beta2/{+subscription}:pull", - "id": "pubsub.projects.subscriptions.pull" - }, - "delete": { - "description": "Deletes an existing subscription. All pending messages in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription, or its topic unless the same topic is specified.", - "parameterOrder": [ - "subscription" - ], - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - }, - "parameters": { - "subscription": { - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The subscription to delete.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", - "path": "v1beta2/{+subscription}", - "id": "pubsub.projects.subscriptions.delete" - }, - "list": { - "path": "v1beta2/{+project}/subscriptions", - "id": "pubsub.projects.subscriptions.list", - "description": "Lists matching subscriptions.", - "parameterOrder": [ - "project" - ], - "httpMethod": "GET", - "response": { - "$ref": "ListSubscriptionsResponse" - }, - "parameters": { - "pageToken": { - "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "Maximum number of subscriptions to return.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "project": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The name of the cloud project that subscriptions belong to.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions" - }, - "create": { - "httpMethod": "PUT", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Subscription" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", - "id": "pubsub.projects.subscriptions.create", - "path": "v1beta2/{+name}", - "description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic. Note that\nfor REST API requests, you must specify a name.", - "request": { - "$ref": "Subscription" - } - }, - "setIamPolicy": { - "path": "v1beta2/{+resource}:setIamPolicy", - "id": "pubsub.projects.subscriptions.setIamPolicy", - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy" - }, - "getIamPolicy": { - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy", - "path": "v1beta2/{+resource}:getIamPolicy", - "id": "pubsub.projects.subscriptions.getIamPolicy", - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "GET" - }, - "modifyAckDeadline": { - "description": "Modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.", - "request": { - "$ref": "ModifyAckDeadlineRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "subscription" - ], - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "subscription": { - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The name of the subscription.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline", - "id": "pubsub.projects.subscriptions.modifyAckDeadline", - "path": "v1beta2/{+subscription}:modifyAckDeadline" - }, - "acknowledge": { - "parameters": { - "subscription": { - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The subscription whose message is being acknowledged.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:acknowledge", - "id": "pubsub.projects.subscriptions.acknowledge", - "path": "v1beta2/{+subscription}:acknowledge", - "request": { - "$ref": "AcknowledgeRequest" - }, - "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error.", - "httpMethod": "POST", - "parameterOrder": [ - "subscription" - ], - "response": { - "$ref": "Empty" - } - }, - "get": { - "parameters": { - "subscription": { - "description": "The name of the subscription to get.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", - "id": "pubsub.projects.subscriptions.get", - "path": "v1beta2/{+subscription}", - "description": "Gets the configuration details of a subscription.", - "httpMethod": "GET", - "parameterOrder": [ - "subscription" - ], - "response": { - "$ref": "Subscription" - } - }, - "testIamPermissions": { - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:testIamPermissions", - "id": "pubsub.projects.subscriptions.testIamPermissions", - "path": "v1beta2/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "TestIamPermissionsResponse" - } - }, - "modifyPushConfig": { - "parameters": { - "subscription": { - "pattern": "^projects/[^/]+/subscriptions/[^/]+$", - "location": "path", - "description": "The name of the subscription.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyPushConfig", - "path": "v1beta2/{+subscription}:modifyPushConfig", - "id": "pubsub.projects.subscriptions.modifyPushConfig", - "request": { - "$ref": "ModifyPushConfigRequest" - }, - "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "subscription" - ], - "httpMethod": "POST" - } + "description": "The names of the subscriptions that match the request.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "ListTopicSubscriptionsResponse" + }, + "PullResponse": { + "description": "Response for the `Pull` method.", + "type": "object", + "properties": { + "receivedMessages": { + "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.", + "type": "array", + "items": { + "$ref": "ReceivedMessage" } + } + }, + "id": "PullResponse" + }, + "ReceivedMessage": { + "description": "A message and its corresponding acknowledgment ID.", + "type": "object", + "properties": { + "message": { + "$ref": "PubsubMessage", + "description": "The message." }, - "topics": { - "methods": { - "getIamPolicy": { - "path": "v1beta2/{+resource}:getIamPolicy", - "id": "pubsub.projects.topics.getIamPolicy", - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "parameterOrder": [ - "resource" - ], - "httpMethod": "GET", - "response": { - "$ref": "Policy" - }, - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:getIamPolicy" - }, - "get": { - "httpMethod": "GET", - "response": { - "$ref": "Topic" - }, - "parameterOrder": [ - "topic" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "topic": { - "description": "The name of the topic to get.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", - "id": "pubsub.projects.topics.get", - "path": "v1beta2/{+topic}", - "description": "Gets the configuration of a topic." - }, - "publish": { - "httpMethod": "POST", - "parameterOrder": [ - "topic" - ], - "response": { - "$ref": "PublishResponse" - }, - "parameters": { - "topic": { - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path", - "description": "The messages in the request will be published on this topic.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:publish", - "id": "pubsub.projects.topics.publish", - "path": "v1beta2/{+topic}:publish", - "request": { - "$ref": "PublishRequest" - }, - "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute." - }, - "testIamPermissions": { - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:testIamPermissions", - "id": "pubsub.projects.topics.testIamPermissions", - "path": "v1beta2/{+resource}:testIamPermissions" - }, - "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "topic": { - "description": "Name of the topic to delete.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", - "path": "v1beta2/{+topic}", - "id": "pubsub.projects.topics.delete", - "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.", - "parameterOrder": [ - "topic" - ], - "response": { - "$ref": "Empty" - }, - "httpMethod": "DELETE" - }, - "list": { - "parameterOrder": [ - "project" - ], - "httpMethod": "GET", - "response": { - "$ref": "ListTopicsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "pageToken": { - "description": "The value returned by the last `ListTopicsResponse`; indicates that this is\na continuation of a prior `ListTopics` call, and that the system should\nreturn the next page of data.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "Maximum number of topics to return.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "project": { - "description": "The name of the cloud project that topics belong to.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/topics", - "id": "pubsub.projects.topics.list", - "path": "v1beta2/{+project}/topics", - "description": "Lists matching topics." - }, - "create": { - "httpMethod": "PUT", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Topic" - }, - "parameters": { - "name": { - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path", - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", - "id": "pubsub.projects.topics.create", - "path": "v1beta2/{+name}", - "request": { - "$ref": "Topic" - }, - "description": "Creates the given topic with the given name." - }, - "setIamPolicy": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:setIamPolicy", - "id": "pubsub.projects.topics.setIamPolicy", - "path": "v1beta2/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy." - } + "ackId": { + "description": "This ID can be used to acknowledge the received message.", + "type": "string" + } + }, + "id": "ReceivedMessage" + }, + "PushConfig": { + "description": "Configuration for a push delivery endpoint.", + "type": "object", + "properties": { + "pushEndpoint": { + "description": "A URL locating the endpoint to which messages should be pushed.\nFor example, a Webhook endpoint might use \"https://example.com/push\".", + "type": "string" + }, + "attributes": { + "additionalProperties": { + "type": "string" }, - "resources": { - "subscriptions": { - "methods": { - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListTopicSubscriptionsResponse" - }, - "parameterOrder": [ - "topic" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/pubsub" - ], - "parameters": { - "pageToken": { - "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuation of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.", - "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "Maximum number of subscription names to return.", - "format": "int32", - "type": "integer" - }, - "topic": { - "description": "The name of the topic that subscriptions are attached to.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/topics/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}/subscriptions", - "id": "pubsub.projects.topics.subscriptions.list", - "path": "v1beta2/{+topic}/subscriptions", - "description": "Lists the name of the subscriptions for this topic." - } - } - } - } + "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the push message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.", + "type": "object" } - } - } - }, - "parameters": { - "quotaUser": { - "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.", - "type": "string", - "location": "query" + }, + "id": "PushConfig" }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "type": "object", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "TestIamPermissionsResponse" }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "PullRequest": { + "description": "Request for the `Pull` method.", + "type": "object", + "properties": { + "returnImmediately": { + "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the `Pull` response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.", + "type": "boolean" + }, + "maxMessages": { + "description": "The maximum number of messages returned for this request. The Pub/Sub\nsystem may return fewer than the number specified.", + "format": "int32", + "type": "integer" + } + }, + "id": "PullRequest" }, - "bearer_token": { - "description": "OAuth bearer token.", - "type": "string", - "location": "query" + "ListSubscriptionsResponse": { + "description": "Response for the `ListSubscriptions` method.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListSubscriptionsRequest` to get more subscriptions.", + "type": "string" + }, + "subscriptions": { + "description": "The subscriptions that match the request.", + "type": "array", + "items": { + "$ref": "Subscription" + } + } + }, + "id": "ListSubscriptionsResponse" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "PublishRequest": { + "description": "Request for the Publish method.", + "type": "object", + "properties": { + "messages": { + "description": "The messages to publish.", + "type": "array", + "items": { + "$ref": "PubsubMessage" + } + } + }, + "id": "PublishRequest" }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" + "PublishResponse": { + "description": "Response for the `Publish` method.", + "type": "object", + "properties": { + "messageIds": { + "description": "The server-assigned ID of each published message, in the same order as\nthe messages in the request. IDs are guaranteed to be unique within\nthe topic.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "PublishResponse" }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ] + "Subscription": { + "description": "A subscription resource.", + "type": "object", + "properties": { + "topic": { + "description": "The name of the topic from which this subscription is receiving messages.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.", + "type": "string" + }, + "pushConfig": { + "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods.", + "$ref": "PushConfig" + }, + "ackDeadlineSeconds": { + "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using pull.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.\n\nIf this parameter is 0, a default value of 10 seconds is used.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", + "type": "string" + } + }, + "id": "Subscription" }, - "alt": { - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query" + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "type": "object", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "TestIamPermissionsRequest" }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" + "Topic": { + "description": "A topic resource.", + "type": "object", + "properties": { + "name": { + "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "type": "string" + } + }, + "id": "Topic" }, - "key": { - "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.", - "type": "string", - "location": "query" - } - }, - "schemas": { - "ModifyAckDeadlineRequest": { - "description": "Request for the ModifyAckDeadline method.", + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", "type": "object", "properties": { - "ackId": { - "description": "The acknowledgment ID. Either this or ack_ids must be populated, but not\nboth.", + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", "type": "string" }, - "ackDeadlineSeconds": { - "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.", + "version": { + "description": "Version of the `Policy`. The default version is 0.", "format": "int32", "type": "integer" }, + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" + } + } + }, + "id": "Policy" + }, + "ModifyAckDeadlineRequest": { + "description": "Request for the ModifyAckDeadline method.", + "type": "object", + "properties": { "ackIds": { "description": "List of acknowledgment IDs.", "type": "array", "items": { "type": "string" } + }, + "ackId": { + "description": "The acknowledgment ID. Either this or ack_ids must be populated, but not\nboth.", + "type": "string" + }, + "ackDeadlineSeconds": { + "description": "The new ack deadline with respect to the time this request was sent to\nthe Pub/Sub system. Must be \u003e= 0. For example, if the value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAckDeadline` call\nwas made. Specifying zero may immediately make the message available for\nanother pull request.", + "format": "int32", + "type": "integer" } }, "id": "ModifyAckDeadlineRequest" }, "SetIamPolicyRequest": { - "id": "SetIamPolicyRequest", "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", + "$ref": "Policy" } - } + }, + "id": "SetIamPolicyRequest" }, "ModifyPushConfigRequest": { "description": "Request for the ModifyPushConfig method.", "type": "object", "properties": { "pushConfig": { - "$ref": "PushConfig", - "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called." + "description": "The push configuration for future deliveries.\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushing messages from the given subscription and allow\nmessages to be pulled and acknowledged - effectively pausing\nthe subscription if `Pull` is not called.", + "$ref": "PushConfig" } }, "id": "ModifyPushConfigRequest" }, "PubsubMessage": { - "id": "PubsubMessage", "description": "A message data and its attributes. The message payload must not be empty;\nit must contain either a non-empty data field, or at least one attribute.", "type": "object", "properties": { + "data": { + "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc4648).", + "format": "byte", + "type": "string" + }, "attributes": { + "description": "Optional attributes for this message.", + "type": "object", "additionalProperties": { "type": "string" - }, - "description": "Optional attributes for this message.", - "type": "object" + } }, "messageId": { "description": "ID of this message, assigned by the server when the message is published.\nGuaranteed to be unique within the topic. This value may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` call or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.", @@ -785,13 +321,9 @@ "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be populated by the\npublisher in a `Publish` call.", "format": "google-datetime", "type": "string" - }, - "data": { - "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc4648).", - "format": "byte", - "type": "string" } - } + }, + "id": "PubsubMessage" }, "Binding": { "description": "Associates `members` with a `role`.", @@ -810,266 +342,734 @@ } }, "id": "Binding" - }, - "AcknowledgeRequest": { - "id": "AcknowledgeRequest", - "description": "Request for the Acknowledge method.", - "type": "object", - "properties": { - "ackIds": { - "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. Must not be empty.", - "type": "array", - "items": { - "type": "string" - } + } + }, + "protocol": "rest", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "version": "v1beta2", + "baseUrl": "https://pubsub.googleapis.com/", + "canonicalName": "Pubsub", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/pubsub": { + "description": "View and manage Pub/Sub topics and subscriptions" } } - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object", - "properties": {}, - "id": "Empty" - }, - "ListTopicsResponse": { - "description": "Response for the `ListTopics` method.", - "type": "object", - "properties": { + } + }, + "servicePath": "", + "kind": "discovery#restDescription", + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.\n", + "rootUrl": "https://pubsub.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "pubsub", + "batchPath": "batch", + "id": "pubsub:v1beta2", + "documentationLink": "https://cloud.google.com/pubsub/docs", + "revision": "20170308", + "title": "Google Cloud Pub/Sub API", + "ownerName": "Google", + "discoveryVersion": "v1", + "resources": { + "projects": { + "resources": { "topics": { - "description": "The resulting topics.", - "type": "array", - "items": { - "$ref": "Topic" - } - }, - "nextPageToken": { - "description": "If not empty, indicates that there may be more topics that match the\nrequest; this value should be passed in a new `ListTopicsRequest`.", - "type": "string" - } - }, - "id": "ListTopicsResponse" - }, - "ListTopicSubscriptionsResponse": { - "id": "ListTopicSubscriptionsResponse", - "description": "Response for the `ListTopicSubscriptions` method.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListTopicSubscriptionsRequest` to get more subscriptions.", - "type": "string" - }, - "subscriptions": { - "description": "The names of the subscriptions that match the request.", - "type": "array", - "items": { - "type": "string" + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "httpMethod": "GET", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:getIamPolicy", + "id": "pubsub.projects.topics.getIamPolicy", + "path": "v1beta2/{+resource}:getIamPolicy" + }, + "get": { + "description": "Gets the configuration of a topic.", + "response": { + "$ref": "Topic" + }, + "parameterOrder": [ + "topic" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "topic": { + "location": "path", + "description": "The name of the topic to get.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", + "path": "v1beta2/{+topic}", + "id": "pubsub.projects.topics.get" + }, + "publish": { + "request": { + "$ref": "PublishRequest" + }, + "description": "Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must not be empty; it must contain\n either a non-empty data field, or at least one attribute.", + "response": { + "$ref": "PublishResponse" + }, + "parameterOrder": [ + "topic" + ], + "httpMethod": "POST", + "parameters": { + "topic": { + "description": "The messages in the request will be published on this topic.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:publish", + "path": "v1beta2/{+topic}:publish", + "id": "pubsub.projects.topics.publish" + }, + "testIamPermissions": { + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:testIamPermissions", + "path": "v1beta2/{+resource}:testIamPermissions", + "id": "pubsub.projects.topics.testIamPermissions" + }, + "delete": { + "httpMethod": "DELETE", + "parameterOrder": [ + "topic" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "topic": { + "description": "Name of the topic to delete.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", + "id": "pubsub.projects.topics.delete", + "path": "v1beta2/{+topic}", + "description": "Deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`." + }, + "list": { + "flatPath": "v1beta2/projects/{projectsId}/topics", + "path": "v1beta2/{+project}/topics", + "id": "pubsub.projects.topics.list", + "description": "Lists matching topics.", + "response": { + "$ref": "ListTopicsResponse" + }, + "parameterOrder": [ + "project" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "pageToken": { + "description": "The value returned by the last `ListTopicsResponse`; indicates that this is\na continuation of a prior `ListTopics` call, and that the system should\nreturn the next page of data.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "Maximum number of topics to return.", + "format": "int32", + "type": "integer" + }, + "project": { + "description": "The name of the cloud project that topics belong to.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + } + }, + "create": { + "request": { + "$ref": "Topic" + }, + "description": "Creates the given topic with the given name.", + "httpMethod": "PUT", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Topic" + }, + "parameters": { + "name": { + "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}", + "id": "pubsub.projects.topics.create", + "path": "v1beta2/{+name}" + }, + "setIamPolicy": { + "request": { + "$ref": "SetIamPolicyRequest" + }, + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}:setIamPolicy", + "id": "pubsub.projects.topics.setIamPolicy", + "path": "v1beta2/{+resource}:setIamPolicy" + } + }, + "resources": { + "subscriptions": { + "methods": { + "list": { + "description": "Lists the name of the subscriptions for this topic.", + "httpMethod": "GET", + "parameterOrder": [ + "topic" + ], + "response": { + "$ref": "ListTopicSubscriptionsResponse" + }, + "parameters": { + "pageToken": { + "description": "The value returned by the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuation of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "Maximum number of subscription names to return.", + "format": "int32", + "type": "integer" + }, + "topic": { + "location": "path", + "description": "The name of the topic that subscriptions are attached to.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/topics/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/topics/{topicsId}/subscriptions", + "id": "pubsub.projects.topics.subscriptions.list", + "path": "v1beta2/{+topic}/subscriptions" + } + } + } + } + }, + "subscriptions": { + "methods": { + "get": { + "response": { + "$ref": "Subscription" + }, + "parameterOrder": [ + "subscription" + ], + "httpMethod": "GET", + "parameters": { + "subscription": { + "location": "path", + "description": "The name of the subscription to get.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", + "path": "v1beta2/{+subscription}", + "id": "pubsub.projects.subscriptions.get", + "description": "Gets the configuration details of a subscription." + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "resource": { + "location": "path", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:testIamPermissions", + "id": "pubsub.projects.subscriptions.testIamPermissions", + "path": "v1beta2/{+resource}:testIamPermissions" + }, + "modifyPushConfig": { + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyPushConfig", + "id": "pubsub.projects.subscriptions.modifyPushConfig", + "path": "v1beta2/{+subscription}:modifyPushConfig", + "request": { + "$ref": "ModifyPushConfigRequest" + }, + "description": "Modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.", + "httpMethod": "POST", + "parameterOrder": [ + "subscription" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "subscription": { + "description": "The name of the subscription.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ] + }, + "delete": { + "description": "Deletes an existing subscription. All pending messages in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription, or its topic unless the same topic is specified.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "subscription" + ], + "httpMethod": "DELETE", + "parameters": { + "subscription": { + "location": "path", + "description": "The subscription to delete.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", + "path": "v1beta2/{+subscription}", + "id": "pubsub.projects.subscriptions.delete" + }, + "pull": { + "description": "Pulls messages from the server. Returns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pending for the given\nsubscription.", + "request": { + "$ref": "PullRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "subscription" + ], + "response": { + "$ref": "PullResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "subscription": { + "location": "path", + "description": "The subscription from which messages should be pulled.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:pull", + "id": "pubsub.projects.subscriptions.pull", + "path": "v1beta2/{+subscription}:pull" + }, + "list": { + "description": "Lists matching subscriptions.", + "response": { + "$ref": "ListSubscriptionsResponse" + }, + "parameterOrder": [ + "project" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of subscriptions to return.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "project": { + "description": "The name of the cloud project that subscriptions belong to.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + }, + "pageToken": { + "description": "The value returned by the last `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prior `ListSubscriptions` call, and that the\nsystem should return the next page of data.", + "type": "string", + "location": "query" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/subscriptions", + "path": "v1beta2/{+project}/subscriptions", + "id": "pubsub.projects.subscriptions.list" + }, + "create": { + "request": { + "$ref": "Subscription" + }, + "description": "Creates a subscription to a given topic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic. Note that\nfor REST API requests, you must specify a name.", + "httpMethod": "PUT", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Subscription" + }, + "parameters": { + "name": { + "location": "path", + "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}", + "id": "pubsub.projects.subscriptions.create", + "path": "v1beta2/{+name}" + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:setIamPolicy", + "id": "pubsub.projects.subscriptions.setIamPolicy", + "path": "v1beta2/{+resource}:setIamPolicy" + }, + "acknowledge": { + "request": { + "$ref": "AcknowledgeRequest" + }, + "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "subscription" + ], + "httpMethod": "POST", + "parameters": { + "subscription": { + "location": "path", + "description": "The subscription whose message is being acknowledged.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:acknowledge", + "path": "v1beta2/{+subscription}:acknowledge", + "id": "pubsub.projects.subscriptions.acknowledge" + }, + "modifyAckDeadline": { + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:modifyAckDeadline", + "id": "pubsub.projects.subscriptions.modifyAckDeadline", + "path": "v1beta2/{+subscription}:modifyAckDeadline", + "request": { + "$ref": "ModifyAckDeadlineRequest" + }, + "description": "Modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.", + "httpMethod": "POST", + "parameterOrder": [ + "subscription" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "subscription": { + "location": "path", + "description": "The name of the subscription.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/pubsub" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/subscriptions/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta2/projects/{projectsId}/subscriptions/{subscriptionsId}:getIamPolicy", + "path": "v1beta2/{+resource}:getIamPolicy", + "id": "pubsub.projects.subscriptions.getIamPolicy" + } } } } + } + }, + "parameters": { + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" }, - "PullResponse": { - "id": "PullResponse", - "description": "Response for the `Pull` method.", - "type": "object", - "properties": { - "receivedMessages": { - "description": "Received Pub/Sub messages. The Pub/Sub system will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.", - "type": "array", - "items": { - "$ref": "ReceivedMessage" - } - } - } + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" }, - "ReceivedMessage": { - "id": "ReceivedMessage", - "description": "A message and its corresponding acknowledgment ID.", - "type": "object", - "properties": { - "message": { - "description": "The message.", - "$ref": "PubsubMessage" - }, - "ackId": { - "description": "This ID can be used to acknowledge the received message.", - "type": "string" - } - } + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, - "PushConfig": { - "description": "Configuration for a push delivery endpoint.", - "type": "object", - "properties": { - "pushEndpoint": { - "description": "A URL locating the endpoint to which messages should be pushed.\nFor example, a Webhook endpoint might use \"https://example.com/push\".", - "type": "string" - }, - "attributes": { - "additionalProperties": { - "type": "string" - }, - "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol different aspects of the message delivery.\n\nThe currently supported attribute is `x-goog-version`, which you can\nuse to change the format of the push message. This attribute\nindicates the version of the data expected by the endpoint. This\ncontrols the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during the `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value will not be changed. `GetSubscription`\ncalls will always return a valid version, even if the subscription was\ncreated without this attribute.\n\nThe possible values for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.", - "type": "object" - } - }, - "id": "PushConfig" + "prettyPrint": { + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true", + "location": "query" }, - "TestIamPermissionsResponse": { - "id": "TestIamPermissionsResponse", - "description": "Response message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", - "type": "array", - "items": { - "type": "string" - } - } - } + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, - "PullRequest": { - "id": "PullRequest", - "description": "Request for the `Pull` method.", - "type": "object", - "properties": { - "maxMessages": { - "description": "The maximum number of messages returned for this request. The Pub/Sub\nsystem may return fewer than the number specified.", - "format": "int32", - "type": "integer" - }, - "returnImmediately": { - "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the `Pull` response. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.", - "type": "boolean" - } - } + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" }, - "ListSubscriptionsResponse": { - "id": "ListSubscriptionsResponse", - "description": "Response for the `ListSubscriptions` method.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "If not empty, indicates that there may be more subscriptions that match\nthe request; this value should be passed in a new\n`ListSubscriptionsRequest` to get more subscriptions.", - "type": "string" - }, - "subscriptions": { - "description": "The subscriptions that match the request.", - "type": "array", - "items": { - "$ref": "Subscription" - } - } - } + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" }, - "PublishRequest": { - "description": "Request for the Publish method.", - "type": "object", - "properties": { - "messages": { - "description": "The messages to publish.", - "type": "array", - "items": { - "$ref": "PubsubMessage" - } - } - }, - "id": "PublishRequest" + "$.xgafv": { + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ] }, - "PublishResponse": { - "id": "PublishResponse", - "description": "Response for the `Publish` method.", - "type": "object", - "properties": { - "messageIds": { - "description": "The server-assigned ID of each published message, in the same order as\nthe messages in the request. IDs are guaranteed to be unique within\nthe topic.", - "type": "array", - "items": { - "type": "string" - } - } - } + "alt": { + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string" }, - "Subscription": { - "description": "A subscription resource.", - "type": "object", - "properties": { - "pushConfig": { - "$ref": "PushConfig", - "description": "If push delivery is used with this subscription, this field is\nused to configure it. An empty `pushConfig` signifies that the subscriber\nwill pull and ack messages using API methods." - }, - "ackDeadlineSeconds": { - "description": "This value is the maximum time after a subscriber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the message is\nacknowledged, it is an outstanding message and will not be delivered\nagain during that time (on a best-effort basis).\n\nFor pull subscriptions, this value is used as the initial value for the ack\ndeadline. To override this value for a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using pull.\nThe maximum custom deadline you can specify is 600 seconds (10 minutes).\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.\n\nIf this parameter is 0, a default value of 10 seconds is used.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "The name of the subscription. It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characters\nin length, and it must not start with `\"goog\"`.", - "type": "string" - }, - "topic": { - "description": "The name of the topic from which this subscription is receiving messages.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.", - "type": "string" - } - }, - "id": "Subscription" + "key": { + "location": "query", + "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.", + "type": "string" }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "TestIamPermissionsRequest" + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" }, - "Topic": { - "id": "Topic", - "description": "A topic resource.", - "type": "object", - "properties": { - "name": { - "description": "The name of the topic. It must have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust not start with `\"goog\"`.", - "type": "string" - } - } + "quotaUser": { + "location": "query", + "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.", + "type": "string" }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", - "type": "object", - "properties": { - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", - "type": "array", - "items": { - "$ref": "Binding" - } - } - }, - "id": "Policy" + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" } - }, - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "protocol": "rest", - "version": "v1beta2", - "baseUrl": "https://pubsub.googleapis.com/", - "canonicalName": "Pubsub" + } } diff --git a/DiscoveryJson/runtimeconfig_v1.json b/DiscoveryJson/runtimeconfig_v1.json index 54fe8f225a..72b141a9a9 100644 --- a/DiscoveryJson/runtimeconfig_v1.json +++ b/DiscoveryJson/runtimeconfig_v1.json @@ -1,118 +1,13 @@ { - "basePath": "", - "revision": "20170327", - "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", - "id": "runtimeconfig:v1", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { - "CancelOperationRequest": { - "properties": {}, - "id": "CancelOperationRequest", - "description": "The request message for Operations.CancelOperation.", - "type": "object" - }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object", - "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "id": "Status" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } - } - }, - "id": "ListOperationsResponse" - }, - "Operation": { - "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", - "type": "string" - }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" - } - }, - "id": "Operation", - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "type": "object" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object" - } - }, - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "protocol": "rest", "canonicalName": "Cloud RuntimeConfig", "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, "https://www.googleapis.com/auth/cloudruntimeconfig": { "description": "Manage your Google Cloud Platform services' runtime configuration" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" } } } @@ -126,36 +21,21 @@ "resources": { "operations": { "methods": { - "cancel": { - "id": "runtimeconfig.operations.cancel", - "path": "v1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", - "httpMethod": "POST", - "parameterOrder": [ - "name" + "delete": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" ], - "response": { - "$ref": "Empty" - }, "parameters": { "name": { - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", "pattern": "^operations/.+$", - "location": "path" + "location": "path", + "description": "The name of the operation resource to be deleted.", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "flatPath": "v1/operations/{operationsId}:cancel" - }, - "delete": { + "flatPath": "v1/operations/{operationsId}", "id": "runtimeconfig.operations.delete", "path": "v1/{+name}", "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", @@ -165,68 +45,114 @@ }, "parameterOrder": [ "name" - ], + ] + }, + "list": { "parameters": { + "filter": { + "description": "The standard list filter.", + "type": "string", + "location": "query" + }, "name": { - "description": "The name of the operation resource to be deleted.", + "description": "The name of the operation collection.", "required": true, "type": "string", - "pattern": "^operations/.+$", + "pattern": "^operations$", "location": "path" + }, + "pageToken": { + "description": "The standard list page token.", + "type": "string", + "location": "query" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "type": "integer", + "location": "query" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloudruntimeconfig" ], - "flatPath": "v1/operations/{operationsId}" - }, - "list": { - "id": "runtimeconfig.operations.list", + "flatPath": "v1/operations", "path": "v1/{+name}", + "id": "runtimeconfig.operations.list", "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", - "httpMethod": "GET", "response": { "$ref": "ListOperationsResponse" }, "parameterOrder": [ "name" ], + "httpMethod": "GET" + }, + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], "parameters": { "name": { - "pattern": "^operations$", - "location": "path", - "description": "The name of the operation collection.", + "description": "The name of the operation resource to be cancelled.", "required": true, - "type": "string" - }, - "pageToken": { - "description": "The standard list page token.", - "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "The standard list page size.", - "format": "int32", - "type": "integer" - }, - "filter": { - "description": "The standard list filter.", "type": "string", - "location": "query" + "pattern": "^operations/.+$", + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "flatPath": "v1/operations" + "flatPath": "v1/operations/{operationsId}:cancel", + "path": "v1/{+name}:cancel", + "id": "runtimeconfig.operations.cancel" } } } }, "parameters": { + "key": { + "location": "query", + "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.", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, "upload_protocol": { "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", @@ -238,17 +164,19 @@ "type": "boolean", "default": "true" }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, "fields": { + "location": "query", "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string", "location": "query" }, "$.xgafv": { + "description": "V1 error format.", + "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" @@ -257,9 +185,7 @@ "enum": [ "1", "2" - ], - "description": "V1 error format.", - "type": "string" + ] }, "callback": { "description": "JSONP", @@ -267,8 +193,6 @@ "location": "query" }, "alt": { - "description": "Data format for response.", - "default": "json", "enum": [ "json", "media", @@ -280,43 +204,119 @@ "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], - "location": "query" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" - }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "description": "Data format for response.", + "default": "json" } }, "version": "v1", "baseUrl": "https://runtimeconfig.googleapis.com/", - "description": "Provides capabilities for dynamic configuration and coordination for applications running on Google Cloud Platform.\n", "kind": "discovery#restDescription", - "servicePath": "" + "description": "Provides capabilities for dynamic configuration and coordination for applications running on Google Cloud Platform.\n", + "servicePath": "", + "basePath": "", + "id": "runtimeconfig:v1", + "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", + "revision": "20170327", + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "type": "array", + "items": { + "$ref": "Operation" + } + } + }, + "id": "ListOperationsResponse" + }, + "Operation": { + "id": "Operation", + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "type": "object", + "properties": { + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + }, + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "response": { + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } + } + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {}, + "id": "Empty" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "type": "object", + "properties": {}, + "id": "CancelOperationRequest" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + }, + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + } + }, + "id": "Status" + } + }, + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest" } diff --git a/DiscoveryJson/runtimeconfig_v1beta1.json b/DiscoveryJson/runtimeconfig_v1beta1.json index c4886a848f..449510a23d 100644 --- a/DiscoveryJson/runtimeconfig_v1beta1.json +++ b/DiscoveryJson/runtimeconfig_v1beta1.json @@ -1,95 +1,615 @@ { + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "type": "object", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "done": { + "type": "boolean", + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable." + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", + "type": "string" + }, + "error": { + "description": "The error result of the operation in case of failure or cancellation.", + "$ref": "Status" + } + }, + "id": "Operation" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "type": "object", + "properties": { + "policy": { + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", + "$ref": "Policy" + } + }, + "id": "SetIamPolicyRequest" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + }, + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + } + } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + } + }, + "id": "Status" + }, + "Binding": { + "description": "Associates `members` with a `role`.", + "type": "object", + "properties": { + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" + } + }, + "id": "Binding" + }, + "Cardinality": { + "description": "A Cardinality condition for the Waiter resource. A cardinality condition is\nmet when the number of variables under a specified path prefix reaches a\npredefined number. For example, if you set a Cardinality condition where\nthe `path` is set to `/foo` and the number of paths is set to 2, the\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variable3 = \"value3\"`\n\nIt would not would not satisify the same condition with the `number` set to\n3, however, because there is only 2 paths that start with `/foo`.\nCardinality conditions are recursive; all subtrees under the specific\npath prefix are counted.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The root of the variable subtree to monitor. For example, `/foo`." + }, + "number": { + "description": "The number variables under the `path` that must exist to meet this\ncondition. Defaults to 1 if not specified.", + "format": "int32", + "type": "integer" + } + }, + "id": "Cardinality" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {}, + "id": "Empty" + }, + "ListConfigsResponse": { + "id": "ListConfigsResponse", + "description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", + "type": "string" + }, + "configs": { + "description": "A list of the configurations in the project. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", + "type": "array", + "items": { + "$ref": "RuntimeConfig" + } + } + } + }, + "EndCondition": { + "description": "The condition that a Waiter resource is waiting for.", + "type": "object", + "properties": { + "cardinality": { + "$ref": "Cardinality", + "description": "The cardinality of the `EndCondition`." + } + }, + "id": "EndCondition" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "type": "object", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "TestIamPermissionsResponse" + }, + "ListVariablesResponse": { + "description": "Response for the `ListVariables()` method.", + "type": "object", + "properties": { + "variables": { + "description": "A list of variables and their values. The order of returned variable\nobjects is arbitrary.", + "type": "array", + "items": { + "$ref": "Variable" + } + }, + "nextPageToken": { + "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", + "type": "string" + } + }, + "id": "ListVariablesResponse" + }, + "RuntimeConfig": { + "description": "A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig\nservice. A RuntimeConfig resource consists of metadata and a hierarchy of\nvariables.", + "type": "object", + "properties": { + "name": { + "description": "The resource name of a runtime config. The name must have the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an\narbitrary name that matches RFC 1035 segment specification. The length of\n`[CONFIG_NAME]` must be less than 64 bytes.\n\nYou pick the RuntimeConfig resource name, but the server will validate that\nthe name adheres to this format. After you create the resource, you cannot\nchange the resource's name.", + "type": "string" + }, + "description": { + "description": "An optional description of the RuntimeConfig object.", + "type": "string" + } + }, + "id": "RuntimeConfig" + }, + "WatchVariableRequest": { + "description": "Request for the `WatchVariable()` method.", + "type": "object", + "properties": { + "newerThan": { + "description": "If specified, checks the current timestamp of the variable and if the\ncurrent timestamp is newer than `newerThan` timestamp, the method returns\nimmediately.\n\nIf not specified or the variable has an older timestamp, the watcher waits\nfor a the value to change before returning.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "WatchVariableRequest" + }, + "ListWaitersResponse": { + "description": "Response for the `ListWaiters()` method.\nOrder of returned waiter objects is arbitrary.", + "type": "object", + "properties": { + "waiters": { + "description": "Found waiters in the project.", + "type": "array", + "items": { + "$ref": "Waiter" + } + }, + "nextPageToken": { + "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", + "type": "string" + } + }, + "id": "ListWaitersResponse" + }, + "TestIamPermissionsRequest": { + "id": "TestIamPermissionsRequest", + "description": "Request message for `TestIamPermissions` method.", + "type": "object", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Waiter": { + "description": "A Waiter resource waits for some end condition within a RuntimeConfig resource\nto be met before it returns. For example, assume you have a distributed\nsystem where each node writes to a Variable resource indidicating the node's\nreadiness as part of the startup process.\n\nYou then configure a Waiter resource with the success condition set to wait\nuntil some number of nodes have checked in. Afterwards, your application\nruns some arbitrary code after the condition has been met and the waiter\nreturns successfully.\n\nOnce created, a Waiter resource is immutable.\n\nTo learn more about using waiters, read the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)\ndocumentation.", + "type": "object", + "properties": { + "error": { + "$ref": "Status", + "description": "[Output Only] If the waiter ended due to a failure or timeout, this value\nwill be set." + }, + "failure": { + "description": "[Optional] The failure condition of this waiter. If this condition is met,\n`done` will be set to `true` and the `error` code will be set to `ABORTED`.\nThe failure condition takes precedence over the success condition. If both\nconditions are met, a failure will be indicated. This value is optional; if\nno failure condition is set, the only failure scenario will be a timeout.", + "$ref": "EndCondition" + }, + "success": { + "$ref": "EndCondition", + "description": "[Required] The success condition. If this condition is met, `done` will be\nset to `true` and the `error` value will remain unset. The failure condition\ntakes precedence over the success condition. If both conditions are met, a\nfailure will be indicated." + }, + "done": { + "type": "boolean", + "description": "[Output Only] If the value is `false`, it means the waiter is still waiting\nfor one of its conditions to be met.\n\nIf true, the waiter has finished. If the waiter finished due to a timeout\nor failure, `error` will be set." + }, + "createTime": { + "description": "[Output Only] The instant at which this Waiter resource was created. Adding\nthe value of `timeout` to this instant yields the timeout deadline for the\nwaiter.", + "format": "google-datetime", + "type": "string" + }, + "timeout": { + "type": "string", + "description": "[Required] Specifies the timeout of the waiter in seconds, beginning from\nthe instant that `waiters().create` method is called. If this time elapses\nbefore the success or failure conditions are met, the waiter fails and sets\nthe `error` code to `DEADLINE_EXCEEDED`.", + "format": "google-duration" + }, + "name": { + "description": "The name of the Waiter resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]\n\nThe `[PROJECT_ID]` must be a valid Google Cloud project ID,\nthe `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the\n`[WAITER_NAME]` must match RFC 1035 segment specification, and the length\nof `[WAITER_NAME]` must be less than 64 bytes.\n\nAfter you create a Waiter resource, you cannot change the resource name.", + "type": "string" + } + }, + "id": "Waiter" + }, + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "type": "object", + "properties": { + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" + } + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Version of the `Policy`. The default version is 0.", + "format": "int32", + "type": "integer" + } + }, + "id": "Policy" + }, + "Variable": { + "description": "Describes a single variable within a RuntimeConfig resource.\nThe name denotes the hierarchical variable name. For example,\n`ports/serving_port` is a valid variable name. The variable value is an\nopaque string and only leaf variables can have values (that is, variables\nthat do not have any child variables).", + "type": "object", + "properties": { + "updateTime": { + "description": "[Output Only] The time of the last variable update.", + "format": "google-datetime", + "type": "string" + }, + "state": { + "description": "[Ouput only] The current state of the variable. The variable state indicates\nthe outcome of the `variables().watch` call and is visible through the\n`get` and `list` calls.", + "type": "string", + "enumDescriptions": [ + "Default variable state.", + "The variable was updated, while `variables().watch` was executing.", + "The variable was deleted, while `variables().watch` was executing." + ], + "enum": [ + "VARIABLE_STATE_UNSPECIFIED", + "UPDATED", + "DELETED" + ] + }, + "name": { + "description": "The name of the variable resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\nvalid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and\ndashes. Slashes are used as path element separators and are not part of the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nnon-slash character. Multiple slashes are coalesced into single slash\ncharacter. Each path segment should follow RFC 1035 segment specification.\nThe length of a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable, you cannot change the variable name.", + "type": "string" + }, + "text": { + "description": "The string value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. For example,\n`text: \"my text value\"`. The string must be valid UTF-8.", + "type": "string" + }, + "value": { + "description": "The binary value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. The value must be\nbase64 encoded. Only one of `value` or `text` can be set.", + "format": "byte", + "type": "string" + } + }, + "id": "Variable" + } + }, + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest", + "canonicalName": "Cloud RuntimeConfig", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloudruntimeconfig": { + "description": "Manage your Google Cloud Platform services' runtime configuration" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "rootUrl": "https://runtimeconfig.googleapis.com/", + "ownerDomain": "google.com", + "name": "runtimeconfig", + "batchPath": "batch", + "title": "Google Cloud RuntimeConfig API", "ownerName": "Google", "resources": { "projects": { "resources": { "configs": { + "methods": { + "get": { + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "RuntimeConfig" + }, + "httpMethod": "GET", + "parameters": { + "name": { + "pattern": "^projects/[^/]+/configs/[^/]+$", + "location": "path", + "description": "The name of the RuntimeConfig resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", + "path": "v1beta1/{+name}", + "id": "runtimeconfig.projects.configs.get", + "description": "Gets information about a RuntimeConfig resource." + }, + "update": { + "description": "Updates a RuntimeConfig resource. The configuration must exist beforehand.", + "request": { + "$ref": "RuntimeConfig" + }, + "httpMethod": "PUT", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "RuntimeConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "name": { + "description": "The name of the RuntimeConfig resource to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", + "id": "runtimeconfig.projects.configs.update", + "path": "v1beta1/{+name}" + }, + "testIamPermissions": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:testIamPermissions", + "path": "v1beta1/{+resource}:testIamPermissions", + "id": "runtimeconfig.projects.configs.testIamPermissions", + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST" + }, + "delete": { + "description": "Deletes a RuntimeConfig resource.", + "httpMethod": "DELETE", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/configs/[^/]+$", + "location": "path", + "description": "The RuntimeConfig resource to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", + "id": "runtimeconfig.projects.configs.delete", + "path": "v1beta1/{+name}" + }, + "list": { + "flatPath": "v1beta1/projects/{projectsId}/configs", + "path": "v1beta1/{+parent}/configs", + "id": "runtimeconfig.projects.configs.list", + "description": "Lists all the RuntimeConfig resources within project.", + "response": { + "$ref": "ListConfigsResponse" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "pageSize": { + "location": "query", + "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", + "format": "int32", + "type": "integer" + }, + "parent": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request, in the format `projects/[PROJECT_ID]`.", + "required": true, + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", + "type": "string" + } + } + }, + "create": { + "response": { + "$ref": "RuntimeConfig" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "parent": { + "description": "The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request, in the format `projects/[PROJECT_ID]`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + }, + "requestId": { + "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", + "type": "string", + "location": "query" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs", + "path": "v1beta1/{+parent}/configs", + "id": "runtimeconfig.projects.configs.create", + "description": "Creates a new RuntimeConfig resource. The configuration name must be\nunique within project.", + "request": { + "$ref": "RuntimeConfig" + } + }, + "setIamPolicy": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "resource": { + "location": "path", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+$" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:setIamPolicy", + "id": "runtimeconfig.projects.configs.setIamPolicy", + "path": "v1beta1/{+resource}:setIamPolicy", + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + } + }, + "getIamPolicy": { + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:getIamPolicy", + "id": "runtimeconfig.projects.configs.getIamPolicy", + "path": "v1beta1/{+resource}:getIamPolicy", + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "httpMethod": "GET", + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+$", + "location": "path" + } + } + } + }, "resources": { "variables": { "methods": { - "delete": { - "description": "Deletes a variable or multiple variables.\n\nIf you specify a variable name, then that variable is deleted. If you\nspecify a prefix and `recursive` is true, then all variables with that\nprefix are deleted. You must set a `recursive` to true if you delete\nvariables by prefix.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "recursive": { - "location": "query", - "description": "Set to `true` to recursively delete multiple variables with the same\nprefix.", - "type": "boolean" - }, - "name": { - "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", - "location": "path", - "description": "The name of the variable to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", - "path": "v1beta1/{+name}", - "id": "runtimeconfig.projects.configs.variables.delete" - }, - "list": { - "httpMethod": "GET", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "ListVariablesResponse" - }, - "parameters": { - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", - "type": "string" - }, - "returnValues": { - "description": "The flag indicates whether the user wants to return values of variables.\nIf true, then only those variables that user has IAM GetVariable permission\nwill be returned along with their values.", - "type": "boolean", - "location": "query" - }, - "pageSize": { - "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "parent": { - "description": "The path to the RuntimeConfig resource for which you want to list variables.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" - }, - "filter": { - "description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables", - "id": "runtimeconfig.projects.configs.variables.list", - "path": "v1beta1/{+parent}/variables", - "description": "Lists variables within given a configuration, matching any provided filters.\nThis only lists variable names, not the values, unless `return_values` is\ntrue, in which case only variables that user has IAM permission to GetVariable\nwill be returned." - }, "create": { - "description": "Creates a variable within the given configuration. You cannot create\na variable with a name that is a prefix of an existing variable name, or a\nname that has an existing variable name as a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndocumentation.", "request": { "$ref": "Variable" }, + "description": "Creates a variable within the given configuration. You cannot create\na variable with a name that is a prefix of an existing variable name, or a\nname that has an existing variable name as a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndocumentation.", "response": { "$ref": "Variable" }, @@ -97,10 +617,6 @@ "parent" ], "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], "parameters": { "requestId": { "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", @@ -108,19 +624,22 @@ "location": "query" }, "parent": { - "pattern": "^projects/[^/]+/configs/[^/]+$", "location": "path", "description": "The path to the RutimeConfig resource that this variable should belong to.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+$" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables", "path": "v1beta1/{+parent}/variables", "id": "runtimeconfig.projects.configs.variables.create" }, "get": { - "description": "Gets information about a single variable.", "response": { "$ref": "Variable" }, @@ -143,25 +662,56 @@ }, "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", "path": "v1beta1/{+name}", - "id": "runtimeconfig.projects.configs.variables.get" + "id": "runtimeconfig.projects.configs.variables.get", + "description": "Gets information about a single variable." }, "watch": { + "response": { + "$ref": "Variable" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "parameters": { + "name": { + "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", + "location": "path", + "description": "The name of the variable to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:watch", "path": "v1beta1/{+name}:watch", "id": "runtimeconfig.projects.configs.variables.watch", "request": { "$ref": "WatchVariableRequest" }, - "description": "Watches a specific variable and waits for a change in the variable's value.\nWhen there is a change, this method returns the new value or times out.\n\nIf a variable is deleted while being watched, the `variableState` state is\nset to `DELETED` and the method returns the last known variable `value`.\n\nIf you set the deadline for watching to a larger value than internal timeout\n(60 seconds), the current variable value is returned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo learn more about creating a watcher, read the\n[Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", + "description": "Watches a specific variable and waits for a change in the variable's value.\nWhen there is a change, this method returns the new value or times out.\n\nIf a variable is deleted while being watched, the `variableState` state is\nset to `DELETED` and the method returns the last known variable `value`.\n\nIf you set the deadline for watching to a larger value than internal timeout\n(60 seconds), the current variable value is returned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo learn more about creating a watcher, read the\n[Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable)\ndocumentation." + }, + "update": { + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", + "path": "v1beta1/{+name}", + "id": "runtimeconfig.projects.configs.variables.update", + "request": { + "$ref": "Variable" + }, + "description": "Updates an existing variable with a new value.", "response": { "$ref": "Variable" }, "parameterOrder": [ "name" ], - "httpMethod": "POST", + "httpMethod": "PUT", "parameters": { "name": { - "description": "The name of the variable to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", + "description": "The name of the variable to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", "required": true, "type": "string", "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", @@ -171,85 +721,131 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:watch" + ] }, - "update": { - "httpMethod": "PUT", + "testIamPermissions": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "resource": { + "location": "path", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:testIamPermissions", + "path": "v1beta1/{+resource}:testIamPermissions", + "id": "runtimeconfig.projects.configs.variables.testIamPermissions", + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, "parameterOrder": [ - "name" + "resource" ], + "httpMethod": "POST" + }, + "delete": { + "description": "Deletes a variable or multiple variables.\n\nIf you specify a variable name, then that variable is deleted. If you\nspecify a prefix and `recursive` is true, then all variables with that\nprefix are deleted. You must set a `recursive` to true if you delete\nvariables by prefix.", "response": { - "$ref": "Variable" + "$ref": "Empty" }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloudruntimeconfig" ], "parameters": { + "recursive": { + "description": "Set to `true` to recursively delete multiple variables with the same\nprefix.", + "type": "boolean", + "location": "query" + }, "name": { - "description": "The name of the variable to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", "required": true, "type": "string", "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", - "location": "path" + "location": "path", + "description": "The name of the variable to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`" } }, "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}", - "id": "runtimeconfig.projects.configs.variables.update", "path": "v1beta1/{+name}", - "description": "Updates an existing variable with a new value.", - "request": { - "$ref": "Variable" - } + "id": "runtimeconfig.projects.configs.variables.delete" }, - "testIamPermissions": { + "list": { + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables", + "id": "runtimeconfig.projects.configs.variables.list", + "path": "v1beta1/{+parent}/variables", + "description": "Lists variables within given a configuration, matching any provided filters.\nThis only lists variable names, not the values, unless `return_values` is\ntrue, in which case only variables that user has IAM permission to GetVariable\nwill be returned.", + "httpMethod": "GET", + "parameterOrder": [ + "parent" + ], "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "ListVariablesResponse" }, - "parameterOrder": [ - "resource" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" ], - "httpMethod": "POST", "parameters": { - "resource": { - "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", + "parent": { + "pattern": "^projects/[^/]+/configs/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "The path to the RuntimeConfig resource for which you want to list variables.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", "required": true, "type": "string" + }, + "filter": { + "description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", + "type": "string", + "location": "query" + }, + "returnValues": { + "location": "query", + "description": "The flag indicates whether the user wants to return values of variables.\nIf true, then only those variables that user has IAM GetVariable permission\nwill be returned along with their values.", + "type": "boolean" + }, + "pageSize": { + "location": "query", + "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", + "format": "int32", + "type": "integer" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}:testIamPermissions", - "path": "v1beta1/{+resource}:testIamPermissions", - "id": "runtimeconfig.projects.configs.variables.testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning." + } } } }, "operations": { "methods": { "testIamPermissions": { - "path": "v1beta1/{+resource}:testIamPermissions", - "id": "runtimeconfig.projects.configs.operations.testIamPermissions", "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", "request": { "$ref": "TestIamPermissionsRequest" }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, + "httpMethod": "POST", "parameterOrder": [ "resource" ], - "httpMethod": "POST", + "response": { + "$ref": "TestIamPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloudruntimeconfig" @@ -263,51 +859,70 @@ "location": "path" } }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}:testIamPermissions" + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}:testIamPermissions", + "id": "runtimeconfig.projects.configs.operations.testIamPermissions", + "path": "v1beta1/{+resource}:testIamPermissions" }, "get": { + "response": { + "$ref": "Operation" + }, "httpMethod": "GET", "parameterOrder": [ "name" ], - "response": { - "$ref": "Operation" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], "parameters": { "name": { - "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", - "location": "path", "description": "The name of the operation resource.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", + "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/operations/{operationsId}", - "id": "runtimeconfig.projects.configs.operations.get", "path": "v1beta1/{+name}", + "id": "runtimeconfig.projects.configs.operations.get", "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." } } }, "waiters": { "methods": { - "delete": { - "description": "Deletes the waiter with the specified name.", - "httpMethod": "DELETE", + "testIamPermissions": { "response": { - "$ref": "Empty" + "$ref": "TestIamPermissionsResponse" }, "parameterOrder": [ - "name" + "resource" ], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloudruntimeconfig" ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}:testIamPermissions", + "path": "v1beta1/{+resource}:testIamPermissions", + "id": "runtimeconfig.projects.configs.waiters.testIamPermissions", + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "request": { + "$ref": "TestIamPermissionsRequest" + } + }, + "delete": { "parameters": { "name": { "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", @@ -317,375 +932,120 @@ "type": "string" } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}", + "path": "v1beta1/{+name}", "id": "runtimeconfig.projects.configs.waiters.delete", - "path": "v1beta1/{+name}" + "description": "Deletes the waiter with the specified name.", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Empty" + }, + "httpMethod": "DELETE" }, "list": { - "httpMethod": "GET", "response": { "$ref": "ListWaitersResponse" }, "parameterOrder": [ "parent" ], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloudruntimeconfig" ], "parameters": { "parent": { + "location": "path", "description": "The path to the configuration for which you want to get a list of waiters.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", "required": true, "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" + "pattern": "^projects/[^/]+/configs/[^/]+$" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", "type": "string", "location": "query" }, - "pageSize": { - "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", - "format": "int32", - "type": "integer", - "location": "query" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters", - "id": "runtimeconfig.projects.configs.waiters.list", - "path": "v1beta1/{+parent}/waiters", - "description": "List waiters within the given configuration." - }, - "get": { - "response": { - "$ref": "Waiter" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", - "location": "path", - "description": "The fully-qualified name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}", - "path": "v1beta1/{+name}", - "id": "runtimeconfig.projects.configs.waiters.get", - "description": "Gets information about a single waiter." - }, - "create": { - "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a waiter with the\ngiven name will exist (and can be retrieved) prior to the operation\ncompleting. If the operation fails, the failed Waiter resource will\nstill exist and must be deleted prior to subsequent creation attempts.", - "request": { - "$ref": "Waiter" - }, - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "requestId": { - "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", - "type": "string", - "location": "query" - }, - "parent": { - "description": "The path to the configuration that will own the waiter.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" + "pageSize": { + "location": "query", + "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", + "format": "int32", + "type": "integer" } }, "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters", "path": "v1beta1/{+parent}/waiters", - "id": "runtimeconfig.projects.configs.waiters.create" + "id": "runtimeconfig.projects.configs.waiters.list", + "description": "List waiters within the given configuration." }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "request": { - "$ref": "TestIamPermissionsRequest" - }, + "get": { + "description": "Gets information about a single waiter.", "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "Waiter" }, "parameterOrder": [ - "resource" + "name" ], - "httpMethod": "POST", + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}:testIamPermissions", - "path": "v1beta1/{+resource}:testIamPermissions", - "id": "runtimeconfig.projects.configs.waiters.testIamPermissions" - } - } - } - }, - "methods": { - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:setIamPolicy", - "path": "v1beta1/{+resource}:setIamPolicy", - "id": "runtimeconfig.projects.configs.setIamPolicy" - }, - "create": { - "path": "v1beta1/{+parent}/configs", - "id": "runtimeconfig.projects.configs.create", - "description": "Creates a new RuntimeConfig resource. The configuration name must be\nunique within project.", - "request": { - "$ref": "RuntimeConfig" - }, - "response": { - "$ref": "RuntimeConfig" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "requestId": { - "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", - "type": "string", - "location": "query" - }, - "parent": { - "description": "The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request, in the format `projects/[PROJECT_ID]`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs" - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "httpMethod": "GET", - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:getIamPolicy", - "id": "runtimeconfig.projects.configs.getIamPolicy", - "path": "v1beta1/{+resource}:getIamPolicy" - }, - "get": { - "path": "v1beta1/{+name}", - "id": "runtimeconfig.projects.configs.get", - "description": "Gets information about a RuntimeConfig resource.", - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "response": { - "$ref": "RuntimeConfig" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "name": { - "description": "The name of the RuntimeConfig resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}" - }, - "update": { - "httpMethod": "PUT", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "RuntimeConfig" - }, - "parameters": { - "name": { - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path", - "description": "The name of the RuntimeConfig resource to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", - "id": "runtimeconfig.projects.configs.update", - "path": "v1beta1/{+name}", - "request": { - "$ref": "RuntimeConfig" - }, - "description": "Updates a RuntimeConfig resource. The configuration must exist beforehand." - }, - "testIamPermissions": { - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}:testIamPermissions", - "path": "v1beta1/{+resource}:testIamPermissions", - "id": "runtimeconfig.projects.configs.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "request": { - "$ref": "TestIamPermissionsRequest" - } - }, - "delete": { - "description": "Deletes a RuntimeConfig resource.", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "name": { - "description": "The RuntimeConfig resource to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/configs/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}", - "path": "v1beta1/{+name}", - "id": "runtimeconfig.projects.configs.delete" - }, - "list": { - "response": { - "$ref": "ListConfigsResponse" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloudruntimeconfig" - ], - "parameters": { - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", - "type": "string" - }, - "pageSize": { - "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", - "format": "int32", - "type": "integer", - "location": "query" + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", + "location": "path", + "description": "The fully-qualified name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", + "required": true, + "type": "string" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters/{waitersId}", + "path": "v1beta1/{+name}", + "id": "runtimeconfig.projects.configs.waiters.get" }, - "parent": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request, in the format `projects/[PROJECT_ID]`.", - "required": true, - "type": "string" + "create": { + "httpMethod": "POST", + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloudruntimeconfig" + ], + "parameters": { + "requestId": { + "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", + "type": "string", + "location": "query" + }, + "parent": { + "location": "path", + "description": "The path to the configuration that will own the waiter.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/configs/[^/]+$" + } + }, + "flatPath": "v1beta1/projects/{projectsId}/configs/{configsId}/waiters", + "id": "runtimeconfig.projects.configs.waiters.create", + "path": "v1beta1/{+parent}/waiters", + "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a waiter with the\ngiven name will exist (and can be retrieved) prior to the operation\ncompleting. If the operation fails, the failed Waiter resource will\nstill exist and must be deleted prior to subsequent creation attempts.", + "request": { + "$ref": "Waiter" + } } - }, - "flatPath": "v1beta1/projects/{projectsId}/configs", - "path": "v1beta1/{+parent}/configs", - "id": "runtimeconfig.projects.configs.list", - "description": "Lists all the RuntimeConfig resources within project." + } } } } @@ -699,454 +1059,94 @@ "location": "query" }, "pp": { + "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "default": "true" }, "bearer_token": { "location": "query", "description": "OAuth bearer token.", "type": "string" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "$.xgafv": { - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "alt": { - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "access_token": { + "oauth_token": { "location": "query", - "description": "OAuth access token.", - "type": "string" - } - }, - "version": "v1beta1", - "baseUrl": "https://runtimeconfig.googleapis.com/", - "description": "Provides capabilities for dynamic configuration and coordination for applications running on Google Cloud Platform.\n", - "kind": "discovery#restDescription", - "servicePath": "", - "basePath": "", - "revision": "20170327", - "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", - "id": "runtimeconfig:v1beta1", - "discoveryVersion": "v1", - "version_module": "True", - "schemas": { - "Operation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "type": "object", - "properties": { - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", - "type": "string" - }, - "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" - }, - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - } - }, - "id": "Operation" - }, - "SetIamPolicyRequest": { - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." - } - }, - "id": "SetIamPolicyRequest", - "description": "Request message for `SetIamPolicy` method.", - "type": "object" - }, - "Status": { - "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "id": "Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object" - }, - "Binding": { - "properties": { - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", - "type": "array", - "items": { - "type": "string" - } - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" - } - }, - "id": "Binding", - "description": "Associates `members` with a `role`.", - "type": "object" - }, - "Cardinality": { - "properties": { - "path": { - "description": "The root of the variable subtree to monitor. For example, `/foo`.", - "type": "string" - }, - "number": { - "description": "The number variables under the `path` that must exist to meet this\ncondition. Defaults to 1 if not specified.", - "format": "int32", - "type": "integer" - } - }, - "id": "Cardinality", - "description": "A Cardinality condition for the Waiter resource. A cardinality condition is\nmet when the number of variables under a specified path prefix reaches a\npredefined number. For example, if you set a Cardinality condition where\nthe `path` is set to `/foo` and the number of paths is set to 2, the\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variable3 = \"value3\"`\n\nIt would not would not satisify the same condition with the `number` set to\n3, however, because there is only 2 paths that start with `/foo`.\nCardinality conditions are recursive; all subtrees under the specific\npath prefix are counted.", - "type": "object" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object" - }, - "ListConfigsResponse": { - "properties": { - "configs": { - "description": "A list of the configurations in the project. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", - "type": "array", - "items": { - "$ref": "RuntimeConfig" - } - }, - "nextPageToken": { - "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", - "type": "string" - } - }, - "id": "ListConfigsResponse", - "description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", - "type": "object" - }, - "EndCondition": { - "properties": { - "cardinality": { - "description": "The cardinality of the `EndCondition`.", - "$ref": "Cardinality" - } - }, - "id": "EndCondition", - "description": "The condition that a Waiter resource is waiting for.", - "type": "object" + "description": "OAuth 2.0 token for the current user.", + "type": "string" }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "TestIamPermissionsResponse" + "upload_protocol": { + "type": "string", + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." }, - "ListVariablesResponse": { - "properties": { - "variables": { - "description": "A list of variables and their values. The order of returned variable\nobjects is arbitrary.", - "type": "array", - "items": { - "$ref": "Variable" - } - }, - "nextPageToken": { - "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", - "type": "string" - } - }, - "id": "ListVariablesResponse", - "description": "Response for the `ListVariables()` method.", - "type": "object" + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" }, - "RuntimeConfig": { - "description": "A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig\nservice. A RuntimeConfig resource consists of metadata and a hierarchy of\nvariables.", - "type": "object", - "properties": { - "name": { - "description": "The resource name of a runtime config. The name must have the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an\narbitrary name that matches RFC 1035 segment specification. The length of\n`[CONFIG_NAME]` must be less than 64 bytes.\n\nYou pick the RuntimeConfig resource name, but the server will validate that\nthe name adheres to this format. After you create the resource, you cannot\nchange the resource's name.", - "type": "string" - }, - "description": { - "description": "An optional description of the RuntimeConfig object.", - "type": "string" - } - }, - "id": "RuntimeConfig" + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, - "WatchVariableRequest": { - "description": "Request for the `WatchVariable()` method.", - "type": "object", - "properties": { - "newerThan": { - "description": "If specified, checks the current timestamp of the variable and if the\ncurrent timestamp is newer than `newerThan` timestamp, the method returns\nimmediately.\n\nIf not specified or the variable has an older timestamp, the watcher waits\nfor a the value to change before returning.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "WatchVariableRequest" + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" }, - "ListWaitersResponse": { - "description": "Response for the `ListWaiters()` method.\nOrder of returned waiter objects is arbitrary.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", - "type": "string" - }, - "waiters": { - "description": "Found waiters in the project.", - "type": "array", - "items": { - "$ref": "Waiter" - } - } - }, - "id": "ListWaitersResponse" + "callback": { + "type": "string", + "location": "query", + "description": "JSONP" }, - "Waiter": { - "description": "A Waiter resource waits for some end condition within a RuntimeConfig resource\nto be met before it returns. For example, assume you have a distributed\nsystem where each node writes to a Variable resource indidicating the node's\nreadiness as part of the startup process.\n\nYou then configure a Waiter resource with the success condition set to wait\nuntil some number of nodes have checked in. Afterwards, your application\nruns some arbitrary code after the condition has been met and the waiter\nreturns successfully.\n\nOnce created, a Waiter resource is immutable.\n\nTo learn more about using waiters, read the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)\ndocumentation.", - "type": "object", - "properties": { - "error": { - "description": "[Output Only] If the waiter ended due to a failure or timeout, this value\nwill be set.", - "$ref": "Status" - }, - "failure": { - "$ref": "EndCondition", - "description": "[Optional] The failure condition of this waiter. If this condition is met,\n`done` will be set to `true` and the `error` code will be set to `ABORTED`.\nThe failure condition takes precedence over the success condition. If both\nconditions are met, a failure will be indicated. This value is optional; if\nno failure condition is set, the only failure scenario will be a timeout." - }, - "success": { - "$ref": "EndCondition", - "description": "[Required] The success condition. If this condition is met, `done` will be\nset to `true` and the `error` value will remain unset. The failure condition\ntakes precedence over the success condition. If both conditions are met, a\nfailure will be indicated." - }, - "done": { - "description": "[Output Only] If the value is `false`, it means the waiter is still waiting\nfor one of its conditions to be met.\n\nIf true, the waiter has finished. If the waiter finished due to a timeout\nor failure, `error` will be set.", - "type": "boolean" - }, - "createTime": { - "description": "[Output Only] The instant at which this Waiter resource was created. Adding\nthe value of `timeout` to this instant yields the timeout deadline for the\nwaiter.", - "format": "google-datetime", - "type": "string" - }, - "timeout": { - "description": "[Required] Specifies the timeout of the waiter in seconds, beginning from\nthe instant that `waiters().create` method is called. If this time elapses\nbefore the success or failure conditions are met, the waiter fails and sets\nthe `error` code to `DEADLINE_EXCEEDED`.", - "format": "google-duration", - "type": "string" - }, - "name": { - "description": "The name of the Waiter resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]\n\nThe `[PROJECT_ID]` must be a valid Google Cloud project ID,\nthe `[CONFIG_NAME]` must be a valid RuntimeConfig resource, the\n`[WAITER_NAME]` must match RFC 1035 segment specification, and the length\nof `[WAITER_NAME]` must be less than 64 bytes.\n\nAfter you create a Waiter resource, you cannot change the resource name.", - "type": "string" - } - }, - "id": "Waiter" + "$.xgafv": { + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ] }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "TestIamPermissionsRequest" + "alt": { + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" }, - "Variable": { - "description": "Describes a single variable within a RuntimeConfig resource.\nThe name denotes the hierarchical variable name. For example,\n`ports/serving_port` is a valid variable name. The variable value is an\nopaque string and only leaf variables can have values (that is, variables\nthat do not have any child variables).", - "type": "object", - "properties": { - "updateTime": { - "description": "[Output Only] The time of the last variable update.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "enum": [ - "VARIABLE_STATE_UNSPECIFIED", - "UPDATED", - "DELETED" - ], - "description": "[Ouput only] The current state of the variable. The variable state indicates\nthe outcome of the `variables().watch` call and is visible through the\n`get` and `list` calls.", - "type": "string", - "enumDescriptions": [ - "Default variable state.", - "The variable was updated, while `variables().watch` was executing.", - "The variable was deleted, while `variables().watch` was executing." - ] - }, - "name": { - "description": "The name of the variable resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\nvalid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and\ndashes. Slashes are used as path element separators and are not part of the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nnon-slash character. Multiple slashes are coalesced into single slash\ncharacter. Each path segment should follow RFC 1035 segment specification.\nThe length of a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable, you cannot change the variable name.", - "type": "string" - }, - "text": { - "description": "The string value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. For example,\n`text: \"my text value\"`. The string must be valid UTF-8.", - "type": "string" - }, - "value": { - "description": "The binary value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. The value must be\nbase64 encoded. Only one of `value` or `text` can be set.", - "format": "byte", - "type": "string" - } - }, - "id": "Variable" + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" }, - "Policy": { - "properties": { - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", - "type": "array", - "items": { - "$ref": "Binding" - } - } - }, - "id": "Policy", - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", - "type": "object" - } - }, - "protocol": "rest", - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "canonicalName": "Cloud RuntimeConfig", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloudruntimeconfig": { - "description": "Manage your Google Cloud Platform services' runtime configuration" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } + "key": { + "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.", + "type": "string", + "location": "query" } }, - "rootUrl": "https://runtimeconfig.googleapis.com/", - "ownerDomain": "google.com", - "name": "runtimeconfig", - "batchPath": "batch", - "title": "Google Cloud RuntimeConfig API" + "version": "v1beta1", + "baseUrl": "https://runtimeconfig.googleapis.com/", + "servicePath": "", + "description": "Provides capabilities for dynamic configuration and coordination for applications running on Google Cloud Platform.\n", + "kind": "discovery#restDescription", + "basePath": "", + "id": "runtimeconfig:v1beta1", + "revision": "20170327", + "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/" } diff --git a/DiscoveryJson/safebrowsing_v4.json b/DiscoveryJson/safebrowsing_v4.json index 99dce76b71..762f86109f 100644 --- a/DiscoveryJson/safebrowsing_v4.json +++ b/DiscoveryJson/safebrowsing_v4.json @@ -1,77 +1,39 @@ { - "version": "v4", - "baseUrl": "https://safebrowsing.googleapis.com/", - "kind": "discovery#restDescription", - "servicePath": "", - "description": "The Safe Browsing API is an experimental API that allows client applications to check URLs against Google's constantly-updated blacklists of suspected phishing and malware pages. Your client application can use the API to download an encrypted table for local, client-side lookups of URLs.", - "rootUrl": "https://safebrowsing.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "safebrowsing", - "batchPath": "batch", - "id": "safebrowsing:v4", - "documentationLink": "https://developers.google.com/safe-browsing/", - "revision": "20170319", - "title": "Google Safe Browsing API", - "ownerName": "Google", - "discoveryVersion": "v1", "resources": { - "threatMatches": { - "methods": { - "find": { - "response": { - "$ref": "FindThreatMatchesResponse" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "flatPath": "v4/threatMatches:find", - "path": "v4/threatMatches:find", - "id": "safebrowsing.threatMatches.find", - "request": { - "$ref": "FindThreatMatchesRequest" - }, - "description": "Finds the threat entries that match the Safe Browsing lists." - } - } - }, - "fullHashes": { + "threatListUpdates": { "methods": { - "find": { - "path": "v4/fullHashes:find", - "id": "safebrowsing.fullHashes.find", + "fetch": { + "flatPath": "v4/threatListUpdates:fetch", + "id": "safebrowsing.threatListUpdates.fetch", + "path": "v4/threatListUpdates:fetch", "request": { - "$ref": "FindFullHashesRequest" + "$ref": "FetchThreatListUpdatesRequest" }, - "description": "Finds the full hashes that match the requested hash prefixes.", + "description": "Fetches the most recent threat list updates. A client can request updates\nfor multiple lists at once.", + "httpMethod": "POST", + "parameterOrder": [], "response": { - "$ref": "FindFullHashesResponse" + "$ref": "FetchThreatListUpdatesResponse" }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "flatPath": "v4/fullHashes:find" + "parameters": {} } } }, - "encodedUpdates": { + "encodedFullHashes": { "methods": { "get": { - "id": "safebrowsing.encodedUpdates.get", - "path": "v4/encodedUpdates/{encodedRequest}", - "description": "", - "httpMethod": "GET", - "response": { - "$ref": "FetchThreatListUpdatesResponse" - }, "parameterOrder": [ "encodedRequest" ], + "response": { + "$ref": "FindFullHashesResponse" + }, + "httpMethod": "GET", "parameters": { "clientId": { - "description": "A client ID that uniquely identifies the client implementation of the Safe\nBrowsing API.", - "type": "string", - "location": "query" + "location": "query", + "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.", + "type": "string" }, "clientVersion": { "location": "query", @@ -80,140 +42,118 @@ }, "encodedRequest": { "location": "path", - "description": "A serialized FetchThreatListUpdatesRequest proto.", + "description": "A serialized FindFullHashesRequest proto.", "format": "byte", "required": true, "type": "string" } }, - "flatPath": "v4/encodedUpdates/{encodedRequest}" + "flatPath": "v4/encodedFullHashes/{encodedRequest}", + "path": "v4/encodedFullHashes/{encodedRequest}", + "id": "safebrowsing.encodedFullHashes.get", + "description": "" } } }, - "threatListUpdates": { + "threatLists": { "methods": { - "fetch": { - "id": "safebrowsing.threatListUpdates.fetch", - "path": "v4/threatListUpdates:fetch", + "list": { + "description": "Lists the Safe Browsing threat lists available for download.", + "httpMethod": "GET", + "response": { + "$ref": "ListThreatListsResponse" + }, + "parameterOrder": [], + "parameters": {}, + "flatPath": "v4/threatLists", + "id": "safebrowsing.threatLists.list", + "path": "v4/threatLists" + } + } + }, + "threatMatches": { + "methods": { + "find": { + "flatPath": "v4/threatMatches:find", + "path": "v4/threatMatches:find", + "id": "safebrowsing.threatMatches.find", "request": { - "$ref": "FetchThreatListUpdatesRequest" + "$ref": "FindThreatMatchesRequest" }, - "description": "Fetches the most recent threat list updates. A client can request updates\nfor multiple lists at once.", + "description": "Finds the threat entries that match the Safe Browsing lists.", + "response": { + "$ref": "FindThreatMatchesResponse" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {} + } + } + }, + "fullHashes": { + "methods": { + "find": { "httpMethod": "POST", "parameterOrder": [], "response": { - "$ref": "FetchThreatListUpdatesResponse" + "$ref": "FindFullHashesResponse" }, "parameters": {}, - "flatPath": "v4/threatListUpdates:fetch" + "flatPath": "v4/fullHashes:find", + "id": "safebrowsing.fullHashes.find", + "path": "v4/fullHashes:find", + "request": { + "$ref": "FindFullHashesRequest" + }, + "description": "Finds the full hashes that match the requested hash prefixes." } } }, - "encodedFullHashes": { + "encodedUpdates": { "methods": { "get": { + "description": "", "response": { - "$ref": "FindFullHashesResponse" + "$ref": "FetchThreatListUpdatesResponse" }, "httpMethod": "GET", "parameterOrder": [ "encodedRequest" ], "parameters": { + "clientVersion": { + "type": "string", + "location": "query", + "description": "The version of the client implementation." + }, "encodedRequest": { "location": "path", - "description": "A serialized FindFullHashesRequest proto.", + "description": "A serialized FetchThreatListUpdatesRequest proto.", "format": "byte", "required": true, "type": "string" }, "clientId": { - "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.", "type": "string", - "location": "query" - }, - "clientVersion": { "location": "query", - "description": "The version of the client implementation.", - "type": "string" + "description": "A client ID that uniquely identifies the client implementation of the Safe\nBrowsing API." } }, - "flatPath": "v4/encodedFullHashes/{encodedRequest}", - "path": "v4/encodedFullHashes/{encodedRequest}", - "id": "safebrowsing.encodedFullHashes.get", - "description": "" - } - } - }, - "threatLists": { - "methods": { - "list": { - "id": "safebrowsing.threatLists.list", - "path": "v4/threatLists", - "description": "Lists the Safe Browsing threat lists available for download.", - "httpMethod": "GET", - "parameterOrder": [], - "response": { - "$ref": "ListThreatListsResponse" - }, - "parameters": {}, - "flatPath": "v4/threatLists" + "flatPath": "v4/encodedUpdates/{encodedRequest}", + "path": "v4/encodedUpdates/{encodedRequest}", + "id": "safebrowsing.encodedUpdates.get" } } } }, "parameters": { - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string" - }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" - }, - "alt": { - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], + "access_token": { + "description": "OAuth access token.", "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], "location": "query" }, "key": { - "location": "query", "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.", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", "type": "string", "location": "query" }, @@ -229,147 +169,73 @@ "default": "true" }, "oauth_token": { + "type": "string", "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" + "description": "OAuth 2.0 token for the current user." }, "bearer_token": { - "location": "query", "description": "OAuth bearer token.", - "type": "string" + "type": "string", + "location": "query" }, "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { + "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true", - "location": "query" - } - }, - "schemas": { - "FetchThreatListUpdatesResponse": { - "type": "object", - "properties": { - "listUpdateResponses": { - "description": "The list updates requested by the clients.", - "type": "array", - "items": { - "$ref": "ListUpdateResponse" - } - }, - "minimumWaitDuration": { - "description": "The minimum duration the client must wait before issuing any update\nrequest. If this field is not set clients may update as soon as they want.", - "format": "google-duration", - "type": "string" - } - }, - "id": "FetchThreatListUpdatesResponse" + "default": "true" }, - "FindFullHashesResponse": { - "type": "object", - "properties": { - "negativeCacheDuration": { - "description": "For requested entities that did not match the threat list, how long to\ncache the response.", - "format": "google-duration", - "type": "string" - }, - "minimumWaitDuration": { - "description": "The minimum duration the client must wait before issuing any find hashes\nrequest. If this field is not set, clients can issue a request as soon as\nthey want.", - "format": "google-duration", - "type": "string" - }, - "matches": { - "description": "The full hashes that matched the requested prefixes.", - "type": "array", - "items": { - "$ref": "ThreatMatch" - } - } - }, - "id": "FindFullHashesResponse" + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" }, - "Checksum": { - "description": "The expected state of a client's local database.", - "type": "object", - "properties": { - "sha256": { - "description": "The SHA256 hash of the client state; that is, of the sorted list of all\nhashes present in the database.", - "format": "byte", - "type": "string" - } - }, - "id": "Checksum" + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" }, - "ThreatEntrySet": { - "properties": { - "compressionType": { - "enum": [ - "COMPRESSION_TYPE_UNSPECIFIED", - "RAW", - "RICE" - ], - "description": "The compression type for the entries in this set.", - "type": "string", - "enumDescriptions": [ - "Unknown.", - "Raw, uncompressed data.", - "Rice-Golomb encoded data." - ] - }, - "riceIndices": { - "description": "The encoded local, lexicographically-sorted list indices, using a\nGolomb-Rice encoding. Used for sending compressed removal indices. The\nremoval indices (uint32) are sorted in ascending order, then delta encoded\nand stored as encoded_data.", - "$ref": "RiceDeltaEncoding" - }, - "rawIndices": { - "$ref": "RawIndices", - "description": "The raw removal indices for a local list." - }, - "rawHashes": { - "description": "The raw SHA256-formatted entries.", - "$ref": "RawHashes" - }, - "riceHashes": { - "description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data.", - "$ref": "RiceDeltaEncoding" - } - }, - "id": "ThreatEntrySet", - "description": "A set of threats that should be added or removed from a client's local\ndatabase.", - "type": "object" + "$.xgafv": { + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format." }, - "FindFullHashesRequest": { - "description": "Request to return full hashes matched by the provided hash prefixes.", - "type": "object", - "properties": { - "apiClient": { - "$ref": "ClientInfo", - "description": "Client metadata associated with callers of higher-level APIs built on top\nof the client's implementation." - }, - "clientStates": { - "description": "The current client states for each of the client's local threat lists.", - "type": "array", - "items": { - "format": "byte", - "type": "string" - } - }, - "client": { - "description": "The client metadata.", - "$ref": "ClientInfo" - }, - "threatInfo": { - "$ref": "ThreatInfo", - "description": "The lists and hashes to be checked." - } - }, - "id": "FindFullHashesRequest" + "callback": { + "type": "string", + "location": "query", + "description": "JSONP" }, + "alt": { + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string" + } + }, + "schemas": { "ListUpdateRequest": { - "description": "A single list update request.", "type": "object", "properties": { "state": { @@ -404,13 +270,6 @@ ] }, "threatType": { - "enum": [ - "THREAT_TYPE_UNSPECIFIED", - "MALWARE", - "SOCIAL_ENGINEERING", - "UNWANTED_SOFTWARE", - "POTENTIALLY_HARMFUL_APPLICATION" - ], "description": "The type of threat posed by entries present in the list.", "type": "string", "enumDescriptions": [ @@ -419,11 +278,18 @@ "Social engineering threat type.", "Unwanted software threat type.", "Potentially harmful application threat type." + ], + "enum": [ + "THREAT_TYPE_UNSPECIFIED", + "MALWARE", + "SOCIAL_ENGINEERING", + "UNWANTED_SOFTWARE", + "POTENTIALLY_HARMFUL_APPLICATION" ] }, "constraints": { - "description": "The constraints associated with this request.", - "$ref": "Constraints" + "$ref": "Constraints", + "description": "The constraints associated with this request." }, "threatEntryType": { "enumDescriptions": [ @@ -448,7 +314,8 @@ "type": "string" } }, - "id": "ListUpdateRequest" + "id": "ListUpdateRequest", + "description": "A single list update request." }, "FetchThreatListUpdatesRequest": { "description": "Describes a Safe Browsing API update request. Clients can request updates for\nmultiple lists in a single request.\nNOTE: Field index 2 is unused.\nNEXT: 5", @@ -472,17 +339,33 @@ "description": "An update to an individual list.", "type": "object", "properties": { - "threatEntryType": { + "platformType": { "enum": [ - "THREAT_ENTRY_TYPE_UNSPECIFIED", - "URL", - "EXECUTABLE", - "IP_RANGE", - "CHROME_EXTENSION", - "FILENAME", - "CERT" + "PLATFORM_TYPE_UNSPECIFIED", + "WINDOWS", + "LINUX", + "ANDROID", + "OSX", + "IOS", + "ANY_PLATFORM", + "ALL_PLATFORMS", + "CHROME" ], - "description": "The format of the threats.", + "description": "The platform type for which data is returned.", + "type": "string", + "enumDescriptions": [ + "Unknown platform.", + "Threat posed to Windows.", + "Threat posed to Linux.", + "Threat posed to Android.", + "Threat posed to OS X.", + "Threat posed to iOS.", + "Threat posed to at least one of the defined platforms.", + "Threat posed to all defined platforms.", + "Threat posed to Chrome." + ] + }, + "threatEntryType": { "type": "string", "enumDescriptions": [ "Unspecified.", @@ -492,7 +375,17 @@ "Chrome extension.", "Filename.", "CERT" - ] + ], + "enum": [ + "THREAT_ENTRY_TYPE_UNSPECIFIED", + "URL", + "EXECUTABLE", + "IP_RANGE", + "CHROME_EXTENSION", + "FILENAME", + "CERT" + ], + "description": "The format of the threats." }, "additions": { "description": "A set of entries to add to a local threat type's list. Repeated to allow\nfor a combination of compressed and raw data to be sent in a single\nresponse.", @@ -501,23 +394,23 @@ "$ref": "ThreatEntrySet" } }, + "checksum": { + "$ref": "Checksum", + "description": "The expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided update.\nIf the client state doesn't match the expected state, the client must\ndisregard this update and retry later." + }, "responseType": { - "enum": [ - "RESPONSE_TYPE_UNSPECIFIED", - "PARTIAL_UPDATE", - "FULL_UPDATE" - ], - "description": "The type of response. This may indicate that an action is required by the\nclient when the response is received.", "type": "string", "enumDescriptions": [ "Unknown.", "Partial updates are applied to the client's existing local database.", "Full updates replace the client's entire local database. This means\nthat either the client was seriously out-of-date or the client is\nbelieved to be corrupt." - ] - }, - "checksum": { - "description": "The expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided update.\nIf the client state doesn't match the expected state, the client must\ndisregard this update and retry later.", - "$ref": "Checksum" + ], + "enum": [ + "RESPONSE_TYPE_UNSPECIFIED", + "PARTIAL_UPDATE", + "FULL_UPDATE" + ], + "description": "The type of response. This may indicate that an action is required by the\nclient when the response is received." }, "threatType": { "enumDescriptions": [ @@ -548,40 +441,24 @@ "description": "The new client state, in encrypted format. Opaque to clients.", "format": "byte", "type": "string" - }, - "platformType": { - "enum": [ - "PLATFORM_TYPE_UNSPECIFIED", - "WINDOWS", - "LINUX", - "ANDROID", - "OSX", - "IOS", - "ANY_PLATFORM", - "ALL_PLATFORMS", - "CHROME" - ], - "description": "The platform type for which data is returned.", - "type": "string", - "enumDescriptions": [ - "Unknown platform.", - "Threat posed to Windows.", - "Threat posed to Linux.", - "Threat posed to Android.", - "Threat posed to OS X.", - "Threat posed to iOS.", - "Threat posed to at least one of the defined platforms.", - "Threat posed to all defined platforms.", - "Threat posed to Chrome." - ] } }, "id": "ListUpdateResponse" }, "Constraints": { + "description": "The constraints for this update.", + "type": "object", "properties": { + "maxDatabaseEntries": { + "description": "Sets the maximum number of entries that the client is willing to have\nin the local database. This should be a power of 2 between 2**10 and\n2**20. If zero, no database size limit is set.", + "format": "int32", + "type": "integer" + }, + "region": { + "description": "Requests the list for a specific geographic location. If not set the\nserver may pick that value based on the user's IP address. Expects ISO\n3166-1 alpha-2 format.", + "type": "string" + }, "supportedCompressions": { - "description": "The compression types supported by the client.", "type": "array", "items": { "enum": [ @@ -595,36 +472,28 @@ "Unknown.", "Raw, uncompressed data.", "Rice-Golomb encoded data." - ] + ], + "description": "The compression types supported by the client." }, "maxUpdateEntries": { "description": "The maximum size in number of entries. The update will not contain more\nentries than this value. This should be a power of 2 between 2**10 and\n2**20. If zero, no update size limit is set.", "format": "int32", "type": "integer" - }, - "maxDatabaseEntries": { - "description": "Sets the maximum number of entries that the client is willing to have\nin the local database. This should be a power of 2 between 2**10 and\n2**20. If zero, no database size limit is set.", - "format": "int32", - "type": "integer" - }, - "region": { - "description": "Requests the list for a specific geographic location. If not set the\nserver may pick that value based on the user's IP address. Expects ISO\n3166-1 alpha-2 format.", - "type": "string" } }, - "id": "Constraints", - "description": "The constraints for this update.", - "type": "object" + "id": "Constraints" }, "ThreatMatch": { "description": "A match when checking a threat entry in the Safe Browsing threat lists.", "type": "object", "properties": { "threat": { - "description": "The threat matching this threat.", - "$ref": "ThreatEntry" + "$ref": "ThreatEntry", + "description": "The threat matching this threat." }, "platformType": { + "description": "The platform type matching this threat.", + "type": "string", "enumDescriptions": [ "Unknown platform.", "Threat posed to Windows.", @@ -646,9 +515,7 @@ "ANY_PLATFORM", "ALL_PLATFORMS", "CHROME" - ], - "description": "The platform type matching this threat.", - "type": "string" + ] }, "threatEntryType": { "enumDescriptions": [ @@ -677,10 +544,6 @@ "format": "google-duration", "type": "string" }, - "threatEntryMetadata": { - "description": "Optional metadata associated with this threat.", - "$ref": "ThreatEntryMetadata" - }, "threatType": { "enum": [ "THREAT_TYPE_UNSPECIFIED", @@ -698,12 +561,36 @@ "Unwanted software threat type.", "Potentially harmful application threat type." ] + }, + "threatEntryMetadata": { + "$ref": "ThreatEntryMetadata", + "description": "Optional metadata associated with this threat." + } + }, + "id": "ThreatMatch" + }, + "ListThreatListsResponse": { + "type": "object", + "properties": { + "threatLists": { + "description": "The lists available for download by the client.", + "type": "array", + "items": { + "$ref": "ThreatListDescriptor" + } } }, - "id": "ThreatMatch" + "id": "ListThreatListsResponse" }, "RiceDeltaEncoding": { + "description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or\ncompressed removal indices.", + "type": "object", "properties": { + "riceParameter": { + "description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field\nis missing (that is, zero) if `num_entries` is zero.", + "format": "int32", + "type": "integer" + }, "firstValue": { "description": "The offset of the first entry in the encoded data, or, if only a single\ninteger was encoded, that single integer's value.", "format": "int64", @@ -715,34 +602,16 @@ "type": "string" }, "numEntries": { + "type": "integer", "description": "The number of entries that are delta encoded in the encoded data. If only a\nsingle integer was encoded, this will be zero and the single value will be\nstored in `first_value`.", - "format": "int32", - "type": "integer" - }, - "riceParameter": { - "description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field\nis missing (that is, zero) if `num_entries` is zero.", - "format": "int32", - "type": "integer" + "format": "int32" } }, - "id": "RiceDeltaEncoding", - "description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or\ncompressed removal indices.", - "type": "object" - }, - "ListThreatListsResponse": { - "type": "object", - "properties": { - "threatLists": { - "description": "The lists available for download by the client.", - "type": "array", - "items": { - "$ref": "ThreatListDescriptor" - } - } - }, - "id": "ListThreatListsResponse" + "id": "RiceDeltaEncoding" }, "ThreatEntry": { + "description": "An individual threat; for example, a malicious URL or its hash\nrepresentation. Only one of these fields should be set.", + "type": "object", "properties": { "url": { "description": "A URL.", @@ -759,11 +628,10 @@ "type": "string" } }, - "id": "ThreatEntry", - "description": "An individual threat; for example, a malicious URL or its hash\nrepresentation. Only one of these fields should be set.", - "type": "object" + "id": "ThreatEntry" }, "FindThreatMatchesResponse": { + "id": "FindThreatMatchesResponse", "type": "object", "properties": { "matches": { @@ -773,12 +641,24 @@ "$ref": "ThreatMatch" } } - }, - "id": "FindThreatMatchesResponse" + } }, "ThreatListDescriptor": { + "description": "Describes an individual threat list. A list is defined by three parameters:\nthe type of threat posed, the type of platform targeted by the threat, and\nthe type of entries in the list.", + "type": "object", "properties": { "platformType": { + "enumDescriptions": [ + "Unknown platform.", + "Threat posed to Windows.", + "Threat posed to Linux.", + "Threat posed to Android.", + "Threat posed to OS X.", + "Threat posed to iOS.", + "Threat posed to at least one of the defined platforms.", + "Threat posed to all defined platforms.", + "Threat posed to Chrome." + ], "enum": [ "PLATFORM_TYPE_UNSPECIFIED", "WINDOWS", @@ -791,20 +671,11 @@ "CHROME" ], "description": "The platform type targeted by the list's entries.", - "type": "string", - "enumDescriptions": [ - "Unknown platform.", - "Threat posed to Windows.", - "Threat posed to Linux.", - "Threat posed to Android.", - "Threat posed to OS X.", - "Threat posed to iOS.", - "Threat posed to at least one of the defined platforms.", - "Threat posed to all defined platforms.", - "Threat posed to Chrome." - ] + "type": "string" }, "threatType": { + "description": "The threat type posed by the list's entries.", + "type": "string", "enumDescriptions": [ "Unknown.", "Malware threat type.", @@ -818,9 +689,7 @@ "SOCIAL_ENGINEERING", "UNWANTED_SOFTWARE", "POTENTIALLY_HARMFUL_APPLICATION" - ], - "description": "The threat type posed by the list's entries.", - "type": "string" + ] }, "threatEntryType": { "enumDescriptions": [ @@ -845,28 +714,28 @@ "type": "string" } }, - "id": "ThreatListDescriptor", - "description": "Describes an individual threat list. A list is defined by three parameters:\nthe type of threat posed, the type of platform targeted by the threat, and\nthe type of entries in the list.", - "type": "object" + "id": "ThreatListDescriptor" }, "MetadataEntry": { - "description": "A single metadata entry.", - "type": "object", "properties": { - "key": { - "description": "The metadata entry key. For JSON requests, the key is base64-encoded.", + "value": { + "description": "The metadata entry value. For JSON requests, the value is base64-encoded.", "format": "byte", "type": "string" }, - "value": { - "description": "The metadata entry value. For JSON requests, the value is base64-encoded.", + "key": { + "description": "The metadata entry key. For JSON requests, the key is base64-encoded.", "format": "byte", "type": "string" } }, - "id": "MetadataEntry" + "id": "MetadataEntry", + "description": "A single metadata entry.", + "type": "object" }, "ClientInfo": { + "description": "The client metadata associated with Safe Browsing API requests.", + "type": "object", "properties": { "clientId": { "description": "A client ID that (hopefully) uniquely identifies the client implementation\nof the Safe Browsing API.", @@ -877,14 +746,19 @@ "type": "string" } }, - "id": "ClientInfo", - "description": "The client metadata associated with Safe Browsing API requests.", - "type": "object" + "id": "ClientInfo" }, "ThreatInfo": { "description": "The information regarding one or more threats that a client submits when\nchecking for matches in threat lists.", "type": "object", "properties": { + "threatEntries": { + "description": "The threat entries to be checked.", + "type": "array", + "items": { + "$ref": "ThreatEntry" + } + }, "threatEntryTypes": { "enumDescriptions": [ "Unspecified.", @@ -911,6 +785,13 @@ } }, "threatTypes": { + "enumDescriptions": [ + "Unknown.", + "Malware threat type.", + "Social engineering threat type.", + "Unwanted software threat type.", + "Potentially harmful application threat type." + ], "description": "The threat types to be checked.", "type": "array", "items": { @@ -922,17 +803,9 @@ "POTENTIALLY_HARMFUL_APPLICATION" ], "type": "string" - }, - "enumDescriptions": [ - "Unknown.", - "Malware threat type.", - "Social engineering threat type.", - "Unwanted software threat type.", - "Potentially harmful application threat type." - ] + } }, "platformTypes": { - "description": "The platform types to be checked.", "type": "array", "items": { "enum": [ @@ -958,14 +831,8 @@ "Threat posed to at least one of the defined platforms.", "Threat posed to all defined platforms.", "Threat posed to Chrome." - ] - }, - "threatEntries": { - "description": "The threat entries to be checked.", - "type": "array", - "items": { - "$ref": "ThreatEntry" - } + ], + "description": "The platform types to be checked." } }, "id": "ThreatInfo" @@ -979,13 +846,15 @@ "description": "The client metadata." }, "threatInfo": { - "$ref": "ThreatInfo", - "description": "The lists and entries to be checked for matches." + "description": "The lists and entries to be checked for matches.", + "$ref": "ThreatInfo" } }, "id": "FindThreatMatchesRequest" }, "ThreatEntryMetadata": { + "description": "The metadata associated with a specific threat entry. The client is expected\nto know the metadata key/value pairs associated with each threat type.", + "type": "object", "properties": { "entries": { "description": "The metadata entries.", @@ -995,19 +864,17 @@ } } }, - "id": "ThreatEntryMetadata", - "description": "The metadata associated with a specific threat entry. The client is expected\nto know the metadata key/value pairs associated with each threat type.", - "type": "object" + "id": "ThreatEntryMetadata" }, "RawIndices": { "properties": { "indices": { - "description": "The indices to remove from a lexicographically-sorted local list.", "type": "array", "items": { "format": "int32", "type": "integer" - } + }, + "description": "The indices to remove from a lexicographically-sorted local list." } }, "id": "RawIndices", @@ -1015,26 +882,159 @@ "type": "object" }, "RawHashes": { + "description": "The uncompressed threat entries in hash format of a particular prefix length.\nHashes can be anywhere from 4 to 32 bytes in size. A large majority are 4\nbytes, but some hashes are lengthened if they collide with the hash of a\npopular URL.\n\nUsed for sending ThreatEntrySet to clients that do not support compression,\nor when sending non-4-byte hashes to clients that do support compression.", + "type": "object", "properties": { + "rawHashes": { + "description": "The hashes, in binary format, concatenated into one long string. Hashes are\nsorted in lexicographic order. For JSON API users, hashes are\nbase64-encoded.", + "format": "byte", + "type": "string" + }, "prefixSize": { "description": "The number of bytes for each prefix encoded below. This field can be\nanywhere from 4 (shortest prefix) to 32 (full SHA256 hash).", "format": "int32", "type": "integer" + } + }, + "id": "RawHashes" + }, + "FetchThreatListUpdatesResponse": { + "type": "object", + "properties": { + "listUpdateResponses": { + "description": "The list updates requested by the clients.", + "type": "array", + "items": { + "$ref": "ListUpdateResponse" + } }, - "rawHashes": { - "description": "The hashes, in binary format, concatenated into one long string. Hashes are\nsorted in lexicographic order. For JSON API users, hashes are\nbase64-encoded.", + "minimumWaitDuration": { + "type": "string", + "description": "The minimum duration the client must wait before issuing any update\nrequest. If this field is not set clients may update as soon as they want.", + "format": "google-duration" + } + }, + "id": "FetchThreatListUpdatesResponse" + }, + "FindFullHashesResponse": { + "type": "object", + "properties": { + "minimumWaitDuration": { + "description": "The minimum duration the client must wait before issuing any find hashes\nrequest. If this field is not set, clients can issue a request as soon as\nthey want.", + "format": "google-duration", + "type": "string" + }, + "matches": { + "type": "array", + "items": { + "$ref": "ThreatMatch" + }, + "description": "The full hashes that matched the requested prefixes." + }, + "negativeCacheDuration": { + "description": "For requested entities that did not match the threat list, how long to\ncache the response.", + "format": "google-duration", + "type": "string" + } + }, + "id": "FindFullHashesResponse" + }, + "Checksum": { + "description": "The expected state of a client's local database.", + "type": "object", + "properties": { + "sha256": { + "description": "The SHA256 hash of the client state; that is, of the sorted list of all\nhashes present in the database.", "format": "byte", "type": "string" } }, - "id": "RawHashes", - "description": "The uncompressed threat entries in hash format of a particular prefix length.\nHashes can be anywhere from 4 to 32 bytes in size. A large majority are 4\nbytes, but some hashes are lengthened if they collide with the hash of a\npopular URL.\n\nUsed for sending ThreatEntrySet to clients that do not support compression,\nor when sending non-4-byte hashes to clients that do support compression.", - "type": "object" + "id": "Checksum" + }, + "ThreatEntrySet": { + "type": "object", + "properties": { + "rawIndices": { + "$ref": "RawIndices", + "description": "The raw removal indices for a local list." + }, + "rawHashes": { + "$ref": "RawHashes", + "description": "The raw SHA256-formatted entries." + }, + "riceHashes": { + "$ref": "RiceDeltaEncoding", + "description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data." + }, + "compressionType": { + "enumDescriptions": [ + "Unknown.", + "Raw, uncompressed data.", + "Rice-Golomb encoded data." + ], + "enum": [ + "COMPRESSION_TYPE_UNSPECIFIED", + "RAW", + "RICE" + ], + "description": "The compression type for the entries in this set.", + "type": "string" + }, + "riceIndices": { + "$ref": "RiceDeltaEncoding", + "description": "The encoded local, lexicographically-sorted list indices, using a\nGolomb-Rice encoding. Used for sending compressed removal indices. The\nremoval indices (uint32) are sorted in ascending order, then delta encoded\nand stored as encoded_data." + } + }, + "id": "ThreatEntrySet", + "description": "A set of threats that should be added or removed from a client's local\ndatabase." + }, + "FindFullHashesRequest": { + "id": "FindFullHashesRequest", + "description": "Request to return full hashes matched by the provided hash prefixes.", + "type": "object", + "properties": { + "clientStates": { + "description": "The current client states for each of the client's local threat lists.", + "type": "array", + "items": { + "format": "byte", + "type": "string" + } + }, + "client": { + "$ref": "ClientInfo", + "description": "The client metadata." + }, + "threatInfo": { + "$ref": "ThreatInfo", + "description": "The lists and hashes to be checked." + }, + "apiClient": { + "description": "Client metadata associated with callers of higher-level APIs built on top\nof the client's implementation.", + "$ref": "ClientInfo" + } + } } }, "protocol": "rest", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" - } + }, + "version": "v4", + "baseUrl": "https://safebrowsing.googleapis.com/", + "kind": "discovery#restDescription", + "servicePath": "", + "description": "The Safe Browsing API is an experimental API that allows client applications to check URLs against Google's constantly-updated blacklists of suspected phishing and malware pages. Your client application can use the API to download an encrypted table for local, client-side lookups of URLs.", + "rootUrl": "https://safebrowsing.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "safebrowsing", + "batchPath": "batch", + "revision": "20170319", + "documentationLink": "https://developers.google.com/safe-browsing/", + "id": "safebrowsing:v4", + "title": "Google Safe Browsing API", + "discoveryVersion": "v1", + "ownerName": "Google" } diff --git a/DiscoveryJson/script_v1.json b/DiscoveryJson/script_v1.json index e8045a813d..ef4168f861 100644 --- a/DiscoveryJson/script_v1.json +++ b/DiscoveryJson/script_v1.json @@ -1,33 +1,8 @@ { - "servicePath": "", - "description": "Executes Google Apps Script projects.", - "kind": "discovery#restDescription", - "rootUrl": "https://script.googleapis.com/", - "basePath": "", - "ownerDomain": "google.com", - "name": "script", - "batchPath": "batch", - "id": "script:v1", - "documentationLink": "https://developers.google.com/apps-script/execution/rest/v1/scripts/run", - "revision": "20170328", - "title": "Google Apps Script Execution API", - "ownerName": "Google", - "discoveryVersion": "v1", "resources": { "scripts": { "methods": { "run": { - "description": "Runs a function in an Apps Script project. The project must be deployed\nfor use with the Apps Script Execution API.\n\nThis method requires authorization with an OAuth 2.0 token that includes at\nleast one of the scopes listed in the [Authorization](#authorization)\nsection; script projects that do not require authorization cannot be\nexecuted through this API. To find the correct scopes to include in the\nauthentication token, open the project in the script editor, then select\n**File \u003e Project properties** and click the **Scopes** tab.", - "request": { - "$ref": "ExecutionRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "scriptId" - ], - "response": { - "$ref": "Operation" - }, "scopes": [ "https://mail.google.com/", "https://www.google.com/calendar/feeds", @@ -51,7 +26,18 @@ }, "flatPath": "v1/scripts/{scriptId}:run", "id": "script.scripts.run", - "path": "v1/scripts/{scriptId}:run" + "path": "v1/scripts/{scriptId}:run", + "description": "Runs a function in an Apps Script project. The project must be deployed\nfor use with the Apps Script Execution API.\n\nThis method requires authorization with an OAuth 2.0 token that includes at\nleast one of the scopes listed in the [Authorization](#authorization)\nsection; script projects that do not require authorization cannot be\nexecuted through this API. To find the correct scopes to include in the\nauthentication token, open the project in the script editor, then select\n**File \u003e Project properties** and click the **Scopes** tab.", + "request": { + "$ref": "ExecutionRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "scriptId" + ], + "response": { + "$ref": "Operation" + } } } } @@ -63,28 +49,28 @@ "location": "query" }, "oauth_token": { - "description": "OAuth 2.0 token for the current user.", "type": "string", - "location": "query" + "location": "query", + "description": "OAuth 2.0 token for the current user." }, "upload_protocol": { + "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "type": "string" }, "prettyPrint": { + "location": "query", "description": "Returns response with indentations and line breaks.", "type": "boolean", - "default": "true", - "location": "query" + "default": "true" }, - "fields": { + "uploadType": { "location": "query", - "description": "Selector specifying which fields to include in a partial response.", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "fields": { + "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" }, @@ -94,7 +80,6 @@ "type": "string" }, "$.xgafv": { - "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", @@ -104,9 +89,11 @@ "enum": [ "1", "2" - ] + ], + "description": "V1 error format." }, "alt": { + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -119,23 +106,22 @@ "json", "media", "proto" - ], - "type": "string" + ] }, "key": { + "type": "string", "location": "query", - "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.", - "type": "string" + "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." }, "access_token": { + "location": "query", "description": "OAuth access token.", - "type": "string", - "location": "query" + "type": "string" }, "quotaUser": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, "pp": { "description": "Pretty-print response.", @@ -145,18 +131,64 @@ } }, "schemas": { + "ExecutionResponse": { + "description": "An object that provides the return value of a function executed through the\nApps Script Execution API. If a\n`run` call succeeds and the\nscript function returns successfully, the response body's\n`response` field contains this\n`ExecutionResponse` object.", + "type": "object", + "properties": { + "result": { + "description": "The return value of the script function. The type matches the object type\nreturned in Apps Script. Functions called through the Execution API cannot\nreturn Apps Script-specific objects (such as a `Document` or a `Calendar`);\nthey can only return primitive types such as a `string`, `number`, `array`,\n`object`, or `boolean`.", + "type": "any" + } + }, + "id": "ExecutionResponse" + }, + "Operation": { + "type": "object", + "properties": { + "done": { + "description": "This field is not used.", + "type": "boolean" + }, + "response": { + "type": "object", + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "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." + }, + "name": { + "description": "This field is not used.", + "type": "string" + }, + "error": { + "$ref": "Status", + "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." + }, + "metadata": { + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "description": "This field is not used.", + "type": "object" + } + }, + "id": "Operation", + "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).\n\u003cp\u003eIf 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.\u003c/p\u003e\n\u003cp\u003eIf 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.\u003c/p\u003e\n\u003cp\u003eIf 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.\u003c/p\u003e" + }, "ScriptStackTraceElement": { "description": "A stack trace through the script that shows where the execution failed.", "type": "object", "properties": { + "function": { + "description": "The name of the function that failed.", + "type": "string" + }, "lineNumber": { "description": "The line number where the script failed.", "format": "int32", "type": "integer" - }, - "function": { - "description": "The name of the function that failed.", - "type": "string" } }, "id": "ScriptStackTraceElement" @@ -187,17 +219,6 @@ "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.", "type": "object", "properties": { - "details": { - "description": "An array that contains a single `ExecutionError` object that provides information about the nature of the error.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } - }, "code": { "description": "The status code. For this API, this value will always be 3, corresponding to an INVALID_ARGUMENT error.", "format": "int32", @@ -206,6 +227,17 @@ "message": { "description": "A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the [`google.rpc.Status.details`](google.rpc.Status.details) field, or localized by the client.", "type": "string" + }, + "details": { + "type": "array", + "items": { + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "type": "object" + }, + "description": "An array that contains a single `ExecutionError` object that provides information about the nature of the error." } }, "id": "Status" @@ -214,119 +246,87 @@ "description": "A request to run the function in a script. The script is identified by the\nspecified `script_id`. Executing a function on a script returns results\nbased on the implementation of the script.", "type": "object", "properties": { + "sessionState": { + "description": "For Android add-ons only. An ID that represents the user's current session\nin the Android app for Google Docs or Sheets, included as extra data in the\n[`Intent`](https://developer.android.com/guide/components/intents-filters.html)\nthat launches the add-on. When an Android add-on is run with a session\nstate, it gains the privileges of a\n[bound](https://developers.google.com/apps-script/guides/bound) script —\nthat is, it can access information like the user's current cursor position\n(in Docs) or selected cell (in Sheets). To retrieve the state, call\n`Intent.getStringExtra(\"com.google.android.apps.docs.addons.SessionState\")`.\nOptional.", + "type": "string" + }, "function": { "description": "The name of the function to execute in the given script. The name does not\ninclude parentheses or parameters.", "type": "string" }, "devMode": { - "description": "If `true` and the user is an owner of the script, the script runs at the\nmost recently saved version rather than the version deployed for use with\nthe Execution API. Optional; default is `false`.", - "type": "boolean" + "type": "boolean", + "description": "If `true` and the user is an owner of the script, the script runs at the\nmost recently saved version rather than the version deployed for use with\nthe Execution API. Optional; default is `false`." }, "parameters": { - "description": "The parameters to be passed to the function being executed. The object type\nfor each parameter should match the expected type in Apps Script.\nParameters cannot be Apps Script-specific object types (such as a\n`Document` or a `Calendar`); they can only be primitive types such as\n`string`, `number`, `array`, `object`, or `boolean`. Optional.", "type": "array", "items": { "type": "any" - } - }, - "sessionState": { - "description": "For Android add-ons only. An ID that represents the user's current session\nin the Android app for Google Docs or Sheets, included as extra data in the\n[`Intent`](https://developer.android.com/guide/components/intents-filters.html)\nthat launches the add-on. When an Android add-on is run with a session\nstate, it gains the privileges of a\n[bound](https://developers.google.com/apps-script/guides/bound) script —\nthat is, it can access information like the user's current cursor position\n(in Docs) or selected cell (in Sheets). To retrieve the state, call\n`Intent.getStringExtra(\"com.google.android.apps.docs.addons.SessionState\")`.\nOptional.", - "type": "string" - } - }, - "id": "ExecutionRequest" - }, - "ExecutionResponse": { - "description": "An object that provides the return value of a function executed through the\nApps Script Execution API. If a\n`run` call succeeds and the\nscript function returns successfully, the response body's\n`response` field contains this\n`ExecutionResponse` object.", - "type": "object", - "properties": { - "result": { - "description": "The return value of the script function. The type matches the object type\nreturned in Apps Script. Functions called through the Execution API cannot\nreturn Apps Script-specific objects (such as a `Document` or a `Calendar`);\nthey can only return primitive types such as a `string`, `number`, `array`,\n`object`, or `boolean`.", - "type": "any" - } - }, - "id": "ExecutionResponse" - }, - "Operation": { - "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).\n\u003cp\u003eIf 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.\u003c/p\u003e\n\u003cp\u003eIf 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.\u003c/p\u003e\n\u003cp\u003eIf 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.\u003c/p\u003e", - "type": "object", - "properties": { - "error": { - "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.", - "$ref": "Status" - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" }, - "description": "This field is not used.", - "type": "object" - }, - "done": { - "description": "This field is not used.", - "type": "boolean" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "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.", - "type": "object" - }, - "name": { - "description": "This field is not used.", - "type": "string" + "description": "The parameters to be passed to the function being executed. The object type\nfor each parameter should match the expected type in Apps Script.\nParameters cannot be Apps Script-specific object types (such as a\n`Document` or a `Calendar`); they can only be primitive types such as\n`string`, `number`, `array`, `object`, or `boolean`. Optional." } }, - "id": "Operation" + "id": "ExecutionRequest" } }, - "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, + "protocol": "rest", "version": "v1", "baseUrl": "https://script.googleapis.com/", "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/userinfo.email": { - "description": "View your email address" - }, - "https://www.google.com/calendar/feeds": { - "description": "Manage your calendars" - }, - "https://www.googleapis.com/auth/groups": { - "description": "View and manage your Google Groups" - }, "https://www.googleapis.com/auth/forms.currentonly": { "description": "View and manage forms that this application has been installed in" }, "https://www.googleapis.com/auth/drive": { "description": "View and manage the files in your Google Drive" }, - "https://www.googleapis.com/auth/admin.directory.user": { - "description": "View and manage the provisioning of users on your domain" - }, - "https://www.googleapis.com/auth/admin.directory.group": { - "description": "View and manage the provisioning of groups on your domain" + "https://www.googleapis.com/auth/spreadsheets": { + "description": "View and manage your spreadsheets in Google Drive" }, "https://mail.google.com/": { "description": "Read, send, delete, and manage your email" }, - "https://www.googleapis.com/auth/spreadsheets": { - "description": "View and manage your spreadsheets in Google Drive" + "https://www.googleapis.com/auth/admin.directory.group": { + "description": "View and manage the provisioning of groups on your domain" + }, + "https://www.googleapis.com/auth/admin.directory.user": { + "description": "View and manage the provisioning of users on your domain" }, "https://www.googleapis.com/auth/forms": { "description": "View and manage your forms in Google Drive" }, "https://www.google.com/m8/feeds": { "description": "Manage your contacts" + }, + "https://www.googleapis.com/auth/userinfo.email": { + "description": "View your email address" + }, + "https://www.google.com/calendar/feeds": { + "description": "Manage your calendars" + }, + "https://www.googleapis.com/auth/groups": { + "description": "View and manage your Google Groups" } } } - } + }, + "kind": "discovery#restDescription", + "description": "Executes Google Apps Script projects.", + "servicePath": "", + "rootUrl": "https://script.googleapis.com/", + "basePath": "", + "ownerDomain": "google.com", + "name": "script", + "batchPath": "batch", + "revision": "20170328", + "documentationLink": "https://developers.google.com/apps-script/execution/rest/v1/scripts/run", + "id": "script:v1", + "title": "Google Apps Script Execution API", + "ownerName": "Google", + "discoveryVersion": "v1" } diff --git a/DiscoveryJson/searchconsole_v1.json b/DiscoveryJson/searchconsole_v1.json index 1c44f04074..0f8c91dd1c 100644 --- a/DiscoveryJson/searchconsole_v1.json +++ b/DiscoveryJson/searchconsole_v1.json @@ -1,11 +1,23 @@ { + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest", + "version": "v1", + "baseUrl": "https://searchconsole.googleapis.com/", + "canonicalName": "Search Console", + "servicePath": "", + "description": "Provides tools for running validation tests against single URLs", + "kind": "discovery#restDescription", + "rootUrl": "https://searchconsole.googleapis.com/", "basePath": "", "ownerDomain": "google.com", "name": "searchconsole", "batchPath": "batch", - "id": "searchconsole:v1", "documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/", "revision": "20170325", + "id": "searchconsole:v1", "title": "Google Search Console URL Testing Tools API", "discoveryVersion": "v1", "ownerName": "Google", @@ -16,10 +28,6 @@ "mobileFriendlyTest": { "methods": { "run": { - "request": { - "$ref": "RunMobileFriendlyTestRequest" - }, - "description": "Runs Mobile-Friendly Test for a given URL.", "response": { "$ref": "RunMobileFriendlyTestResponse" }, @@ -28,7 +36,11 @@ "parameters": {}, "flatPath": "v1/urlTestingTools/mobileFriendlyTest:run", "path": "v1/urlTestingTools/mobileFriendlyTest:run", - "id": "searchconsole.urlTestingTools.mobileFriendlyTest.run" + "id": "searchconsole.urlTestingTools.mobileFriendlyTest.run", + "description": "Runs Mobile-Friendly Test for a given URL.", + "request": { + "$ref": "RunMobileFriendlyTestRequest" + } } } } @@ -36,8 +48,33 @@ } }, "parameters": { + "upload_protocol": { + "type": "string", + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "fields": { + "type": "string", + "location": "query", + "description": "Selector specifying which fields to include in a partial response." + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, "$.xgafv": { - "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", @@ -47,19 +84,10 @@ "enum": [ "1", "2" - ] - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + ], + "description": "V1 error format." }, "alt": { - "enum": [ - "json", - "media", - "proto" - ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -68,22 +96,27 @@ ], "location": "query", "description": "Data format for response.", - "default": "json" + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] }, "key": { + "type": "string", "location": "query", - "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.", - "type": "string" + "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." }, "access_token": { + "location": "query", "description": "OAuth access token.", - "type": "string", - "location": "query" + "type": "string" }, "quotaUser": { + "location": "query", "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.", - "type": "string", - "location": "query" + "type": "string" }, "pp": { "location": "query", @@ -91,113 +124,62 @@ "type": "boolean", "default": "true" }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, "bearer_token": { - "description": "OAuth bearer token.", "type": "string", - "location": "query" - }, - "upload_protocol": { "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" + "description": "OAuth bearer token." }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" - }, - "uploadType": { + "oauth_token": { "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "description": "OAuth 2.0 token for the current user.", "type": "string" } }, "schemas": { - "MobileFriendlyIssue": { - "description": "Mobile-friendly issue.", - "type": "object", - "properties": { - "rule": { - "enumDescriptions": [ - "Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.", - "Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).", - "Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).", - "Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).", - "Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).", - "Font size is too small for easy reading on a small screen. [Learn More]\n(https://support.google.com/webmasters/answer/6352293#small_font_size).", - "Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)." - ], - "enum": [ - "MOBILE_FRIENDLY_RULE_UNSPECIFIED", - "USES_INCOMPATIBLE_PLUGINS", - "CONFIGURE_VIEWPORT", - "FIXED_WIDTH_VIEWPORT", - "SIZE_CONTENT_TO_VIEWPORT", - "USE_LEGIBLE_FONT_SIZES", - "TAP_TARGETS_TOO_CLOSE" - ], - "description": "Rule violated.", - "type": "string" - } - }, - "id": "MobileFriendlyIssue" - }, "RunMobileFriendlyTestResponse": { "description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.", "type": "object", "properties": { + "testStatus": { + "$ref": "TestStatus", + "description": "Final state of the test, can be either complete or an error." + }, + "resourceIssues": { + "description": "Information about embedded resources issues.", + "type": "array", + "items": { + "$ref": "ResourceIssue" + } + }, "mobileFriendliness": { - "enumDescriptions": [ - "Internal error when running this test. Please try running the test again.", - "The page is mobile friendly.", - "The page is not mobile friendly." - ], "enum": [ "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", "MOBILE_FRIENDLY", "NOT_MOBILE_FRIENDLY" ], "description": "Test verdict, whether the page is mobile friendly or not.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Internal error when running this test. Please try running the test again.", + "The page is mobile friendly.", + "The page is not mobile friendly." + ] }, "mobileFriendlyIssues": { - "description": "List of mobile-usability issues.", "type": "array", "items": { "$ref": "MobileFriendlyIssue" - } + }, + "description": "List of mobile-usability issues." }, "screenshot": { - "description": "Screenshot of the requested URL.", - "$ref": "Image" - }, - "testStatus": { - "$ref": "TestStatus", - "description": "Final state of the test, can be either complete or an error." - }, - "resourceIssues": { - "description": "Information about embedded resources issues.", - "type": "array", - "items": { - "$ref": "ResourceIssue" - } + "$ref": "Image", + "description": "Screenshot of the requested URL." } }, "id": "RunMobileFriendlyTestResponse" }, "ResourceIssue": { - "description": "Information about a resource with issue.", "type": "object", "properties": { "blockedResource": { @@ -205,10 +187,10 @@ "description": "Describes a blocked resource issue." } }, - "id": "ResourceIssue" + "id": "ResourceIssue", + "description": "Information about a resource with issue." }, "BlockedResource": { - "description": "Blocked resource.", "type": "object", "properties": { "url": { @@ -216,13 +198,14 @@ "type": "string" } }, - "id": "BlockedResource" + "id": "BlockedResource", + "description": "Blocked resource." }, "TestStatus": { - "description": "Final state of the test, including error details if necessary.", "type": "object", "properties": { "status": { + "type": "string", "enumDescriptions": [ "Internal error when running this test. Please try running the test again.", "Inspection has completed without errors.", @@ -235,58 +218,75 @@ "INTERNAL_ERROR", "PAGE_UNREACHABLE" ], - "description": "Status of the test.", - "type": "string" + "description": "Status of the test." }, "details": { - "description": "Error details if applicable.", - "type": "string" + "type": "string", + "description": "Error details if applicable." } }, - "id": "TestStatus" + "id": "TestStatus", + "description": "Final state of the test, including error details if necessary." }, "Image": { - "description": "Describe image data.", "type": "object", "properties": { - "mimeType": { - "description": "The mime-type of the image data.", - "type": "string" - }, "data": { + "type": "string", "description": "Image data in format determined by the mime type. Currently, the format\nwill always be \"image/png\", but this might change in the future.", - "format": "byte", - "type": "string" + "format": "byte" + }, + "mimeType": { + "type": "string", + "description": "The mime-type of the image data." } }, - "id": "Image" + "id": "Image", + "description": "Describe image data." }, "RunMobileFriendlyTestRequest": { - "description": "Mobile-friendly test request.", "type": "object", "properties": { - "requestScreenshot": { - "description": "Whether or not screenshot is requested. Default is false.", - "type": "boolean" - }, "url": { "description": "URL for inspection.", "type": "string" + }, + "requestScreenshot": { + "type": "boolean", + "description": "Whether or not screenshot is requested. Default is false." + } + }, + "id": "RunMobileFriendlyTestRequest", + "description": "Mobile-friendly test request." + }, + "MobileFriendlyIssue": { + "description": "Mobile-friendly issue.", + "type": "object", + "properties": { + "rule": { + "type": "string", + "enumDescriptions": [ + "Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.", + "Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).", + "Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).", + "Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).", + "Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).", + "Font size is too small for easy reading on a small screen. [Learn More]\n(https://support.google.com/webmasters/answer/6352293#small_font_size).", + "Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)." + ], + "enum": [ + "MOBILE_FRIENDLY_RULE_UNSPECIFIED", + "USES_INCOMPATIBLE_PLUGINS", + "CONFIGURE_VIEWPORT", + "FIXED_WIDTH_VIEWPORT", + "SIZE_CONTENT_TO_VIEWPORT", + "USE_LEGIBLE_FONT_SIZES", + "TAP_TARGETS_TOO_CLOSE" + ], + "description": "Rule violated." } }, - "id": "RunMobileFriendlyTestRequest" + "id": "MobileFriendlyIssue" } - }, - "protocol": "rest", - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "version": "v1", - "baseUrl": "https://searchconsole.googleapis.com/", - "canonicalName": "Search Console", - "kind": "discovery#restDescription", - "description": "Provides tools for running validation tests against single URLs", - "servicePath": "", - "rootUrl": "https://searchconsole.googleapis.com/" + } } diff --git a/DiscoveryJson/servicecontrol_v1.json b/DiscoveryJson/servicecontrol_v1.json index ca9810aa7c..9318af4bc5 100644 --- a/DiscoveryJson/servicecontrol_v1.json +++ b/DiscoveryJson/servicecontrol_v1.json @@ -1,7 +1,324 @@ { + "canonicalName": "Service Control", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/servicecontrol": { + "description": "Manage your Google Service Control data" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "rootUrl": "https://servicecontrol.googleapis.com/", + "ownerDomain": "google.com", + "name": "servicecontrol", + "batchPath": "batch", + "title": "Google Service Control API", + "ownerName": "Google", + "resources": { + "services": { + "methods": { + "startReconciliation": { + "path": "v1/services/{serviceName}:startReconciliation", + "id": "servicecontrol.services.startReconciliation", + "request": { + "$ref": "StartReconciliationRequest" + }, + "description": "Unlike rate quota, allocation quota does not get refilled periodically.\nSo, it is possible that the quota usage as seen by the service differs from\nwhat the One Platform considers the usage is. This is expected to happen\nonly rarely, but over time this can accumulate. Services can invoke\nStartReconciliation and EndReconciliation to correct this usage drift, as\ndescribed below:\n1. Service sends StartReconciliation with a timestamp in future for each\n metric that needs to be reconciled. The timestamp being in future allows\n to account for in-flight AllocateQuota and ReleaseQuota requests for the\n same metric.\n2. One Platform records this timestamp and starts tracking subsequent\n AllocateQuota and ReleaseQuota requests until EndReconciliation is\n called.\n3. At or after the time specified in the StartReconciliation, service\n sends EndReconciliation with the usage that needs to be reconciled to.\n4. One Platform adjusts its own record of usage for that metric to the\n value specified in EndReconciliation by taking in to account any\n allocation or release between StartReconciliation and EndReconciliation.\n\nSignals the quota controller that the service wants to perform a usage\nreconciliation as specified in the request.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", + "response": { + "$ref": "StartReconciliationResponse" + }, + "parameterOrder": [ + "serviceName" + ], + "httpMethod": "POST", + "parameters": { + "serviceName": { + "required": true, + "type": "string", + "location": "path", + "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/servicecontrol" + ], + "flatPath": "v1/services/{serviceName}:startReconciliation" + }, + "check": { + "request": { + "$ref": "CheckRequest" + }, + "description": "Checks an operation with Google Service Control to decide whether\nthe given operation should proceed. It should be called before the\noperation is executed.\n\nIf feasible, the client should cache the check results and reuse them for\n60 seconds. In case of server errors, the client can rely on the cached\nresults for longer time.\n\nNOTE: the `CheckRequest` has the size limit of 64KB.\n\nThis method requires the `servicemanagement.services.check` permission\non the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", + "response": { + "$ref": "CheckResponse" + }, + "parameterOrder": [ + "serviceName" + ], + "httpMethod": "POST", + "parameters": { + "serviceName": { + "location": "path", + "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/servicecontrol" + ], + "flatPath": "v1/services/{serviceName}:check", + "path": "v1/services/{serviceName}:check", + "id": "servicecontrol.services.check" + }, + "releaseQuota": { + "request": { + "$ref": "ReleaseQuotaRequest" + }, + "description": "Releases previously allocated quota done through AllocateQuota method.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must** fail-open if the server returns one\nof the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above errors to prohibit any hard dependency\non the quota system.", + "httpMethod": "POST", + "parameterOrder": [ + "serviceName" + ], + "response": { + "$ref": "ReleaseQuotaResponse" + }, + "parameters": { + "serviceName": { + "location": "path", + "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/servicecontrol" + ], + "flatPath": "v1/services/{serviceName}:releaseQuota", + "id": "servicecontrol.services.releaseQuota", + "path": "v1/services/{serviceName}:releaseQuota" + }, + "endReconciliation": { + "path": "v1/services/{serviceName}:endReconciliation", + "id": "servicecontrol.services.endReconciliation", + "description": "Signals the quota controller that service ends the ongoing usage\nreconciliation.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", + "request": { + "$ref": "EndReconciliationRequest" + }, + "response": { + "$ref": "EndReconciliationResponse" + }, + "parameterOrder": [ + "serviceName" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/servicecontrol" + ], + "parameters": { + "serviceName": { + "location": "path", + "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/services/{serviceName}:endReconciliation" + }, + "report": { + "description": "Reports operation results to Google Service Control, such as logs and\nmetrics. It should be called after an operation is completed.\n\nIf feasible, the client should aggregate reporting data for up to 5\nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce data loss during client crashes. Clients should carefully choose\nthe aggregation time window to avoid data loss risk more than 0.01%\nfor business and compliance reasons.\n\nNOTE: the `ReportRequest` has the size limit of 1MB.\n\nThis method requires the `servicemanagement.services.report` permission\non the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", + "request": { + "$ref": "ReportRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "serviceName" + ], + "response": { + "$ref": "ReportResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/servicecontrol" + ], + "parameters": { + "serviceName": { + "location": "path", + "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/services/{serviceName}:report", + "id": "servicecontrol.services.report", + "path": "v1/services/{serviceName}:report" + }, + "allocateQuota": { + "request": { + "$ref": "AllocateQuotaRequest" + }, + "description": "Attempts to allocate quota for the specified consumer. It should be called\nbefore the operation is executed.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must** fail-open if the server returns one\nof the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above errors to prohibit any hard dependency\non the quota system.", + "response": { + "$ref": "AllocateQuotaResponse" + }, + "parameterOrder": [ + "serviceName" + ], + "httpMethod": "POST", + "parameters": { + "serviceName": { + "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", + "required": true, + "type": "string", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/servicecontrol" + ], + "flatPath": "v1/services/{serviceName}:allocateQuota", + "path": "v1/services/{serviceName}:allocateQuota", + "id": "servicecontrol.services.allocateQuota" + } + } + } + }, + "parameters": { + "key": { + "type": "string", + "location": "query", + "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." + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "upload_protocol": { + "type": "string", + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ] + }, + "alt": { + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] + } + }, + "version": "v1", + "baseUrl": "https://servicecontrol.googleapis.com/", + "description": "Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.", + "kind": "discovery#restDescription", + "servicePath": "", + "basePath": "", + "revision": "20170326", + "documentationLink": "https://cloud.google.com/service-control/", + "id": "servicecontrol:v1", "discoveryVersion": "v1", "version_module": "True", "schemas": { + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "id": "Status" + }, "ReportRequest": { "id": "ReportRequest", "description": "Request message for the Report method.", @@ -20,80 +337,79 @@ } } }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object", + "AuditLog": { "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - }, - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "authorizationInfo": { + "description": "Authorization information. If there are multiple\nresources or permissions involved, then there is\none AuthorizationInfo element for each {resource, permission} tuple.", "type": "array", "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" + "$ref": "AuthorizationInfo" } - } - }, - "id": "Status" - }, - "LogEntry": { - "id": "LogEntry", - "description": "An individual log entry.", - "type": "object", - "properties": { - "name": { - "description": "Required. The log to which this log entry belongs. Examples: `\"syslog\"`,\n`\"book_log\"`.", - "type": "string" }, - "insertId": { - "description": "A unique ID for the log entry used for deduplication. If omitted,\nthe implementation will generate one based on operation_id.", + "resourceName": { + "description": "The resource or collection that is the target of the operation.\nThe name is a scheme-less URI, not including the API service name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/books/BOOK_ID\"", "type": "string" }, - "structPayload": { - "description": "The log entry payload, represented as a structure that\nis expressed as a JSON object.", - "type": "object", + "request": { "additionalProperties": { "description": "Properties of the object.", "type": "any" - } + }, + "description": "The operation request. This may not include all request parameters,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.", + "type": "object" }, - "textPayload": { - "description": "The log entry payload, represented as a Unicode string (UTF-8).", - "type": "string" + "requestMetadata": { + "$ref": "RequestMetadata", + "description": "Metadata about the operation." }, - "protoPayload": { + "serviceData": { "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The log entry payload, represented as a protocol buffer that is\nexpressed as a JSON object. You can only pass `protoPayload`\nvalues that belong to a set of approved types.", + "description": "Other service-specific data about the request, response, and other\nactivities.", "type": "object" }, - "timestamp": { - "description": "The time the event described by the log entry occurred. If\nomitted, defaults to operation start time.", - "format": "google-datetime", + "numResponseItems": { + "description": "The number of items returned from a List or Query API method,\nif applicable.", + "format": "int64", "type": "string" }, - "labels": { - "description": "A set of user-defined (key, value) data that provides additional\ninformation about the log entry.", + "status": { + "$ref": "Status", + "description": "The status of the overall operation." + }, + "authenticationInfo": { + "$ref": "AuthenticationInfo", + "description": "Authentication information." + }, + "response": { + "description": "The operation response. This may not include all response elements,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.", "type": "object", "additionalProperties": { - "type": "string" + "description": "Properties of the object.", + "type": "any" } }, + "serviceName": { + "description": "The name of the API service performing the operation. For example,\n`\"datastore.googleapis.com\"`.", + "type": "string" + }, + "methodName": { + "description": "The name of the service method or operation.\nFor API calls, this should be the name of the API method.\nFor example,\n\n \"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingService.DeleteLog\"", + "type": "string" + } + }, + "id": "AuditLog", + "description": "Common audit log format for Google Cloud Platform API operations.\n\n", + "type": "object" + }, + "LogEntry": { + "id": "LogEntry", + "description": "An individual log entry.", + "type": "object", + "properties": { "severity": { - "description": "The severity of the log entry. The default value is\n`LogSeverity.DEFAULT`.", "type": "string", "enumDescriptions": [ "(0) The log entry has no assigned severity level.", @@ -116,73 +432,47 @@ "CRITICAL", "ALERT", "EMERGENCY" - ] - } - } - }, - "AuditLog": { - "id": "AuditLog", - "description": "Common audit log format for Google Cloud Platform API operations.\n\n", - "type": "object", - "properties": { - "requestMetadata": { - "$ref": "RequestMetadata", - "description": "Metadata about the operation." - }, - "serviceData": { - "description": "Other service-specific data about the request, response, and other\nactivities.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } + ], + "description": "The severity of the log entry. The default value is\n`LogSeverity.DEFAULT`." }, - "numResponseItems": { - "description": "The number of items returned from a List or Query API method,\nif applicable.", - "format": "int64", + "name": { + "description": "Required. The log to which this log entry belongs. Examples: `\"syslog\"`,\n`\"book_log\"`.", "type": "string" }, - "status": { - "$ref": "Status", - "description": "The status of the overall operation." - }, - "authenticationInfo": { - "$ref": "AuthenticationInfo", - "description": "Authentication information." + "insertId": { + "description": "A unique ID for the log entry used for deduplication. If omitted,\nthe implementation will generate one based on operation_id.", + "type": "string" }, - "response": { + "structPayload": { + "type": "object", "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "The operation response. This may not include all response elements,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.", - "type": "object" + "description": "The log entry payload, represented as a structure that\nis expressed as a JSON object." }, - "serviceName": { - "description": "The name of the API service performing the operation. For example,\n`\"datastore.googleapis.com\"`.", - "type": "string" - }, - "methodName": { - "description": "The name of the service method or operation.\nFor API calls, this should be the name of the API method.\nFor example,\n\n \"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingService.DeleteLog\"", - "type": "string" + "textPayload": { + "type": "string", + "description": "The log entry payload, represented as a Unicode string (UTF-8)." }, - "authorizationInfo": { - "description": "Authorization information. If there are multiple\nresources or permissions involved, then there is\none AuthorizationInfo element for each {resource, permission} tuple.", - "type": "array", - "items": { - "$ref": "AuthorizationInfo" - } + "protoPayload": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The log entry payload, represented as a protocol buffer that is\nexpressed as a JSON object. You can only pass `protoPayload`\nvalues that belong to a set of approved types.", + "type": "object" }, - "resourceName": { - "description": "The resource or collection that is the target of the operation.\nThe name is a scheme-less URI, not including the API service name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/books/BOOK_ID\"", + "timestamp": { + "description": "The time the event described by the log entry occurred. If\nomitted, defaults to operation start time.", + "format": "google-datetime", "type": "string" }, - "request": { + "labels": { "additionalProperties": { - "description": "Properties of the object.", - "type": "any" + "type": "string" }, - "description": "The operation request. This may not include all request parameters,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generated data, such as file contents.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property.", + "description": "A set of user-defined (key, value) data that provides additional\ninformation about the log entry.", "type": "object" } } @@ -191,27 +481,18 @@ "description": "Represents a single metric value.", "type": "object", "properties": { - "distributionValue": { - "description": "A distribution value.", - "$ref": "Distribution" - }, - "boolValue": { - "description": "A boolean value.", - "type": "boolean" - }, - "endTime": { - "description": "The end of the time period over which this metric value's measurement\napplies.", - "format": "google-datetime", - "type": "string" - }, "startTime": { "description": "The start of the time period over which this metric value's measurement\napplies. The time period has different semantics for different metric\ntypes (cumulative, delta, and gauge). See the metric definition\ndocumentation in the service configuration for details.", "format": "google-datetime", "type": "string" }, "moneyValue": { - "description": "A money value.", - "$ref": "Money" + "$ref": "Money", + "description": "A money value." + }, + "stringValue": { + "description": "A text string value.", + "type": "string" }, "labels": { "additionalProperties": { @@ -220,25 +501,33 @@ "description": "The labels describing the metric value.\nSee comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding relationship.", "type": "object" }, - "stringValue": { - "description": "A text string value.", - "type": "string" - }, "doubleValue": { "description": "A double precision floating point value.", "format": "double", "type": "number" }, "int64Value": { + "type": "string", "description": "A signed 64-bit integer value.", - "format": "int64", + "format": "int64" + }, + "distributionValue": { + "$ref": "Distribution", + "description": "A distribution value." + }, + "boolValue": { + "description": "A boolean value.", + "type": "boolean" + }, + "endTime": { + "description": "The end of the time period over which this metric value's measurement\napplies.", + "format": "google-datetime", "type": "string" } }, "id": "MetricValue" }, "EndReconciliationResponse": { - "id": "EndReconciliationResponse", "type": "object", "properties": { "quotaMetrics": { @@ -249,8 +538,8 @@ } }, "operationId": { - "description": "The same operation_id value used in the EndReconciliationRequest. Used for\nlogging and diagnostics purposes.", - "type": "string" + "type": "string", + "description": "The same operation_id value used in the EndReconciliationRequest. Used for\nlogging and diagnostics purposes." }, "reconciliationErrors": { "description": "Indicates the decision of the reconciliation end.", @@ -263,17 +552,13 @@ "description": "ID of the actual config used to process the request.", "type": "string" } - } + }, + "id": "EndReconciliationResponse" }, "Money": { "description": "Represents an amount of money with its currency type.", "type": "object", "properties": { - "nanos": { - "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer" - }, "units": { "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", "format": "int64", @@ -282,6 +567,11 @@ "currencyCode": { "description": "The 3-letter currency code defined in ISO 4217.", "type": "string" + }, + "nanos": { + "description": "Number of nano (10^-9) units of the amount.\nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negative or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32", + "type": "integer" } }, "id": "Money" @@ -301,15 +591,20 @@ "type": "number" }, "exponentialBuckets": { - "description": "Buckets with exponentially growing width.", - "$ref": "ExponentialBuckets" + "$ref": "ExponentialBuckets", + "description": "Buckets with exponentially growing width." + }, + "minimum": { + "description": "The minimum of the population of values. Ignored if `count` is zero.", + "format": "double", + "type": "number" }, "linearBuckets": { "$ref": "LinearBuckets", "description": "Buckets with constant width." }, - "minimum": { - "description": "The minimum of the population of values. Ignored if `count` is zero.", + "mean": { + "description": "The arithmetic mean of the samples in the distribution. If `count` is\nzero then this field must be zero.", "format": "double", "type": "number" }, @@ -318,11 +613,6 @@ "format": "int64", "type": "string" }, - "mean": { - "description": "The arithmetic mean of the samples in the distribution. If `count` is\nzero then this field must be zero.", - "format": "double", - "type": "number" - }, "bucketCounts": { "description": "The number of samples in each histogram bucket. `bucket_counts` are\noptional. If present, they must sum to the `count` value.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`bucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of trailing zeros may be omitted.", "type": "array", @@ -339,7 +629,6 @@ "id": "Distribution" }, "ExplicitBuckets": { - "id": "ExplicitBuckets", "description": "Describing buckets with arbitrary user-provided width.", "type": "object", "properties": { @@ -351,9 +640,11 @@ "type": "number" } } - } + }, + "id": "ExplicitBuckets" }, "ExponentialBuckets": { + "id": "ExponentialBuckets", "description": "Describing buckets with exponentially growing width.", "type": "object", "properties": { @@ -372,12 +663,9 @@ "format": "double", "type": "number" } - }, - "id": "ExponentialBuckets" + } }, "AuthorizationInfo": { - "description": "Authorization information for the operation.", - "type": "object", "properties": { "resource": { "description": "The resource being accessed, as a REST-style string. For example:\n\n bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID", @@ -392,10 +680,11 @@ "type": "string" } }, - "id": "AuthorizationInfo" + "id": "AuthorizationInfo", + "description": "Authorization information for the operation.", + "type": "object" }, "StartReconciliationResponse": { - "id": "StartReconciliationResponse", "type": "object", "properties": { "quotaMetrics": { @@ -420,20 +709,14 @@ "description": "ID of the actual config used to process the request.", "type": "string" } - } + }, + "id": "StartReconciliationResponse" }, "QuotaProperties": { - "description": "Represents the properties needed for quota operations.", - "type": "object", "properties": { - "limitByIds": { - "additionalProperties": { - "type": "string" - }, - "description": "LimitType IDs that should be used for checking quota. Key in this map\nshould be a valid LimitType string, and the value is the ID to be used. For\nexample, an entry \u003cUSER, 123\u003e will cause all user quota limits to use 123\nas the user ID. See google/api/quota.proto for the definition of LimitType.\nCLIENT_PROJECT: Not supported.\nUSER: Value of this entry will be used for enforcing user-level quota\n limits. If none specified, caller IP passed in the\n servicecontrol.googleapis.com/caller_ip label will be used instead.\n If the server cannot resolve a value for this LimitType, an error\n will be thrown. No validation will be performed on this ID.\nDeprecated: use servicecontrol.googleapis.com/user label to send user ID.", - "type": "object" - }, "quotaMode": { + "description": "Quota mode for this operation.", + "type": "string", "enumDescriptions": [ "Decreases available quota by the cost specified for the operation.\nIf cost is higher than available quota, operation fails and returns\nerror.", "Decreases available quota by the cost specified for the operation.\nIf cost is higher than available quota, operation does not fail and\navailable quota goes down to zero but it returns error.", @@ -445,23 +728,24 @@ "ACQUIRE_BEST_EFFORT", "CHECK", "RELEASE" - ], - "description": "Quota mode for this operation.", - "type": "string" + ] + }, + "limitByIds": { + "description": "LimitType IDs that should be used for checking quota. Key in this map\nshould be a valid LimitType string, and the value is the ID to be used. For\nexample, an entry \u003cUSER, 123\u003e will cause all user quota limits to use 123\nas the user ID. See google/api/quota.proto for the definition of LimitType.\nCLIENT_PROJECT: Not supported.\nUSER: Value of this entry will be used for enforcing user-level quota\n limits. If none specified, caller IP passed in the\n servicecontrol.googleapis.com/caller_ip label will be used instead.\n If the server cannot resolve a value for this LimitType, an error\n will be thrown. No validation will be performed on this ID.\nDeprecated: use servicecontrol.googleapis.com/user label to send user ID.", + "type": "object", + "additionalProperties": { + "type": "string" + } } }, - "id": "QuotaProperties" + "id": "QuotaProperties", + "description": "Represents the properties needed for quota operations.", + "type": "object" }, "LinearBuckets": { - "id": "LinearBuckets", "description": "Describing buckets with constant width.", "type": "object", "properties": { - "numFiniteBuckets": { - "description": "The number of finite buckets. With the underflow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.", - "format": "int32", - "type": "integer" - }, "width": { "description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_finite_buckets, inclusive.\nMust be strictly positive.", "format": "double", @@ -471,11 +755,16 @@ "description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_finite_buckets, inclusive.", "format": "double", "type": "number" + }, + "numFiniteBuckets": { + "description": "The number of finite buckets. With the underflow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.", + "format": "int32", + "type": "integer" } - } + }, + "id": "LinearBuckets" }, "AuthenticationInfo": { - "id": "AuthenticationInfo", "description": "Authentication information for the operation.", "type": "object", "properties": { @@ -487,19 +776,13 @@ "description": "The authority selector specified by the requestor, if any.\nIt is not guaranteed that the principal was allowed to use this authority.", "type": "string" } - } + }, + "id": "AuthenticationInfo" }, "AllocateQuotaResponse": { "description": "Response message for the AllocateQuota method.", "type": "object", "properties": { - "quotaMetrics": { - "description": "Quota metrics to indicate the result of allocation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate quota and allocation quota, the quota limit reached\ncondition will be specified using the following boolean metric:\n \"serviceruntime.googleapis.com/quota/exceeded\"\n\n4. For allocation quota, value for each quota limit associated with\nthe metrics will be specified using the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"", - "type": "array", - "items": { - "$ref": "MetricValueSet" - } - }, "operationId": { "description": "The same operation_id value used in the AllocateQuotaRequest. Used for\nlogging and diagnostics purposes.", "type": "string" @@ -514,6 +797,13 @@ "items": { "$ref": "QuotaError" } + }, + "quotaMetrics": { + "description": "Quota metrics to indicate the result of allocation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate quota and allocation quota, the quota limit reached\ncondition will be specified using the following boolean metric:\n \"serviceruntime.googleapis.com/quota/exceeded\"\n\n4. For allocation quota, value for each quota limit associated with\nthe metrics will be specified using the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"", + "type": "array", + "items": { + "$ref": "MetricValueSet" + } } }, "id": "AllocateQuotaResponse" @@ -524,8 +814,8 @@ "type": "object", "properties": { "serviceConfigId": { - "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.", - "type": "string" + "type": "string", + "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used." }, "releaseOperation": { "$ref": "QuotaOperation", @@ -537,20 +827,18 @@ "description": "Metadata about the request.", "type": "object", "properties": { + "callerIp": { + "type": "string", + "description": "The IP address of the caller." + }, "callerSuppliedUserAgent": { "description": "The user agent of the caller.\nThis information is not authenticated and should be treated accordingly.\nFor example:\n\n+ `google-api-python-client/1.4.0`:\n The request was made by the Google API client for Python.\n+ `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:\n The request was made by the Google Cloud SDK CLI (gcloud).\n+ `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`:\n The request was made from the `my-project` App Engine app.", "type": "string" - }, - "callerIp": { - "description": "The IP address of the caller.", - "type": "string" } }, "id": "RequestMetadata" }, "QuotaError": { - "id": "QuotaError", - "type": "object", "properties": { "subject": { "description": "Subject to whom this error applies. See the specific enum for more details\non this field. For example, \"clientip:\u003cip address of client\u003e\" or\n\"project:\u003cGoogle developer project id\u003e\".", @@ -561,6 +849,8 @@ "type": "string" }, "code": { + "description": "Error code.", + "type": "string", "enumDescriptions": [ "This is never used.", "Quota allocation failed.\nSame as google.rpc.Code.RESOURCE_EXHAUSTED.", @@ -602,14 +892,13 @@ "SERVICE_STATUS_UNAVAILABLE", "BILLING_STATUS_UNAVAILABLE", "QUOTA_SYSTEM_UNAVAILABLE" - ], - "description": "Error code.", - "type": "string" + ] } - } + }, + "id": "QuotaError", + "type": "object" }, "CheckInfo": { - "id": "CheckInfo", "type": "object", "properties": { "unusedArguments": { @@ -619,13 +908,20 @@ "type": "string" } } - } + }, + "id": "CheckInfo" }, "ReleaseQuotaResponse": { - "id": "ReleaseQuotaResponse", "description": "Response message for the ReleaseQuota method.", "type": "object", "properties": { + "quotaMetrics": { + "description": "Quota metrics to indicate the result of release. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric released amount\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For allocation quota, value for each quota limit associated with\nthe metrics will be specified using the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"", + "type": "array", + "items": { + "$ref": "MetricValueSet" + } + }, "operationId": { "description": "The same operation_id value used in the ReleaseQuotaRequest. Used for\nlogging and diagnostics purposes.", "type": "string" @@ -640,32 +936,19 @@ "items": { "$ref": "QuotaError" } - }, - "quotaMetrics": { - "description": "Quota metrics to indicate the result of release. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric released amount\nwill be specified using the following delta metric:\n \"serviceruntime.googleapis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For allocation quota, value for each quota limit associated with\nthe metrics will be specified using the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"", - "type": "array", - "items": { - "$ref": "MetricValueSet" - } } - } + }, + "id": "ReleaseQuotaResponse" }, "AllocateQuotaRequest": { - "id": "AllocateQuotaRequest", "description": "Request message for the AllocateQuota method.", "type": "object", "properties": { - "serviceConfigId": { - "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.", - "type": "string" - }, "allocateOperation": { "$ref": "QuotaOperation", "description": "Operation that describes the quota allocation." }, "allocationMode": { - "description": "Allocation mode for this operation.\nDeprecated: use QuotaMode inside the QuotaOperation.", - "type": "string", "enumDescriptions": [ "", "Allocates quota for the amount specified in the service configuration or\nspecified using the quota_metrics. If the amount is higher than the\navailable quota, allocation error will be returned and no quota will be\nallocated.", @@ -677,27 +960,34 @@ "NORMAL", "BEST_EFFORT", "CHECK_ONLY" - ] + ], + "description": "Allocation mode for this operation.\nDeprecated: use QuotaMode inside the QuotaOperation.", + "type": "string" + }, + "serviceConfigId": { + "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.", + "type": "string" } - } + }, + "id": "AllocateQuotaRequest" }, "MetricValueSet": { - "id": "MetricValueSet", - "description": "Represents a set of metric values in the same metric.\nEach metric value in the set should have a unique combination of start time,\nend time, and label values.", "type": "object", "properties": { + "metricName": { + "description": "The metric name defined in the service configuration.", + "type": "string" + }, "metricValues": { "description": "The values in this metric.", "type": "array", "items": { "$ref": "MetricValue" } - }, - "metricName": { - "description": "The metric name defined in the service configuration.", - "type": "string" } - } + }, + "id": "MetricValueSet", + "description": "Represents a set of metric values in the same metric.\nEach metric value in the set should have a unique combination of start time,\nend time, and label values." }, "ReportError": { "description": "Represents the processing error of one `Operation` in the request.", @@ -718,10 +1008,6 @@ "description": "Defines the errors to be returned in\ngoogle.api.servicecontrol.v1.CheckResponse.check_errors.", "type": "object", "properties": { - "detail": { - "description": "Free-form text providing details on the error cause of the error.", - "type": "string" - }, "code": { "enumDescriptions": [ "This is never used in `CheckResponse`.", @@ -793,6 +1079,10 @@ ], "description": "The error code.", "type": "string" + }, + "detail": { + "description": "Free-form text providing details on the error cause of the error.", + "type": "string" } }, "id": "CheckError" @@ -800,13 +1090,13 @@ "StartReconciliationRequest": { "type": "object", "properties": { + "reconciliationOperation": { + "$ref": "QuotaOperation", + "description": "Operation that describes the quota reconciliation." + }, "serviceConfigId": { "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.", "type": "string" - }, - "reconciliationOperation": { - "description": "Operation that describes the quota reconciliation.", - "$ref": "QuotaOperation" } }, "id": "StartReconciliationRequest" @@ -841,18 +1131,9 @@ "id": "QuotaInfo" }, "CheckRequest": { - "id": "CheckRequest", "description": "Request message for the Check method.", "type": "object", "properties": { - "operation": { - "description": "The operation to be checked.", - "$ref": "Operation" - }, - "requestProjectSettings": { - "description": "Requests the project settings to be returned as part of the check response.", - "type": "boolean" - }, "serviceConfigId": { "description": "Specifies which version of service configuration should be used to process\nthe request.\n\nIf unspecified or no matching version can be found, the\nlatest one will be used.", "type": "string" @@ -860,514 +1141,233 @@ "skipActivationCheck": { "description": "Indicates if service activation check should be skipped for this request.\nDefault behavior is to perform the check and apply relevant quota.", "type": "boolean" - } - } - }, - "QuotaOperation": { - "id": "QuotaOperation", - "description": "Represents information regarding a quota operation.", - "type": "object", - "properties": { - "labels": { - "description": "Labels describing the operation.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "consumerId": { - "description": "Identity of the consumer for whom this quota operation is being performed.\n\nThis can be in one of the following formats:\n project:\u003cproject_id\u003e,\n project_number:\u003cproject_number\u003e,\n api_key:\u003capi_key\u003e.", - "type": "string" - }, - "operationId": { - "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls should carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In scenarios where an\noperation is computed from existing information and an idempotent id is\ndesirable for deduplication purpose, UUID version 5 is recommended. See\nRFC 4122 for details.", - "type": "string" - }, - "quotaMode": { - "enumDescriptions": [ - "", - "For AllocateQuota request, allocates quota for the amount specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nreturned and no quota will be allocated.\nFor ReleaseQuota request, this mode is supported only for precise quota\nlimits. In this case, this operation releases quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the release can make used quota negative, release error\nwill be returned and no quota will be released.", - "For AllocateQuota request, this mode is supported only for imprecise\nquota limits. In this case, the operation allocates quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the amount is higher than the available quota, request does\nnot fail but all available quota will be allocated.\nFor ReleaseQuota request, this mode is supported for both precise quota\nlimits and imprecise quota limits. In this case, this operation releases\nquota for the amount specified in the service configuration or specified\nusing the quota metrics. If the release can make used quota\nnegative, request does not fail but only the used quota will be\nreleased. After the ReleaseQuota request completes, the used quota\nwill be 0, and never goes to negative.", - "For AllocateQuota request, only checks if there is enough quota\navailable and does not change the available quota. No lock is placed on\nthe available quota either. Not supported for ReleaseQuota request." - ], - "enum": [ - "UNSPECIFIED", - "NORMAL", - "BEST_EFFORT", - "CHECK_ONLY" - ], - "description": "Quota mode for this operation.", - "type": "string" - }, - "methodName": { - "description": "Fully qualified name of the API method for which this quota operation is\nrequested. This name is used for matching quota rules or metric rules and\nbilling status rules defined in service configuration. This field is not\nrequired if the quota operation is performed on non-API resources.\n\nExample of an RPC method name:\n google.example.library.v1.LibraryService.CreateShelf", - "type": "string" }, - "quotaMetrics": { - "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configuration.\nThe data type used in the MetricValueSet must agree with\nthe data type specified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names and identical\nlabel value combinations. If a request has such duplicated MetricValue\ninstances, the entire request is rejected with\nan invalid argument error.", - "type": "array", - "items": { - "$ref": "MetricValueSet" - } - } - } - }, - "EndReconciliationRequest": { - "type": "object", - "properties": { - "serviceConfigId": { - "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used.", - "type": "string" - }, - "reconciliationOperation": { - "description": "Operation that describes the quota reconciliation.", - "$ref": "QuotaOperation" - } - }, - "id": "EndReconciliationRequest" - }, - "ReportInfo": { - "id": "ReportInfo", - "type": "object", - "properties": { - "operationId": { - "description": "The Operation.operation_id value from the request.", - "type": "string" - }, - "quotaInfo": { - "description": "Quota usage info when processing the `Operation`.", - "$ref": "QuotaInfo" - } - } - }, - "ReportResponse": { - "id": "ReportResponse", - "description": "Response message for the Report method.", - "type": "object", - "properties": { - "reportErrors": { - "description": "Partial failures, one for each `Operation` in the request that failed\nprocessing. There are three possible combinations of the RPC status:\n\n1. The combination of a successful RPC status and an empty `report_errors`\n list indicates a complete success where all `Operations` in the\n request are processed successfully.\n2. The combination of a successful RPC status and a non-empty\n `report_errors` list indicates a partial success where some\n `Operations` in the request succeeded. Each\n `Operation` that failed processing has a corresponding item\n in this list.\n3. A failed RPC status indicates a general non-deterministic failure.\n When this happens, it's impossible to know which of the\n 'Operations' in the request succeeded or failed.", - "type": "array", - "items": { - "$ref": "ReportError" - } - }, - "reportInfos": { - "description": "Quota usage for each quota release `Operation` request.\n\nFully or partially failed quota release request may or may not be present\nin `report_quota_info`. For example, a failed quota release request will\nhave the current quota usage info when precise quota library returns the\ninfo. A deadline exceeded quota request will not have quota usage info.\n\nIf there is no quota release request, report_quota_info will be empty.\n", - "type": "array", - "items": { - "$ref": "ReportInfo" - } + "operation": { + "$ref": "Operation", + "description": "The operation to be checked." }, - "serviceConfigId": { - "description": "The actual config id used to process the request.", - "type": "string" + "requestProjectSettings": { + "description": "Requests the project settings to be returned as part of the check response.", + "type": "boolean" } - } - }, - "Operation": { - "id": "Operation", - "description": "Represents information regarding an operation.", + }, + "id": "CheckRequest" + }, + "QuotaOperation": { + "description": "Represents information regarding a quota operation.", "type": "object", "properties": { - "metricValueSets": { - "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configuration.\nThe data type used in the MetricValueSet must agree with\nthe data type specified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names and identical\nlabel value combinations. If a request has such duplicated MetricValue\ninstances, the entire request is rejected with\nan invalid argument error.", - "type": "array", - "items": { - "$ref": "MetricValueSet" + "labels": { + "description": "Labels describing the operation.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "quotaProperties": { - "description": "Represents the properties needed for quota check. Applicable only if this\noperation is for a quota check request.", - "$ref": "QuotaProperties" - }, "consumerId": { - "description": "Identity of the consumer who is using the service.\nThis field should be filled in for the operations initiated by a\nconsumer, but not for service-initiated operations that are\nnot related to a specific consumer.\n\nThis can be in one of the following formats:\n project:\u003cproject_id\u003e,\n project_number:\u003cproject_number\u003e,\n api_key:\u003capi_key\u003e.", + "description": "Identity of the consumer for whom this quota operation is being performed.\n\nThis can be in one of the following formats:\n project:\u003cproject_id\u003e,\n project_number:\u003cproject_number\u003e,\n api_key:\u003capi_key\u003e.", "type": "string" }, "operationId": { - "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls\nCheck() and Report() on the same operation, the two calls should carry\nthe same id.\n\nUUID version 4 is recommended, though not required.\nIn scenarios where an operation is computed from existing information\nand an idempotent id is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC 4122 for details.", - "type": "string" - }, - "operationName": { - "description": "Fully qualified name of the operation. Reserved for future use.", - "type": "string" - }, - "endTime": { - "description": "End time of the operation.\nRequired when the operation is used in ServiceController.Report,\nbut optional when the operation is used in ServiceController.Check.", - "format": "google-datetime", + "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls should carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In scenarios where an\noperation is computed from existing information and an idempotent id is\ndesirable for deduplication purpose, UUID version 5 is recommended. See\nRFC 4122 for details.", "type": "string" }, - "startTime": { - "description": "Required. Start time of the operation.", - "format": "google-datetime", - "type": "string" + "methodName": { + "type": "string", + "description": "Fully qualified name of the API method for which this quota operation is\nrequested. This name is used for matching quota rules or metric rules and\nbilling status rules defined in service configuration. This field is not\nrequired if the quota operation is performed on non-API resources.\n\nExample of an RPC method name:\n google.example.library.v1.LibraryService.CreateShelf" }, - "importance": { - "enumDescriptions": [ - "The API implementation may cache and aggregate the data.\nThe data may be lost when rare and unexpected system failures occur.", - "The API implementation doesn't cache and aggregate the data.\nIf the method returns successfully, it's guaranteed that the data has\nbeen persisted in durable storage.", - "In addition to the behavior described in HIGH, DEBUG enables\nadditional validation logic that is only useful during the onboarding\nprocess. This is only available to Google internal services and\nthe service must be whitelisted by chemist-dev@google.com in order\nto use this level." - ], + "quotaMode": { "enum": [ - "LOW", - "HIGH", - "DEBUG" + "UNSPECIFIED", + "NORMAL", + "BEST_EFFORT", + "CHECK_ONLY" ], - "description": "DO NOT USE. This is an experimental field.", - "type": "string" - }, - "resourceContainer": { - "description": "The resource name of the parent of a resource in the resource hierarchy.\n\nThis can be in one of the following formats:\n - “projects/\u003cproject-id or project-number\u003e”\n - “folders/\u003cfolder-id\u003e”\n - “organizations/\u003corganization-id\u003e”", - "type": "string" - }, - "labels": { - "description": "Labels describing the operation. Only the following labels are allowed:\n\n- Labels describing monitored resources as defined in\n the service configuration.\n- Default labels of metric values. When specified, labels defined in the\n metric value override these default.\n- The following labels defined by Google Cloud Platform:\n - `cloud.googleapis.com/location` describing the location where the\n operation happened,\n - `servicecontrol.googleapis.com/user_agent` describing the user agent\n of the API request,\n - `servicecontrol.googleapis.com/service_agent` describing the service\n used to handle the API request (e.g. ESP),\n - `servicecontrol.googleapis.com/platform` describing the platform\n where the API is served (e.g. GAE, GCE, GKE).", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "Quota mode for this operation.", + "type": "string", + "enumDescriptions": [ + "", + "For AllocateQuota request, allocates quota for the amount specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nreturned and no quota will be allocated.\nFor ReleaseQuota request, this mode is supported only for precise quota\nlimits. In this case, this operation releases quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the release can make used quota negative, release error\nwill be returned and no quota will be released.", + "For AllocateQuota request, this mode is supported only for imprecise\nquota limits. In this case, the operation allocates quota for the amount\nspecified in the service configuration or specified using the quota\nmetrics. If the amount is higher than the available quota, request does\nnot fail but all available quota will be allocated.\nFor ReleaseQuota request, this mode is supported for both precise quota\nlimits and imprecise quota limits. In this case, this operation releases\nquota for the amount specified in the service configuration or specified\nusing the quota metrics. If the release can make used quota\nnegative, request does not fail but only the used quota will be\nreleased. After the ReleaseQuota request completes, the used quota\nwill be 0, and never goes to negative.", + "For AllocateQuota request, only checks if there is enough quota\navailable and does not change the available quota. No lock is placed on\nthe available quota either. Not supported for ReleaseQuota request." + ] }, - "logEntries": { - "description": "Represents information to be logged.", + "quotaMetrics": { + "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configuration.\nThe data type used in the MetricValueSet must agree with\nthe data type specified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names and identical\nlabel value combinations. If a request has such duplicated MetricValue\ninstances, the entire request is rejected with\nan invalid argument error.", "type": "array", "items": { - "$ref": "LogEntry" + "$ref": "MetricValueSet" } + } + }, + "id": "QuotaOperation" + }, + "EndReconciliationRequest": { + "type": "object", + "properties": { + "reconciliationOperation": { + "description": "Operation that describes the quota reconciliation.", + "$ref": "QuotaOperation" }, - "userLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "User defined labels for the resource that this operation is associated\nwith.", - "type": "object" + "serviceConfigId": { + "type": "string", + "description": "Specifies which version of service configuration should be used to process\nthe request. If unspecified or no matching version can be found, the latest\none will be used." } - } + }, + "id": "EndReconciliationRequest" }, - "CheckResponse": { - "description": "Response message for the Check method.", + "ReportInfo": { "type": "object", "properties": { "operationId": { - "description": "The same operation_id value used in the CheckRequest.\nUsed for logging and diagnostics purposes.", + "description": "The Operation.operation_id value from the request.", "type": "string" }, - "checkErrors": { - "description": "Indicate the decision of the check.\n\nIf no check errors are present, the service should process the operation.\nOtherwise the service should use the list of errors to determine the\nappropriate action.", - "type": "array", - "items": { - "$ref": "CheckError" - } - }, - "checkInfo": { - "description": "Feedback data returned from the server during processing a Check request.", - "$ref": "CheckInfo" - }, "quotaInfo": { - "description": "Quota information for the check request associated with this response.\n", - "$ref": "QuotaInfo" - }, - "serviceConfigId": { - "description": "The actual config id used to process the request.", - "type": "string" + "$ref": "QuotaInfo", + "description": "Quota usage info when processing the `Operation`." } }, - "id": "CheckResponse" - } - }, - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "protocol": "rest", - "canonicalName": "Service Control", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/servicecontrol": { - "description": "Manage your Google Service Control data" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - } - } - } - }, - "rootUrl": "https://servicecontrol.googleapis.com/", - "ownerDomain": "google.com", - "name": "servicecontrol", - "batchPath": "batch", - "title": "Google Service Control API", - "ownerName": "Google", - "resources": { - "services": { - "methods": { - "startReconciliation": { - "path": "v1/services/{serviceName}:startReconciliation", - "id": "servicecontrol.services.startReconciliation", - "request": { - "$ref": "StartReconciliationRequest" - }, - "description": "Unlike rate quota, allocation quota does not get refilled periodically.\nSo, it is possible that the quota usage as seen by the service differs from\nwhat the One Platform considers the usage is. This is expected to happen\nonly rarely, but over time this can accumulate. Services can invoke\nStartReconciliation and EndReconciliation to correct this usage drift, as\ndescribed below:\n1. Service sends StartReconciliation with a timestamp in future for each\n metric that needs to be reconciled. The timestamp being in future allows\n to account for in-flight AllocateQuota and ReleaseQuota requests for the\n same metric.\n2. One Platform records this timestamp and starts tracking subsequent\n AllocateQuota and ReleaseQuota requests until EndReconciliation is\n called.\n3. At or after the time specified in the StartReconciliation, service\n sends EndReconciliation with the usage that needs to be reconciled to.\n4. One Platform adjusts its own record of usage for that metric to the\n value specified in EndReconciliation by taking in to account any\n allocation or release between StartReconciliation and EndReconciliation.\n\nSignals the quota controller that the service wants to perform a usage\nreconciliation as specified in the request.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", - "response": { - "$ref": "StartReconciliationResponse" - }, - "parameterOrder": [ - "serviceName" - ], - "httpMethod": "POST", - "parameters": { - "serviceName": { - "location": "path", - "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/servicecontrol" - ], - "flatPath": "v1/services/{serviceName}:startReconciliation" - }, - "check": { - "response": { - "$ref": "CheckResponse" - }, - "parameterOrder": [ - "serviceName" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/servicecontrol" - ], - "parameters": { - "serviceName": { - "location": "path", - "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/services/{serviceName}:check", - "path": "v1/services/{serviceName}:check", - "id": "servicecontrol.services.check", - "description": "Checks an operation with Google Service Control to decide whether\nthe given operation should proceed. It should be called before the\noperation is executed.\n\nIf feasible, the client should cache the check results and reuse them for\n60 seconds. In case of server errors, the client can rely on the cached\nresults for longer time.\n\nNOTE: the `CheckRequest` has the size limit of 64KB.\n\nThis method requires the `servicemanagement.services.check` permission\non the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", - "request": { - "$ref": "CheckRequest" - } - }, - "releaseQuota": { - "description": "Releases previously allocated quota done through AllocateQuota method.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must** fail-open if the server returns one\nof the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above errors to prohibit any hard dependency\non the quota system.", - "request": { - "$ref": "ReleaseQuotaRequest" - }, - "response": { - "$ref": "ReleaseQuotaResponse" - }, - "parameterOrder": [ - "serviceName" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/servicecontrol" - ], - "parameters": { - "serviceName": { - "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", - "required": true, - "type": "string", - "location": "path" - } - }, - "flatPath": "v1/services/{serviceName}:releaseQuota", - "path": "v1/services/{serviceName}:releaseQuota", - "id": "servicecontrol.services.releaseQuota" - }, - "endReconciliation": { - "id": "servicecontrol.services.endReconciliation", - "path": "v1/services/{serviceName}:endReconciliation", - "request": { - "$ref": "EndReconciliationRequest" - }, - "description": "Signals the quota controller that service ends the ongoing usage\nreconciliation.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", - "httpMethod": "POST", - "parameterOrder": [ - "serviceName" - ], - "response": { - "$ref": "EndReconciliationResponse" - }, - "parameters": { - "serviceName": { - "location": "path", - "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/servicecontrol" - ], - "flatPath": "v1/services/{serviceName}:endReconciliation" + "id": "ReportInfo" + }, + "Operation": { + "properties": { + "quotaProperties": { + "description": "Represents the properties needed for quota check. Applicable only if this\noperation is for a quota check request.", + "$ref": "QuotaProperties" }, - "report": { - "request": { - "$ref": "ReportRequest" - }, - "description": "Reports operation results to Google Service Control, such as logs and\nmetrics. It should be called after an operation is completed.\n\nIf feasible, the client should aggregate reporting data for up to 5\nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce data loss during client crashes. Clients should carefully choose\nthe aggregation time window to avoid data loss risk more than 0.01%\nfor business and compliance reasons.\n\nNOTE: the `ReportRequest` has the size limit of 1MB.\n\nThis method requires the `servicemanagement.services.report` permission\non the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", - "response": { - "$ref": "ReportResponse" - }, - "parameterOrder": [ - "serviceName" + "consumerId": { + "description": "Identity of the consumer who is using the service.\nThis field should be filled in for the operations initiated by a\nconsumer, but not for service-initiated operations that are\nnot related to a specific consumer.\n\nThis can be in one of the following formats:\n project:\u003cproject_id\u003e,\n project_number:\u003cproject_number\u003e,\n api_key:\u003capi_key\u003e.", + "type": "string" + }, + "operationId": { + "description": "Identity of the operation. This must be unique within the scope of the\nservice that generated the operation. If the service calls\nCheck() and Report() on the same operation, the two calls should carry\nthe same id.\n\nUUID version 4 is recommended, though not required.\nIn scenarios where an operation is computed from existing information\nand an idempotent id is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC 4122 for details.", + "type": "string" + }, + "endTime": { + "description": "End time of the operation.\nRequired when the operation is used in ServiceController.Report,\nbut optional when the operation is used in ServiceController.Check.", + "format": "google-datetime", + "type": "string" + }, + "operationName": { + "description": "Fully qualified name of the operation. Reserved for future use.", + "type": "string" + }, + "startTime": { + "description": "Required. Start time of the operation.", + "format": "google-datetime", + "type": "string" + }, + "importance": { + "enumDescriptions": [ + "The API implementation may cache and aggregate the data.\nThe data may be lost when rare and unexpected system failures occur.", + "The API implementation doesn't cache and aggregate the data.\nIf the method returns successfully, it's guaranteed that the data has\nbeen persisted in durable storage.", + "In addition to the behavior described in HIGH, DEBUG enables\nadditional validation logic that is only useful during the onboarding\nprocess. This is only available to Google internal services and\nthe service must be whitelisted by chemist-dev@google.com in order\nto use this level." ], - "httpMethod": "POST", - "parameters": { - "serviceName": { - "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/servicecontrol" + "enum": [ + "LOW", + "HIGH", + "DEBUG" ], - "flatPath": "v1/services/{serviceName}:report", - "path": "v1/services/{serviceName}:report", - "id": "servicecontrol.services.report" + "description": "DO NOT USE. This is an experimental field.", + "type": "string" }, - "allocateQuota": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/servicecontrol" - ], - "parameters": { - "serviceName": { - "location": "path", - "description": "Name of the service as specified in the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google.api.Service for the definition of a service name.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/services/{serviceName}:allocateQuota", - "path": "v1/services/{serviceName}:allocateQuota", - "id": "servicecontrol.services.allocateQuota", - "description": "Attempts to allocate quota for the specified consumer. It should be called\nbefore the operation is executed.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must** fail-open if the server returns one\nof the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above errors to prohibit any hard dependency\non the quota system.", - "request": { - "$ref": "AllocateQuotaRequest" + "resourceContainer": { + "description": "The resource name of the parent of a resource in the resource hierarchy.\n\nThis can be in one of the following formats:\n - “projects/\u003cproject-id or project-number\u003e”\n - “folders/\u003cfolder-id\u003e”\n - “organizations/\u003corganization-id\u003e”", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" }, - "response": { - "$ref": "AllocateQuotaResponse" + "description": "Labels describing the operation. Only the following labels are allowed:\n\n- Labels describing monitored resources as defined in\n the service configuration.\n- Default labels of metric values. When specified, labels defined in the\n metric value override these default.\n- The following labels defined by Google Cloud Platform:\n - `cloud.googleapis.com/location` describing the location where the\n operation happened,\n - `servicecontrol.googleapis.com/user_agent` describing the user agent\n of the API request,\n - `servicecontrol.googleapis.com/service_agent` describing the service\n used to handle the API request (e.g. ESP),\n - `servicecontrol.googleapis.com/platform` describing the platform\n where the API is served (e.g. GAE, GCE, GKE).", + "type": "object" + }, + "logEntries": { + "description": "Represents information to be logged.", + "type": "array", + "items": { + "$ref": "LogEntry" + } + }, + "userLabels": { + "additionalProperties": { + "type": "string" }, - "parameterOrder": [ - "serviceName" - ], - "httpMethod": "POST" + "description": "User defined labels for the resource that this operation is associated\nwith.", + "type": "object" + }, + "metricValueSets": { + "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configuration.\nThe data type used in the MetricValueSet must agree with\nthe data type specified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names and identical\nlabel value combinations. If a request has such duplicated MetricValue\ninstances, the entire request is rejected with\nan invalid argument error.", + "type": "array", + "items": { + "$ref": "MetricValueSet" + } } - } - } - }, - "parameters": { - "quotaUser": { - "location": "query", - "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.", - "type": "string" - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ] - }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" - }, - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + }, + "id": "Operation", + "description": "Represents information regarding an operation.", + "type": "object" }, - "key": { - "location": "query", - "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.", - "type": "string" + "ReportResponse": { + "description": "Response message for the Report method.", + "type": "object", + "properties": { + "reportInfos": { + "description": "Quota usage for each quota release `Operation` request.\n\nFully or partially failed quota release request may or may not be present\nin `report_quota_info`. For example, a failed quota release request will\nhave the current quota usage info when precise quota library returns the\ninfo. A deadline exceeded quota request will not have quota usage info.\n\nIf there is no quota release request, report_quota_info will be empty.\n", + "type": "array", + "items": { + "$ref": "ReportInfo" + } + }, + "serviceConfigId": { + "type": "string", + "description": "The actual config id used to process the request." + }, + "reportErrors": { + "description": "Partial failures, one for each `Operation` in the request that failed\nprocessing. There are three possible combinations of the RPC status:\n\n1. The combination of a successful RPC status and an empty `report_errors`\n list indicates a complete success where all `Operations` in the\n request are processed successfully.\n2. The combination of a successful RPC status and a non-empty\n `report_errors` list indicates a partial success where some\n `Operations` in the request succeeded. Each\n `Operation` that failed processing has a corresponding item\n in this list.\n3. A failed RPC status indicates a general non-deterministic failure.\n When this happens, it's impossible to know which of the\n 'Operations' in the request succeeded or failed.", + "type": "array", + "items": { + "$ref": "ReportError" + } + } + }, + "id": "ReportResponse" }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" + "CheckResponse": { + "description": "Response message for the Check method.", + "type": "object", + "properties": { + "operationId": { + "description": "The same operation_id value used in the CheckRequest.\nUsed for logging and diagnostics purposes.", + "type": "string" + }, + "checkErrors": { + "description": "Indicate the decision of the check.\n\nIf no check errors are present, the service should process the operation.\nOtherwise the service should use the list of errors to determine the\nappropriate action.", + "type": "array", + "items": { + "$ref": "CheckError" + } + }, + "checkInfo": { + "$ref": "CheckInfo", + "description": "Feedback data returned from the server during processing a Check request." + }, + "quotaInfo": { + "description": "Quota information for the check request associated with this response.\n", + "$ref": "QuotaInfo" + }, + "serviceConfigId": { + "description": "The actual config id used to process the request.", + "type": "string" + } + }, + "id": "CheckResponse" } }, - "version": "v1", - "baseUrl": "https://servicecontrol.googleapis.com/", - "kind": "discovery#restDescription", - "description": "Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.", - "servicePath": "", - "basePath": "", - "revision": "20170319", - "documentationLink": "https://cloud.google.com/service-control/", - "id": "servicecontrol:v1" + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest" } diff --git a/DiscoveryJson/servicemanagement_v1.json b/DiscoveryJson/servicemanagement_v1.json index 4d35c6415c..8a03b9c3c9 100644 --- a/DiscoveryJson/servicemanagement_v1.json +++ b/DiscoveryJson/servicemanagement_v1.json @@ -1,254 +1,272 @@ { - "servicePath": "", - "kind": "discovery#restDescription", + "version": "v1", + "baseUrl": "https://servicemanagement.googleapis.com/", + "canonicalName": "Service Management", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform.read-only": { + "description": "View your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/service.management.readonly": { + "description": "View your Google API service configuration" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + }, + "https://www.googleapis.com/auth/service.management": { + "description": "Manage your Google API service configuration" + } + } + } + }, "description": "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", + "kind": "discovery#restDescription", + "servicePath": "", "rootUrl": "https://servicemanagement.googleapis.com/", "basePath": "", "ownerDomain": "google.com", "name": "servicemanagement", "batchPath": "batch", - "id": "servicemanagement:v1", - "documentationLink": "https://cloud.google.com/service-management/", "revision": "20170317", + "documentationLink": "https://cloud.google.com/service-management/", + "id": "servicemanagement:v1", "title": "Google Service Management API", - "ownerName": "Google", "discoveryVersion": "v1", + "ownerName": "Google", "resources": { - "services": { + "operations": { "methods": { - "generateConfigReport": { - "request": { - "$ref": "GenerateConfigReportRequest" - }, - "description": "Generates and returns a report (errors, warnings and changes from\nexisting configurations) associated with\nGenerateConfigReportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified,\nGenerateConfigReportRequest will contain a single ChangeReport based on the\ncomparison between GenerateConfigReportRequest.new_value and\nGenerateConfigReportRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pushed\nservice configuration.", + "list": { + "description": "Lists service operations that match the specified filter in the request.", "response": { - "$ref": "GenerateConfigReportResponse" + "$ref": "ListOperationsResponse" }, "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" - ], - "flatPath": "v1/services:generateConfigReport", - "path": "v1/services:generateConfigReport", - "id": "servicemanagement.services.generateConfigReport" - }, - "get": { - "description": "Gets a managed service. Authentication is required unless the service is\npublic.", - "response": { - "$ref": "ManagedService" - }, - "parameterOrder": [ - "serviceName" - ], "httpMethod": "GET", "parameters": { - "serviceName": { - "location": "path", - "description": "The name of the service. See the `ServiceManager` overview for naming\nrequirements. For example: `example.googleapis.com`.", - "required": true, + "name": { + "location": "query", + "description": "Not used.", + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", "type": "string" + }, + "pageSize": { + "location": "query", + "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.", + "format": "int32", + "type": "integer" + }, + "filter": { + "description": "A string for filtering Operations.\n The following filter fields are supported:\n\n * serviceName: Required. Only `=` operator is allowed.\n * startTime: The time this job was started, in ISO 8601 format.\n Allowed operators are `\u003e=`, `\u003e`, `\u003c=`, and `\u003c`.\n * status: Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjunction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples:\n\n * `serviceName={some-service}.googleapis.com`\n * `serviceName={some-service}.googleapis.com AND startTime\u003e=\"2017-02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * `serviceName={some-service}.googleapis.com AND (status=done OR startTime\u003e=\"2017-02-01\")`", + "type": "string", + "location": "query" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/service.management", - "https://www.googleapis.com/auth/service.management.readonly" + "https://www.googleapis.com/auth/service.management" ], - "flatPath": "v1/services/{serviceName}", - "path": "v1/services/{serviceName}", - "id": "servicemanagement.services.get" + "flatPath": "v1/operations", + "path": "v1/operations", + "id": "servicemanagement.operations.list" }, - "testIamPermissions": { - "flatPath": "v1/services/{servicesId}:testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "id": "servicemanagement.services.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "request": { - "$ref": "TestIamPermissionsRequest" - }, + "get": { + "flatPath": "v1/operations/{operationsId}", + "id": "servicemanagement.operations.get", + "path": "v1/{+name}", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "httpMethod": "GET", "response": { - "$ref": "TestIamPermissionsResponse" + "$ref": "Operation" }, "parameterOrder": [ - "resource" + "name" ], - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" ], "parameters": { - "resource": { + "name": { "location": "path", - "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "The name of the operation resource.", "required": true, "type": "string", - "pattern": "^services/[^/]+$" + "pattern": "^operations/.+$" } } - }, - "getConfig": { - "httpMethod": "GET", - "parameterOrder": [ - "serviceName" - ], + } + } + }, + "services": { + "methods": { + "getIamPolicy": { + "request": { + "$ref": "GetIamPolicyRequest" + }, + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", "response": { - "$ref": "Service" + "$ref": "Policy" }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", "parameters": { - "view": { - "description": "Specifies which parts of the Service Config should be returned in the\nresponse.", - "type": "string", - "location": "query", - "enum": [ - "BASIC", - "FULL" - ] - }, - "serviceName": { - "location": "path", - "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string" - }, - "configId": { - "description": "The id of the service configuration resource.", "type": "string", - "location": "query" + "pattern": "^services/[^/]+$", + "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/service.management", - "https://www.googleapis.com/auth/service.management.readonly" + "https://www.googleapis.com/auth/service.management" ], - "flatPath": "v1/services/{serviceName}/config", - "id": "servicemanagement.services.getConfig", - "path": "v1/services/{serviceName}/config", - "description": "Gets a service configuration (version) for a managed service." + "flatPath": "v1/services/{servicesId}:getIamPolicy", + "path": "v1/{+resource}:getIamPolicy", + "id": "servicemanagement.services.getIamPolicy" }, - "delete": { - "description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 days, the service will be permanently deleted.\n\nOperation\u003cresponse: google.protobuf.Empty\u003e", - "httpMethod": "DELETE", + "undelete": { + "description": "Revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation\u003cresponse: UndeleteServiceResponse\u003e", "parameterOrder": [ "serviceName" ], "response": { "$ref": "Operation" }, + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" ], "parameters": { "serviceName": { - "location": "path", - "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", + "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, - "flatPath": "v1/services/{serviceName}", - "id": "servicemanagement.services.delete", - "path": "v1/services/{serviceName}" + "flatPath": "v1/services/{serviceName}:undelete", + "path": "v1/services/{serviceName}:undelete", + "id": "servicemanagement.services.undelete" }, - "enable": { - "description": "Enables a service for a project, so it can be used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/authentication) for\nmore information.\n\nOperation\u003cresponse: EnableServiceResponse\u003e", - "request": { - "$ref": "EnableServiceRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "serviceName" - ], + "list": { + "description": "Lists managed services.\n\nReturns all public services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the caller specifies the `consumer_id`, it returns only the\nservices enabled on the consumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".", "response": { - "$ref": "Operation" + "$ref": "ListServicesResponse" }, + "parameterOrder": [], + "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/service.management", + "https://www.googleapis.com/auth/service.management.readonly" ], "parameters": { - "serviceName": { - "description": "Name of the service to enable. Specifying an unknown service name will\ncause the request to fail.", - "required": true, + "consumerId": { + "location": "query", + "description": "Include services consumed by the specified consumer.\n\nThe Google Service Management implementation accepts the following\nforms:\n- project:\u003cproject_id\u003e", + "type": "string" + }, + "pageToken": { + "description": "Token identifying which result to start with; returned by a previous list\ncall.", "type": "string", - "location": "path" + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "Requested size of the next page of data.", + "format": "int32", + "type": "integer" + }, + "producerProjectId": { + "location": "query", + "description": "Include services produced by the specified project.", + "type": "string" } }, - "flatPath": "v1/services/{serviceName}:enable", - "id": "servicemanagement.services.enable", - "path": "v1/services/{serviceName}:enable" + "flatPath": "v1/services", + "path": "v1/services", + "id": "servicemanagement.services.list" }, - "setIamPolicy": { - "flatPath": "v1/services/{servicesId}:setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "id": "servicemanagement.services.setIamPolicy", + "create": { + "flatPath": "v1/services", + "path": "v1/services", + "id": "servicemanagement.services.create", "request": { - "$ref": "SetIamPolicyRequest" + "$ref": "ManagedService" }, - "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "description": "Creates a new managed service.\nPlease note one producer project can own no more than 20 services.\n\nOperation\u003cresponse: ManagedService\u003e", "response": { - "$ref": "Policy" + "$ref": "Operation" }, - "parameterOrder": [ - "resource" - ], + "parameterOrder": [], "httpMethod": "POST", - "parameters": { - "resource": { - "location": "path", - "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", - "required": true, - "type": "string", - "pattern": "^services/[^/]+$" - } - }, + "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" ] }, - "disable": { - "flatPath": "v1/services/{serviceName}:disable", - "path": "v1/services/{serviceName}:disable", - "id": "servicemanagement.services.disable", - "description": "Disables a service for a project, so it can no longer be\nbe used for the project. It prevents accidental usage that may cause\nunexpected billing charges or security leaks.\n\nOperation\u003cresponse: DisableServiceResponse\u003e", - "request": { - "$ref": "DisableServiceRequest" + "generateConfigReport": { + "flatPath": "v1/services:generateConfigReport", + "path": "v1/services:generateConfigReport", + "id": "servicemanagement.services.generateConfigReport", + "request": { + "$ref": "GenerateConfigReportRequest" }, + "description": "Generates and returns a report (errors, warnings and changes from\nexisting configurations) associated with\nGenerateConfigReportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified,\nGenerateConfigReportRequest will contain a single ChangeReport based on the\ncomparison between GenerateConfigReportRequest.new_value and\nGenerateConfigReportRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pushed\nservice configuration.", "response": { - "$ref": "Operation" + "$ref": "GenerateConfigReportResponse" }, - "parameterOrder": [ - "serviceName" - ], + "parameterOrder": [], "httpMethod": "POST", + "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" + ] + }, + "get": { + "httpMethod": "GET", + "response": { + "$ref": "ManagedService" + }, + "parameterOrder": [ + "serviceName" ], "parameters": { "serviceName": { "location": "path", - "description": "Name of the service to disable. Specifying an unknown service name\nwill cause the request to fail.", + "description": "The name of the service. See the `ServiceManager` overview for naming\nrequirements. For example: `example.googleapis.com`.", "required": true, "type": "string" } - } - }, - "getIamPolicy": { - "request": { - "$ref": "GetIamPolicyRequest" }, - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/service.management", + "https://www.googleapis.com/auth/service.management.readonly" + ], + "flatPath": "v1/services/{serviceName}", + "id": "servicemanagement.services.get", + "path": "v1/services/{serviceName}", + "description": "Gets a managed service. Authentication is required unless the service is\npublic." + }, + "testIamPermissions": { "response": { - "$ref": "Policy" + "$ref": "TestIamPermissionsResponse" }, "parameterOrder": [ "resource" @@ -256,22 +274,71 @@ "httpMethod": "POST", "parameters": { "resource": { + "pattern": "^services/[^/]+$", "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", "required": true, - "type": "string", - "pattern": "^services/[^/]+$" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" ], - "flatPath": "v1/services/{servicesId}:getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "id": "servicemanagement.services.getIamPolicy" + "flatPath": "v1/services/{servicesId}:testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "id": "servicemanagement.services.testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning." }, - "undelete": { + "getConfig": { + "httpMethod": "GET", + "response": { + "$ref": "Service" + }, + "parameterOrder": [ + "serviceName" + ], + "parameters": { + "serviceName": { + "location": "path", + "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", + "required": true, + "type": "string" + }, + "configId": { + "location": "query", + "description": "The id of the service configuration resource.", + "type": "string" + }, + "view": { + "description": "Specifies which parts of the Service Config should be returned in the\nresponse.", + "type": "string", + "location": "query", + "enum": [ + "BASIC", + "FULL" + ] + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/service.management", + "https://www.googleapis.com/auth/service.management.readonly" + ], + "flatPath": "v1/services/{serviceName}/config", + "id": "servicemanagement.services.getConfig", + "path": "v1/services/{serviceName}/config", + "description": "Gets a service configuration (version) for a managed service." + }, + "enable": { + "description": "Enables a service for a project, so it can be used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/authentication) for\nmore information.\n\nOperation\u003cresponse: EnableServiceResponse\u003e", + "request": { + "$ref": "EnableServiceRequest" + }, "httpMethod": "POST", "parameterOrder": [ "serviceName" @@ -279,10 +346,35 @@ "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/service.management" + ], + "parameters": { + "serviceName": { + "description": "Name of the service to enable. Specifying an unknown service name will\ncause the request to fail.", + "required": true, + "type": "string", + "location": "path" + } + }, + "flatPath": "v1/services/{serviceName}:enable", + "id": "servicemanagement.services.enable", + "path": "v1/services/{serviceName}:enable" + }, + "delete": { + "description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 days, the service will be permanently deleted.\n\nOperation\u003cresponse: google.protobuf.Empty\u003e", + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "serviceName" + ], + "httpMethod": "DELETE", "parameters": { "serviceName": { "location": "path", - "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", + "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, "type": "string" } @@ -291,75 +383,97 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" ], - "flatPath": "v1/services/{serviceName}:undelete", - "id": "servicemanagement.services.undelete", - "path": "v1/services/{serviceName}:undelete", - "description": "Revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation\u003cresponse: UndeleteServiceResponse\u003e" + "flatPath": "v1/services/{serviceName}", + "path": "v1/services/{serviceName}", + "id": "servicemanagement.services.delete" }, - "list": { - "httpMethod": "GET", - "parameterOrder": [], + "setIamPolicy": { + "request": { + "$ref": "SetIamPolicyRequest" + }, + "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", "response": { - "$ref": "ListServicesResponse" + "$ref": "Policy" }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", "parameters": { - "consumerId": { - "description": "Include services consumed by the specified consumer.\n\nThe Google Service Management implementation accepts the following\nforms:\n- project:\u003cproject_id\u003e", - "type": "string", - "location": "query" - }, - "pageToken": { - "description": "Token identifying which result to start with; returned by a previous list\ncall.", + "resource": { + "location": "path", + "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", + "required": true, "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "Requested size of the next page of data.", - "format": "int32", - "type": "integer" - }, - "producerProjectId": { - "location": "query", - "description": "Include services produced by the specified project.", - "type": "string" + "pattern": "^services/[^/]+$" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/service.management", - "https://www.googleapis.com/auth/service.management.readonly" + "https://www.googleapis.com/auth/service.management" ], - "flatPath": "v1/services", - "id": "servicemanagement.services.list", - "path": "v1/services", - "description": "Lists managed services.\n\nReturns all public services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the caller specifies the `consumer_id`, it returns only the\nservices enabled on the consumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\"." + "flatPath": "v1/services/{servicesId}:setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "id": "servicemanagement.services.setIamPolicy" }, - "create": { + "disable": { "response": { "$ref": "Operation" }, - "parameterOrder": [], + "parameterOrder": [ + "serviceName" + ], "httpMethod": "POST", - "parameters": {}, + "parameters": { + "serviceName": { + "location": "path", + "description": "Name of the service to disable. Specifying an unknown service name\nwill cause the request to fail.", + "required": true, + "type": "string" + } + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/service.management" ], - "flatPath": "v1/services", - "path": "v1/services", - "id": "servicemanagement.services.create", + "flatPath": "v1/services/{serviceName}:disable", + "path": "v1/services/{serviceName}:disable", + "id": "servicemanagement.services.disable", "request": { - "$ref": "ManagedService" + "$ref": "DisableServiceRequest" }, - "description": "Creates a new managed service.\nPlease note one producer project can own no more than 20 services.\n\nOperation\u003cresponse: ManagedService\u003e" + "description": "Disables a service for a project, so it can no longer be\nbe used for the project. It prevents accidental usage that may cause\nunexpected billing charges or security leaks.\n\nOperation\u003cresponse: DisableServiceResponse\u003e" } }, "resources": { "rollouts": { "methods": { "list": { + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/service.management", + "https://www.googleapis.com/auth/service.management.readonly" + ], + "parameters": { + "serviceName": { + "location": "path", + "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", + "required": true, + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The token of the page to retrieve.", + "type": "string" + }, + "pageSize": { + "description": "The max number of items to include in the response list.", + "format": "int32", + "type": "integer", + "location": "query" + } + }, "flatPath": "v1/services/{serviceName}/rollouts", "id": "servicemanagement.services.rollouts.list", "path": "v1/services/{serviceName}/rollouts", @@ -370,23 +484,32 @@ ], "response": { "$ref": "ListServiceRolloutsResponse" + } + }, + "get": { + "flatPath": "v1/services/{serviceName}/rollouts/{rolloutId}", + "path": "v1/services/{serviceName}/rollouts/{rolloutId}", + "id": "servicemanagement.services.rollouts.get", + "description": "Gets a service configuration rollout.", + "response": { + "$ref": "Rollout" }, + "parameterOrder": [ + "serviceName", + "rolloutId" + ], + "httpMethod": "GET", "parameters": { - "pageSize": { - "description": "The max number of items to include in the response list.", - "format": "int32", - "type": "integer", - "location": "query" - }, "serviceName": { "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, "type": "string", "location": "path" }, - "pageToken": { - "location": "query", - "description": "The token of the page to retrieve.", + "rolloutId": { + "location": "path", + "description": "The id of the rollout resource.", + "required": true, "type": "string" } }, @@ -397,54 +520,20 @@ "https://www.googleapis.com/auth/service.management.readonly" ] }, - "get": { - "description": "Gets a service configuration rollout.", - "httpMethod": "GET", + "create": { + "httpMethod": "POST", "parameterOrder": [ - "serviceName", - "rolloutId" + "serviceName" ], "response": { - "$ref": "Rollout" + "$ref": "Operation" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/service.management", - "https://www.googleapis.com/auth/service.management.readonly" - ], "parameters": { "serviceName": { "location": "path", "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, "type": "string" - }, - "rolloutId": { - "description": "The id of the rollout resource.", - "required": true, - "type": "string", - "location": "path" - } - }, - "flatPath": "v1/services/{serviceName}/rollouts/{rolloutId}", - "id": "servicemanagement.services.rollouts.get", - "path": "v1/services/{serviceName}/rollouts/{rolloutId}" - }, - "create": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "serviceName" - ], - "httpMethod": "POST", - "parameters": { - "serviceName": { - "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", - "required": true, - "type": "string", - "location": "path" } }, "scopes": [ @@ -452,8 +541,8 @@ "https://www.googleapis.com/auth/service.management" ], "flatPath": "v1/services/{serviceName}/rollouts", - "path": "v1/services/{serviceName}/rollouts", "id": "servicemanagement.services.rollouts.create", + "path": "v1/services/{serviceName}/rollouts", "request": { "$ref": "Rollout" }, @@ -467,10 +556,10 @@ "flatPath": "v1/services/{serviceName}/configs:submit", "id": "servicemanagement.services.configs.submit", "path": "v1/services/{serviceName}/configs:submit", + "description": "Creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source files (for example: OpenAPI\nSpecification). This method stores the source configurations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperation\u003cresponse: SubmitConfigSourceResponse\u003e", "request": { "$ref": "SubmitConfigSourceRequest" }, - "description": "Creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source files (for example: OpenAPI\nSpecification). This method stores the source configurations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperation\u003cresponse: SubmitConfigSourceResponse\u003e", "httpMethod": "POST", "parameterOrder": [ "serviceName" @@ -478,6 +567,10 @@ "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/service.management" + ], "parameters": { "serviceName": { "location": "path", @@ -485,38 +578,33 @@ "required": true, "type": "string" } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" - ] + } }, "list": { - "description": "Lists the history of the service configuration for a managed service,\nfrom the newest to the oldest.", + "httpMethod": "GET", "response": { "$ref": "ListServiceConfigsResponse" }, "parameterOrder": [ "serviceName" ], - "httpMethod": "GET", "parameters": { - "pageSize": { - "location": "query", - "description": "The max number of items to include in the response list.", - "format": "int32", - "type": "integer" - }, "serviceName": { - "location": "path", - "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, - "type": "string" + "type": "string", + "location": "path", + "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`." }, "pageToken": { "description": "The token of the page to retrieve.", "type": "string", "location": "query" + }, + "pageSize": { + "location": "query", + "description": "The max number of items to include in the response list.", + "format": "int32", + "type": "integer" } }, "scopes": [ @@ -526,11 +614,13 @@ "https://www.googleapis.com/auth/service.management.readonly" ], "flatPath": "v1/services/{serviceName}/configs", + "id": "servicemanagement.services.configs.list", "path": "v1/services/{serviceName}/configs", - "id": "servicemanagement.services.configs.list" + "description": "Lists the history of the service configuration for a managed service,\nfrom the newest to the oldest." }, "get": { "description": "Gets a service configuration (version) for a managed service.", + "httpMethod": "GET", "response": { "$ref": "Service" }, @@ -538,13 +628,18 @@ "serviceName", "configId" ], - "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/service.management", + "https://www.googleapis.com/auth/service.management.readonly" + ], "parameters": { "serviceName": { - "location": "path", "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "configId": { "description": "The id of the service configuration resource.", @@ -562,118 +657,59 @@ ] } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only", - "https://www.googleapis.com/auth/service.management", - "https://www.googleapis.com/auth/service.management.readonly" - ], "flatPath": "v1/services/{serviceName}/configs/{configId}", - "path": "v1/services/{serviceName}/configs/{configId}", - "id": "servicemanagement.services.configs.get" + "id": "servicemanagement.services.configs.get", + "path": "v1/services/{serviceName}/configs/{configId}" }, "create": { - "description": "Creates a new service configuration (version) for a managed service.\nThis method only stores the service configuration. To roll out the service\nconfiguration to backend systems please call\nCreateServiceRollout.", + "flatPath": "v1/services/{serviceName}/configs", + "path": "v1/services/{serviceName}/configs", + "id": "servicemanagement.services.configs.create", "request": { "$ref": "Service" }, - "httpMethod": "POST", - "parameterOrder": [ - "serviceName" - ], + "description": "Creates a new service configuration (version) for a managed service.\nThis method only stores the service configuration. To roll out the service\nconfiguration to backend systems please call\nCreateServiceRollout.", "response": { "$ref": "Service" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" + "parameterOrder": [ + "serviceName" ], + "httpMethod": "POST", "parameters": { "serviceName": { - "location": "path", "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements. For example: `example.googleapis.com`.", "required": true, - "type": "string" + "type": "string", + "location": "path" } }, - "flatPath": "v1/services/{serviceName}/configs", - "id": "servicemanagement.services.configs.create", - "path": "v1/services/{serviceName}/configs" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/service.management" + ] } } } } - }, - "operations": { - "methods": { - "list": { - "flatPath": "v1/operations", - "path": "v1/operations", - "id": "servicemanagement.operations.list", - "description": "Lists service operations that match the specified filter in the request.", - "response": { - "$ref": "ListOperationsResponse" - }, - "parameterOrder": [], - "httpMethod": "GET", - "parameters": { - "filter": { - "description": "A string for filtering Operations.\n The following filter fields are supported:\n\n * serviceName: Required. Only `=` operator is allowed.\n * startTime: The time this job was started, in ISO 8601 format.\n Allowed operators are `\u003e=`, `\u003e`, `\u003c=`, and `\u003c`.\n * status: Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjunction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples:\n\n * `serviceName={some-service}.googleapis.com`\n * `serviceName={some-service}.googleapis.com AND startTime\u003e=\"2017-02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * `serviceName={some-service}.googleapis.com AND (status=done OR startTime\u003e=\"2017-02-01\")`", - "type": "string", - "location": "query" - }, - "name": { - "location": "query", - "description": "Not used.", - "type": "string" - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.", - "format": "int32", - "type": "integer" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" - ], - "parameters": { - "name": { - "location": "path", - "description": "The name of the operation resource.", - "required": true, - "type": "string", - "pattern": "^operations/.+$" - } - }, - "flatPath": "v1/operations/{operationsId}", - "id": "servicemanagement.operations.get", - "path": "v1/{+name}" - } - } } }, "parameters": { + "key": { + "location": "query", + "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.", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, "pp": { "description": "Pretty-print response.", "type": "boolean", @@ -681,19 +717,19 @@ "location": "query" }, "oauth_token": { + "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "type": "string" }, "bearer_token": { + "location": "query", "description": "OAuth bearer token.", - "type": "string", - "location": "query" + "type": "string" }, "upload_protocol": { + "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "type": "string" }, "prettyPrint": { "location": "query", @@ -702,14 +738,14 @@ "default": "true" }, "uploadType": { + "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "type": "string" }, "fields": { + "type": "string", "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "description": "Selector specifying which fields to include in a partial response." }, "$.xgafv": { "description": "V1 error format.", @@ -730,918 +766,867 @@ "type": "string" }, "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" - ] - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "quotaUser": { - "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.", + ], "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], "location": "query" } }, "schemas": { - "ConfigFile": { - "description": "Generic specification of a source configuration file", + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "fileContents": { - "description": "The bytes that constitute the file.", - "format": "byte", + "response": { + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", "type": "string" }, - "filePath": { - "description": "The file name of the configuration file (full or relative path).", - "type": "string" + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." }, - "fileType": { - "description": "The type of configuration file this represents.", - "type": "string", - "enumDescriptions": [ - "Unknown file type.", - "YAML-specification of service.", - "OpenAPI specification, serialized in JSON.", - "OpenAPI specification, serialized in YAML.", - "FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto file, the following command would put the value\nin a new file named out.pb.\n\n$protoc --include_imports --include_source_info test.proto -o out.pb" - ], - "enum": [ - "FILE_TYPE_UNSPECIFIED", - "SERVICE_CONFIG_YAML", - "OPEN_API_JSON", - "OPEN_API_YAML", - "FILE_DESCRIPTOR_SET_PROTO" - ] + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" + }, + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" } }, - "id": "ConfigFile" + "id": "Operation" }, - "MonitoredResourceDescriptor": { - "description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API.", + "Page": { + "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.", "type": "object", "properties": { - "labels": { - "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.", + "subpages": { + "description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.", "type": "array", "items": { - "$ref": "LabelDescriptor" + "$ref": "Page" } }, "name": { - "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.", - "type": "string" - }, - "displayName": { - "description": "Optional. A concise name for the monitored resource type that might be\ndisplayed in user interfaces. It should be a Title Cased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Google Cloud SQL Database\"`.", - "type": "string" - }, - "description": { - "description": "Optional. A detailed description of the monitored resource type that might\nbe used in documentation.", + "description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocumentation. For example:\n\u003cpre\u003e\u003ccode\u003epages:\n- name: Tutorial\n content: (== include tutorial.md ==)\n subpages:\n - name: Java\n content: (== include tutorial_java.md ==)\n\u003c/code\u003e\u003c/pre\u003e\nYou can reference `Java` page using Markdown reference link syntax:\n`Java`.", "type": "string" }, - "type": { - "description": "Required. The monitored resource type. For example, the type\n`\"cloudsql_database\"` represents databases in Google Cloud SQL.\nThe maximum length of this value is 256 characters.", + "content": { + "description": "The Markdown content of the page. You can use \u003ccode\u003e(== include {path} ==)\u003c/code\u003e\nto include content from a Markdown file.", "type": "string" } }, - "id": "MonitoredResourceDescriptor" + "id": "Page" }, - "CustomErrorRule": { - "description": "A custom error rule.", + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "isErrorType": { - "description": "Mark this message as possible payload in error response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.", - "type": "boolean" + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } }, - "selector": { - "description": "Selects messages to which this rule applies.\n\nRefer to selector for syntax details.", - "type": "string" - } - }, - "id": "CustomErrorRule" - }, - "MediaDownload": { - "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", - "type": "object", - "properties": { - "enabled": { - "description": "Whether download is enabled.", - "type": "boolean" + "code": { + "type": "integer", + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32" }, - "downloadService": { - "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.", + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", "type": "string" } }, - "id": "MediaDownload" + "id": "Status" }, - "ChangeReport": { - "description": "Change report associated with a particular service configuration.\n\nIt contains a list of ConfigChanges based on the comparison between\ntwo service configurations.", + "Binding": { + "description": "Associates `members` with a `role`.", "type": "object", "properties": { - "configChanges": { - "description": "List of changes between two service configurations.\nThe changes will be alphabetically sorted based on the identifier\nof each change.\nA ConfigChange identifier is a dot separated path to the configuration.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restriction", + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", "type": "array", "items": { - "$ref": "ConfigChange" + "type": "string" } - } - }, - "id": "ChangeReport" - }, - "DisableServiceRequest": { - "description": "Request message for DisableService method.", - "type": "object", - "properties": { - "consumerId": { - "description": "The identity of consumer resource which service disablement will be\napplied to.\n\nThe Google Service Management implementation accepts the following\nforms:\n- \"project:\u003cproject_id\u003e\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", - "type": "string" - } - }, - "id": "DisableServiceRequest" - }, - "SubmitConfigSourceResponse": { - "description": "Response message for SubmitConfigSource method.", - "type": "object", - "properties": { - "serviceConfig": { - "$ref": "Service", - "description": "The generated service configuration." - } - }, - "id": "SubmitConfigSourceResponse" - }, - "MediaUpload": { - "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", - "type": "object", - "properties": { - "uploadService": { - "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for upload.", - "type": "string" }, - "enabled": { - "description": "Whether upload is enabled.", - "type": "boolean" - } - }, - "id": "MediaUpload" - }, - "Advice": { - "description": "Generated advice about this change, used for providing more\ninformation about how a change will affect the existing service.", - "type": "object", - "properties": { - "description": { - "description": "Useful description for why this advice was applied and what actions should\nbe taken to mitigate any implied risks.", + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", "type": "string" } }, - "id": "Advice" + "id": "Binding" }, - "ManagedService": { - "description": "The full representation of a Service that is managed by\nGoogle Service Management.", + "AuthProvider": { + "description": "Configuration for an anthentication provider, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", "type": "object", "properties": { - "serviceName": { - "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements.", + "id": { + "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstore_auth\".", "type": "string" }, - "producerProjectId": { - "description": "ID of the project that produces and owns this service.", - "type": "string" - } - }, - "id": "ManagedService" - }, - "UsageRule": { - "description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the service. Unregistered\ncalls are calls that do not contain consumer project identity.\n(Example: calls that do not contain an API key).\nBy default, API methods do not allow unregistered calls, and each method call\nmust be identified by a consumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\nExample of an API that wants to allow unregistered calls for entire service.\n\n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_calls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryService.CreateBook\"\n allow_unregistered_calls: true", - "type": "object", - "properties": { - "selector": { - "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.", + "issuer": { + "description": "Identifies the principal that issued the JWT. See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.com\nExample: 1234567-compute@developer.gserviceaccount.com", "type": "string" }, - "allowUnregisteredCalls": { - "description": "True, if the method allows unregistered calls; false otherwise.", - "type": "boolean" - } - }, - "id": "UsageRule" - }, - "AuthRequirement": { - "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", - "type": "object", - "properties": { - "audiences": { - "description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is\nimplemented and accepted in all the runtime components.\n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", + "jwksUri": { + "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", "type": "string" }, - "providerId": { - "description": "id from authentication provider.\n\nExample:\n\n provider_id: bookstore_auth", + "audiences": { + "description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", "type": "string" } }, - "id": "AuthRequirement" + "id": "AuthProvider" }, - "TrafficPercentStrategy": { - "description": "Strategy that specifies how Google Service Control should select\ndifferent\nversions of service configurations based on traffic percentage.\n\nOne example of how to gradually rollout a new service configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_strategy: {\n percentages: {\n \"example.googleapis.com/20160206\": 100.00\n }\n }\n }", - "type": "object", + "Service": { "properties": { - "percentages": { - "description": "Maps service configuration IDs to their corresponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 100.0.", - "type": "object", - "additionalProperties": { - "format": "double", - "type": "number" + "usage": { + "description": "Configuration controlling usage of this service.", + "$ref": "Usage" + }, + "metrics": { + "description": "Defines the metrics used by this service.", + "type": "array", + "items": { + "$ref": "MetricDescriptor" } - } - }, - "id": "TrafficPercentStrategy" - }, - "Documentation": { - "description": "`Documentation` provides the information for describing a service.\n\nExample:\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: \u003e\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: \u003e\n ...\n - selector: google.calendar.Calendar.Put\n description: \u003e\n ...\n\u003c/code\u003e\u003c/pre\u003e\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n\u003cpre\u003e\u003ccode\u003e[fully.qualified.proto.name][]\u003c/code\u003e\u003c/pre\u003e\nTo override the display text used for the link, this can be used:\n\u003cpre\u003e\u003ccode\u003e[display text][fully.qualified.proto.name]\u003c/code\u003e\u003c/pre\u003e\nText can be excluded from doc using the following notation:\n\u003cpre\u003e\u003ccode\u003e(-- internal comment --)\u003c/code\u003e\u003c/pre\u003e\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n\u003cpre\u003e\u003ccode\u003e(--BETA: comment for BETA users --)\u003c/code\u003e\u003c/pre\u003e\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n\u003cpre\u003e\u003ccode\u003e(== include path/to/file ==)\u003c/code\u003e\u003c/pre\u003e\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n\u003cpre\u003e\u003ccode\u003e(== resource_for v1.shelves.books ==)\u003c/code\u003e\u003c/pre\u003e\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.", - "type": "object", - "properties": { - "summary": { - "description": "A short summary of what the service does. Can only be provided by\nplain text.", - "type": "string" }, - "documentationRootUrl": { - "description": "The URL to the root of documentation.", + "authentication": { + "$ref": "Authentication", + "description": "Auth configuration." + }, + "experimental": { + "$ref": "Experimental", + "description": "Experimental configuration." + }, + "control": { + "$ref": "Control", + "description": "Configuration for the service control plane." + }, + "configVersion": { + "description": "The version of the service configuration. The config version may\ninfluence interpretation of the configuration, for example, to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.", + "format": "uint32", + "type": "integer" + }, + "monitoring": { + "$ref": "Monitoring", + "description": "Monitoring configuration." + }, + "producerProjectId": { + "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration,\nmanage consumption of the service, etc.", "type": "string" }, - "rules": { - "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "systemTypes": { + "description": "A list of all proto message types included in this API service.\nIt serves similar purpose as [google.api.Service.types], except that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.", "type": "array", "items": { - "$ref": "DocumentationRule" + "$ref": "Type" } }, - "overview": { - "description": "Declares a single overview page. For example:\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: ...\n overview: (== include overview.md ==)\n\u003c/code\u003e\u003c/pre\u003e\nThis is a shortcut for the following declaration (using pages style):\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: ...\n pages:\n - name: Overview\n content: (== include overview.md ==)\n\u003c/code\u003e\u003c/pre\u003e\nNote: you cannot specify both `overview` field and `pages` field.", + "visibility": { + "description": "API visibility configuration.", + "$ref": "Visibility" + }, + "name": { + "description": "The DNS address at which this service is available,\ne.g. `calendar.googleapis.com`.", "type": "string" }, - "pages": { - "description": "The top level pages for the documentation set.", + "customError": { + "$ref": "CustomError", + "description": "Custom error configuration." + }, + "title": { + "description": "The product title associated with this service.", + "type": "string" + }, + "endpoints": { "type": "array", "items": { - "$ref": "Page" + "$ref": "Endpoint" + }, + "description": "Configuration for network endpoints. If this is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs." + }, + "apis": { + "description": "A list of API interfaces exported by this service. Only the `name` field\nof the google.protobuf.Api needs to be provided by the configuration\nauthor, as the remaining fields will be derived from the IDL during the\nnormalization process. It is an error to specify an API interface here\nwhich cannot be resolved against the associated IDL files.", + "type": "array", + "items": { + "$ref": "Api" } - } - }, - "id": "Documentation" - }, - "Condition": { - "description": "A condition to be met.", - "type": "object", - "properties": { - "iam": { - "description": "Trusted attributes supplied by the IAM system.", - "type": "string", - "enumDescriptions": [ - "Default non-attribute.", - "Either principal or (if present) authority selector.", - "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", - "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.", - "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported." - ], - "enum": [ - "NO_ATTR", - "AUTHORITY", - "ATTRIBUTION", - "APPROVER", - "JUSTIFICATION_TYPE" - ] }, - "values": { - "description": "The objects of the condition. This is mutually exclusive with 'value'.", + "logs": { + "description": "Defines the logs used by this service.", "type": "array", "items": { - "type": "string" + "$ref": "LogDescriptor" } }, - "op": { - "enumDescriptions": [ - "Default no-op.", - "DEPRECATED. Use IN instead.", - "DEPRECATED. Use NOT_IN instead.", - "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", - "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", - "Subject is discharged" - ], - "enum": [ - "NO_OP", - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "DISCHARGED" - ], - "description": "An operator to apply the subject with.", - "type": "string" + "types": { + "description": "A list of all proto message types included in this API service.\nTypes referenced directly or indirectly by the `apis` are\nautomatically included. Messages which are not referenced but\nshall be included, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32", + "type": "array", + "items": { + "$ref": "Type" + } }, - "svc": { - "description": "Trusted attributes discharged by the service.", - "type": "string" + "sourceInfo": { + "$ref": "SourceInfo", + "description": "Output only. The source information for this configuration if available." }, - "value": { - "description": "DEPRECATED. Use 'values' instead.", - "type": "string" + "http": { + "$ref": "Http", + "description": "HTTP configuration." }, - "sys": { - "enumDescriptions": [ - "Default non-attribute type", - "Region of the resource", - "Service name", - "Resource name", - "IP address of the caller" - ], - "enum": [ - "NO_ATTR", - "REGION", - "SERVICE", - "NAME", - "IP" - ], - "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", - "type": "string" - } - }, - "id": "Condition" - }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", - "type": "object", - "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", + "backend": { + "$ref": "Backend", + "description": "API backend configuration." + }, + "systemParameters": { + "$ref": "SystemParameters", + "description": "System parameter configuration." + }, + "documentation": { + "$ref": "Documentation", + "description": "Additional API documentation." + }, + "logging": { + "$ref": "Logging", + "description": "Logging configuration." + }, + "monitoredResources": { + "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.", "type": "array", "items": { - "type": "string" + "$ref": "MonitoredResourceDescriptor" } }, - "logType": { - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "description": "The log type that this config enables.", + "enums": { + "description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum", + "type": "array", + "items": { + "$ref": "Enum" + } + }, + "context": { + "$ref": "Context", + "description": "Context configuration." + }, + "id": { + "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.", "type": "string" } }, - "id": "AuditLogConfig" + "id": "Service", + "description": "`Service` is the root object of Google service configuration schema. It\ndescribes basic information about a service, such as the name and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspecific aspect, such as auth. See each proto message definition for details.\n\nExample:\n\n type: google.api.Service\n config_version: 3\n name: calendar.googleapis.com\n title: Google Calendar API\n apis:\n - name: google.calendar.v3.Calendar\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", + "type": "object" }, - "ConfigSource": { - "description": "Represents a source file which is used to generate the service configuration\ndefined by `google.api.Service`.", + "EnumValue": { + "description": "Enum value definition.", "type": "object", "properties": { - "id": { - "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.", + "name": { + "description": "Enum value name.", "type": "string" }, - "files": { - "description": "Set of source configuration files that are used to generate a service\nconfiguration (`google.api.Service`).", + "options": { "type": "array", "items": { - "$ref": "ConfigFile" - } + "$ref": "Option" + }, + "description": "Protocol buffer options." + }, + "number": { + "description": "Enum value number.", + "format": "int32", + "type": "integer" } }, - "id": "ConfigSource" + "id": "EnumValue" }, - "AuthenticationRule": { - "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include more than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.", + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", "type": "object", "properties": { - "oauth": { - "$ref": "OAuthRequirements", - "description": "The requirements for OAuth credentials." + "nextPageToken": { + "type": "string", + "description": "The standard List next-page token." }, - "requirements": { - "description": "Requirements for additional authentication providers.", + "operations": { + "description": "A list of operations that matches the specified filter in the request.", "type": "array", "items": { - "$ref": "AuthRequirement" + "$ref": "Operation" } - }, - "selector": { - "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", - "type": "string" - }, - "allowWithoutCredential": { - "description": "Whether to allow requests without a credential. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control environment is\nspecified, each incoming request **must** be associated with a service\nconsumer. This can be done by passing an API key that belongs to a consumer\nproject.", - "type": "boolean" } }, - "id": "AuthenticationRule" + "id": "ListOperationsResponse" }, - "BackendRule": { - "description": "A backend rule provides configuration for an individual API element.", + "CustomHttpPattern": { + "description": "A custom pattern is used for defining custom HTTP verb.", "type": "object", "properties": { - "address": { - "description": "The address of the API backend.", + "path": { + "description": "The path matched by this custom verb.", "type": "string" }, - "selector": { - "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", + "kind": { + "description": "The name of this custom HTTP verb.", "type": "string" - }, - "deadline": { - "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.", - "format": "double", - "type": "number" - } - }, - "id": "BackendRule" - }, - "UndeleteServiceResponse": { - "description": "Response message for UndeleteService method.", - "type": "object", - "properties": { - "service": { - "$ref": "ManagedService", - "description": "Revived service resource." } }, - "id": "UndeleteServiceResponse" + "id": "CustomHttpPattern" }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "OperationMetadata": { + "description": "The metadata associated with a long running operation resource.", "type": "object", "properties": { - "iamOwned": { - "type": "boolean" + "startTime": { + "description": "The start time of the operation.", + "format": "google-datetime", + "type": "string" }, - "rules": { - "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", + "resourceNames": { + "description": "The full name of the resources that this operation is directly\nassociated with.", "type": "array", "items": { - "$ref": "Rule" + "type": "string" } }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", + "steps": { + "description": "Detailed status information for each step. The order is undetermined.", "type": "array", "items": { - "$ref": "AuditConfig" + "$ref": "Step" } }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "progressPercentage": { + "description": "Percentage of completion of this operation, ranging from 0 to 100.", + "format": "int32", + "type": "integer" + } + }, + "id": "OperationMetadata" + }, + "SystemParameterRule": { + "description": "Define a system parameter rule mapping system parameter definitions to\nmethods.", + "type": "object", + "properties": { + "parameters": { + "description": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.", "type": "array", "items": { - "$ref": "Binding" + "$ref": "SystemParameter" } }, - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" + "selector": { + "type": "string", + "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details." } }, - "id": "Policy" + "id": "SystemParameterRule" }, - "Api": { - "description": "Api is a light-weight descriptor for a protocol buffer service.", + "HttpRule": { "type": "object", "properties": { - "syntax": { - "description": "The source syntax of the service.", - "type": "string", - "enumDescriptions": [ - "Syntax `proto2`.", - "Syntax `proto3`." - ], - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ] + "responseBody": { + "description": "The name of the response field whose value is mapped to the HTTP body of\nresponse. Other response fields are ignored. This field is optional. When\nnot set, the response message will be used as HTTP body of response.\nNOTE: the referred field must be not a repeated field and must be present\nat the top-level of response message type.", + "type": "string" }, - "sourceContext": { - "description": "Source context for the protocol buffer service represented by this\nmessage.", - "$ref": "SourceContext" + "mediaUpload": { + "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration for Bytestream methods.", + "$ref": "MediaUpload" }, - "version": { - "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor version\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the field is not empty, the version in the\npackage name will be verified to be consistent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nversioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version numbers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also reflected in the package name of the\nAPI, which must end in `v\u003cmajor-version\u003e`, as in\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n", + "selector": { + "description": "Selects methods to which this rule applies.\n\nRefer to selector for syntax details.", "type": "string" }, - "mixins": { - "description": "Included APIs. See Mixin.", - "type": "array", - "items": { - "$ref": "Mixin" - } + "custom": { + "description": "Custom pattern is used for defining custom verbs.", + "$ref": "CustomHttpPattern" }, - "options": { - "description": "Any metadata attached to the API.", - "type": "array", - "items": { - "$ref": "Option" - } + "patch": { + "description": "Used for updating a resource.", + "type": "string" }, - "methods": { - "description": "The methods of this api, in unspecified order.", - "type": "array", - "items": { - "$ref": "Method" - } + "get": { + "description": "Used for listing and getting information about resources.", + "type": "string" }, - "name": { - "description": "The fully qualified name of this api, including package name\nfollowed by the api's simple name.", + "put": { + "description": "Used for updating a resource.", "type": "string" - } - }, - "id": "Api" - }, - "DataAccessOptions": { - "description": "Write a Data Access (Gin) log", - "type": "object", - "properties": {}, - "id": "DataAccessOptions" - }, - "Authentication": { - "description": "`Authentication` defines the authentication configuration for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", - "type": "object", - "properties": { - "providers": { - "description": "Defines a set of authentication providers that a service supports.", - "type": "array", - "items": { - "$ref": "AuthProvider" - } }, - "rules": { - "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "delete": { + "description": "Used for deleting a resource.", + "type": "string" + }, + "body": { + "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the path pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated field and must be\npresent at the top-level of request message type.", + "type": "string" + }, + "post": { + "description": "Used for creating a resource.", + "type": "string" + }, + "mediaDownload": { + "$ref": "MediaDownload", + "description": "Use this only for Scotty Requests. Do not use this for bytestream methods.\nFor media support, add instead [][google.bytestream.RestByteStream] as an\nAPI to your configuration." + }, + "additionalBindings": { + "description": "Additional HTTP bindings for the selector. Nested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).", "type": "array", "items": { - "$ref": "AuthenticationRule" + "$ref": "HttpRule" } } }, - "id": "Authentication" + "id": "HttpRule", + "description": "`HttpRule` defines the mapping of an RPC method to one or more HTTP\nREST APIs. The mapping determines what portions of the request\nmessage are populated from the path, query parameters, or body of\nthe HTTP request. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the example below which describes a REST GET\noperation on a resource collection of messages:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n message Message {\n string text = 1; // content of the resource\n }\n\nThe same http annotation can alternatively be expressed inside the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: \u003cproto_package_name\u003e.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn general, not only fields but also field paths can be referenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepeated and must have a primitive (non-message) type.\n\nAny fields in the request message which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\n\n\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to HTTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A¶m=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST update method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path template should be mapped to the\nrequest body. This enables the following alternative definition of\nthe update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhich don't use the URL at all for transferring data.\n\nIt is possible to define multiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursive expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other fields.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n\nThe syntax `Variable` matches the entire path as specified by its template;\nthis nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any HTTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card rule is useful for services that provide\ncontent to Web (HTML) clients." }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "type": "object", + "VisibilityRule": { "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", + "restriction": { + "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but not all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.", "type": "string" }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." - }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" + "selector": { + "description": "Selects methods, messages, fields, enums, etc. to which this rule applies.\n\nRefer to selector for syntax details.", + "type": "string" } }, - "id": "Operation" + "id": "VisibilityRule", + "description": "A visibility rule provides visibility configuration for an individual API\nelement.", + "type": "object" }, - "Page": { - "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.", + "MonitoringDestination": { + "description": "Configuration of a specific monitoring destination (the producer project\nor the consumer project).", "type": "object", "properties": { - "content": { - "description": "The Markdown content of the page. You can use \u003ccode\u003e(== include {path} ==)\u003c/code\u003e\nto include content from a Markdown file.", + "monitoredResource": { + "description": "The monitored resource type. The type must be defined in\nService.monitored_resources section.", "type": "string" }, - "subpages": { - "description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.", + "metrics": { + "description": "Names of the metrics to report to this monitoring destination.\nEach name must be defined in Service.metrics section.", "type": "array", "items": { - "$ref": "Page" + "type": "string" } - }, - "name": { - "description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocumentation. For example:\n\u003cpre\u003e\u003ccode\u003epages:\n- name: Tutorial\n content: (== include tutorial.md ==)\n subpages:\n - name: Java\n content: (== include tutorial_java.md ==)\n\u003c/code\u003e\u003c/pre\u003e\nYou can reference `Java` page using Markdown reference link syntax:\n`Java`.", - "type": "string" } }, - "id": "Page" + "id": "MonitoringDestination" }, - "Status": { - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "Visibility": { + "id": "Visibility", + "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visibility for multiple labels is the union of each label's\nelements, plus any unrestricted elements.\n\nIf an element and its parents have no restrictions, visibility is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n restriction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for the restricted methods\nEnhancedSearch and Delegate.", "type": "object", "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - }, - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "rules": { + "description": "A list of visibility rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", "type": "array", "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" + "$ref": "VisibilityRule" } } - }, - "id": "Status" + } }, - "Binding": { - "description": "Associates `members` with a `role`.", + "SystemParameters": { + "description": "### System parameter configuration\n\nA system parameter is a special kind of parameter defined by the API\nsystem, not by an individual API. It is typically mapped to an HTTP header\nand/or a URL query parameter. This configuration specifies which methods\nchange the names of the system parameters.", "type": "object", "properties": { - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "rules": { "type": "array", "items": { - "type": "string" - } - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" + "$ref": "SystemParameterRule" + }, + "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nExample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\" order." } }, - "id": "Binding" + "id": "SystemParameters" }, - "AuthProvider": { - "description": "Configuration for an anthentication provider, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", + "ConfigChange": { + "description": "Output generated from semantically comparing two versions of a service\nconfiguration.\n\nIncludes detailed information about a field that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.", "type": "object", "properties": { - "jwksUri": { - "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", + "newValue": { + "description": "Value of the changed object in the new Service configuration,\nin JSON format. This field will not be populated if ChangeType == REMOVED.", "type": "string" }, - "audiences": { - "description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", + "changeType": { + "enumDescriptions": [ + "No value was provided.", + "The changed object exists in the 'new' service configuration, but not\nin the 'old' service configuration.", + "The changed object exists in the 'old' service configuration, but not\nin the 'new' service configuration.", + "The changed object exists in both service configurations, but its value\nis different." + ], + "enum": [ + "CHANGE_TYPE_UNSPECIFIED", + "ADDED", + "REMOVED", + "MODIFIED" + ], + "description": "The type for this change, either ADDED, REMOVED, or MODIFIED.", "type": "string" }, - "id": { - "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstore_auth\".", + "element": { + "description": "Object hierarchy path to the change, with levels separated by a '.'\ncharacter. For repeated fields, an applicable unique identifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric index\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.CreateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs[key==\"reads\"].value\n- logging.producer_destinations[0]", "type": "string" }, - "issuer": { - "description": "Identifies the principal that issued the JWT. See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.com\nExample: 1234567-compute@developer.gserviceaccount.com", - "type": "string" - } - }, - "id": "AuthProvider" - }, - "Service": { - "description": "`Service` is the root object of Google service configuration schema. It\ndescribes basic information about a service, such as the name and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspecific aspect, such as auth. See each proto message definition for details.\n\nExample:\n\n type: google.api.Service\n config_version: 3\n name: calendar.googleapis.com\n title: Google Calendar API\n apis:\n - name: google.calendar.v3.Calendar\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", - "type": "object", - "properties": { - "title": { - "description": "The product title associated with this service.", + "oldValue": { + "description": "Value of the changed object in the old Service configuration,\nin JSON format. This field will not be populated if ChangeType == ADDED.", "type": "string" }, - "endpoints": { - "description": "Configuration for network endpoints. If this is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.", + "advices": { + "description": "Collection of advice provided for this change, useful for determining the\npossible impact of this change.", "type": "array", "items": { - "$ref": "Endpoint" + "$ref": "Advice" } + } + }, + "id": "ConfigChange" + }, + "Rollout": { + "properties": { + "createTime": { + "type": "string", + "description": "Creation time of the rollout. Readonly.", + "format": "google-datetime" }, - "apis": { - "description": "A list of API interfaces exported by this service. Only the `name` field\nof the google.protobuf.Api needs to be provided by the configuration\nauthor, as the remaining fields will be derived from the IDL during the\nnormalization process. It is an error to specify an API interface here\nwhich cannot be resolved against the associated IDL files.", - "type": "array", - "items": { - "$ref": "Api" - } + "status": { + "description": "The status of this rollout. Readonly. In case of a failed rollout,\nthe system will automatically rollback to the current Rollout\nversion. Readonly.", + "type": "string", + "enumDescriptions": [ + "No status specified.", + "The Rollout is in progress.", + "The Rollout has completed successfully.", + "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.", + "The Rollout has failed. It is typically caused by configuration errors.", + "The Rollout has not started yet and is pending for execution." + ], + "enum": [ + "ROLLOUT_STATUS_UNSPECIFIED", + "IN_PROGRESS", + "SUCCESS", + "CANCELLED", + "FAILED", + "PENDING" + ] }, - "logs": { - "description": "Defines the logs used by this service.", - "type": "array", - "items": { - "$ref": "LogDescriptor" - } + "serviceName": { + "description": "The name of the service associated with this Rollout.", + "type": "string" }, - "types": { - "description": "A list of all proto message types included in this API service.\nTypes referenced directly or indirectly by the `apis` are\nautomatically included. Messages which are not referenced but\nshall be included, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32", - "type": "array", - "items": { - "$ref": "Type" - } + "trafficPercentStrategy": { + "$ref": "TrafficPercentStrategy", + "description": "Google Service Control selects service configurations based on\ntraffic percentage." }, - "sourceInfo": { - "$ref": "SourceInfo", - "description": "Output only. The source information for this configuration if available." + "createdBy": { + "description": "The user who created the Rollout. Readonly.", + "type": "string" }, - "http": { - "$ref": "Http", - "description": "HTTP configuration." + "rolloutId": { + "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by client, the server will generate one. The generated id\nwill have the form of \u003cdate\u003e\u003crevision number\u003e, where \"date\" is the create\ndate in ISO 8601 format. \"revision number\" is a monotonically increasing\npositive number that is reset every day for each service.\nAn example of the generated rollout_id is '2016-02-16r1'", + "type": "string" }, - "systemParameters": { - "$ref": "SystemParameters", - "description": "System parameter configuration." + "deleteServiceStrategy": { + "description": "The strategy associated with a rollout to delete a `ManagedService`.\nReadonly.", + "$ref": "DeleteServiceStrategy" + } + }, + "id": "Rollout", + "description": "A rollout resource that defines how service configuration versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service config.", + "type": "object" + }, + "GenerateConfigReportRequest": { + "id": "GenerateConfigReportRequest", + "description": "Request message for GenerateConfigReport method.", + "type": "object", + "properties": { + "oldConfig": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service configuration against which the comparison will be done.\nFor this version of API, the supported types are\ngoogle.api.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource,\nand google.api.Service", + "type": "object" }, - "backend": { - "description": "API backend configuration.", - "$ref": "Backend" + "newConfig": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service configuration for which we want to generate the report.\nFor this version of API, the supported types are\ngoogle.api.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource,\nand google.api.Service", + "type": "object" + } + } + }, + "SetIamPolicyRequest": { + "properties": { + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", + "format": "google-fieldmask", + "type": "string" }, - "documentation": { - "$ref": "Documentation", - "description": "Additional API documentation." + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + } + }, + "id": "SetIamPolicyRequest", + "description": "Request message for `SetIamPolicy` method.", + "type": "object" + }, + "DeleteServiceStrategy": { + "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.", + "type": "object", + "properties": {}, + "id": "DeleteServiceStrategy" + }, + "Step": { + "description": "Represents the status of one operation step.", + "type": "object", + "properties": { + "description": { + "description": "The short description of the step.", + "type": "string" }, - "monitoredResources": { - "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.", + "status": { + "enumDescriptions": [ + "Unspecifed code.", + "The operation or step has completed without errors.", + "The operation or step has not started yet.", + "The operation or step is in progress.", + "The operation or step has completed with errors.", + "The operation or step has completed with cancellation." + ], + "enum": [ + "STATUS_UNSPECIFIED", + "DONE", + "NOT_STARTED", + "IN_PROGRESS", + "FAILED", + "CANCELLED" + ], + "description": "The status code.", + "type": "string" + } + }, + "id": "Step" + }, + "LoggingDestination": { + "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", + "type": "object", + "properties": { + "logs": { + "description": "Names of the logs to be sent to this destination. Each name must\nbe defined in the Service.logs section. If the log name is\nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".", "type": "array", "items": { - "$ref": "MonitoredResourceDescriptor" + "type": "string" } }, - "logging": { - "description": "Logging configuration.", - "$ref": "Logging" + "monitoredResource": { + "description": "The monitored resource type. The type must be defined in the\nService.monitored_resources section.", + "type": "string" + } + }, + "id": "LoggingDestination" + }, + "Option": { + "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", + "type": "object", + "properties": { + "name": { + "description": "The option's name. For protobuf built-in options (options defined in\ndescriptor.proto), this is the short name. For example, `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. For example,\n`\"google.api.http\"`.", + "type": "string" }, - "enums": { - "description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum", + "value": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be stored as an int32\nvalue using the google.protobuf.Int32Value type.", + "type": "object" + } + }, + "id": "Option" + }, + "Logging": { + "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history", + "type": "object", + "properties": { + "consumerDestinations": { + "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.", "type": "array", "items": { - "$ref": "Enum" + "$ref": "LoggingDestination" } }, - "context": { - "$ref": "Context", - "description": "Context configuration." - }, - "id": { - "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.", - "type": "string" - }, - "usage": { - "description": "Configuration controlling usage of this service.", - "$ref": "Usage" - }, - "metrics": { - "description": "Defines the metrics used by this service.", + "producerDestinations": { + "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.", "type": "array", "items": { - "$ref": "MetricDescriptor" + "$ref": "LoggingDestination" } + } + }, + "id": "Logging" + }, + "Method": { + "description": "Method represents a method of an api.", + "type": "object", + "properties": { + "syntax": { + "enumDescriptions": [ + "Syntax `proto2`.", + "Syntax `proto3`." + ], + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ], + "description": "The source syntax of this method.", + "type": "string" }, - "authentication": { - "$ref": "Authentication", - "description": "Auth configuration." - }, - "experimental": { - "$ref": "Experimental", - "description": "Experimental configuration." - }, - "control": { - "$ref": "Control", - "description": "Configuration for the service control plane." - }, - "configVersion": { - "description": "The version of the service configuration. The config version may\ninfluence interpretation of the configuration, for example, to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.", - "format": "uint32", - "type": "integer" - }, - "monitoring": { - "$ref": "Monitoring", - "description": "Monitoring configuration." - }, - "producerProjectId": { - "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration,\nmanage consumption of the service, etc.", + "responseTypeUrl": { + "description": "The URL of the output message type.", "type": "string" }, - "systemTypes": { - "description": "A list of all proto message types included in this API service.\nIt serves similar purpose as [google.api.Service.types], except that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.", + "options": { + "description": "Any metadata attached to the method.", "type": "array", "items": { - "$ref": "Type" + "$ref": "Option" } }, - "visibility": { - "$ref": "Visibility", - "description": "API visibility configuration." + "responseStreaming": { + "description": "If true, the response is streamed.", + "type": "boolean" }, "name": { - "description": "The DNS address at which this service is available,\ne.g. `calendar.googleapis.com`.", + "description": "The simple name of this method.", "type": "string" }, - "customError": { - "$ref": "CustomError", - "description": "Custom error configuration." + "requestTypeUrl": { + "description": "A URL of the input message type.", + "type": "string" + }, + "requestStreaming": { + "description": "If true, the request is streamed.", + "type": "boolean" } }, - "id": "Service" + "id": "Method" }, - "EnumValue": { - "description": "Enum value definition.", + "ConfigRef": { + "description": "Represents a service configuration with its name and id.", "type": "object", "properties": { "name": { - "description": "Enum value name.", + "description": "Resource name of a service config. It must have the following\nformat: \"services/{service name}/configs/{config id}\".", + "type": "string" + } + }, + "id": "ConfigRef" + }, + "ListServiceRolloutsResponse": { + "description": "Response message for ListServiceRollouts method.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "The token of the next page of results.", "type": "string" }, - "options": { - "description": "Protocol buffer options.", + "rollouts": { + "description": "The list of rollout resources.", "type": "array", "items": { - "$ref": "Option" + "$ref": "Rollout" } - }, - "number": { - "description": "Enum value number.", - "format": "int32", - "type": "integer" } }, - "id": "EnumValue" + "id": "ListServiceRolloutsResponse" }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", + "Mixin": { + "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }", "type": "object", "properties": { - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } + "name": { + "type": "string", + "description": "The fully qualified name of the API which is included." }, - "nextPageToken": { - "description": "The standard List next-page token.", + "root": { + "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.", "type": "string" } }, - "id": "ListOperationsResponse" + "id": "Mixin" }, - "OperationMetadata": { + "FlowOperationMetadata": { "description": "The metadata associated with a long running operation resource.", "type": "object", "properties": { + "isPersisted": { + "description": "Is the update for the operation persisted?", + "type": "boolean" + }, "resourceNames": { - "description": "The full name of the resources that this operation is directly\nassociated with.", + "description": "The full name of the resources that this flow is directly associated with.", "type": "array", "items": { "type": "string" } }, - "steps": { - "description": "Detailed status information for each step. The order is undetermined.", - "type": "array", - "items": { - "$ref": "Step" - } + "flowName": { + "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.", + "type": "string" }, - "progressPercentage": { - "description": "Percentage of completion of this operation, ranging from 0 to 100.", - "format": "int32", - "type": "integer" + "deadline": { + "description": "Deadline for the flow to complete, to prevent orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that this is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other parts of the system may kill operation\nto ensure we don't have orphans.\nsee also: go/prevent-orphaned-operations", + "format": "google-datetime", + "type": "string" + }, + "cancelState": { + "enumDescriptions": [ + "Default state, cancellable but not cancelled.", + "The operation has proceeded past the point of no return and cannot\nbe cancelled.", + "The operation has been cancelled, work should cease\nand any needed rollback steps executed." + ], + "enum": [ + "RUNNING", + "UNCANCELLABLE", + "CANCELLED" + ], + "description": "The state of the operation with respect to cancellation.", + "type": "string" }, "startTime": { "description": "The start time of the operation.", @@ -1649,1434 +1634,1449 @@ "type": "string" } }, - "id": "OperationMetadata" + "id": "FlowOperationMetadata" }, - "CustomHttpPattern": { - "description": "A custom pattern is used for defining custom HTTP verb.", + "CustomError": { + "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError", "type": "object", "properties": { - "kind": { - "description": "The name of this custom HTTP verb.", - "type": "string" + "rules": { + "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "CustomErrorRule" + } }, - "path": { - "description": "The path matched by this custom verb.", + "types": { + "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "CustomError" + }, + "CounterOptions": { + "properties": { + "metric": { + "description": "The metric to update.", "type": "string" + }, + "field": { + "type": "string", + "description": "The field value to attribute." + } + }, + "id": "CounterOptions", + "description": "Options for counters", + "type": "object" + }, + "Http": { + "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.", + "type": "object", + "properties": { + "rules": { + "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "HttpRule" + } } }, - "id": "CustomHttpPattern" + "id": "Http" }, - "SystemParameterRule": { - "description": "Define a system parameter rule mapping system parameter definitions to\nmethods.", + "SourceInfo": { + "description": "Source information used to create a Service Config", "type": "object", "properties": { - "selector": { - "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.", - "type": "string" - }, - "parameters": { - "description": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.", + "sourceFiles": { + "description": "All files used during config generation.", "type": "array", "items": { - "$ref": "SystemParameter" + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" } } }, - "id": "SystemParameterRule" + "id": "SourceInfo" }, - "VisibilityRule": { - "description": "A visibility rule provides visibility configuration for an individual API\nelement.", + "Control": { + "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.", "type": "object", "properties": { - "restriction": { - "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but not all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.", - "type": "string" - }, - "selector": { - "description": "Selects methods, messages, fields, enums, etc. to which this rule applies.\n\nRefer to selector for syntax details.", - "type": "string" + "environment": { + "type": "string", + "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled." } }, - "id": "VisibilityRule" + "id": "Control" }, - "HttpRule": { - "description": "`HttpRule` defines the mapping of an RPC method to one or more HTTP\nREST APIs. The mapping determines what portions of the request\nmessage are populated from the path, query parameters, or body of\nthe HTTP request. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the example below which describes a REST GET\noperation on a resource collection of messages:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n message Message {\n string text = 1; // content of the resource\n }\n\nThe same http annotation can alternatively be expressed inside the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: \u003cproto_package_name\u003e.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn general, not only fields but also field paths can be referenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepeated and must have a primitive (non-message) type.\n\nAny fields in the request message which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\n\n\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to HTTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A¶m=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST update method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path template should be mapped to the\nrequest body. This enables the following alternative definition of\nthe update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhich don't use the URL at all for transferring data.\n\nIt is possible to define multiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursive expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other fields.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n\nThe syntax `Variable` matches the entire path as specified by its template;\nthis nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any HTTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card rule is useful for services that provide\ncontent to Web (HTML) clients.", + "SystemParameter": { + "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.", "type": "object", "properties": { - "put": { - "description": "Used for updating a resource.", + "name": { + "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", "type": "string" }, - "delete": { - "description": "Used for deleting a resource.", + "urlQueryParameter": { + "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.", "type": "string" }, - "body": { - "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the path pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated field and must be\npresent at the top-level of request message type.", + "httpHeader": { + "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.", "type": "string" + } + }, + "id": "SystemParameter" + }, + "Field": { + "properties": { + "number": { + "description": "The field number.", + "format": "int32", + "type": "integer" }, - "post": { - "description": "Used for creating a resource.", + "kind": { + "enumDescriptions": [ + "Field type unknown.", + "Field type double.", + "Field type float.", + "Field type int64.", + "Field type uint64.", + "Field type int32.", + "Field type fixed64.", + "Field type fixed32.", + "Field type bool.", + "Field type string.", + "Field type group. Proto2 syntax only, and deprecated.", + "Field type message.", + "Field type bytes.", + "Field type uint32.", + "Field type enum.", + "Field type sfixed32.", + "Field type sfixed64.", + "Field type sint32.", + "Field type sint64." + ], + "enum": [ + "TYPE_UNKNOWN", + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ], + "description": "The field type.", "type": "string" }, - "mediaDownload": { - "$ref": "MediaDownload", - "description": "Use this only for Scotty Requests. Do not use this for bytestream methods.\nFor media support, add instead [][google.bytestream.RestByteStream] as an\nAPI to your configuration." + "jsonName": { + "description": "The field JSON name.", + "type": "string" }, - "additionalBindings": { - "description": "Additional HTTP bindings for the selector. Nested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).", + "options": { + "description": "The protocol buffer options.", "type": "array", "items": { - "$ref": "HttpRule" + "$ref": "Option" } }, - "responseBody": { - "description": "The name of the response field whose value is mapped to the HTTP body of\nresponse. Other response fields are ignored. This field is optional. When\nnot set, the response message will be used as HTTP body of response.\nNOTE: the referred field must be not a repeated field and must be present\nat the top-level of response message type.", - "type": "string" + "oneofIndex": { + "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.", + "format": "int32", + "type": "integer" }, - "mediaUpload": { - "$ref": "MediaUpload", - "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration for Bytestream methods." + "packed": { + "description": "Whether to use alternative packed wire representation.", + "type": "boolean" }, - "selector": { - "description": "Selects methods to which this rule applies.\n\nRefer to selector for syntax details.", + "cardinality": { + "enumDescriptions": [ + "For fields with unknown cardinality.", + "For optional fields.", + "For required fields. Proto2 syntax only.", + "For repeated fields." + ], + "enum": [ + "CARDINALITY_UNKNOWN", + "CARDINALITY_OPTIONAL", + "CARDINALITY_REQUIRED", + "CARDINALITY_REPEATED" + ], + "description": "The field cardinality.", "type": "string" }, - "custom": { - "$ref": "CustomHttpPattern", - "description": "Custom pattern is used for defining custom verbs." - }, - "patch": { - "description": "Used for updating a resource.", + "defaultValue": { + "description": "The string value of the default value of this field. Proto2 syntax only.", "type": "string" }, - "get": { - "description": "Used for listing and getting information about resources.", + "name": { + "description": "The field name.", "type": "string" - } - }, - "id": "HttpRule" - }, - "MonitoringDestination": { - "description": "Configuration of a specific monitoring destination (the producer project\nor the consumer project).", - "type": "object", - "properties": { - "metrics": { - "description": "Names of the metrics to report to this monitoring destination.\nEach name must be defined in Service.metrics section.", - "type": "array", - "items": { - "type": "string" - } }, - "monitoredResource": { - "description": "The monitored resource type. The type must be defined in\nService.monitored_resources section.", + "typeUrl": { + "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", "type": "string" } }, - "id": "MonitoringDestination" + "id": "Field", + "description": "A single field of a message type.", + "type": "object" }, - "Visibility": { - "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visibility for multiple labels is the union of each label's\nelements, plus any unrestricted elements.\n\nIf an element and its parents have no restrictions, visibility is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n restriction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for the restricted methods\nEnhancedSearch and Delegate.", - "type": "object", + "Monitoring": { "properties": { - "rules": { - "description": "A list of visibility rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "consumerDestinations": { + "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.", "type": "array", "items": { - "$ref": "VisibilityRule" + "$ref": "MonitoringDestination" } - } - }, - "id": "Visibility" - }, - "SystemParameters": { - "description": "### System parameter configuration\n\nA system parameter is a special kind of parameter defined by the API\nsystem, not by an individual API. It is typically mapped to an HTTP header\nand/or a URL query parameter. This configuration specifies which methods\nchange the names of the system parameters.", - "type": "object", - "properties": { - "rules": { - "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nExample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + }, + "producerDestinations": { + "description": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.", "type": "array", "items": { - "$ref": "SystemParameterRule" + "$ref": "MonitoringDestination" } } }, - "id": "SystemParameters" + "id": "Monitoring", + "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count", + "type": "object" }, - "ConfigChange": { - "description": "Output generated from semantically comparing two versions of a service\nconfiguration.\n\nIncludes detailed information about a field that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.", + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", "type": "object", "properties": { - "changeType": { - "description": "The type for this change, either ADDED, REMOVED, or MODIFIED.", - "type": "string", - "enumDescriptions": [ - "No value was provided.", - "The changed object exists in the 'new' service configuration, but not\nin the 'old' service configuration.", - "The changed object exists in the 'old' service configuration, but not\nin the 'new' service configuration.", - "The changed object exists in both service configurations, but its value\nis different." - ], - "enum": [ - "CHANGE_TYPE_UNSPECIFIED", - "ADDED", - "REMOVED", - "MODIFIED" - ] - }, - "element": { - "description": "Object hierarchy path to the change, with levels separated by a '.'\ncharacter. For repeated fields, an applicable unique identifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric index\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.CreateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs[key==\"reads\"].value\n- logging.producer_destinations[0]", - "type": "string" - }, - "oldValue": { - "description": "Value of the changed object in the old Service configuration,\nin JSON format. This field will not be populated if ChangeType == ADDED.", - "type": "string" - }, - "advices": { - "description": "Collection of advice provided for this change, useful for determining the\npossible impact of this change.", + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "type": "array", "items": { - "$ref": "Advice" + "type": "string" } - }, - "newValue": { - "description": "Value of the changed object in the new Service configuration,\nin JSON format. This field will not be populated if ChangeType == REMOVED.", - "type": "string" } }, - "id": "ConfigChange" + "id": "TestIamPermissionsRequest" }, - "Rollout": { - "description": "A rollout resource that defines how service configuration versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service config.", - "type": "object", - "properties": { - "createdBy": { - "description": "The user who created the Rollout. Readonly.", - "type": "string" - }, - "trafficPercentStrategy": { - "$ref": "TrafficPercentStrategy", - "description": "Google Service Control selects service configurations based on\ntraffic percentage." - }, - "rolloutId": { - "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by client, the server will generate one. The generated id\nwill have the form of \u003cdate\u003e\u003crevision number\u003e, where \"date\" is the create\ndate in ISO 8601 format. \"revision number\" is a monotonically increasing\npositive number that is reset every day for each service.\nAn example of the generated rollout_id is '2016-02-16r1'", + "Enum": { + "type": "object", + "properties": { + "name": { + "description": "Enum type name.", "type": "string" }, - "deleteServiceStrategy": { - "$ref": "DeleteServiceStrategy", - "description": "The strategy associated with a rollout to delete a `ManagedService`.\nReadonly." + "enumvalue": { + "description": "Enum value definitions.", + "type": "array", + "items": { + "$ref": "EnumValue" + } }, - "createTime": { - "description": "Creation time of the rollout. Readonly.", - "format": "google-datetime", - "type": "string" + "options": { + "description": "Protocol buffer options.", + "type": "array", + "items": { + "$ref": "Option" + } }, - "status": { - "description": "The status of this rollout. Readonly. In case of a failed rollout,\nthe system will automatically rollback to the current Rollout\nversion. Readonly.", - "type": "string", + "sourceContext": { + "$ref": "SourceContext", + "description": "The source context." + }, + "syntax": { "enumDescriptions": [ - "No status specified.", - "The Rollout is in progress.", - "The Rollout has completed successfully.", - "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.", - "The Rollout has failed. It is typically caused by configuration errors.", - "The Rollout has not started yet and is pending for execution." + "Syntax `proto2`.", + "Syntax `proto3`." ], "enum": [ - "ROLLOUT_STATUS_UNSPECIFIED", - "IN_PROGRESS", - "SUCCESS", - "CANCELLED", - "FAILED", - "PENDING" - ] - }, - "serviceName": { - "description": "The name of the service associated with this Rollout.", + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ], + "description": "The source syntax.", "type": "string" } }, - "id": "Rollout" + "id": "Enum", + "description": "Enum type definition." }, - "GenerateConfigReportRequest": { - "description": "Request message for GenerateConfigReport method.", + "EnableServiceRequest": { + "id": "EnableServiceRequest", + "description": "Request message for EnableService method.", "type": "object", "properties": { - "oldConfig": { - "description": "Service configuration against which the comparison will be done.\nFor this version of API, the supported types are\ngoogle.api.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource,\nand google.api.Service", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } - }, - "newConfig": { - "description": "Service configuration for which we want to generate the report.\nFor this version of API, the supported types are\ngoogle.api.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource,\nand google.api.Service", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } + "consumerId": { + "description": "The identity of consumer resource which service enablement will be\napplied to.\n\nThe Google Service Management implementation accepts the following\nforms:\n- \"project:\u003cproject_id\u003e\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", + "type": "string" } - }, - "id": "GenerateConfigReportRequest" + } }, - "SetIamPolicyRequest": { - "description": "Request message for `SetIamPolicy` method.", + "Diagnostic": { + "description": "Represents a diagnostic message (error or warning)", "type": "object", "properties": { - "policy": { - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", - "$ref": "Policy" + "message": { + "description": "Message describing the error or warning.", + "type": "string" }, - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", - "format": "google-fieldmask", + "location": { + "description": "File name and line number of the error or warning.", "type": "string" + }, + "kind": { + "description": "The kind of diagnostic information provided.", + "type": "string", + "enumDescriptions": [ + "Warnings and errors", + "Only errors" + ], + "enum": [ + "WARNING", + "ERROR" + ] } }, - "id": "SetIamPolicyRequest" - }, - "DeleteServiceStrategy": { - "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.", - "type": "object", - "properties": {}, - "id": "DeleteServiceStrategy" + "id": "Diagnostic" }, - "Step": { - "description": "Represents the status of one operation step.", + "LabelDescriptor": { + "description": "A description of a label.", "type": "object", "properties": { - "status": { + "valueType": { + "description": "The type of data that can be assigned to the label.", + "type": "string", "enumDescriptions": [ - "Unspecifed code.", - "The operation or step has completed without errors.", - "The operation or step has not started yet.", - "The operation or step is in progress.", - "The operation or step has completed with errors.", - "The operation or step has completed with cancellation." + "A variable-length string. This is the default.", + "Boolean; true or false.", + "A 64-bit signed integer." ], "enum": [ - "STATUS_UNSPECIFIED", - "DONE", - "NOT_STARTED", - "IN_PROGRESS", - "FAILED", - "CANCELLED" - ], - "description": "The status code.", + "STRING", + "BOOL", + "INT64" + ] + }, + "key": { + "description": "The label key.", "type": "string" }, "description": { - "description": "The short description of the step.", + "description": "A human-readable description for the label.", "type": "string" } }, - "id": "Step" + "id": "LabelDescriptor" }, - "LoggingDestination": { - "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", + "Type": { + "description": "A protocol buffer message type.", "type": "object", "properties": { - "logs": { - "description": "Names of the logs to be sent to this destination. Each name must\nbe defined in the Service.logs section. If the log name is\nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".", + "options": { + "description": "The protocol buffer options.", "type": "array", "items": { - "type": "string" + "$ref": "Option" } }, - "monitoredResource": { - "description": "The monitored resource type. The type must be defined in the\nService.monitored_resources section.", + "fields": { + "description": "The list of fields.", + "type": "array", + "items": { + "$ref": "Field" + } + }, + "name": { + "description": "The fully qualified message name.", "type": "string" + }, + "oneofs": { + "description": "The list of types appearing in `oneof` definitions in this type.", + "type": "array", + "items": { + "type": "string" + } + }, + "syntax": { + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ], + "description": "The source syntax.", + "type": "string", + "enumDescriptions": [ + "Syntax `proto2`.", + "Syntax `proto3`." + ] + }, + "sourceContext": { + "$ref": "SourceContext", + "description": "The source context." } }, - "id": "LoggingDestination" + "id": "Type" }, - "Option": { - "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", + "GenerateConfigReportResponse": { + "description": "Response message for GenerateConfigReport method.", "type": "object", "properties": { - "value": { - "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be stored as an int32\nvalue using the google.protobuf.Int32Value type.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" + "id": { + "description": "ID of the service configuration this report belongs to.", + "type": "string" + }, + "diagnostics": { + "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.", + "type": "array", + "items": { + "$ref": "Diagnostic" } }, - "name": { - "description": "The option's name. For protobuf built-in options (options defined in\ndescriptor.proto), this is the short name. For example, `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. For example,\n`\"google.api.http\"`.", + "serviceName": { + "description": "Name of the service this report belongs to.", "type": "string" + }, + "changeReports": { + "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.", + "type": "array", + "items": { + "$ref": "ChangeReport" + } } }, - "id": "Option" + "id": "GenerateConfigReportResponse" }, - "Logging": { - "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history", + "ListServiceConfigsResponse": { + "description": "Response message for ListServiceConfigs method.", "type": "object", "properties": { - "consumerDestinations": { - "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.", + "serviceConfigs": { + "description": "The list of service configuration resources.", "type": "array", "items": { - "$ref": "LoggingDestination" + "$ref": "Service" } }, - "producerDestinations": { - "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.", + "nextPageToken": { + "description": "The token of the next page of results.", + "type": "string" + } + }, + "id": "ListServiceConfigsResponse" + }, + "Experimental": { + "id": "Experimental", + "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.", + "type": "object", + "properties": { + "authorization": { + "$ref": "AuthorizationConfig", + "description": "Authorization configuration." + } + } + }, + "Backend": { + "description": "`Backend` defines the backend configuration for a service.", + "type": "object", + "properties": { + "rules": { "type": "array", "items": { - "$ref": "LoggingDestination" - } + "$ref": "BackendRule" + }, + "description": "A list of API backend rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order." } }, - "id": "Logging" + "id": "Backend" }, - "Method": { - "description": "Method represents a method of an api.", + "AuditConfig": { + "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", "type": "object", "properties": { - "requestTypeUrl": { - "description": "A URL of the input message type.", - "type": "string" - }, - "requestStreaming": { - "description": "If true, the request is streamed.", - "type": "boolean" - }, - "syntax": { - "enumDescriptions": [ - "Syntax `proto2`.", - "Syntax `proto3`." - ], - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ], - "description": "The source syntax of this method.", + "service": { + "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", "type": "string" }, - "responseTypeUrl": { - "description": "The URL of the output message type.", - "type": "string" + "auditLogConfigs": { + "type": "array", + "items": { + "$ref": "AuditLogConfig" + }, + "description": "The configuration for logging of each type of permission.\nNext ID: 4" }, - "options": { - "description": "Any metadata attached to the method.", + "exemptedMembers": { "type": "array", "items": { - "$ref": "Option" + "type": "string" } - }, - "responseStreaming": { - "description": "If true, the response is streamed.", - "type": "boolean" - }, - "name": { - "description": "The simple name of this method.", - "type": "string" } }, - "id": "Method" + "id": "AuditConfig" }, - "ListServiceRolloutsResponse": { - "description": "Response message for ListServiceRollouts method.", + "SubmitConfigSourceRequest": { + "description": "Request message for SubmitConfigSource method.", "type": "object", "properties": { - "rollouts": { - "description": "The list of rollout resources.", - "type": "array", - "items": { - "$ref": "Rollout" - } + "validateOnly": { + "type": "boolean", + "description": "Optional. If set, this will result in the generation of a\n`google.api.Service` configuration based on the `ConfigSource` provided,\nbut the generated config and the sources will NOT be persisted." }, - "nextPageToken": { - "description": "The token of the next page of results.", - "type": "string" + "configSource": { + "description": "The source configuration for the service.", + "$ref": "ConfigSource" } }, - "id": "ListServiceRolloutsResponse" + "id": "SubmitConfigSourceRequest" }, - "ConfigRef": { - "description": "Represents a service configuration with its name and id.", - "type": "object", + "AuthorizationConfig": { "properties": { - "name": { - "description": "Resource name of a service config. It must have the following\nformat: \"services/{service name}/configs/{config id}\".", + "provider": { + "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.", "type": "string" } }, - "id": "ConfigRef" + "id": "AuthorizationConfig", + "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com", + "type": "object" }, - "Mixin": { - "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }", + "DocumentationRule": { + "description": "A documentation rule provides information about individual API elements.", "type": "object", "properties": { - "root": { - "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.", + "deprecationDescription": { + "description": "Deprecation description of the selected element(s). It can be provided if an\nelement is marked as `deprecated`.", "type": "string" }, - "name": { - "description": "The fully qualified name of the API which is included.", + "selector": { + "description": "The selector is a comma-separated list of patterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole component of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.", + "type": "string" + }, + "description": { + "description": "Description of the selected API(s).", "type": "string" } }, - "id": "Mixin" + "id": "DocumentationRule" }, - "FlowOperationMetadata": { - "description": "The metadata associated with a long running operation resource.", + "ContextRule": { + "description": "A context rule provides information about the context for an individual API\nelement.", "type": "object", "properties": { - "isPersisted": { - "description": "Is the update for the operation persisted?", - "type": "boolean" - }, - "resourceNames": { - "description": "The full name of the resources that this flow is directly associated with.", + "requested": { + "description": "A list of full type names of requested contexts.", "type": "array", "items": { "type": "string" } }, - "flowName": { - "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.", + "selector": { + "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", "type": "string" }, - "cancelState": { - "description": "The state of the operation with respect to cancellation.", + "provided": { + "description": "A list of full type names of provided contexts.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "ContextRule" + }, + "CloudAuditOptions": { + "properties": {}, + "id": "CloudAuditOptions", + "description": "Write a Cloud Audit log", + "type": "object" + }, + "MetricDescriptor": { + "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.", + "type": "object", + "properties": { + "valueType": { + "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", "type": "string", "enumDescriptions": [ - "Default state, cancellable but not cancelled.", - "The operation has proceeded past the point of no return and cannot\nbe cancelled.", - "The operation has been cancelled, work should cease\nand any needed rollback steps executed." + "Do not use this default value.", + "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.", + "The value is a signed 64-bit integer.", + "The value is a double precision floating point number.", + "The value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.", + "The value is a `Distribution`.", + "The value is money." ], "enum": [ - "RUNNING", - "UNCANCELLABLE", - "CANCELLED" + "VALUE_TYPE_UNSPECIFIED", + "BOOL", + "INT64", + "DOUBLE", + "STRING", + "DISTRIBUTION", + "MONEY" ] }, - "deadline": { - "description": "Deadline for the flow to complete, to prevent orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that this is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other parts of the system may kill operation\nto ensure we don't have orphans.\nsee also: go/prevent-orphaned-operations", - "format": "google-datetime", + "metricKind": { + "enum": [ + "METRIC_KIND_UNSPECIFIED", + "GAUGE", + "DELTA", + "CUMULATIVE" + ], + "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", + "type": "string", + "enumDescriptions": [ + "Do not use this default value.", + "An instantaneous measurement of a value.", + "The change in a value during a time interval.", + "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints." + ] + }, + "description": { + "description": "A detailed description of the metric, which can be used in documentation.", "type": "string" }, - "startTime": { - "description": "The start time of the operation.", - "format": "google-datetime", + "displayName": { + "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".", "type": "string" - } - }, - "id": "FlowOperationMetadata" - }, - "CustomError": { - "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError", - "type": "object", - "properties": { - "types": { - "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", - "type": "array", - "items": { - "type": "string" - } }, - "rules": { - "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "unit": { + "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.", + "type": "string" + }, + "labels": { + "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.", "type": "array", "items": { - "$ref": "CustomErrorRule" + "$ref": "LabelDescriptor" } + }, + "name": { + "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent resource name\nthat defines the scope of the metric type or of its data; and (2) the\nmetric's URL-encoded type, which also appears in the `type` field of this\ndescriptor. For example, following is the resource name of a custom\nmetric within the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"", + "type": "string" + }, + "type": { + "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"", + "type": "string" } }, - "id": "CustomError" + "id": "MetricDescriptor" }, - "CounterOptions": { - "description": "Options for counters", + "SourceContext": { + "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.", "type": "object", "properties": { - "metric": { - "description": "The metric to update.", - "type": "string" - }, - "field": { - "description": "The field value to attribute.", + "fileName": { + "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.", "type": "string" } }, - "id": "CounterOptions" + "id": "SourceContext" }, - "Http": { - "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.", + "ListServicesResponse": { + "description": "Response message for `ListServices` method.", "type": "object", "properties": { - "rules": { - "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "services": { + "description": "The returned services will only have the name field set.", "type": "array", "items": { - "$ref": "HttpRule" + "$ref": "ManagedService" } + }, + "nextPageToken": { + "description": "Token that can be passed to `ListServices` to resume a paginated query.", + "type": "string" } }, - "id": "Http" + "id": "ListServicesResponse" }, - "SourceInfo": { - "description": "Source information used to create a Service Config", + "Endpoint": { + "id": "Endpoint", + "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true", "type": "object", "properties": { - "sourceFiles": { - "description": "All files used during config generation.", + "name": { + "description": "The canonical name of this endpoint.", + "type": "string" + }, + "apis": { + "description": "The list of APIs served by this endpoint.", + "type": "array", + "items": { + "type": "string" + } + }, + "aliases": { + "description": "DEPRECATED: This field is no longer supported. Instead of using aliases,\nplease specify multiple google.api.Endpoint for each of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.", "type": "array", "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" + "type": "string" + } + }, + "features": { + "description": "The list of features enabled on this endpoint.", + "type": "array", + "items": { + "type": "string" } + }, + "allowCors": { + "description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.", + "type": "boolean" } - }, - "id": "SourceInfo" + } }, - "Control": { - "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.", + "OAuthRequirements": { + "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.", "type": "object", "properties": { - "environment": { - "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.", + "canonicalScopes": { + "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth/calendar,\n https://www.googleapis.com/auth/calendar.read", "type": "string" } }, - "id": "Control" + "id": "OAuthRequirements" }, - "SystemParameter": { - "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.", + "Usage": { + "description": "Configuration controlling usage of a service.", "type": "object", "properties": { - "httpHeader": { - "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.", - "type": "string" - }, - "name": { - "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", + "producerNotificationChannel": { + "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.", "type": "string" }, - "urlQueryParameter": { - "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.", - "type": "string" - } - }, - "id": "SystemParameter" - }, - "Monitoring": { - "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count", - "type": "object", - "properties": { - "consumerDestinations": { - "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.", + "rules": { "type": "array", "items": { - "$ref": "MonitoringDestination" - } + "$ref": "UsageRule" + }, + "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order." }, - "producerDestinations": { - "description": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.", + "requirements": { + "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form \u003cservice.name\u003e/\u003crequirement-id\u003e;\nfor example 'serviceusage.googleapis.com/billing-enabled'.", "type": "array", "items": { - "$ref": "MonitoringDestination" + "type": "string" } } }, - "id": "Monitoring" + "id": "Usage" }, - "Field": { - "description": "A single field of a message type.", + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { - "jsonName": { - "description": "The field JSON name.", - "type": "string" - }, - "kind": { - "description": "The field type.", - "type": "string", - "enumDescriptions": [ - "Field type unknown.", - "Field type double.", - "Field type float.", - "Field type int64.", - "Field type uint64.", - "Field type int32.", - "Field type fixed64.", - "Field type fixed32.", - "Field type bool.", - "Field type string.", - "Field type group. Proto2 syntax only, and deprecated.", - "Field type message.", - "Field type bytes.", - "Field type uint32.", - "Field type enum.", - "Field type sfixed32.", - "Field type sfixed64.", - "Field type sint32.", - "Field type sint64." - ], - "enum": [ - "TYPE_UNKNOWN", - "TYPE_DOUBLE", - "TYPE_FLOAT", - "TYPE_INT64", - "TYPE_UINT64", - "TYPE_INT32", - "TYPE_FIXED64", - "TYPE_FIXED32", - "TYPE_BOOL", - "TYPE_STRING", - "TYPE_GROUP", - "TYPE_MESSAGE", - "TYPE_BYTES", - "TYPE_UINT32", - "TYPE_ENUM", - "TYPE_SFIXED32", - "TYPE_SFIXED64", - "TYPE_SINT32", - "TYPE_SINT64" - ] - }, - "options": { - "description": "The protocol buffer options.", + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", "type": "array", "items": { - "$ref": "Option" + "type": "string" } - }, - "oneofIndex": { - "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.", - "format": "int32", - "type": "integer" - }, - "cardinality": { - "description": "The field cardinality.", - "type": "string", - "enumDescriptions": [ - "For fields with unknown cardinality.", - "For optional fields.", - "For required fields. Proto2 syntax only.", - "For repeated fields." - ], - "enum": [ - "CARDINALITY_UNKNOWN", - "CARDINALITY_OPTIONAL", - "CARDINALITY_REQUIRED", - "CARDINALITY_REPEATED" - ] - }, - "packed": { - "description": "Whether to use alternative packed wire representation.", - "type": "boolean" - }, - "defaultValue": { - "description": "The string value of the default value of this field. Proto2 syntax only.", - "type": "string" - }, - "name": { - "description": "The field name.", - "type": "string" - }, - "typeUrl": { - "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", - "type": "string" - }, - "number": { - "description": "The field number.", - "format": "int32", - "type": "integer" } }, - "id": "Field" + "id": "TestIamPermissionsResponse" }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", + "GetIamPolicyRequest": { + "description": "Request message for `GetIamPolicy` method.", + "type": "object", + "properties": {}, + "id": "GetIamPolicyRequest" + }, + "Context": { + "description": "`Context` defines which contexts an API requests.\n\nExample:\n\n context:\n rules:\n - selector: \"*\"\n requested:\n - google.rpc.context.ProjectContext\n - google.rpc.context.OriginContext\n\nThe above specifies that all methods in the API request\n`google.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvailable context types are defined in package\n`google.rpc.context`.", "type": "object", "properties": { - "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "rules": { + "description": "A list of RPC context rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", "type": "array", "items": { - "type": "string" + "$ref": "ContextRule" } } }, - "id": "TestIamPermissionsRequest" + "id": "Context" }, - "Enum": { - "description": "Enum type definition.", + "Rule": { + "id": "Rule", + "description": "A rule to be applied in a Policy.", "type": "object", "properties": { - "name": { - "description": "Enum type name.", + "notIn": { + "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "description": "Human-readable description of the rule.", "type": "string" }, - "enumvalue": { - "description": "Enum value definitions.", + "conditions": { "type": "array", "items": { - "$ref": "EnumValue" - } + "$ref": "Condition" + }, + "description": "Additional restrictions that must be met" }, - "options": { - "description": "Protocol buffer options.", + "logConfig": { "type": "array", "items": { - "$ref": "Option" + "$ref": "LogConfig" + }, + "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action." + }, + "in": { + "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", + "type": "array", + "items": { + "type": "string" } }, - "sourceContext": { - "$ref": "SourceContext", - "description": "The source context." + "permissions": { + "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", + "type": "array", + "items": { + "type": "string" + } }, - "syntax": { + "action": { "enumDescriptions": [ - "Syntax `proto2`.", - "Syntax `proto3`." + "Default no action.", + "Matching 'Entries' grant access.", + "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", + "Matching 'Entries' deny access.", + "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", + "Matching 'Entries' tell IAM.Check callers to generate logs." ], "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" + "NO_ACTION", + "ALLOW", + "ALLOW_WITH_LOG", + "DENY", + "DENY_WITH_LOG", + "LOG" ], - "description": "The source syntax.", + "description": "Required", "type": "string" } + } + }, + "LogConfig": { + "description": "Specifies what kind of log the caller must write", + "type": "object", + "properties": { + "dataAccess": { + "$ref": "DataAccessOptions", + "description": "Data access options." + }, + "cloudAudit": { + "description": "Cloud audit options.", + "$ref": "CloudAuditOptions" + }, + "counter": { + "description": "Counter options.", + "$ref": "CounterOptions" + } }, - "id": "Enum" + "id": "LogConfig" }, - "LabelDescriptor": { - "description": "A description of a label.", + "LogDescriptor": { + "description": "A description of a log type. Example in YAML format:\n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer", "type": "object", "properties": { - "key": { - "description": "The label key.", + "labels": { + "description": "The set of labels that are available to describe a specific log entry.\nRuntime requests that contain labels not specified here are\nconsidered invalid.", + "type": "array", + "items": { + "$ref": "LabelDescriptor" + } + }, + "name": { + "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].", "type": "string" }, "description": { - "description": "A human-readable description for the label.", - "type": "string" + "type": "string", + "description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details." }, - "valueType": { - "description": "The type of data that can be assigned to the label.", + "displayName": { "type": "string", - "enumDescriptions": [ - "A variable-length string. This is the default.", - "Boolean; true or false.", - "A 64-bit signed integer." - ], - "enum": [ - "STRING", - "BOOL", - "INT64" - ] + "description": "The human-readable name for this log. This information appears on\nthe user interface and should be concise." } }, - "id": "LabelDescriptor" + "id": "LogDescriptor" }, - "Diagnostic": { - "description": "Represents a diagnostic message (error or warning)", + "ConfigFile": { + "description": "Generic specification of a source configuration file", "type": "object", "properties": { - "kind": { - "description": "The kind of diagnostic information provided.", + "fileType": { + "enum": [ + "FILE_TYPE_UNSPECIFIED", + "SERVICE_CONFIG_YAML", + "OPEN_API_JSON", + "OPEN_API_YAML", + "FILE_DESCRIPTOR_SET_PROTO" + ], + "description": "The type of configuration file this represents.", "type": "string", "enumDescriptions": [ - "Warnings and errors", - "Only errors" - ], - "enum": [ - "WARNING", - "ERROR" + "Unknown file type.", + "YAML-specification of service.", + "OpenAPI specification, serialized in JSON.", + "OpenAPI specification, serialized in YAML.", + "FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto file, the following command would put the value\nin a new file named out.pb.\n\n$protoc --include_imports --include_source_info test.proto -o out.pb" ] }, - "message": { - "description": "Message describing the error or warning.", + "fileContents": { + "description": "The bytes that constitute the file.", + "format": "byte", "type": "string" }, - "location": { - "description": "File name and line number of the error or warning.", + "filePath": { + "description": "The file name of the configuration file (full or relative path).", "type": "string" } }, - "id": "Diagnostic" + "id": "ConfigFile" }, - "EnableServiceRequest": { - "description": "Request message for EnableService method.", + "CustomErrorRule": { + "description": "A custom error rule.", "type": "object", "properties": { - "consumerId": { - "description": "The identity of consumer resource which service enablement will be\napplied to.\n\nThe Google Service Management implementation accepts the following\nforms:\n- \"project:\u003cproject_id\u003e\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", + "isErrorType": { + "description": "Mark this message as possible payload in error response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.", + "type": "boolean" + }, + "selector": { + "description": "Selects messages to which this rule applies.\n\nRefer to selector for syntax details.", "type": "string" } }, - "id": "EnableServiceRequest" + "id": "CustomErrorRule" }, - "Type": { - "description": "A protocol buffer message type.", + "MonitoredResourceDescriptor": { + "description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API.", "type": "object", "properties": { - "fields": { - "description": "The list of fields.", - "type": "array", - "items": { - "$ref": "Field" - } - }, - "name": { - "description": "The fully qualified message name.", + "displayName": { + "description": "Optional. A concise name for the monitored resource type that might be\ndisplayed in user interfaces. It should be a Title Cased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Google Cloud SQL Database\"`.", "type": "string" }, - "oneofs": { - "description": "The list of types appearing in `oneof` definitions in this type.", - "type": "array", - "items": { - "type": "string" - } + "description": { + "description": "Optional. A detailed description of the monitored resource type that might\nbe used in documentation.", + "type": "string" }, - "syntax": { - "description": "The source syntax.", + "type": { "type": "string", - "enumDescriptions": [ - "Syntax `proto2`.", - "Syntax `proto3`." - ], - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ] - }, - "sourceContext": { - "description": "The source context.", - "$ref": "SourceContext" + "description": "Required. The monitored resource type. For example, the type\n`\"cloudsql_database\"` represents databases in Google Cloud SQL.\nThe maximum length of this value is 256 characters." }, - "options": { - "description": "The protocol buffer options.", + "labels": { + "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.", "type": "array", "items": { - "$ref": "Option" + "$ref": "LabelDescriptor" } + }, + "name": { + "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.", + "type": "string" } }, - "id": "Type" + "id": "MonitoredResourceDescriptor" }, - "GenerateConfigReportResponse": { - "description": "Response message for GenerateConfigReport method.", + "MediaDownload": { + "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", "type": "object", "properties": { - "diagnostics": { - "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.", - "type": "array", - "items": { - "$ref": "Diagnostic" - } - }, - "serviceName": { - "description": "Name of the service this report belongs to.", - "type": "string" - }, - "changeReports": { - "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.", - "type": "array", - "items": { - "$ref": "ChangeReport" - } + "enabled": { + "description": "Whether download is enabled.", + "type": "boolean" }, - "id": { - "description": "ID of the service configuration this report belongs to.", + "downloadService": { + "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.", "type": "string" } }, - "id": "GenerateConfigReportResponse" + "id": "MediaDownload" }, - "ListServiceConfigsResponse": { - "description": "Response message for ListServiceConfigs method.", + "ChangeReport": { + "description": "Change report associated with a particular service configuration.\n\nIt contains a list of ConfigChanges based on the comparison between\ntwo service configurations.", "type": "object", "properties": { - "serviceConfigs": { - "description": "The list of service configuration resources.", + "configChanges": { + "description": "List of changes between two service configurations.\nThe changes will be alphabetically sorted based on the identifier\nof each change.\nA ConfigChange identifier is a dot separated path to the configuration.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restriction", "type": "array", "items": { - "$ref": "Service" + "$ref": "ConfigChange" } - }, - "nextPageToken": { - "description": "The token of the next page of results.", - "type": "string" } }, - "id": "ListServiceConfigsResponse" + "id": "ChangeReport" }, - "Experimental": { - "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.", + "DisableServiceRequest": { + "description": "Request message for DisableService method.", "type": "object", "properties": { - "authorization": { - "description": "Authorization configuration.", - "$ref": "AuthorizationConfig" + "consumerId": { + "description": "The identity of consumer resource which service disablement will be\napplied to.\n\nThe Google Service Management implementation accepts the following\nforms:\n- \"project:\u003cproject_id\u003e\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", + "type": "string" } }, - "id": "Experimental" + "id": "DisableServiceRequest" }, - "Backend": { - "description": "`Backend` defines the backend configuration for a service.", + "SubmitConfigSourceResponse": { + "description": "Response message for SubmitConfigSource method.", "type": "object", "properties": { - "rules": { - "description": "A list of API backend rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", - "type": "array", - "items": { - "$ref": "BackendRule" - } + "serviceConfig": { + "$ref": "Service", + "description": "The generated service configuration." } }, - "id": "Backend" + "id": "SubmitConfigSourceResponse" }, - "AuditConfig": { - "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", + "MediaUpload": { "type": "object", "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.\nNext ID: 4", - "type": "array", - "items": { - "$ref": "AuditLogConfig" - } - }, - "exemptedMembers": { - "type": "array", - "items": { - "type": "string" - } + "uploadService": { + "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for upload.", + "type": "string" }, - "service": { - "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", + "enabled": { + "description": "Whether upload is enabled.", + "type": "boolean" + } + }, + "id": "MediaUpload", + "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods." + }, + "Advice": { + "properties": { + "description": { + "description": "Useful description for why this advice was applied and what actions should\nbe taken to mitigate any implied risks.", "type": "string" } }, - "id": "AuditConfig" + "id": "Advice", + "description": "Generated advice about this change, used for providing more\ninformation about how a change will affect the existing service.", + "type": "object" }, - "SubmitConfigSourceRequest": { - "description": "Request message for SubmitConfigSource method.", + "ManagedService": { + "id": "ManagedService", + "description": "The full representation of a Service that is managed by\nGoogle Service Management.", "type": "object", "properties": { - "configSource": { - "$ref": "ConfigSource", - "description": "The source configuration for the service." + "producerProjectId": { + "description": "ID of the project that produces and owns this service.", + "type": "string" }, - "validateOnly": { - "description": "Optional. If set, this will result in the generation of a\n`google.api.Service` configuration based on the `ConfigSource` provided,\nbut the generated config and the sources will NOT be persisted.", - "type": "boolean" - } - }, - "id": "SubmitConfigSourceRequest" + "serviceName": { + "description": "The name of the service. See the [overview](/service-management/overview)\nfor naming requirements.", + "type": "string" + } + } }, - "AuthorizationConfig": { - "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com", + "UsageRule": { + "id": "UsageRule", + "description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the service. Unregistered\ncalls are calls that do not contain consumer project identity.\n(Example: calls that do not contain an API key).\nBy default, API methods do not allow unregistered calls, and each method call\nmust be identified by a consumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\nExample of an API that wants to allow unregistered calls for entire service.\n\n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_calls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryService.CreateBook\"\n allow_unregistered_calls: true", "type": "object", "properties": { - "provider": { - "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.", + "allowUnregisteredCalls": { + "description": "True, if the method allows unregistered calls; false otherwise.", + "type": "boolean" + }, + "selector": { + "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.", "type": "string" } - }, - "id": "AuthorizationConfig" + } }, - "DocumentationRule": { - "description": "A documentation rule provides information about individual API elements.", + "AuthRequirement": { + "id": "AuthRequirement", + "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", "type": "object", "properties": { - "description": { - "description": "Description of the selected API(s).", - "type": "string" - }, - "deprecationDescription": { - "description": "Deprecation description of the selected element(s). It can be provided if an\nelement is marked as `deprecated`.", + "audiences": { + "description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is\nimplemented and accepted in all the runtime components.\n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", "type": "string" }, - "selector": { - "description": "The selector is a comma-separated list of patterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole component of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.", + "providerId": { + "description": "id from authentication provider.\n\nExample:\n\n provider_id: bookstore_auth", "type": "string" } - }, - "id": "DocumentationRule" + } }, - "CloudAuditOptions": { - "description": "Write a Cloud Audit log", + "TrafficPercentStrategy": { "type": "object", - "properties": {}, - "id": "CloudAuditOptions" + "properties": { + "percentages": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "Maps service configuration IDs to their corresponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 100.0.", + "type": "object" + } + }, + "id": "TrafficPercentStrategy", + "description": "Strategy that specifies how Google Service Control should select\ndifferent\nversions of service configurations based on traffic percentage.\n\nOne example of how to gradually rollout a new service configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_strategy: {\n percentages: {\n \"example.googleapis.com/20160206\": 100.00\n }\n }\n }" }, - "ContextRule": { - "description": "A context rule provides information about the context for an individual API\nelement.", + "Documentation": { + "description": "`Documentation` provides the information for describing a service.\n\nExample:\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: \u003e\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: \u003e\n ...\n - selector: google.calendar.Calendar.Put\n description: \u003e\n ...\n\u003c/code\u003e\u003c/pre\u003e\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n\u003cpre\u003e\u003ccode\u003e[fully.qualified.proto.name][]\u003c/code\u003e\u003c/pre\u003e\nTo override the display text used for the link, this can be used:\n\u003cpre\u003e\u003ccode\u003e[display text][fully.qualified.proto.name]\u003c/code\u003e\u003c/pre\u003e\nText can be excluded from doc using the following notation:\n\u003cpre\u003e\u003ccode\u003e(-- internal comment --)\u003c/code\u003e\u003c/pre\u003e\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n\u003cpre\u003e\u003ccode\u003e(--BETA: comment for BETA users --)\u003c/code\u003e\u003c/pre\u003e\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n\u003cpre\u003e\u003ccode\u003e(== include path/to/file ==)\u003c/code\u003e\u003c/pre\u003e\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n\u003cpre\u003e\u003ccode\u003e(== resource_for v1.shelves.books ==)\u003c/code\u003e\u003c/pre\u003e\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.", "type": "object", "properties": { - "selector": { - "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", + "summary": { + "description": "A short summary of what the service does. Can only be provided by\nplain text.", "type": "string" }, - "provided": { - "description": "A list of full type names of provided contexts.", + "documentationRootUrl": { + "type": "string", + "description": "The URL to the root of documentation." + }, + "rules": { + "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", "type": "array", "items": { - "type": "string" + "$ref": "DocumentationRule" } }, - "requested": { - "description": "A list of full type names of requested contexts.", + "overview": { + "description": "Declares a single overview page. For example:\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: ...\n overview: (== include overview.md ==)\n\u003c/code\u003e\u003c/pre\u003e\nThis is a shortcut for the following declaration (using pages style):\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: ...\n pages:\n - name: Overview\n content: (== include overview.md ==)\n\u003c/code\u003e\u003c/pre\u003e\nNote: you cannot specify both `overview` field and `pages` field.", + "type": "string" + }, + "pages": { + "description": "The top level pages for the documentation set.", "type": "array", "items": { - "type": "string" + "$ref": "Page" } } }, - "id": "ContextRule" - }, - "SourceContext": { - "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.", - "type": "object", - "properties": { - "fileName": { - "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.", - "type": "string" - } - }, - "id": "SourceContext" + "id": "Documentation" }, - "MetricDescriptor": { - "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.", + "Condition": { + "description": "A condition to be met.", "type": "object", "properties": { - "labels": { - "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.", - "type": "array", - "items": { - "$ref": "LabelDescriptor" - } - }, - "name": { - "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent resource name\nthat defines the scope of the metric type or of its data; and (2) the\nmetric's URL-encoded type, which also appears in the `type` field of this\ndescriptor. For example, following is the resource name of a custom\nmetric within the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"", - "type": "string" + "sys": { + "enum": [ + "NO_ATTR", + "REGION", + "SERVICE", + "NAME", + "IP" + ], + "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", + "type": "string", + "enumDescriptions": [ + "Default non-attribute type", + "Region of the resource", + "Service name", + "Resource name", + "IP address of the caller" + ] }, - "type": { - "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"", + "value": { + "description": "DEPRECATED. Use 'values' instead.", "type": "string" }, - "valueType": { + "iam": { + "description": "Trusted attributes supplied by the IAM system.", + "type": "string", "enumDescriptions": [ - "Do not use this default value.", - "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.", - "The value is a signed 64-bit integer.", - "The value is a double precision floating point number.", - "The value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.", - "The value is a `Distribution`.", - "The value is money." + "Default non-attribute.", + "Either principal or (if present) authority selector.", + "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", + "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.", + "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported." ], "enum": [ - "VALUE_TYPE_UNSPECIFIED", - "BOOL", - "INT64", - "DOUBLE", - "STRING", - "DISTRIBUTION", - "MONEY" - ], - "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", - "type": "string" + "NO_ATTR", + "AUTHORITY", + "ATTRIBUTION", + "APPROVER", + "JUSTIFICATION_TYPE" + ] }, - "metricKind": { + "values": { + "description": "The objects of the condition. This is mutually exclusive with 'value'.", + "type": "array", + "items": { + "type": "string" + } + }, + "op": { "enumDescriptions": [ - "Do not use this default value.", - "An instantaneous measurement of a value.", - "The change in a value during a time interval.", - "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints." + "Default no-op.", + "DEPRECATED. Use IN instead.", + "DEPRECATED. Use NOT_IN instead.", + "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", + "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", + "Subject is discharged" ], "enum": [ - "METRIC_KIND_UNSPECIFIED", - "GAUGE", - "DELTA", - "CUMULATIVE" + "NO_OP", + "EQUALS", + "NOT_EQUALS", + "IN", + "NOT_IN", + "DISCHARGED" ], - "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", - "type": "string" - }, - "displayName": { - "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".", - "type": "string" - }, - "description": { - "description": "A detailed description of the metric, which can be used in documentation.", - "type": "string" - }, - "unit": { - "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.", + "description": "An operator to apply the subject with.", "type": "string" - } - }, - "id": "MetricDescriptor" - }, - "ListServicesResponse": { - "description": "Response message for `ListServices` method.", - "type": "object", - "properties": { - "services": { - "description": "The returned services will only have the name field set.", - "type": "array", - "items": { - "$ref": "ManagedService" - } }, - "nextPageToken": { - "description": "Token that can be passed to `ListServices` to resume a paginated query.", + "svc": { + "description": "Trusted attributes discharged by the service.", "type": "string" } }, - "id": "ListServicesResponse" + "id": "Condition" }, - "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true", + "AuditLogConfig": { + "id": "AuditLogConfig", + "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", "type": "object", "properties": { - "aliases": { - "description": "DEPRECATED: This field is no longer supported. Instead of using aliases,\nplease specify multiple google.api.Endpoint for each of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.", - "type": "array", - "items": { - "type": "string" - } - }, - "features": { - "description": "The list of features enabled on this endpoint.", - "type": "array", - "items": { - "type": "string" - } - }, - "allowCors": { - "description": "Allowing\n[CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the backends served from this endpoint to\nreceive and respond to HTTP OPTIONS requests. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.", - "type": "boolean" - }, - "name": { - "description": "The canonical name of this endpoint.", - "type": "string" + "logType": { + "description": "The log type that this config enables.", + "type": "string", + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ] }, - "apis": { - "description": "The list of APIs served by this endpoint.", + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", "type": "array", "items": { "type": "string" } } - }, - "id": "Endpoint" + } }, - "OAuthRequirements": { - "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.", + "ConfigSource": { + "description": "Represents a source file which is used to generate the service configuration\ndefined by `google.api.Service`.", "type": "object", "properties": { - "canonicalScopes": { - "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth/calendar,\n https://www.googleapis.com/auth/calendar.read", + "id": { + "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.", "type": "string" + }, + "files": { + "description": "Set of source configuration files that are used to generate a service\nconfiguration (`google.api.Service`).", + "type": "array", + "items": { + "$ref": "ConfigFile" + } } }, - "id": "OAuthRequirements" + "id": "ConfigSource" }, - "Usage": { - "description": "Configuration controlling usage of a service.", + "AuthenticationRule": { + "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include more than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.", "type": "object", "properties": { + "oauth": { + "description": "The requirements for OAuth credentials.", + "$ref": "OAuthRequirements" + }, "requirements": { - "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form \u003cservice.name\u003e/\u003crequirement-id\u003e;\nfor example 'serviceusage.googleapis.com/billing-enabled'.", + "description": "Requirements for additional authentication providers.", "type": "array", "items": { - "type": "string" + "$ref": "AuthRequirement" } }, - "producerNotificationChannel": { - "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.", - "type": "string" + "selector": { + "type": "string", + "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details." }, - "rules": { - "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", - "type": "array", - "items": { - "$ref": "UsageRule" - } + "allowWithoutCredential": { + "description": "Whether to allow requests without a credential. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control environment is\nspecified, each incoming request **must** be associated with a service\nconsumer. This can be done by passing an API key that belongs to a consumer\nproject.", + "type": "boolean" } }, - "id": "Usage" + "id": "AuthenticationRule" }, - "GetIamPolicyRequest": { - "description": "Request message for `GetIamPolicy` method.", + "BackendRule": { "type": "object", - "properties": {}, - "id": "GetIamPolicyRequest" + "properties": { + "deadline": { + "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.", + "format": "double", + "type": "number" + }, + "address": { + "description": "The address of the API backend.", + "type": "string" + }, + "selector": { + "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", + "type": "string" + } + }, + "id": "BackendRule", + "description": "A backend rule provides configuration for an individual API element." }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", + "UndeleteServiceResponse": { + "description": "Response message for UndeleteService method.", "type": "object", "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", - "type": "array", - "items": { - "type": "string" - } + "service": { + "description": "Revived service resource.", + "$ref": "ManagedService" } }, - "id": "TestIamPermissionsResponse" + "id": "UndeleteServiceResponse" }, - "Context": { - "description": "`Context` defines which contexts an API requests.\n\nExample:\n\n context:\n rules:\n - selector: \"*\"\n requested:\n - google.rpc.context.ProjectContext\n - google.rpc.context.OriginContext\n\nThe above specifies that all methods in the API request\n`google.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvailable context types are defined in package\n`google.rpc.context`.", + "Policy": { "type": "object", "properties": { + "iamOwned": { + "type": "boolean" + }, "rules": { - "description": "A list of RPC context rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", "type": "array", "items": { - "$ref": "ContextRule" + "$ref": "Rule" + } + }, + "version": { + "description": "Version of the `Policy`. The default version is 0.", + "format": "int32", + "type": "integer" + }, + "auditConfigs": { + "type": "array", + "items": { + "$ref": "AuditConfig" + }, + "description": "Specifies cloud audit logging configuration for this policy." + }, + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" } + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" } }, - "id": "Context" + "id": "Policy", + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam)." }, - "Rule": { - "description": "A rule to be applied in a Policy.", + "Api": { + "description": "Api is a light-weight descriptor for a protocol buffer service.", "type": "object", "properties": { - "notIn": { - "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", + "methods": { + "description": "The methods of this api, in unspecified order.", "type": "array", "items": { - "type": "string" + "$ref": "Method" } }, - "description": { - "description": "Human-readable description of the rule.", + "name": { + "description": "The fully qualified name of this api, including package name\nfollowed by the api's simple name.", "type": "string" }, - "conditions": { - "description": "Additional restrictions that must be met", - "type": "array", - "items": { - "$ref": "Condition" - } + "sourceContext": { + "$ref": "SourceContext", + "description": "Source context for the protocol buffer service represented by this\nmessage." }, - "logConfig": { - "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.", - "type": "array", - "items": { - "$ref": "LogConfig" - } + "syntax": { + "enumDescriptions": [ + "Syntax `proto2`.", + "Syntax `proto3`." + ], + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ], + "description": "The source syntax of the service.", + "type": "string" }, - "in": { - "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", + "version": { + "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor version\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the field is not empty, the version in the\npackage name will be verified to be consistent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nversioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version numbers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also reflected in the package name of the\nAPI, which must end in `v\u003cmajor-version\u003e`, as in\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n", + "type": "string" + }, + "mixins": { + "description": "Included APIs. See Mixin.", "type": "array", "items": { - "type": "string" + "$ref": "Mixin" } }, - "permissions": { - "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", + "options": { + "description": "Any metadata attached to the API.", "type": "array", "items": { - "type": "string" + "$ref": "Option" } - }, - "action": { - "description": "Required", - "type": "string", - "enumDescriptions": [ - "Default no action.", - "Matching 'Entries' grant access.", - "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", - "Matching 'Entries' deny access.", - "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", - "Matching 'Entries' tell IAM.Check callers to generate logs." - ], - "enum": [ - "NO_ACTION", - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG" - ] } }, - "id": "Rule" + "id": "Api" }, - "LogConfig": { - "description": "Specifies what kind of log the caller must write", + "DataAccessOptions": { + "description": "Write a Data Access (Gin) log", "type": "object", - "properties": { - "counter": { - "description": "Counter options.", - "$ref": "CounterOptions" - }, - "dataAccess": { - "description": "Data access options.", - "$ref": "DataAccessOptions" - }, - "cloudAudit": { - "$ref": "CloudAuditOptions", - "description": "Cloud audit options." - } - }, - "id": "LogConfig" + "properties": {}, + "id": "DataAccessOptions" }, - "LogDescriptor": { - "description": "A description of a log type. Example in YAML format:\n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer", + "Authentication": { + "description": "`Authentication` defines the authentication configuration for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", "type": "object", "properties": { - "labels": { - "description": "The set of labels that are available to describe a specific log entry.\nRuntime requests that contain labels not specified here are\nconsidered invalid.", + "providers": { + "description": "Defines a set of authentication providers that a service supports.", "type": "array", "items": { - "$ref": "LabelDescriptor" + "$ref": "AuthProvider" } }, - "name": { - "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].", - "type": "string" - }, - "description": { - "description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details.", - "type": "string" - }, - "displayName": { - "description": "The human-readable name for this log. This information appears on\nthe user interface and should be concise.", - "type": "string" + "rules": { + "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "AuthenticationRule" + } } }, - "id": "LogDescriptor" + "id": "Authentication" } }, "icons": { "x32": "http://www.google.com/images/icons/product/search-32.gif", "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "protocol": "rest", - "version": "v1", - "baseUrl": "https://servicemanagement.googleapis.com/", - "canonicalName": "Service Management", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/service.management.readonly": { - "description": "View your Google API service configuration" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" - }, - "https://www.googleapis.com/auth/service.management": { - "description": "Manage your Google API service configuration" - } - } - } - } + "protocol": "rest" } diff --git a/DiscoveryJson/serviceuser_v1.json b/DiscoveryJson/serviceuser_v1.json index f1c48d7b1d..fa877bfbfa 100644 --- a/DiscoveryJson/serviceuser_v1.json +++ b/DiscoveryJson/serviceuser_v1.json @@ -1,6 +1,4 @@ { - "batchPath": "batch", - "title": "Google Service User API", "ownerName": "Google", "resources": { "projects": { @@ -8,32 +6,31 @@ "services": { "methods": { "list": { - "description": "List enabled services for the specified consumer.", - "httpMethod": "GET", "parameterOrder": [ "parent" ], + "httpMethod": "GET", "response": { "$ref": "ListEnabledServicesResponse" }, "parameters": { - "pageToken": { - "description": "Token identifying which result to start with; returned by a previous list\ncall.", - "type": "string", - "location": "query" - }, - "pageSize": { - "location": "query", - "description": "Requested size of the next page of data.", - "format": "int32", - "type": "integer" - }, "parent": { "description": "List enabled services for the specified parent.\n\nAn example valid parent would be:\n- projects/my-project", "required": true, "type": "string", "pattern": "^projects/[^/]+$", "location": "path" + }, + "pageToken": { + "location": "query", + "description": "Token identifying which result to start with; returned by a previous list\ncall.", + "type": "string" + }, + "pageSize": { + "description": "Requested size of the next page of data.", + "format": "int32", + "type": "integer", + "location": "query" } }, "scopes": [ @@ -41,28 +38,29 @@ "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/services", + "path": "v1/{+parent}/services", "id": "serviceuser.projects.services.list", - "path": "v1/{+parent}/services" + "description": "List enabled services for the specified consumer." }, "disable": { "request": { "$ref": "DisableServiceRequest" }, "description": "Disable a service so it can no longer be used with a\nproject. This prevents unintended usage that may cause unexpected billing\ncharges or security leaks.\n\nOperation\u003cresponse: google.protobuf.Empty\u003e", - "httpMethod": "POST", - "parameterOrder": [ - "name" - ], "response": { "$ref": "Operation" }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", "parameters": { "name": { + "description": "Name of the consumer and the service to disable for that consumer.\n\nThe Service User implementation accepts the following forms for consumer:\n- \"project:\u003cproject_id\u003e\"\n\nA valid path would be:\n- /v1/projects/my-project/services/servicemanagement.googleapis.com:disable", "required": true, "type": "string", "pattern": "^projects/[^/]+/services/[^/]+$", - "location": "path", - "description": "Name of the consumer and the service to disable for that consumer.\n\nThe Service User implementation accepts the following forms for consumer:\n- \"project:\u003cproject_id\u003e\"\n\nA valid path would be:\n- /v1/projects/my-project/services/servicemanagement.googleapis.com:disable" + "location": "path" } }, "scopes": [ @@ -70,8 +68,8 @@ "https://www.googleapis.com/auth/service.management" ], "flatPath": "v1/projects/{projectsId}/services/{servicesId}:disable", - "id": "serviceuser.projects.services.disable", - "path": "v1/{+name}:disable" + "path": "v1/{+name}:disable", + "id": "serviceuser.projects.services.disable" }, "enable": { "request": { @@ -109,6 +107,7 @@ "services": { "methods": { "search": { + "description": "Search available services.\n\nWhen no filter is specified, returns all accessible services. For\nauthenticated users, also returns all services the calling user has\n\"servicemanagement.services.bind\" permission for.", "response": { "$ref": "SearchServicesResponse" }, @@ -119,56 +118,66 @@ "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { - "pageToken": { - "description": "Token identifying which result to start with; returned by a previous list\ncall.", - "type": "string", - "location": "query" - }, "pageSize": { "location": "query", "description": "Requested size of the next page of data.", "format": "int32", "type": "integer" + }, + "pageToken": { + "location": "query", + "description": "Token identifying which result to start with; returned by a previous list\ncall.", + "type": "string" } }, "flatPath": "v1/services:search", "path": "v1/services:search", - "id": "serviceuser.services.search", - "description": "Search available services.\n\nWhen no filter is specified, returns all accessible services. For\nauthenticated users, also returns all services the calling user has\n\"servicemanagement.services.bind\" permission for." + "id": "serviceuser.services.search" } } } }, "parameters": { - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." }, "fields": { "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", "enum": [ "1", "2" ], "description": "V1 error format.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" }, "callback": { - "location": "query", "description": "JSONP", - "type": "string" + "type": "string", + "location": "query" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", @@ -177,27 +186,22 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + "default": "json" }, "key": { - "location": "query", "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.", - "type": "string" + "type": "string", + "location": "query" }, "access_token": { - "location": "query", "description": "OAuth access token.", - "type": "string" + "type": "string", + "location": "query" }, "quotaUser": { + "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.", "type": "string", - "location": "query", - "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." + "location": "query" }, "pp": { "description": "Pretty-print response.", @@ -206,184 +210,409 @@ "location": "query" }, "oauth_token": { + "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "type": "string" }, "bearer_token": { - "location": "query", "description": "OAuth bearer token.", - "type": "string" + "type": "string", + "location": "query" }, "upload_protocol": { "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" - }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" } }, "version": "v1", "baseUrl": "https://serviceuser.googleapis.com/", "servicePath": "", - "description": "Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.", "kind": "discovery#restDescription", + "description": "Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.", "basePath": "", "id": "serviceuser:v1", - "documentationLink": "https://cloud.google.com/service-management/", "revision": "20170317", + "documentationLink": "https://cloud.google.com/service-management/", "discoveryVersion": "v1", "version_module": "True", "schemas": { - "Control": { - "type": "object", + "Visibility": { "properties": { - "environment": { - "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.", - "type": "string" + "rules": { + "description": "A list of visibility rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "VisibilityRule" + } } }, - "id": "Control", - "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc." + "id": "Visibility", + "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visibility for multiple labels is the union of each label's\nelements, plus any unrestricted elements.\n\nIf an element and its parents have no restrictions, visibility is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n restriction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for the restricted methods\nEnhancedSearch and Delegate.", + "type": "object" }, - "SystemParameter": { - "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.", - "type": "object", + "SystemParameters": { "properties": { - "urlQueryParameter": { - "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.", - "type": "string" - }, - "httpHeader": { - "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive.", - "type": "string" - }, - "name": { - "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", - "type": "string" + "rules": { + "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nExample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "SystemParameterRule" + } } }, - "id": "SystemParameter" + "id": "SystemParameters", + "description": "### System parameter configuration\n\nA system parameter is a special kind of parameter defined by the API\nsystem, not by an individual API. It is typically mapped to an HTTP header\nand/or a URL query parameter. This configuration specifies which methods\nchange the names of the system parameters.", + "type": "object" }, - "Field": { - "id": "Field", - "description": "A single field of a message type.", + "Step": { + "description": "Represents the status of one operation step.", "type": "object", "properties": { - "jsonName": { - "description": "The field JSON name.", + "description": { + "description": "The short description of the step.", "type": "string" }, - "kind": { - "description": "The field type.", + "status": { + "description": "The status code.", "type": "string", "enumDescriptions": [ - "Field type unknown.", - "Field type double.", - "Field type float.", - "Field type int64.", - "Field type uint64.", - "Field type int32.", - "Field type fixed64.", - "Field type fixed32.", - "Field type bool.", - "Field type string.", - "Field type group. Proto2 syntax only, and deprecated.", - "Field type message.", - "Field type bytes.", - "Field type uint32.", - "Field type enum.", - "Field type sfixed32.", - "Field type sfixed64.", - "Field type sint32.", - "Field type sint64." + "Unspecifed code.", + "The operation or step has completed without errors.", + "The operation or step has not started yet.", + "The operation or step is in progress.", + "The operation or step has completed with errors.", + "The operation or step has completed with cancellation." ], "enum": [ - "TYPE_UNKNOWN", - "TYPE_DOUBLE", - "TYPE_FLOAT", - "TYPE_INT64", - "TYPE_UINT64", - "TYPE_INT32", - "TYPE_FIXED64", - "TYPE_FIXED32", - "TYPE_BOOL", - "TYPE_STRING", - "TYPE_GROUP", - "TYPE_MESSAGE", - "TYPE_BYTES", - "TYPE_UINT32", - "TYPE_ENUM", - "TYPE_SFIXED32", - "TYPE_SFIXED64", - "TYPE_SINT32", - "TYPE_SINT64" - ] - }, - "options": { - "type": "array", - "items": { - "$ref": "Option" - }, - "description": "The protocol buffer options." - }, - "oneofIndex": { - "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.", - "format": "int32", - "type": "integer" - }, - "cardinality": { - "enum": [ - "CARDINALITY_UNKNOWN", - "CARDINALITY_OPTIONAL", - "CARDINALITY_REQUIRED", - "CARDINALITY_REPEATED" - ], - "description": "The field cardinality.", - "type": "string", - "enumDescriptions": [ - "For fields with unknown cardinality.", - "For optional fields.", - "For required fields. Proto2 syntax only.", - "For repeated fields." + "STATUS_UNSPECIFIED", + "DONE", + "NOT_STARTED", + "IN_PROGRESS", + "FAILED", + "CANCELLED" ] - }, - "packed": { - "type": "boolean", - "description": "Whether to use alternative packed wire representation." - }, - "defaultValue": { - "description": "The string value of the default value of this field. Proto2 syntax only.", - "type": "string" - }, - "name": { - "description": "The field name.", - "type": "string" - }, - "typeUrl": { - "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", - "type": "string" - }, - "number": { - "description": "The field number.", - "format": "int32", - "type": "integer" } - } + }, + "id": "Step" }, - "Monitoring": { - "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count", + "LoggingDestination": { + "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", "type": "object", "properties": { - "consumerDestinations": { - "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.", + "logs": { + "description": "Names of the logs to be sent to this destination. Each name must\nbe defined in the Service.logs section. If the log name is\nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".", "type": "array", "items": { - "$ref": "MonitoringDestination" + "type": "string" + } + }, + "monitoredResource": { + "description": "The monitored resource type. The type must be defined in the\nService.monitored_resources section.", + "type": "string" + } + }, + "id": "LoggingDestination" + }, + "Option": { + "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", + "type": "object", + "properties": { + "value": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be stored as an int32\nvalue using the google.protobuf.Int32Value type.", + "type": "object" + }, + "name": { + "description": "The option's name. For protobuf built-in options (options defined in\ndescriptor.proto), this is the short name. For example, `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. For example,\n`\"google.api.http\"`.", + "type": "string" + } + }, + "id": "Option" + }, + "Logging": { + "properties": { + "consumerDestinations": { + "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.", + "type": "array", + "items": { + "$ref": "LoggingDestination" + } + }, + "producerDestinations": { + "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.", + "type": "array", + "items": { + "$ref": "LoggingDestination" + } + } + }, + "id": "Logging", + "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history", + "type": "object" + }, + "Method": { + "description": "Method represents a method of an api.", + "type": "object", + "properties": { + "requestTypeUrl": { + "description": "A URL of the input message type.", + "type": "string" + }, + "requestStreaming": { + "description": "If true, the request is streamed.", + "type": "boolean" + }, + "syntax": { + "description": "The source syntax of this method.", + "type": "string", + "enumDescriptions": [ + "Syntax `proto2`.", + "Syntax `proto3`." + ], + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ] + }, + "responseTypeUrl": { + "description": "The URL of the output message type.", + "type": "string" + }, + "options": { + "description": "Any metadata attached to the method.", + "type": "array", + "items": { + "$ref": "Option" + } + }, + "responseStreaming": { + "description": "If true, the response is streamed.", + "type": "boolean" + }, + "name": { + "description": "The simple name of this method.", + "type": "string" + } + }, + "id": "Method" + }, + "Mixin": { + "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The fully qualified name of the API which is included." + }, + "root": { + "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.", + "type": "string" + } + }, + "id": "Mixin" + }, + "CustomError": { + "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError", + "type": "object", + "properties": { + "types": { + "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", + "type": "array", + "items": { + "type": "string" + } + }, + "rules": { + "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "CustomErrorRule" + } + } + }, + "id": "CustomError" + }, + "Http": { + "id": "Http", + "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.", + "type": "object", + "properties": { + "rules": { + "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "HttpRule" + } + } + } + }, + "SourceInfo": { + "type": "object", + "properties": { + "sourceFiles": { + "description": "All files used during config generation.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } + } + }, + "id": "SourceInfo", + "description": "Source information used to create a Service Config" + }, + "Control": { + "description": "Selects and configures the service controller used by the service. The\nservice controller handles features like abuse, quota, billing, logging,\nmonitoring, etc.", + "type": "object", + "properties": { + "environment": { + "description": "The service control environment to use. If empty, no control plane\nfeature (like quota and billing) will be enabled.", + "type": "string" + } + }, + "id": "Control" + }, + "SystemParameter": { + "type": "object", + "properties": { + "httpHeader": { + "type": "string", + "description": "Define the HTTP header name to use for the parameter. It is case\ninsensitive." + }, + "name": { + "description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", + "type": "string" + }, + "urlQueryParameter": { + "description": "Define the URL query parameter name to use for the parameter. It is case\nsensitive.", + "type": "string" + } + }, + "id": "SystemParameter", + "description": "Define a parameter's name and location. The parameter may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent." + }, + "Field": { + "description": "A single field of a message type.", + "type": "object", + "properties": { + "jsonName": { + "description": "The field JSON name.", + "type": "string" + }, + "kind": { + "description": "The field type.", + "type": "string", + "enumDescriptions": [ + "Field type unknown.", + "Field type double.", + "Field type float.", + "Field type int64.", + "Field type uint64.", + "Field type int32.", + "Field type fixed64.", + "Field type fixed32.", + "Field type bool.", + "Field type string.", + "Field type group. Proto2 syntax only, and deprecated.", + "Field type message.", + "Field type bytes.", + "Field type uint32.", + "Field type enum.", + "Field type sfixed32.", + "Field type sfixed64.", + "Field type sint32.", + "Field type sint64." + ], + "enum": [ + "TYPE_UNKNOWN", + "TYPE_DOUBLE", + "TYPE_FLOAT", + "TYPE_INT64", + "TYPE_UINT64", + "TYPE_INT32", + "TYPE_FIXED64", + "TYPE_FIXED32", + "TYPE_BOOL", + "TYPE_STRING", + "TYPE_GROUP", + "TYPE_MESSAGE", + "TYPE_BYTES", + "TYPE_UINT32", + "TYPE_ENUM", + "TYPE_SFIXED32", + "TYPE_SFIXED64", + "TYPE_SINT32", + "TYPE_SINT64" + ] + }, + "options": { + "description": "The protocol buffer options.", + "type": "array", + "items": { + "$ref": "Option" + } + }, + "oneofIndex": { + "description": "The index of the field type in `Type.oneofs`, for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.", + "format": "int32", + "type": "integer" + }, + "cardinality": { + "type": "string", + "enumDescriptions": [ + "For fields with unknown cardinality.", + "For optional fields.", + "For required fields. Proto2 syntax only.", + "For repeated fields." + ], + "enum": [ + "CARDINALITY_UNKNOWN", + "CARDINALITY_OPTIONAL", + "CARDINALITY_REQUIRED", + "CARDINALITY_REPEATED" + ], + "description": "The field cardinality." + }, + "packed": { + "description": "Whether to use alternative packed wire representation.", + "type": "boolean" + }, + "defaultValue": { + "description": "The string value of the default value of this field. Proto2 syntax only.", + "type": "string" + }, + "name": { + "description": "The field name.", + "type": "string" + }, + "typeUrl": { + "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", + "type": "string" + }, + "number": { + "description": "The field number.", + "format": "int32", + "type": "integer" + } + }, + "id": "Field" + }, + "Monitoring": { + "description": "Monitoring configuration of the service.\n\nThe example below shows how to configure monitored resources and metrics\nfor monitoring. In the example, a monitored resource and two metrics are\ndefined. The `library.googleapis.com/book/returned_count` metric is sent\nto both producer and consumer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googleapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64\n labels:\n - key: /customer_id\n - name: library.googleapis.com/book/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labels:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis.com/book/overdue_count", + "type": "object", + "properties": { + "consumerDestinations": { + "description": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.", + "type": "array", + "items": { + "$ref": "MonitoringDestination" } }, "producerDestinations": { @@ -397,19 +626,17 @@ "id": "Monitoring" }, "Enum": { - "description": "Enum type definition.", - "type": "object", "properties": { "name": { "description": "Enum type name.", "type": "string" }, "enumvalue": { - "description": "Enum value definitions.", "type": "array", "items": { "$ref": "EnumValue" - } + }, + "description": "Enum value definitions." }, "options": { "description": "Protocol buffer options.", @@ -423,7 +650,6 @@ "description": "The source context." }, "syntax": { - "description": "The source syntax.", "type": "string", "enumDescriptions": [ "Syntax `proto2`.", @@ -432,33 +658,28 @@ "enum": [ "SYNTAX_PROTO2", "SYNTAX_PROTO3" - ] + ], + "description": "The source syntax." } }, - "id": "Enum" - }, - "EnableServiceRequest": { - "type": "object", - "properties": {}, - "id": "EnableServiceRequest", - "description": "Request message for EnableService method." + "id": "Enum", + "description": "Enum type definition.", + "type": "object" }, "LabelDescriptor": { - "description": "A description of a label.", - "type": "object", "properties": { "valueType": { - "enum": [ - "STRING", - "BOOL", - "INT64" - ], "description": "The type of data that can be assigned to the label.", "type": "string", "enumDescriptions": [ "A variable-length string. This is the default.", "Boolean; true or false.", "A 64-bit signed integer." + ], + "enum": [ + "STRING", + "BOOL", + "INT64" ] }, "key": { @@ -470,12 +691,36 @@ "type": "string" } }, - "id": "LabelDescriptor" + "id": "LabelDescriptor", + "description": "A description of a label.", + "type": "object" + }, + "EnableServiceRequest": { + "description": "Request message for EnableService method.", + "type": "object", + "properties": {}, + "id": "EnableServiceRequest" }, "Type": { "description": "A protocol buffer message type.", "type": "object", "properties": { + "sourceContext": { + "$ref": "SourceContext", + "description": "The source context." + }, + "syntax": { + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" + ], + "description": "The source syntax.", + "type": "string", + "enumDescriptions": [ + "Syntax `proto2`.", + "Syntax `proto3`." + ] + }, "options": { "description": "The protocol buffer options.", "type": "array", @@ -500,36 +745,20 @@ "items": { "type": "string" } - }, - "sourceContext": { - "$ref": "SourceContext", - "description": "The source context." - }, - "syntax": { - "enumDescriptions": [ - "Syntax `proto2`.", - "Syntax `proto3`." - ], - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ], - "description": "The source syntax.", - "type": "string" } }, "id": "Type" }, "Experimental": { + "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users.", "type": "object", "properties": { "authorization": { - "description": "Authorization configuration.", - "$ref": "AuthorizationConfig" + "$ref": "AuthorizationConfig", + "description": "Authorization configuration." } }, - "id": "Experimental", - "description": "Experimental service configuration. These configuration options can\nonly be used by whitelisted users." + "id": "Experimental" }, "Backend": { "description": "`Backend` defines the backend configuration for a service.", @@ -545,6 +774,17 @@ }, "id": "Backend" }, + "AuthorizationConfig": { + "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com", + "type": "object", + "properties": { + "provider": { + "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.", + "type": "string" + } + }, + "id": "AuthorizationConfig" + }, "DocumentationRule": { "description": "A documentation rule provides information about individual API elements.", "type": "object", @@ -564,17 +804,6 @@ }, "id": "DocumentationRule" }, - "AuthorizationConfig": { - "description": "Configuration of authorization.\n\nThis section determines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n provider: firebaserules.googleapis.com", - "type": "object", - "properties": { - "provider": { - "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.", - "type": "string" - } - }, - "id": "AuthorizationConfig" - }, "ContextRule": { "description": "A context rule provides information about the context for an individual API\nelement.", "type": "object", @@ -600,38 +829,21 @@ }, "id": "ContextRule" }, + "SourceContext": { + "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.", + "type": "object", + "properties": { + "fileName": { + "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.", + "type": "string" + } + }, + "id": "SourceContext" + }, "MetricDescriptor": { "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.", "type": "object", "properties": { - "metricKind": { - "enum": [ - "METRIC_KIND_UNSPECIFIED", - "GAUGE", - "DELTA", - "CUMULATIVE" - ], - "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", - "type": "string", - "enumDescriptions": [ - "Do not use this default value.", - "An instantaneous measurement of a value.", - "The change in a value during a time interval.", - "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints." - ] - }, - "displayName": { - "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".", - "type": "string" - }, - "description": { - "description": "A detailed description of the metric, which can be used in documentation.", - "type": "string" - }, - "unit": { - "type": "string", - "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'." - }, "labels": { "description": "The set of labels that can be used to describe a specific\ninstance of this metric type. For example, the\n`appengine.googleapis.com/http/server/response_latencies` metric\ntype has a label for the HTTP response code, `response_code`, so\nyou can look at latencies for successful responses or just\nfor responses that failed.", "type": "array", @@ -644,10 +856,12 @@ "type": "string" }, "type": { - "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"", - "type": "string" + "type": "string", + "description": "The metric type, including its DNS name prefix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \"appengine.googleapis.com/http/server/response_latencies\"" }, "valueType": { + "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", + "type": "string", "enumDescriptions": [ "Do not use this default value.", "The value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.", @@ -665,41 +879,38 @@ "STRING", "DISTRIBUTION", "MONEY" + ] + }, + "metricKind": { + "enum": [ + "METRIC_KIND_UNSPECIFIED", + "GAUGE", + "DELTA", + "CUMULATIVE" ], - "description": "Whether the measurement is an integer, a floating-point number, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", + "description": "Whether the metric records instantaneous values, changes to a value, etc.\nSome combinations of `metric_kind` and `value_type` might not be supported.", + "type": "string", + "enumDescriptions": [ + "Do not use this default value.", + "An instantaneous measurement of a value.", + "The change in a value during a time interval.", + "A value accumulated over a time interval. Cumulative\nmeasurements in a time series should have the same start time\nand increasing end times, until an event resets the cumulative\nvalue to zero and sets a new start time for the following\npoints." + ] + }, + "description": { + "description": "A detailed description of the metric, which can be used in documentation.", "type": "string" - } - }, - "id": "MetricDescriptor" - }, - "SourceContext": { - "properties": { - "fileName": { - "description": "The path-qualified name of the .proto file that contained the associated\nprotobuf element. For example: `\"google/protobuf/source_context.proto\"`.", + }, + "displayName": { + "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for example \"Request count\".", "type": "string" - } - }, - "id": "SourceContext", - "description": "`SourceContext` represents information about the source of a\nprotobuf element, like the file in which it is defined.", - "type": "object" - }, - "ListEnabledServicesResponse": { - "description": "Response message for `ListEnabledServices` method.", - "type": "object", - "properties": { - "services": { - "description": "Services enabled for the specified parent.", - "type": "array", - "items": { - "$ref": "PublishedService" - } }, - "nextPageToken": { - "description": "Token that can be passed to `ListEnabledServices` to resume a paginated\nquery.", + "unit": { + "description": "The unit in which the metric value is reported. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMeasure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n\n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` hour\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n* `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**-6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto (10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yocto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includes the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotation\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable ASCII characters not\n containing '{' or '}'.", "type": "string" } }, - "id": "ListEnabledServicesResponse" + "id": "MetricDescriptor" }, "Endpoint": { "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitoring\nconfiguration.\n\nExample service configuration:\n\n name: library-example.googleapis.com\n endpoints:\n # Below entry makes 'google.example.library.v1.Library'\n # API be served from endpoint address library-example.googleapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backend, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n allow_cors: true", @@ -737,6 +948,24 @@ }, "id": "Endpoint" }, + "ListEnabledServicesResponse": { + "description": "Response message for `ListEnabledServices` method.", + "type": "object", + "properties": { + "services": { + "description": "Services enabled for the specified parent.", + "type": "array", + "items": { + "$ref": "PublishedService" + } + }, + "nextPageToken": { + "type": "string", + "description": "Token that can be passed to `ListEnabledServices` to resume a paginated\nquery." + } + }, + "id": "ListEnabledServicesResponse" + }, "OAuthRequirements": { "description": "OAuth scopes are a way to define data and permissions on data. For example,\nthere are scopes defined for \"Read-only access to Google Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope for an application,\ngiving it permission to access that data on their behalf.\n\nOAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most cases: use one or at most two OAuth scopes for an entire family of\nproducts. If your product has multiple APIs, you should probably be sharing\nthe OAuth scope across all of those APIs.\n\nWhen you need finer grained OAuth consent screens: talk with your product\nmanagement about how developers will use them in practice.\n\nPlease note that even though each of the canonical scopes is enough for a\nrequest to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.", "type": "object", @@ -750,23 +979,23 @@ }, "Usage": { "properties": { - "rules": { - "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", - "type": "array", - "items": { - "$ref": "UsageRule" - } - }, "requirements": { - "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form \u003cservice.name\u003e/\u003crequirement-id\u003e;\nfor example 'serviceusage.googleapis.com/billing-enabled'.", "type": "array", "items": { "type": "string" - } + }, + "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form \u003cservice.name\u003e/\u003crequirement-id\u003e;\nfor example 'serviceusage.googleapis.com/billing-enabled'." }, "producerNotificationChannel": { "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management currently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format\ndocumented in https://cloud.google.com/pubsub/docs/overview.", "type": "string" + }, + "rules": { + "description": "A list of usage rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "type": "array", + "items": { + "$ref": "UsageRule" + } } }, "id": "Usage", @@ -792,14 +1021,6 @@ "description": "A description of a log type. Example in YAML format:\n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer", "type": "object", "properties": { - "description": { - "description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details.", - "type": "string" - }, - "displayName": { - "description": "The human-readable name for this log. This information appears on\nthe user interface and should be concise.", - "type": "string" - }, "labels": { "description": "The set of labels that are available to describe a specific log entry.\nRuntime requests that contain labels not specified here are\nconsidered invalid.", "type": "array", @@ -810,13 +1031,24 @@ "name": { "description": "The name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\nslash, underscore, hyphen, period [/_-.].", "type": "string" + }, + "description": { + "description": "A human-readable description of this log. This information appears in\nthe documentation and can contain details.", + "type": "string" + }, + "displayName": { + "description": "The human-readable name for this log. This information appears on\nthe user interface and should be concise.", + "type": "string" } } }, "MonitoredResourceDescriptor": { - "description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API.", "type": "object", "properties": { + "name": { + "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`.", + "type": "string" + }, "displayName": { "description": "Optional. A concise name for the monitored resource type that might be\ndisplayed in user interfaces. It should be a Title Cased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Google Cloud SQL Database\"`.", "type": "string" @@ -830,35 +1062,34 @@ "type": "string" }, "labels": { + "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`.", "type": "array", "items": { "$ref": "LabelDescriptor" - }, - "description": "Required. A set of labels used to describe instances of this monitored\nresource type. For example, an individual Google Cloud SQL database is\nidentified by values for the labels `\"database_id\"` and `\"zone\"`." - }, - "name": { - "type": "string", - "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where\n{type} is the value of the `type` field in this object and\n{project_id} is a project ID that provides API-specific context for\naccessing the type. APIs that do not use project information can use the\nresource name format `\"monitoredResourceDescriptors/{type}\"`." + } } }, - "id": "MonitoredResourceDescriptor" + "id": "MonitoredResourceDescriptor", + "description": "An object that describes the schema of a MonitoredResource object using a\ntype name and a set of labels. For example, the monitored resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zone\"` to identify particular VM instances.\n\nDifferent APIs can support different monitored resource types. APIs generally\nprovide a `list` method that returns the monitored resource descriptors used\nby the API." }, "CustomErrorRule": { + "id": "CustomErrorRule", + "description": "A custom error rule.", + "type": "object", "properties": { - "selector": { - "description": "Selects messages to which this rule applies.\n\nRefer to selector for syntax details.", - "type": "string" - }, "isErrorType": { "description": "Mark this message as possible payload in error response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.", "type": "boolean" + }, + "selector": { + "description": "Selects messages to which this rule applies.\n\nRefer to selector for syntax details.", + "type": "string" } - }, - "id": "CustomErrorRule", - "description": "A custom error rule.", - "type": "object" + } }, "MediaDownload": { + "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", + "type": "object", "properties": { "enabled": { "description": "Whether download is enabled.", @@ -869,9 +1100,7 @@ "type": "string" } }, - "id": "MediaDownload", - "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", - "type": "object" + "id": "MediaDownload" }, "DisableServiceRequest": { "description": "Request message for DisableService method.", @@ -880,6 +1109,7 @@ "id": "DisableServiceRequest" }, "SearchServicesResponse": { + "description": "Response message for SearchServices method.", "type": "object", "properties": { "services": { @@ -894,33 +1124,32 @@ "type": "string" } }, - "id": "SearchServicesResponse", - "description": "Response message for SearchServices method." + "id": "SearchServicesResponse" }, "MediaUpload": { + "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", + "type": "object", "properties": { - "enabled": { - "description": "Whether upload is enabled.", - "type": "boolean" - }, "uploadService": { "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for upload.", "type": "string" + }, + "enabled": { + "description": "Whether upload is enabled.", + "type": "boolean" } }, - "id": "MediaUpload", - "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.", - "type": "object" + "id": "MediaUpload" }, "UsageRule": { "properties": { - "allowUnregisteredCalls": { - "type": "boolean", - "description": "True, if the method allows unregistered calls; false otherwise." - }, "selector": { "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.", "type": "string" + }, + "allowUnregisteredCalls": { + "description": "True, if the method allows unregistered calls; false otherwise.", + "type": "boolean" } }, "id": "UsageRule", @@ -928,25 +1157,27 @@ "type": "object" }, "AuthRequirement": { - "id": "AuthRequirement", - "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", - "type": "object", "properties": { - "providerId": { - "description": "id from authentication provider.\n\nExample:\n\n provider_id: bookstore_auth", - "type": "string" - }, "audiences": { "description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is\nimplemented and accepted in all the runtime components.\n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", "type": "string" + }, + "providerId": { + "type": "string", + "description": "id from authentication provider.\n\nExample:\n\n provider_id: bookstore_auth" } - } + }, + "id": "AuthRequirement", + "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", + "type": "object" }, "Documentation": { + "description": "`Documentation` provides the information for describing a service.\n\nExample:\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: \u003e\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: \u003e\n ...\n - selector: google.calendar.Calendar.Put\n description: \u003e\n ...\n\u003c/code\u003e\u003c/pre\u003e\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n\u003cpre\u003e\u003ccode\u003e[fully.qualified.proto.name][]\u003c/code\u003e\u003c/pre\u003e\nTo override the display text used for the link, this can be used:\n\u003cpre\u003e\u003ccode\u003e[display text][fully.qualified.proto.name]\u003c/code\u003e\u003c/pre\u003e\nText can be excluded from doc using the following notation:\n\u003cpre\u003e\u003ccode\u003e(-- internal comment --)\u003c/code\u003e\u003c/pre\u003e\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n\u003cpre\u003e\u003ccode\u003e(--BETA: comment for BETA users --)\u003c/code\u003e\u003c/pre\u003e\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n\u003cpre\u003e\u003ccode\u003e(== include path/to/file ==)\u003c/code\u003e\u003c/pre\u003e\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n\u003cpre\u003e\u003ccode\u003e(== resource_for v1.shelves.books ==)\u003c/code\u003e\u003c/pre\u003e\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.", + "type": "object", "properties": { "summary": { - "type": "string", - "description": "A short summary of what the service does. Can only be provided by\nplain text." + "description": "A short summary of what the service does. Can only be provided by\nplain text.", + "type": "string" }, "documentationRootUrl": { "description": "The URL to the root of documentation.", @@ -971,21 +1202,11 @@ } } }, - "id": "Documentation", - "description": "`Documentation` provides the information for describing a service.\n\nExample:\n\u003cpre\u003e\u003ccode\u003edocumentation:\n summary: \u003e\n The Google Calendar API gives access\n to most calendar features.\n pages:\n - name: Overview\n content: (== include google/foo/overview.md ==)\n - name: Tutorial\n content: (== include google/foo/tutorial.md ==)\n subpages;\n - name: Java\n content: (== include google/foo/tutorial_java.md ==)\n rules:\n - selector: google.calendar.Calendar.Get\n description: \u003e\n ...\n - selector: google.calendar.Calendar.Put\n description: \u003e\n ...\n\u003c/code\u003e\u003c/pre\u003e\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\ncode blocks are supported. Section headers can be provided and are\ninterpreted relative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvia the config at normalization time, where documentation provided\nby config rules overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n\u003cpre\u003e\u003ccode\u003e[fully.qualified.proto.name][]\u003c/code\u003e\u003c/pre\u003e\nTo override the display text used for the link, this can be used:\n\u003cpre\u003e\u003ccode\u003e[display text][fully.qualified.proto.name]\u003c/code\u003e\u003c/pre\u003e\nText can be excluded from doc using the following notation:\n\u003cpre\u003e\u003ccode\u003e(-- internal comment --)\u003c/code\u003e\u003c/pre\u003e\nComments can be made conditional using a visibility label. The below\ntext will be only rendered if the `BETA` label is available:\n\u003cpre\u003e\u003ccode\u003e(--BETA: comment for BETA users --)\u003c/code\u003e\u003c/pre\u003e\nA few directives are available in documentation. Note that\ndirectives must appear on a single line to be properly\nidentified. The `include` directive includes a markdown file from\nan external source:\n\u003cpre\u003e\u003ccode\u003e(== include path/to/file ==)\u003c/code\u003e\u003c/pre\u003e\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools attempt\nto infer the resource from the operations in a collection:\n\u003cpre\u003e\u003ccode\u003e(== resource_for v1.shelves.books ==)\u003c/code\u003e\u003c/pre\u003e\nThe directive `suppress_warning` does not directly affect documentation\nand is documented together with service config validation.", - "type": "object" + "id": "Documentation" }, "AuthenticationRule": { - "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include more than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.", "type": "object", "properties": { - "requirements": { - "description": "Requirements for additional authentication providers.", - "type": "array", - "items": { - "$ref": "AuthRequirement" - } - }, "selector": { "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", "type": "string" @@ -997,48 +1218,76 @@ "oauth": { "$ref": "OAuthRequirements", "description": "The requirements for OAuth credentials." + }, + "requirements": { + "type": "array", + "items": { + "$ref": "AuthRequirement" + }, + "description": "Requirements for additional authentication providers." } }, - "id": "AuthenticationRule" + "id": "AuthenticationRule", + "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include more than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored." }, "BackendRule": { - "id": "BackendRule", "description": "A backend rule provides configuration for an individual API element.", "type": "object", "properties": { - "deadline": { - "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.", - "format": "double", - "type": "number" - }, "address": { - "description": "The address of the API backend.", - "type": "string" + "type": "string", + "description": "The address of the API backend." }, "selector": { "description": "Selects the methods to which this rule applies.\n\nRefer to selector for syntax details.", "type": "string" + }, + "deadline": { + "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.", + "format": "double", + "type": "number" } - } + }, + "id": "BackendRule" }, "Api": { + "description": "Api is a light-weight descriptor for a protocol buffer service.", + "type": "object", "properties": { + "options": { + "description": "Any metadata attached to the API.", + "type": "array", + "items": { + "$ref": "Option" + } + }, + "methods": { + "description": "The methods of this api, in unspecified order.", + "type": "array", + "items": { + "$ref": "Method" + } + }, + "name": { + "description": "The fully qualified name of this api, including package name\nfollowed by the api's simple name.", + "type": "string" + }, + "sourceContext": { + "$ref": "SourceContext", + "description": "Source context for the protocol buffer service represented by this\nmessage." + }, "syntax": { - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ], "description": "The source syntax of the service.", "type": "string", "enumDescriptions": [ "Syntax `proto2`.", "Syntax `proto3`." + ], + "enum": [ + "SYNTAX_PROTO2", + "SYNTAX_PROTO3" ] }, - "sourceContext": { - "$ref": "SourceContext", - "description": "Source context for the protocol buffer service represented by this\nmessage." - }, "version": { "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor version\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the field is not empty, the version in the\npackage name will be verified to be consistent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nversioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version numbers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also reflected in the package name of the\nAPI, which must end in `v\u003cmajor-version\u003e`, as in\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n", "type": "string" @@ -1049,85 +1298,65 @@ "items": { "$ref": "Mixin" } - }, - "options": { - "description": "Any metadata attached to the API.", - "type": "array", - "items": { - "$ref": "Option" - } - }, - "methods": { - "description": "The methods of this api, in unspecified order.", - "type": "array", - "items": { - "$ref": "Method" - } - }, - "name": { - "description": "The fully qualified name of this api, including package name\nfollowed by the api's simple name.", - "type": "string" } }, - "id": "Api", - "description": "Api is a light-weight descriptor for a protocol buffer service.", - "type": "object" + "id": "Api" }, "Authentication": { "description": "`Authentication` defines the authentication configuration for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", "type": "object", "properties": { - "rules": { - "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", + "providers": { + "description": "Defines a set of authentication providers that a service supports.", "type": "array", "items": { - "$ref": "AuthenticationRule" + "$ref": "AuthProvider" } }, - "providers": { + "rules": { + "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", "type": "array", "items": { - "$ref": "AuthProvider" - }, - "description": "Defines a set of authentication providers that a service supports." + "$ref": "AuthenticationRule" + } } }, "id": "Authentication" }, "Operation": { - "id": "Operation", - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "response": { - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`." - }, "name": { - "type": "string", - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`." + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", + "type": "string" }, "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." }, "metadata": { + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" + } }, "done": { "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", "type": "boolean" + }, + "response": { + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" } - } + }, + "id": "Operation", + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call." }, "Page": { "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.", @@ -1152,8 +1381,6 @@ "id": "Page" }, "Status": { - "id": "Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { "details": { @@ -1168,26 +1395,22 @@ } }, "code": { + "type": "integer", "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" + "format": "int32" }, "message": { "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", "type": "string" } - } + }, + "id": "Status", + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons." }, "AuthProvider": { + "description": "Configuration for an anthentication provider, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", + "type": "object", "properties": { - "jwksUri": { - "type": "string", - "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs" - }, - "audiences": { - "description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", - "type": "string" - }, "id": { "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstore_auth\".", "type": "string" @@ -1195,13 +1418,20 @@ "issuer": { "description": "Identifies the principal that issued the JWT. See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.com\nExample: 1234567-compute@developer.gserviceaccount.com", "type": "string" + }, + "jwksUri": { + "description": "URL of the provider's public key set to validate signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set document:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https://www.googleapis.com/oauth2/v1/certs", + "type": "string" + }, + "audiences": { + "description": "The list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, if no audiences are in the setting,\nLibraryService API will only accept JWTs with the following audience\n\"https://library-example.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n bookstore_web.apps.googleusercontent.com", + "type": "string" } }, - "id": "AuthProvider", - "description": "Configuration for an anthentication provider, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", - "type": "object" + "id": "AuthProvider" }, "EnumValue": { + "id": "EnumValue", "description": "Enum value definition.", "type": "object", "properties": { @@ -1221,23 +1451,52 @@ "$ref": "Option" } } - }, - "id": "EnumValue" + } }, "Service": { "description": "`Service` is the root object of Google service configuration schema. It\ndescribes basic information about a service, such as the name and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspecific aspect, such as auth. See each proto message definition for details.\n\nExample:\n\n type: google.api.Service\n config_version: 3\n name: calendar.googleapis.com\n title: Google Calendar API\n apis:\n - name: google.calendar.v3.Calendar\n authentication:\n providers:\n - id: google_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", "type": "object", "properties": { + "documentation": { + "$ref": "Documentation", + "description": "Additional API documentation." + }, + "logging": { + "description": "Logging configuration.", + "$ref": "Logging" + }, + "monitoredResources": { + "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.", + "type": "array", + "items": { + "$ref": "MonitoredResourceDescriptor" + } + }, + "context": { + "$ref": "Context", + "description": "Context configuration." + }, + "enums": { + "description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum", + "type": "array", + "items": { + "$ref": "Enum" + } + }, + "id": { + "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.", + "type": "string" + }, "usage": { - "$ref": "Usage", - "description": "Configuration controlling usage of this service." + "description": "Configuration controlling usage of this service.", + "$ref": "Usage" }, "metrics": { - "description": "Defines the metrics used by this service.", "type": "array", "items": { "$ref": "MetricDescriptor" - } + }, + "description": "Defines the metrics used by this service." }, "authentication": { "$ref": "Authentication", @@ -1260,46 +1519,46 @@ "$ref": "Monitoring", "description": "Monitoring configuration." }, - "producerProjectId": { - "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration,\nmanage consumption of the service, etc.", - "type": "string" - }, "systemTypes": { + "description": "A list of all proto message types included in this API service.\nIt serves similar purpose as [google.api.Service.types], except that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.", "type": "array", "items": { "$ref": "Type" - }, - "description": "A list of all proto message types included in this API service.\nIt serves similar purpose as [google.api.Service.types], except that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF." + } + }, + "producerProjectId": { + "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration,\nmanage consumption of the service, etc.", + "type": "string" }, "visibility": { - "description": "API visibility configuration.", - "$ref": "Visibility" + "$ref": "Visibility", + "description": "API visibility configuration." }, "name": { - "description": "The DNS address at which this service is available,\ne.g. `calendar.googleapis.com`.", - "type": "string" + "type": "string", + "description": "The DNS address at which this service is available,\ne.g. `calendar.googleapis.com`." }, "customError": { - "description": "Custom error configuration.", - "$ref": "CustomError" + "$ref": "CustomError", + "description": "Custom error configuration." }, "title": { - "type": "string", - "description": "The product title associated with this service." + "description": "The product title associated with this service.", + "type": "string" }, "endpoints": { - "description": "Configuration for network endpoints. If this is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.", "type": "array", "items": { "$ref": "Endpoint" - } + }, + "description": "Configuration for network endpoints. If this is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs." }, "logs": { + "description": "Defines the logs used by this service.", "type": "array", "items": { "$ref": "LogDescriptor" - }, - "description": "Defines the logs used by this service." + } }, "apis": { "type": "array", @@ -1320,54 +1579,27 @@ "description": "Output only. The source information for this configuration if available." }, "http": { - "description": "HTTP configuration.", - "$ref": "Http" + "$ref": "Http", + "description": "HTTP configuration." + }, + "systemParameters": { + "$ref": "SystemParameters", + "description": "System parameter configuration." }, "backend": { "$ref": "Backend", "description": "API backend configuration." - }, - "systemParameters": { - "description": "System parameter configuration.", - "$ref": "SystemParameters" - }, - "documentation": { - "description": "Additional API documentation.", - "$ref": "Documentation" - }, - "logging": { - "$ref": "Logging", - "description": "Logging configuration." - }, - "monitoredResources": { - "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging configurations.", - "type": "array", - "items": { - "$ref": "MonitoredResourceDescriptor" - } - }, - "context": { - "$ref": "Context", - "description": "Context configuration." - }, - "enums": { - "description": "A list of all enum types included in this API service. Enums\nreferenced directly or indirectly by the `apis` are automatically\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.SomeEnum", - "type": "array", - "items": { - "$ref": "Enum" - } - }, - "id": { - "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the server may choose to\ngenerate one instead.", - "type": "string" } }, "id": "Service" }, "OperationMetadata": { - "description": "The metadata associated with a long running operation resource.", - "type": "object", "properties": { + "progressPercentage": { + "description": "Percentage of completion of this operation, ranging from 0 to 100.", + "format": "int32", + "type": "integer" + }, "startTime": { "description": "The start time of the operation.", "format": "google-datetime", @@ -1386,14 +1618,11 @@ "items": { "$ref": "Step" } - }, - "progressPercentage": { - "description": "Percentage of completion of this operation, ranging from 0 to 100.", - "format": "int32", - "type": "integer" } }, - "id": "OperationMetadata" + "id": "OperationMetadata", + "description": "The metadata associated with a long running operation resource.", + "type": "object" }, "CustomHttpPattern": { "description": "A custom pattern is used for defining custom HTTP verb.", @@ -1411,41 +1640,54 @@ "id": "CustomHttpPattern" }, "PublishedService": { - "description": "The published version of a Service that is managed by\nGoogle Service Management.", - "type": "object", "properties": { "service": { - "description": "The service's published configuration.", - "$ref": "Service" + "$ref": "Service", + "description": "The service's published configuration." }, "name": { "description": "The resource name of the service.\n\nA valid name would be:\n- services/serviceuser.googleapis.com", "type": "string" } }, - "id": "PublishedService" + "id": "PublishedService", + "description": "The published version of a Service that is managed by\nGoogle Service Management.", + "type": "object" }, "SystemParameterRule": { "description": "Define a system parameter rule mapping system parameter definitions to\nmethods.", "type": "object", "properties": { + "selector": { + "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.", + "type": "string" + }, "parameters": { + "description": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.", "type": "array", "items": { "$ref": "SystemParameter" - }, - "description": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent." + } + } + }, + "id": "SystemParameterRule" + }, + "VisibilityRule": { + "description": "A visibility rule provides visibility configuration for an individual API\nelement.", + "type": "object", + "properties": { + "restriction": { + "type": "string", + "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but not all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL." }, "selector": { - "description": "Selects the methods to which this rule applies. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for syntax details.", + "description": "Selects methods, messages, fields, enums, etc. to which this rule applies.\n\nRefer to selector for syntax details.", "type": "string" } }, - "id": "SystemParameterRule" + "id": "VisibilityRule" }, "HttpRule": { - "description": "`HttpRule` defines the mapping of an RPC method to one or more HTTP\nREST APIs. The mapping determines what portions of the request\nmessage are populated from the path, query parameters, or body of\nthe HTTP request. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the example below which describes a REST GET\noperation on a resource collection of messages:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n message Message {\n string text = 1; // content of the resource\n }\n\nThe same http annotation can alternatively be expressed inside the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: \u003cproto_package_name\u003e.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn general, not only fields but also field paths can be referenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepeated and must have a primitive (non-message) type.\n\nAny fields in the request message which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\n\n\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to HTTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A¶m=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST update method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path template should be mapped to the\nrequest body. This enables the following alternative definition of\nthe update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhich don't use the URL at all for transferring data.\n\nIt is possible to define multiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursive expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other fields.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n\nThe syntax `Variable` matches the entire path as specified by its template;\nthis nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any HTTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card rule is useful for services that provide\ncontent to Web (HTML) clients.", - "type": "object", "properties": { "additionalBindings": { "description": "Additional HTTP bindings for the selector. Nested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).", @@ -1459,8 +1701,8 @@ "type": "string" }, "mediaUpload": { - "$ref": "MediaUpload", - "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration for Bytestream methods." + "description": "Use this only for Scotty Requests. Do not use this for media support using\nBytestream, add instead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration for Bytestream methods.", + "$ref": "MediaUpload" }, "selector": { "description": "Selects methods to which this rule applies.\n\nRefer to selector for syntax details.", @@ -1483,38 +1725,25 @@ "type": "string" }, "delete": { - "description": "Used for deleting a resource.", - "type": "string" + "type": "string", + "description": "Used for deleting a resource." }, "body": { "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the path pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated field and must be\npresent at the top-level of request message type.", "type": "string" }, - "mediaDownload": { - "$ref": "MediaDownload", - "description": "Use this only for Scotty Requests. Do not use this for bytestream methods.\nFor media support, add instead [][google.bytestream.RestByteStream] as an\nAPI to your configuration." - }, "post": { "description": "Used for creating a resource.", "type": "string" - } - }, - "id": "HttpRule" - }, - "VisibilityRule": { - "description": "A visibility rule provides visibility configuration for an individual API\nelement.", - "type": "object", - "properties": { - "restriction": { - "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but not all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restriction will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.", - "type": "string" }, - "selector": { - "description": "Selects methods, messages, fields, enums, etc. to which this rule applies.\n\nRefer to selector for syntax details.", - "type": "string" + "mediaDownload": { + "$ref": "MediaDownload", + "description": "Use this only for Scotty Requests. Do not use this for bytestream methods.\nFor media support, add instead [][google.bytestream.RestByteStream] as an\nAPI to your configuration." } }, - "id": "VisibilityRule" + "id": "HttpRule", + "description": "`HttpRule` defines the mapping of an RPC method to one or more HTTP\nREST APIs. The mapping determines what portions of the request\nmessage are populated from the path, query parameters, or body of\nthe HTTP request. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the example below which describes a REST GET\noperation on a resource collection of messages:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n message Message {\n string text = 1; // content of the resource\n }\n\nThe same http annotation can alternatively be expressed inside the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: \u003cproto_package_name\u003e.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn general, not only fields but also field paths can be referenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepeated and must have a primitive (non-message) type.\n\nAny fields in the request message which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\n\n\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to HTTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A¶m=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST update method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path template should be mapped to the\nrequest body. This enables the following alternative definition of\nthe update method:\n\n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhich don't use the URL at all for transferring data.\n\nIt is possible to define multiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursive expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other fields.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n\nThe syntax `Variable` matches the entire path as specified by its template;\nthis nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any HTTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card rule is useful for services that provide\ncontent to Web (HTML) clients.", + "type": "object" }, "MonitoringDestination": { "description": "Configuration of a specific monitoring destination (the producer project\nor the consumer project).", @@ -1533,261 +1762,32 @@ } }, "id": "MonitoringDestination" - }, - "Visibility": { - "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visibility for multiple labels is the union of each label's\nelements, plus any unrestricted elements.\n\nIf an element and its parents have no restrictions, visibility is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n restriction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for the restricted methods\nEnhancedSearch and Delegate.", - "type": "object", - "properties": { - "rules": { - "description": "A list of visibility rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", - "type": "array", - "items": { - "$ref": "VisibilityRule" - } - } - }, - "id": "Visibility" - }, - "SystemParameters": { - "description": "### System parameter configuration\n\nA system parameter is a special kind of parameter defined by the API\nsystem, not by an individual API. It is typically mapped to an HTTP header\nand/or a URL query parameter. This configuration specifies which methods\nchange the names of the system parameters.", - "type": "object", - "properties": { - "rules": { - "type": "array", - "items": { - "$ref": "SystemParameterRule" - }, - "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nExample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_header: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\" order." - } - }, - "id": "SystemParameters" - }, - "Step": { - "description": "Represents the status of one operation step.", - "type": "object", - "properties": { - "status": { - "enumDescriptions": [ - "Unspecifed code.", - "The operation or step has completed without errors.", - "The operation or step has not started yet.", - "The operation or step is in progress.", - "The operation or step has completed with errors.", - "The operation or step has completed with cancellation." - ], - "enum": [ - "STATUS_UNSPECIFIED", - "DONE", - "NOT_STARTED", - "IN_PROGRESS", - "FAILED", - "CANCELLED" - ], - "description": "The status code.", - "type": "string" - }, - "description": { - "description": "The short description of the step.", - "type": "string" - } - }, - "id": "Step" - }, - "LoggingDestination": { - "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", - "type": "object", - "properties": { - "monitoredResource": { - "description": "The monitored resource type. The type must be defined in the\nService.monitored_resources section.", - "type": "string" - }, - "logs": { - "description": "Names of the logs to be sent to this destination. Each name must\nbe defined in the Service.logs section. If the log name is\nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "LoggingDestination" - }, - "Option": { - "properties": { - "value": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be stored as an int32\nvalue using the google.protobuf.Int32Value type.", - "type": "object" - }, - "name": { - "description": "The option's name. For protobuf built-in options (options defined in\ndescriptor.proto), this is the short name. For example, `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. For example,\n`\"google.api.http\"`.", - "type": "string" - } - }, - "id": "Option", - "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", - "type": "object" - }, - "Logging": { - "description": "Logging configuration of the service.\n\nThe following example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the producer and consumer projects, whereas the\n`purchase_history` log is only sent to the producer project.\n\n monitored_resources:\n - type: library.googleapis.com/branch\n labels:\n - key: /city\n description: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history", - "type": "object", - "properties": { - "consumerDestinations": { - "description": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.", - "type": "array", - "items": { - "$ref": "LoggingDestination" - } - }, - "producerDestinations": { - "type": "array", - "items": { - "$ref": "LoggingDestination" - }, - "description": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination." - } - }, - "id": "Logging" - }, - "Method": { - "type": "object", - "properties": { - "options": { - "description": "Any metadata attached to the method.", - "type": "array", - "items": { - "$ref": "Option" - } - }, - "responseStreaming": { - "description": "If true, the response is streamed.", - "type": "boolean" - }, - "name": { - "description": "The simple name of this method.", - "type": "string" - }, - "requestTypeUrl": { - "description": "A URL of the input message type.", - "type": "string" - }, - "requestStreaming": { - "description": "If true, the request is streamed.", - "type": "boolean" - }, - "syntax": { - "enum": [ - "SYNTAX_PROTO2", - "SYNTAX_PROTO3" - ], - "description": "The source syntax of this method.", - "type": "string", - "enumDescriptions": [ - "Syntax `proto2`.", - "Syntax `proto3`." - ] - }, - "responseTypeUrl": { - "description": "The URL of the output message type.", - "type": "string" - } - }, - "id": "Method", - "description": "Method represents a method of an api." - }, - "Mixin": { - "description": "Declares an API to be included in this API. The including API must\nredeclare all the methods from the included API, but documentation\nand options are inherited as follows:\n\n- If after comment and whitespace stripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n version of the including API plus the root path if specified.\n\nExample of a simple mixin:\n\n package google.acl.v1;\n service AccessControl {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rpc GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in `AccessControl` are\nalso declared with same name and request/response types in\n`Storage`. A documentation generator or annotation processor will\nsee the effective `Storage.GetAcl` method after inherting\ndocumentation and annotations as follows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the version in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP paths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nThis implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\";\n }\n ...\n }", - "type": "object", - "properties": { - "name": { - "description": "The fully qualified name of the API which is included.", - "type": "string" - }, - "root": { - "description": "If non-empty specifies a path under which inherited HTTP paths\nare rooted.", - "type": "string" - } - }, - "id": "Mixin" - }, - "CustomError": { - "description": "Customize service error responses. For example, list any service\nspecific protobuf types that can appear in error detail lists of\nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google.foo.v1.CustomError\n - google.foo.v1.AnotherError", - "type": "object", - "properties": { - "rules": { - "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", - "type": "array", - "items": { - "$ref": "CustomErrorRule" - } - }, - "types": { - "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "CustomError" - }, - "Http": { - "description": "Defines the HTTP configuration for a service. It contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.", - "type": "object", - "properties": { - "rules": { - "description": "A list of HTTP configuration rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", - "type": "array", - "items": { - "$ref": "HttpRule" - } - } - }, - "id": "Http" - }, - "SourceInfo": { - "description": "Source information used to create a Service Config", - "type": "object", - "properties": { - "sourceFiles": { - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - }, - "description": "All files used during config generation." - } - }, - "id": "SourceInfo" } }, "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, "canonicalName": "Service User", "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/cloud-platform.read-only": { - "description": "View your data across Google Cloud Platform services" - }, "https://www.googleapis.com/auth/cloud-platform": { "description": "View and manage your data across Google Cloud Platform services" }, "https://www.googleapis.com/auth/service.management": { "description": "Manage your Google API service configuration" + }, + "https://www.googleapis.com/auth/cloud-platform.read-only": { + "description": "View your data across Google Cloud Platform services" } } } }, "rootUrl": "https://serviceuser.googleapis.com/", "ownerDomain": "google.com", - "name": "serviceuser" + "name": "serviceuser", + "batchPath": "batch", + "title": "Google Service User API" } diff --git a/DiscoveryJson/sheets_v4.json b/DiscoveryJson/sheets_v4.json index 70545df43a..f231571304 100644 --- a/DiscoveryJson/sheets_v4.json +++ b/DiscoveryJson/sheets_v4.json @@ -1,3714 +1,242 @@ { - "version_module": "True", - "schemas": { - "AutoFillRequest": { - "description": "Fills in more data based on existing data.", - "type": "object", - "properties": { - "useAlternateSeries": { - "description": "True if we should generate data with the \"alternate\" series.\nThis differs based on the type and amount of source data.", - "type": "boolean" - }, - "sourceAndDestination": { - "$ref": "SourceAndDestination", - "description": "The source and destination areas to autofill.\nThis explicitly lists the source of the autofill and where to\nextend that data." - }, - "range": { - "$ref": "GridRange", - "description": "The range to autofill. This will examine the range and detect\nthe location that has data and automatically fill that data\nin to the rest of the range." - } - }, - "id": "AutoFillRequest" - }, - "GradientRule": { - "description": "A rule that applies a gradient color scale format, based on\nthe interpolation points listed. The format of a cell will vary\nbased on its contents as compared to the values of the interpolation\npoints.", - "type": "object", - "properties": { - "midpoint": { - "$ref": "InterpolationPoint", - "description": "An optional midway interpolation point." - }, - "minpoint": { - "$ref": "InterpolationPoint", - "description": "The starting interpolation point." - }, - "maxpoint": { - "$ref": "InterpolationPoint", - "description": "The final interpolation point." - } - }, - "id": "GradientRule" - }, - "SetBasicFilterRequest": { - "description": "Sets the basic filter associated with a sheet.", - "type": "object", - "properties": { - "filter": { - "description": "The filter to set.", - "$ref": "BasicFilter" - } - }, - "id": "SetBasicFilterRequest" - }, - "ClearValuesRequest": { - "description": "The request for clearing a range of values in a spreadsheet.", - "type": "object", - "properties": {}, - "id": "ClearValuesRequest" - }, - "InterpolationPoint": { - "description": "A single interpolation point on a gradient conditional format.\nThese pin the gradient color scale according to the color,\ntype and value chosen.", - "type": "object", - "properties": { - "type": { - "description": "How the value should be interpreted.", - "type": "string", - "enumDescriptions": [ - "The default value, do not use.", - "The interpolation point will use the minimum value in the\ncells over the range of the conditional format.", - "The interpolation point will use the maximum value in the\ncells over the range of the conditional format.", - "The interpolation point will use exactly the value in\nInterpolationPoint.value.", - "The interpolation point will be the given percentage over\nall the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=(MAX(FLATTEN(range)) * (value / 100))\n + (MIN(FLATTEN(range)) * (1 - (value / 100)))`\n(where errors in the range are ignored when flattening).", - "The interpolation point will be the given percentile\nover all the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=PERCENTILE(FLATTEN(range), value / 100)`\n(where errors in the range are ignored when flattening)." + "ownerName": "Google", + "resources": { + "spreadsheets": { + "methods": { + "get": { + "description": "Returns the spreadsheet at the given ID.\nThe caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways:\n\n* Specify a field mask listing your desired fields using the `fields` URL\nparameter in HTTP\n\n* Set the includeGridData\nURL parameter to true. If a field mask is set, the `includeGridData`\nparameter is ignored\n\nFor large spreadsheets, it is recommended to retrieve only the specific\nfields of the spreadsheet that you want.\n\nTo retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMultiple ranges can be specified. Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified using A1 notation.", + "httpMethod": "GET", + "response": { + "$ref": "Spreadsheet" + }, + "parameterOrder": [ + "spreadsheetId" ], - "enum": [ - "INTERPOLATION_POINT_TYPE_UNSPECIFIED", - "MIN", - "MAX", - "NUMBER", - "PERCENT", - "PERCENTILE" - ] + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/spreadsheets", + "https://www.googleapis.com/auth/spreadsheets.readonly" + ], + "parameters": { + "ranges": { + "location": "query", + "description": "The ranges to retrieve from the spreadsheet.", + "type": "string", + "repeated": true + }, + "includeGridData": { + "description": "True if grid data should be returned.\nThis parameter is ignored if a field mask was set in the request.", + "type": "boolean", + "location": "query" + }, + "spreadsheetId": { + "location": "path", + "description": "The spreadsheet to request.", + "required": true, + "type": "string" + } + }, + "flatPath": "v4/spreadsheets/{spreadsheetId}", + "id": "sheets.spreadsheets.get", + "path": "v4/spreadsheets/{spreadsheetId}" }, - "value": { - "description": "The value this interpolation point uses. May be a formula.\nUnused if type is MIN or\nMAX.", - "type": "string" + "create": { + "response": { + "$ref": "Spreadsheet" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": {}, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/spreadsheets" + ], + "flatPath": "v4/spreadsheets", + "path": "v4/spreadsheets", + "id": "sheets.spreadsheets.create", + "request": { + "$ref": "Spreadsheet" + }, + "description": "Creates a spreadsheet, returning the newly created spreadsheet." }, - "color": { - "description": "The color this interpolation point should use.", - "$ref": "Color" - } - }, - "id": "InterpolationPoint" - }, - "DeleteEmbeddedObjectRequest": { - "description": "Deletes the embedded object with the given ID.", - "type": "object", - "properties": { - "objectId": { - "description": "The ID of the embedded object to delete.", - "format": "int32", - "type": "integer" + "batchUpdate": { + "response": { + "$ref": "BatchUpdateSpreadsheetResponse" + }, + "parameterOrder": [ + "spreadsheetId" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/spreadsheets" + ], + "parameters": { + "spreadsheetId": { + "location": "path", + "description": "The spreadsheet to apply the updates to.", + "required": true, + "type": "string" + } + }, + "flatPath": "v4/spreadsheets/{spreadsheetId}:batchUpdate", + "path": "v4/spreadsheets/{spreadsheetId}:batchUpdate", + "id": "sheets.spreadsheets.batchUpdate", + "description": "Applies one or more updates to the spreadsheet.\n\nEach request is validated before\nbeing applied. If any request is not valid then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how\nthey are applied. The replies will mirror the requests. For example,\nif you applied 4 updates and the 3rd one had a reply, then the\nresponse will have 2 empty replies, the actual reply, and another empty\nreply, in that order.\n\nDue to the collaborative nature of spreadsheets, it is not guaranteed that\nthe spreadsheet will reflect exactly your changes after this completes,\nhowever it is guaranteed that the updates in the request will be\napplied together atomically. Your changes may be altered with respect to\ncollaborator changes. If there are no collaborators, the spreadsheet\nshould reflect your changes.", + "request": { + "$ref": "BatchUpdateSpreadsheetRequest" + } } }, - "id": "DeleteEmbeddedObjectRequest" - }, - "FindReplaceResponse": { - "description": "The result of the find/replace.", - "type": "object", - "properties": { - "formulasChanged": { - "description": "The number of formula cells changed.", - "format": "int32", - "type": "integer" - }, - "valuesChanged": { - "description": "The number of non-formula cells changed.", - "format": "int32", - "type": "integer" - }, - "occurrencesChanged": { - "description": "The number of occurrences (possibly multiple within a cell) changed.\nFor example, if replacing `\"e\"` with `\"o\"` in `\"Google Sheets\"`, this would\nbe `\"3\"` because `\"Google Sheets\"` -\u003e `\"Googlo Shoots\"`.", - "format": "int32", - "type": "integer" - }, - "rowsChanged": { - "description": "The number of rows changed.", - "format": "int32", - "type": "integer" + "resources": { + "sheets": { + "methods": { + "copyTo": { + "request": { + "$ref": "CopySheetToAnotherSpreadsheetRequest" + }, + "description": "Copies a single sheet from a spreadsheet to another spreadsheet.\nReturns the properties of the newly created sheet.", + "httpMethod": "POST", + "parameterOrder": [ + "spreadsheetId", + "sheetId" + ], + "response": { + "$ref": "SheetProperties" + }, + "parameters": { + "sheetId": { + "description": "The ID of the sheet to copy.", + "format": "int32", + "required": true, + "type": "integer", + "location": "path" + }, + "spreadsheetId": { + "location": "path", + "description": "The ID of the spreadsheet containing the sheet to copy.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/spreadsheets" + ], + "flatPath": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo", + "id": "sheets.spreadsheets.sheets.copyTo", + "path": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo" + } + } }, - "sheetsChanged": { - "description": "The number of sheets changed.", - "format": "int32", - "type": "integer" - } - }, - "id": "FindReplaceResponse" - }, - "DuplicateFilterViewRequest": { - "description": "Duplicates a particular filter view.", - "type": "object", - "properties": { - "filterId": { - "description": "The ID of the filter being duplicated.", - "format": "int32", - "type": "integer" - } - }, - "id": "DuplicateFilterViewRequest" - }, - "DeleteSheetRequest": { - "description": "Deletes the requested sheet.", - "type": "object", - "properties": { - "sheetId": { - "description": "The ID of the sheet to delete.", - "format": "int32", - "type": "integer" - } - }, - "id": "DeleteSheetRequest" - }, - "UpdateConditionalFormatRuleResponse": { - "description": "The result of updating a conditional format rule.", - "type": "object", - "properties": { - "oldRule": { - "$ref": "ConditionalFormatRule", - "description": "The old (deleted) rule. Not set if a rule was moved\n(because it is the same as new_rule)." - }, - "newIndex": { - "description": "The index of the new rule.", - "format": "int32", - "type": "integer" - }, - "oldIndex": { - "description": "The old index of the rule. Not set if a rule was replaced\n(because it is the same as new_index).", - "format": "int32", - "type": "integer" - }, - "newRule": { - "description": "The new rule that replaced the old rule (if replacing),\nor the rule that was moved (if moved)", - "$ref": "ConditionalFormatRule" - } - }, - "id": "UpdateConditionalFormatRuleResponse" - }, - "DuplicateSheetRequest": { - "description": "Duplicates the contents of a sheet.", - "type": "object", - "properties": { - "newSheetName": { - "description": "The name of the new sheet. If empty, a new name is chosen for you.", - "type": "string" - }, - "sourceSheetId": { - "description": "The sheet to duplicate.", - "format": "int32", - "type": "integer" - }, - "newSheetId": { - "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\nIf set, it must be non-negative.", - "format": "int32", - "type": "integer" - }, - "insertSheetIndex": { - "description": "The zero-based index where the new sheet should be inserted.\nThe index of all sheets after this are incremented.", - "format": "int32", - "type": "integer" - } - }, - "id": "DuplicateSheetRequest" - }, - "ConditionValue": { - "description": "The value of the condition.", - "type": "object", - "properties": { - "relativeDate": { - "enumDescriptions": [ - "Default value, do not use.", - "The value is one year before today.", - "The value is one month before today.", - "The value is one week before today.", - "The value is yesterday.", - "The value is today.", - "The value is tomorrow." - ], - "enum": [ - "RELATIVE_DATE_UNSPECIFIED", - "PAST_YEAR", - "PAST_MONTH", - "PAST_WEEK", - "YESTERDAY", - "TODAY", - "TOMORROW" - ], - "description": "A relative date (based on the current date).\nValid only if the type is\nDATE_BEFORE,\nDATE_AFTER,\nDATE_ON_OR_BEFORE or\nDATE_ON_OR_AFTER.\n\nRelative dates are not supported in data validation.\nThey are supported only in conditional formatting and\nconditional filters.", - "type": "string" - }, - "userEnteredValue": { - "description": "A value the condition is based on.\nThe value will be parsed as if the user typed into a cell.\nFormulas are supported (and must begin with an `=`).", - "type": "string" - } - }, - "id": "ConditionValue" - }, - "ExtendedValue": { - "description": "The kinds of value that a cell in a spreadsheet can have.", - "type": "object", - "properties": { - "numberValue": { - "description": "Represents a double value.\nNote: Dates, Times and DateTimes are represented as doubles in\n\"serial number\" format.", - "format": "double", - "type": "number" - }, - "errorValue": { - "$ref": "ErrorValue", - "description": "Represents an error.\nThis field is read-only." - }, - "stringValue": { - "description": "Represents a string value.\nLeading single quotes are not included. For example, if the user typed\n`'123` into the UI, this would be represented as a `stringValue` of\n`\"123\"`.", - "type": "string" - }, - "boolValue": { - "description": "Represents a boolean value.", - "type": "boolean" - }, - "formulaValue": { - "description": "Represents a formula.", - "type": "string" - } - }, - "id": "ExtendedValue" - }, - "BatchClearValuesResponse": { - "description": "The response when updating a range of values in a spreadsheet.", - "type": "object", - "properties": { - "spreadsheetId": { - "description": "The spreadsheet the updates were applied to.", - "type": "string" - }, - "clearedRanges": { - "description": "The ranges that were cleared, in A1 notation.\n(If the requests were for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "BatchClearValuesResponse" - }, - "Spreadsheet": { - "description": "Resource that represents a spreadsheet.", - "type": "object", - "properties": { - "spreadsheetUrl": { - "description": "The url of the spreadsheet.\nThis field is read-only.", - "type": "string" - }, - "properties": { - "description": "Overall properties of a spreadsheet.", - "$ref": "SpreadsheetProperties" - }, - "spreadsheetId": { - "description": "The ID of the spreadsheet.\nThis field is read-only.", - "type": "string" - }, - "sheets": { - "description": "The sheets that are part of a spreadsheet.", - "type": "array", - "items": { - "$ref": "Sheet" - } - }, - "namedRanges": { - "description": "The named ranges defined in a spreadsheet.", - "type": "array", - "items": { - "$ref": "NamedRange" - } - } - }, - "id": "Spreadsheet" - }, - "AddChartRequest": { - "description": "Adds a chart to a sheet in the spreadsheet.", - "type": "object", - "properties": { - "chart": { - "$ref": "EmbeddedChart", - "description": "The chart that should be added to the spreadsheet, including the position\nwhere it should be placed. The chartId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a chart that already exists.)" - } - }, - "id": "AddChartRequest" - }, - "BandedRange": { - "description": "A banded (alternating colors) range in a sheet.", - "type": "object", - "properties": { - "rowProperties": { - "description": "Properties for row bands. These properties will be applied on a row-by-row\nbasis throughout all the rows in the range. At least one of\nrow_properties or column_properties must be specified.", - "$ref": "BandingProperties" - }, - "columnProperties": { - "description": "Properties for column bands. These properties will be applied on a column-\nby-column basis throughout all the columns in the range. At least one of\nrow_properties or column_properties must be specified.", - "$ref": "BandingProperties" - }, - "range": { - "description": "The range over which these properties are applied.", - "$ref": "GridRange" - }, - "bandedRangeId": { - "description": "The id of the banded range.", - "format": "int32", - "type": "integer" - } - }, - "id": "BandedRange" - }, - "UpdateProtectedRangeRequest": { - "description": "Updates an existing protected range with the specified\nprotectedRangeId.", - "type": "object", - "properties": { - "protectedRange": { - "$ref": "ProtectedRange", - "description": "The protected range to update with the new properties." - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `protectedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateProtectedRangeRequest" - }, - "TextFormat": { - "description": "The format of a run of text in a cell.\nAbsent values indicate that the field isn't specified.", - "type": "object", - "properties": { - "underline": { - "description": "True if the text is underlined.", - "type": "boolean" - }, - "foregroundColor": { - "description": "The foreground color of the text.", - "$ref": "Color" - }, - "bold": { - "description": "True if the text is bold.", - "type": "boolean" - }, - "fontFamily": { - "description": "The font family.", - "type": "string" - }, - "strikethrough": { - "description": "True if the text has a strikethrough.", - "type": "boolean" - }, - "italic": { - "description": "True if the text is italicized.", - "type": "boolean" - }, - "fontSize": { - "description": "The size of the font.", - "format": "int32", - "type": "integer" - } - }, - "id": "TextFormat" - }, - "AddSheetResponse": { - "description": "The result of adding a sheet.", - "type": "object", - "properties": { - "properties": { - "$ref": "SheetProperties", - "description": "The properties of the newly added sheet." - } - }, - "id": "AddSheetResponse" - }, - "AddFilterViewResponse": { - "description": "The result of adding a filter view.", - "type": "object", - "properties": { - "filter": { - "description": "The newly added filter view.", - "$ref": "FilterView" - } - }, - "id": "AddFilterViewResponse" - }, - "IterativeCalculationSettings": { - "description": "Settings to control how circular dependencies are resolved with iterative\ncalculation.", - "type": "object", - "properties": { - "convergenceThreshold": { - "description": "When iterative calculation is enabled and successive results differ by\nless than this threshold value, the calculation rounds stop.", - "format": "double", - "type": "number" - }, - "maxIterations": { - "description": "When iterative calculation is enabled, the maximum number of calculation\nrounds to perform.", - "format": "int32", - "type": "integer" - } - }, - "id": "IterativeCalculationSettings" - }, - "OverlayPosition": { - "description": "The location an object is overlaid on top of a grid.", - "type": "object", - "properties": { - "anchorCell": { - "$ref": "GridCoordinate", - "description": "The cell the object is anchored to." - }, - "offsetYPixels": { - "description": "The vertical offset, in pixels, that the object is offset\nfrom the anchor cell.", - "format": "int32", - "type": "integer" - }, - "heightPixels": { - "description": "The height of the object, in pixels. Defaults to 371.", - "format": "int32", - "type": "integer" - }, - "widthPixels": { - "description": "The width of the object, in pixels. Defaults to 600.", - "format": "int32", - "type": "integer" - }, - "offsetXPixels": { - "description": "The horizontal offset, in pixels, that the object is offset\nfrom the anchor cell.", - "format": "int32", - "type": "integer" - } - }, - "id": "OverlayPosition" - }, - "SpreadsheetProperties": { - "description": "Properties of a spreadsheet.", - "type": "object", - "properties": { - "iterativeCalculationSettings": { - "$ref": "IterativeCalculationSettings", - "description": "Determines whether and how circular references are resolved with iterative\ncalculation. Absence of this field means that circular references will\nresult in calculation errors." - }, - "defaultFormat": { - "description": "The default format of all cells in the spreadsheet.\nCellData.effectiveFormat will not be set if the\ncell's format is equal to this default format.\nThis field is read-only.", - "$ref": "CellFormat" - }, - "autoRecalc": { - "enumDescriptions": [ - "Default value. This value must not be used.", - "Volatile functions are updated on every change.", - "Volatile functions are updated on every change and every minute.", - "Volatile functions are updated on every change and hourly." - ], - "enum": [ - "RECALCULATION_INTERVAL_UNSPECIFIED", - "ON_CHANGE", - "MINUTE", - "HOUR" - ], - "description": "The amount of time to wait before volatile functions are recalculated.", - "type": "string" - }, - "timeZone": { - "description": "The time zone of the spreadsheet, in CLDR format such as\n`America/New_York`. If the time zone isn't recognized, this may\nbe a custom time zone such as `GMT-07:00`.", - "type": "string" - }, - "title": { - "description": "The title of the spreadsheet.", - "type": "string" - }, - "locale": { - "description": "The locale of the spreadsheet in one of the following formats:\n\n* an ISO 639-1 language code such as `en`\n\n* an ISO 639-2 language code such as `fil`, if no 639-1 code exists\n\n* a combination of the ISO language code and country code, such as `en_US`\n\nNote: when updating this field, not all locales/languages are supported.", - "type": "string" - } - }, - "id": "SpreadsheetProperties" - }, - "RepeatCellRequest": { - "description": "Updates all cells in the range to the values in the given Cell object.\nOnly the fields listed in the fields field are updated; others are\nunchanged.\n\nIf writing a cell with a formula, the formula's ranges will automatically\nincrement for each field in the range.\nFor example, if writing a cell with formula `=A1` into range B2:C4,\nB2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`,\nC2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.\n\nTo keep the formula's ranges static, use the `$` indicator.\nFor example, use the formula `=$A$1` to prevent both the row and the\ncolumn from incrementing.", - "type": "object", - "properties": { - "cell": { - "$ref": "CellData", - "description": "The data to write." - }, - "range": { - "description": "The range to repeat the cell in.", - "$ref": "GridRange" - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `cell` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "RepeatCellRequest" - }, - "AddChartResponse": { - "description": "The result of adding a chart to a spreadsheet.", - "type": "object", - "properties": { - "chart": { - "$ref": "EmbeddedChart", - "description": "The newly added chart." - } - }, - "id": "AddChartResponse" - }, - "InsertDimensionRequest": { - "description": "Inserts rows or columns in a sheet at a particular index.", - "type": "object", - "properties": { - "range": { - "description": "The dimensions to insert. Both the start and end indexes must be bounded.", - "$ref": "DimensionRange" - }, - "inheritFromBefore": { - "description": "Whether dimension properties should be extended from the dimensions\nbefore or after the newly inserted dimensions.\nTrue to inherit from the dimensions before (in which case the start\nindex must be greater than 0), and false to inherit from the dimensions\nafter.\n\nFor example, if row index 0 has red background and row index 1\nhas a green background, then inserting 2 rows at index 1 can inherit\neither the green or red background. If `inheritFromBefore` is true,\nthe two new rows will be red (because the row before the insertion point\nwas red), whereas if `inheritFromBefore` is false, the two new rows will\nbe green (because the row after the insertion point was green).", - "type": "boolean" - } - }, - "id": "InsertDimensionRequest" - }, - "UpdateSpreadsheetPropertiesRequest": { - "description": "Updates properties of a spreadsheet.", - "type": "object", - "properties": { - "properties": { - "$ref": "SpreadsheetProperties", - "description": "The properties to update." - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root 'properties' is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateSpreadsheetPropertiesRequest" - }, - "ProtectedRange": { - "description": "A protected range.", - "type": "object", - "properties": { - "editors": { - "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the protected\nrange and the document.\nEditors are not supported with warning_only protection.", - "$ref": "Editors" - }, - "range": { - "description": "The range that is being protected.\nThe range may be fully unbounded, in which case this is considered\na protected sheet.\n\nWhen writing, only one of range or named_range_id\nmay be set.", - "$ref": "GridRange" - }, - "description": { - "description": "The description of this protected range.", - "type": "string" - }, - "unprotectedRanges": { - "description": "The list of unprotected ranges within a protected sheet.\nUnprotected ranges are only supported on protected sheets.", - "type": "array", - "items": { - "$ref": "GridRange" - } - }, - "namedRangeId": { - "description": "The named range this protected range is backed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.", - "type": "string" - }, - "protectedRangeId": { - "description": "The ID of the protected range.\nThis field is read-only.", - "format": "int32", - "type": "integer" - }, - "warningOnly": { - "description": "True if this protected range will show a warning when editing.\nWarning-based protection means that every user can edit data in the\nprotected range, except editing will prompt a warning asking the user\nto confirm the edit.\n\nWhen writing: if this field is true, then editors is ignored.\nAdditionally, if this field is changed from true to false and the\n`editors` field is not set (nor included in the field mask), then\nthe editors will be set to all the editors in the document.", - "type": "boolean" - }, - "requestingUserCanEdit": { - "description": "True if the user who requested this protected range can edit the\nprotected area.\nThis field is read-only.", - "type": "boolean" - } - }, - "id": "ProtectedRange" - }, - "BatchUpdateValuesRequest": { - "description": "The request for updating more than one range of values in a spreadsheet.", - "type": "object", - "properties": { - "responseValueRenderOption": { - "description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.", - "type": "string", - "enumDescriptions": [ - "Values will be calculated & formatted in the reply according to the\ncell's formatting. Formatting is based on the spreadsheet's locale,\nnot the requesting user's locale.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,\nthen `A2` would return `\"$1.23\"`.", - "Values will be calculated, but not formatted in the reply.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,\nthen `A2` would return the number `1.23`.", - "Values will not be calculated. The reply will include the formulas.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,\nthen A2 would return `\"=A1\"`." - ], - "enum": [ - "FORMATTED_VALUE", - "UNFORMATTED_VALUE", - "FORMULA" - ] - }, - "includeValuesInResponse": { - "description": "Determines if the update response should include the values\nof the cells that were updated. By default, responses\ndo not include the updated values. The `updatedData` field within\neach of the BatchUpdateValuesResponse.responses will contain\nthe updated values. If the range to write was larger than than the range\nactually written, the response will include all values in the requested\nrange (excluding trailing empty rows and columns).", - "type": "boolean" - }, - "valueInputOption": { - "enumDescriptions": [ - "Default input value. This value must not be used.", - "The values the user has entered will not be parsed and will be stored\nas-is.", - "The values will be parsed as if the user typed them into the UI.\nNumbers will stay as numbers, but strings may be converted to numbers,\ndates, etc. following the same rules that are applied when entering\ntext into a cell via the Google Sheets UI." - ], - "enum": [ - "INPUT_VALUE_OPTION_UNSPECIFIED", - "RAW", - "USER_ENTERED" - ], - "description": "How the input data should be interpreted.", - "type": "string" - }, - "data": { - "description": "The new values to apply to the spreadsheet.", - "type": "array", - "items": { - "$ref": "ValueRange" - } - }, - "responseDateTimeRenderOption": { - "enumDescriptions": [ - "Instructs date, time, datetime, and duration fields to be output\nas doubles in \"serial number\" format, as popularized by Lotus 1-2-3.\nThe whole number portion of the value (left of the decimal) counts\nthe days since December 30th 1899. The fractional portion (right of\nthe decimal) counts the time as a fraction of the day. For example,\nJanuary 1st 1900 at noon would be 2.5, 2 because it's 2 days after\nDecember 30st 1899, and .5 because noon is half a day. February 1st\n1900 at 3pm would be 33.625. This correctly treats the year 1900 as\nnot a leap year.", - "Instructs date, time, datetime, and duration fields to be output\nas strings in their given number format (which is dependent\non the spreadsheet locale)." - ], - "enum": [ - "SERIAL_NUMBER", - "FORMATTED_STRING" - ], - "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", - "type": "string" - } - }, - "id": "BatchUpdateValuesRequest" - }, - "DimensionProperties": { - "description": "Properties about a dimension.", - "type": "object", - "properties": { - "pixelSize": { - "description": "The height (if a row) or width (if a column) of the dimension in pixels.", - "format": "int32", - "type": "integer" - }, - "hiddenByFilter": { - "description": "True if this dimension is being filtered.\nThis field is read-only.", - "type": "boolean" - }, - "hiddenByUser": { - "description": "True if this dimension is explicitly hidden.", - "type": "boolean" - } - }, - "id": "DimensionProperties" - }, - "DimensionRange": { - "description": "A range along a single dimension on a sheet.\nAll indexes are zero-based.\nIndexes are half open: the start index is inclusive\nand the end index is exclusive.\nMissing indexes indicate the range is unbounded on that side.", - "type": "object", - "properties": { - "startIndex": { - "description": "The start (inclusive) of the span, or not set if unbounded.", - "format": "int32", - "type": "integer" - }, - "endIndex": { - "description": "The end (exclusive) of the span, or not set if unbounded.", - "format": "int32", - "type": "integer" - }, - "sheetId": { - "description": "The sheet this span is on.", - "format": "int32", - "type": "integer" - }, - "dimension": { - "description": "The dimension of the span.", - "type": "string", - "enumDescriptions": [ - "The default value, do not use.", - "Operates on the rows of a sheet.", - "Operates on the columns of a sheet." - ], - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ] - } - }, - "id": "DimensionRange" - }, - "NamedRange": { - "description": "A named range.", - "type": "object", - "properties": { - "namedRangeId": { - "description": "The ID of the named range.", - "type": "string" - }, - "range": { - "$ref": "GridRange", - "description": "The range this represents." - }, - "name": { - "description": "The name of the named range.", - "type": "string" - } - }, - "id": "NamedRange" - }, - "CutPasteRequest": { - "description": "Moves data from the source to the destination.", - "type": "object", - "properties": { - "destination": { - "$ref": "GridCoordinate", - "description": "The top-left coordinate where the data should be pasted." - }, - "source": { - "description": "The source data to cut.", - "$ref": "GridRange" - }, - "pasteType": { - "enumDescriptions": [ - "Paste values, formulas, formats, and merges.", - "Paste the values ONLY without formats, formulas, or merges.", - "Paste the format and data validation only.", - "Like PASTE_NORMAL but without borders.", - "Paste the formulas only.", - "Paste the data validation only.", - "Paste the conditional formatting rules only." - ], - "enum": [ - "PASTE_NORMAL", - "PASTE_VALUES", - "PASTE_FORMAT", - "PASTE_NO_BORDERS", - "PASTE_FORMULA", - "PASTE_DATA_VALIDATION", - "PASTE_CONDITIONAL_FORMATTING" - ], - "description": "What kind of data to paste. All the source data will be cut, regardless\nof what is pasted.", - "type": "string" - } - }, - "id": "CutPasteRequest" - }, - "BasicChartSeries": { - "description": "A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".", - "type": "object", - "properties": { - "series": { - "$ref": "ChartData", - "description": "The data being visualized in this chart series." - }, - "type": { - "description": "The type of this series. Valid only if the\nchartType is\nCOMBO.\nDifferent types will change the way the series is visualized.\nOnly LINE, AREA,\nand COLUMN are supported.", - "type": "string", - "enumDescriptions": [ - "Default value, do not use.", - "A \u003ca href=\"/chart/interactive/docs/gallery/barchart\"\u003ebar chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/linechart\"\u003eline chart\u003c/a\u003e.", - "An \u003ca href=\"/chart/interactive/docs/gallery/areachart\"\u003earea chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/columnchart\"\u003ecolumn chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/scatterchart\"\u003escatter chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/combochart\"\u003ecombo chart\u003c/a\u003e." - ], - "enum": [ - "BASIC_CHART_TYPE_UNSPECIFIED", - "BAR", - "LINE", - "AREA", - "COLUMN", - "SCATTER", - "COMBO" - ] - }, - "targetAxis": { - "enumDescriptions": [ - "Default value, do not use.", - "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.", - "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.", - "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis." - ], - "enum": [ - "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", - "BOTTOM_AXIS", - "LEFT_AXIS", - "RIGHT_AXIS" - ], - "description": "The minor axis that will specify the range of values for this series.\nFor example, if charting stocks over time, the \"Volume\" series\nmay want to be pinned to the right with the prices pinned to the left,\nbecause the scale of trading volume is different than the scale of\nprices.\nIt is an error to specify an axis that isn't a valid minor axis\nfor the chart's type.", - "type": "string" - } - }, - "id": "BasicChartSeries" - }, - "Borders": { - "description": "The borders of the cell.", - "type": "object", - "properties": { - "right": { - "description": "The right border of the cell.", - "$ref": "Border" - }, - "bottom": { - "description": "The bottom border of the cell.", - "$ref": "Border" - }, - "top": { - "$ref": "Border", - "description": "The top border of the cell." - }, - "left": { - "$ref": "Border", - "description": "The left border of the cell." - } - }, - "id": "Borders" - }, - "AutoResizeDimensionsRequest": { - "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension.", - "type": "object", - "properties": { - "dimensions": { - "description": "The dimensions to automatically resize.\nOnly COLUMNS are supported.", - "$ref": "DimensionRange" - } - }, - "id": "AutoResizeDimensionsRequest" - }, - "UpdateBordersRequest": { - "description": "Updates the borders of a range.\nIf a field is not set in the request, that means the border remains as-is.\nFor example, with two subsequent UpdateBordersRequest:\n\n 1. range: A1:A5 `{ top: RED, bottom: WHITE }`\n 2. range: A1:A5 `{ left: BLUE }`\n\nThat would result in A1:A5 having a borders of\n`{ top: RED, bottom: WHITE, left: BLUE }`.\nIf you want to clear a border, explicitly set the style to\nNONE.", - "type": "object", - "properties": { - "bottom": { - "$ref": "Border", - "description": "The border to put at the bottom of the range." - }, - "innerVertical": { - "$ref": "Border", - "description": "The vertical border to put within the range." - }, - "right": { - "$ref": "Border", - "description": "The border to put at the right of the range." - }, - "range": { - "$ref": "GridRange", - "description": "The range whose borders should be updated." - }, - "innerHorizontal": { - "description": "The horizontal border to put within the range.", - "$ref": "Border" - }, - "top": { - "$ref": "Border", - "description": "The border to put at the top of the range." - }, - "left": { - "description": "The border to put at the left of the range.", - "$ref": "Border" - } - }, - "id": "UpdateBordersRequest" - }, - "CellFormat": { - "description": "The format of a cell.", - "type": "object", - "properties": { - "numberFormat": { - "description": "A format describing how number values should be represented to the user.", - "$ref": "NumberFormat" - }, - "hyperlinkDisplayType": { - "enumDescriptions": [ - "The default value: the hyperlink is rendered. Do not use this.", - "A hyperlink should be explicitly rendered.", - "A hyperlink should not be rendered." - ], - "enum": [ - "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED", - "LINKED", - "PLAIN_TEXT" - ], - "description": "How a hyperlink, if it exists, should be displayed in the cell.", - "type": "string" - }, - "horizontalAlignment": { - "description": "The horizontal alignment of the value in the cell.", - "type": "string", - "enumDescriptions": [ - "The horizontal alignment is not specified. Do not use this.", - "The text is explicitly aligned to the left of the cell.", - "The text is explicitly aligned to the center of the cell.", - "The text is explicitly aligned to the right of the cell." - ], - "enum": [ - "HORIZONTAL_ALIGN_UNSPECIFIED", - "LEFT", - "CENTER", - "RIGHT" - ] - }, - "textFormat": { - "description": "The format of the text in the cell (unless overridden by a format run).", - "$ref": "TextFormat" - }, - "backgroundColor": { - "$ref": "Color", - "description": "The background color of the cell." - }, - "padding": { - "description": "The padding of the cell.", - "$ref": "Padding" - }, - "verticalAlignment": { - "enumDescriptions": [ - "The vertical alignment is not specified. Do not use this.", - "The text is explicitly aligned to the top of the cell.", - "The text is explicitly aligned to the middle of the cell.", - "The text is explicitly aligned to the bottom of the cell." - ], - "enum": [ - "VERTICAL_ALIGN_UNSPECIFIED", - "TOP", - "MIDDLE", - "BOTTOM" - ], - "description": "The vertical alignment of the value in the cell.", - "type": "string" - }, - "borders": { - "description": "The borders of the cell.", - "$ref": "Borders" - }, - "textDirection": { - "description": "The direction of the text in the cell.", - "type": "string", - "enumDescriptions": [ - "The text direction is not specified. Do not use this.", - "The text direction of left-to-right was set by the user.", - "The text direction of right-to-left was set by the user." - ], - "enum": [ - "TEXT_DIRECTION_UNSPECIFIED", - "LEFT_TO_RIGHT", - "RIGHT_TO_LEFT" - ] - }, - "textRotation": { - "description": "The rotation applied to text in a cell", - "$ref": "TextRotation" - }, - "wrapStrategy": { - "description": "The wrap strategy for the value in the cell.", - "type": "string", - "enumDescriptions": [ - "The default value, do not use.", - "Lines that are longer than the cell width will be written in the next\ncell over, so long as that cell is empty. If the next cell over is\nnon-empty, this behaves the same as CLIP. The text will never wrap\nto the next line unless the user manually inserts a new line.\nExample:\n\n | First sentence. |\n | Manual newline that is very long. \u003c- Text continues into next cell\n | Next newline. |", - "This wrap strategy represents the old Google Sheets wrap strategy where\nwords that are longer than a line are clipped rather than broken. This\nstrategy is not supported on all platforms and is being phased out.\nExample:\n\n | Cell has a |\n | loooooooooo| \u003c- Word is clipped.\n | word. |", - "Lines that are longer than the cell width will be clipped.\nThe text will never wrap to the next line unless the user manually\ninserts a new line.\nExample:\n\n | First sentence. |\n | Manual newline t| \u003c- Text is clipped\n | Next newline. |", - "Words that are longer than a line are wrapped at the character level\nrather than clipped.\nExample:\n\n | Cell has a |\n | loooooooooo| \u003c- Word is broken.\n | ong word. |" - ], - "enum": [ - "WRAP_STRATEGY_UNSPECIFIED", - "OVERFLOW_CELL", - "LEGACY_WRAP", - "CLIP", - "WRAP" - ] - } - }, - "id": "CellFormat" - }, - "ClearValuesResponse": { - "description": "The response when clearing a range of values in a spreadsheet.", - "type": "object", - "properties": { - "clearedRange": { - "description": "The range (in A1 notation) that was cleared.\n(If the request was for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual range\n that was cleared, bounded to the sheet's limits.)", - "type": "string" - }, - "spreadsheetId": { - "description": "The spreadsheet the updates were applied to.", - "type": "string" - } - }, - "id": "ClearValuesResponse" - }, - "DeleteConditionalFormatRuleRequest": { - "description": "Deletes a conditional format rule at the given index.\nAll subsequent rules' indexes are decremented.", - "type": "object", - "properties": { - "index": { - "description": "The zero-based index of the rule to be deleted.", - "format": "int32", - "type": "integer" - }, - "sheetId": { - "description": "The sheet the rule is being deleted from.", - "format": "int32", - "type": "integer" - } - }, - "id": "DeleteConditionalFormatRuleRequest" - }, - "AddBandingResponse": { - "description": "The result of adding a banded range.", - "type": "object", - "properties": { - "bandedRange": { - "$ref": "BandedRange", - "description": "The banded range that was added." - } - }, - "id": "AddBandingResponse" - }, - "DeleteNamedRangeRequest": { - "description": "Removes the named range with the given ID from the spreadsheet.", - "type": "object", - "properties": { - "namedRangeId": { - "description": "The ID of the named range to delete.", - "type": "string" - } - }, - "id": "DeleteNamedRangeRequest" - }, - "ChartData": { - "description": "The data included in a domain or series.", - "type": "object", - "properties": { - "sourceRange": { - "description": "The source ranges of the data.", - "$ref": "ChartSourceRange" - } - }, - "id": "ChartData" - }, - "BatchGetValuesResponse": { - "description": "The response when retrieving more than one range of values in a spreadsheet.", - "type": "object", - "properties": { - "valueRanges": { - "description": "The requested values. The order of the ValueRanges is the same as the\norder of the requested ranges.", - "type": "array", - "items": { - "$ref": "ValueRange" - } - }, - "spreadsheetId": { - "description": "The ID of the spreadsheet the data was retrieved from.", - "type": "string" - } - }, - "id": "BatchGetValuesResponse" - }, - "UpdateBandingRequest": { - "description": "Updates properties of the supplied banded range.", - "type": "object", - "properties": { - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `bandedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - }, - "bandedRange": { - "description": "The banded range to update with the new properties.", - "$ref": "BandedRange" - } - }, - "id": "UpdateBandingRequest" - }, - "Color": { - "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples:\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha \u003c= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i \u003c missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...", - "type": "object", - "properties": { - "red": { - "description": "The amount of red in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "green": { - "description": "The amount of green in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "blue": { - "description": "The amount of blue in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "alpha": { - "description": "The fraction of this color that should be applied to the pixel. That is,\nthe final pixel color is defined by the equation:\n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish between a default value and the value being unset.\nIf omitted, this color object is to be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).", - "format": "float", - "type": "number" - } - }, - "id": "Color" - }, - "PivotGroup": { - "description": "A single grouping (either row or column) in a pivot table.", - "type": "object", - "properties": { - "sortOrder": { - "description": "The order the values in this group should be sorted.", - "type": "string", - "enumDescriptions": [ - "Default value, do not use this.", - "Sort ascending.", - "Sort descending." - ], - "enum": [ - "SORT_ORDER_UNSPECIFIED", - "ASCENDING", - "DESCENDING" - ] - }, - "valueBucket": { - "description": "The bucket of the opposite pivot group to sort by.\nIf not specified, sorting is alphabetical by this group's values.", - "$ref": "PivotGroupSortValueBucket" - }, - "sourceColumnOffset": { - "description": "The column offset of the source range that this grouping is based on.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.", - "format": "int32", - "type": "integer" - }, - "showTotals": { - "description": "True if the pivot table should include the totals for this grouping.", - "type": "boolean" - }, - "valueMetadata": { - "description": "Metadata about values in the grouping.", - "type": "array", - "items": { - "$ref": "PivotGroupValueMetadata" - } - } - }, - "id": "PivotGroup" - }, - "PivotTable": { - "description": "A pivot table.", - "type": "object", - "properties": { - "criteria": { - "additionalProperties": { - "$ref": "PivotFilterCriteria" - }, - "description": "An optional mapping of filters per source column offset.\n\nThe filters will be applied before aggregating data into the pivot table.\nThe map's key is the column offset of the source range that you want to\nfilter, and the value is the criteria for that column.\n\nFor example, if the source was `C10:E15`, a key of `0` will have the filter\nfor column `C`, whereas the key `1` is for column `D`.", - "type": "object" - }, - "rows": { - "description": "Each row grouping in the pivot table.", - "type": "array", - "items": { - "$ref": "PivotGroup" - } - }, - "valueLayout": { - "description": "Whether values should be listed horizontally (as columns)\nor vertically (as rows).", - "type": "string", - "enumDescriptions": [ - "Values are laid out horizontally (as columns).", - "Values are laid out vertically (as rows)." - ], - "enum": [ - "HORIZONTAL", - "VERTICAL" - ] - }, - "source": { - "$ref": "GridRange", - "description": "The range the pivot table is reading data from." - }, - "columns": { - "description": "Each column grouping in the pivot table.", - "type": "array", - "items": { - "$ref": "PivotGroup" - } - }, - "values": { - "description": "A list of values to include in the pivot table.", - "type": "array", - "items": { - "$ref": "PivotValue" - } - } - }, - "id": "PivotTable" - }, - "ChartSourceRange": { - "description": "Source ranges for a chart.", - "type": "object", - "properties": { - "sources": { - "description": "The ranges of data for a series or domain.\nExactly one dimension must have a length of 1,\nand all sources in the list must have the same dimension\nwith length 1.\nThe domain (if it exists) & all series must have the same number\nof source ranges. If using more than one source range, then the source\nrange at a given offset must be contiguous across the domain and series.\n\nFor example, these are valid configurations:\n\n domain sources: A1:A5\n series1 sources: B1:B5\n series2 sources: D6:D10\n\n domain sources: A1:A5, C10:C12\n series1 sources: B1:B5, D10:D12\n series2 sources: C1:C5, E10:E12", - "type": "array", - "items": { - "$ref": "GridRange" - } - } - }, - "id": "ChartSourceRange" - }, - "AppendCellsRequest": { - "description": "Adds new cells after the last row with data in a sheet,\ninserting new rows into the sheet if necessary.", - "type": "object", - "properties": { - "rows": { - "description": "The data to append.", - "type": "array", - "items": { - "$ref": "RowData" - } - }, - "fields": { - "description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - }, - "sheetId": { - "description": "The sheet ID to append the data to.", - "format": "int32", - "type": "integer" - } - }, - "id": "AppendCellsRequest" - }, - "ValueRange": { - "description": "Data within a range of the spreadsheet.", - "type": "object", - "properties": { - "range": { - "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.\nWhen appending values, this field represents the range to search for a\ntable, after which values will be appended.", - "type": "string" - }, - "majorDimension": { - "enumDescriptions": [ - "The default value, do not use.", - "Operates on the rows of a sheet.", - "Operates on the columns of a sheet." - ], - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ], - "description": "The major dimension of the values.\n\nFor output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.\n\nFor input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`\nwill set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`\nthen `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.\n\nWhen writing, if this field is not set, it defaults to ROWS.", - "type": "string" - }, - "values": { - "description": "The data that was read or to be written. This is an array of arrays,\nthe outer array representing all the data and each inner array\nrepresenting a major dimension. Each item in the inner array\ncorresponds with one cell.\n\nFor output, empty trailing rows and columns will not be included.\n\nFor input, supported value types are: bool, string, and double.\nNull values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.", - "type": "array", - "items": { - "type": "array", - "items": { - "type": "any" - } - } - } - }, - "id": "ValueRange" - }, - "AddBandingRequest": { - "description": "Adds a new banded range to the spreadsheet.", - "type": "object", - "properties": { - "bandedRange": { - "$ref": "BandedRange", - "description": "The banded range to add. The bandedRangeId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a range that already exists.)" - } - }, - "id": "AddBandingRequest" - }, - "Response": { - "description": "A single response from an update.", - "type": "object", - "properties": { - "addFilterView": { - "description": "A reply from adding a filter view.", - "$ref": "AddFilterViewResponse" - }, - "addBanding": { - "$ref": "AddBandingResponse", - "description": "A reply from adding a banded range." - }, - "addProtectedRange": { - "description": "A reply from adding a protected range.", - "$ref": "AddProtectedRangeResponse" - }, - "duplicateSheet": { - "$ref": "DuplicateSheetResponse", - "description": "A reply from duplicating a sheet." - }, - "updateEmbeddedObjectPosition": { - "description": "A reply from updating an embedded object's position.", - "$ref": "UpdateEmbeddedObjectPositionResponse" - }, - "deleteConditionalFormatRule": { - "description": "A reply from deleting a conditional format rule.", - "$ref": "DeleteConditionalFormatRuleResponse" - }, - "duplicateFilterView": { - "$ref": "DuplicateFilterViewResponse", - "description": "A reply from duplicating a filter view." - }, - "addChart": { - "description": "A reply from adding a chart.", - "$ref": "AddChartResponse" - }, - "findReplace": { - "description": "A reply from doing a find/replace.", - "$ref": "FindReplaceResponse" - }, - "addSheet": { - "$ref": "AddSheetResponse", - "description": "A reply from adding a sheet." - }, - "updateConditionalFormatRule": { - "$ref": "UpdateConditionalFormatRuleResponse", - "description": "A reply from updating a conditional format rule." - }, - "addNamedRange": { - "$ref": "AddNamedRangeResponse", - "description": "A reply from adding a named range." - } - }, - "id": "Response" - }, - "EmbeddedChart": { - "description": "A chart embedded in a sheet.", - "type": "object", - "properties": { - "chartId": { - "description": "The ID of the chart.", - "format": "int32", - "type": "integer" - }, - "position": { - "description": "The position of the chart.", - "$ref": "EmbeddedObjectPosition" - }, - "spec": { - "$ref": "ChartSpec", - "description": "The specification of the chart." - } - }, - "id": "EmbeddedChart" - }, - "TextFormatRun": { - "description": "A run of a text format. The format of this run continues until the start\nindex of the next run.\nWhen updating, all fields must be set.", - "type": "object", - "properties": { - "startIndex": { - "description": "The character index where this run starts.", - "format": "int32", - "type": "integer" - }, - "format": { - "description": "The format of this run. Absent values inherit the cell's format.", - "$ref": "TextFormat" - } - }, - "id": "TextFormatRun" - }, - "InsertRangeRequest": { - "description": "Inserts cells into a range, shifting the existing cells over or down.", - "type": "object", - "properties": { - "shiftDimension": { - "description": "The dimension which will be shifted when inserting cells.\nIf ROWS, existing cells will be shifted down.\nIf COLUMNS, existing cells will be shifted right.", - "type": "string", - "enumDescriptions": [ - "The default value, do not use.", - "Operates on the rows of a sheet.", - "Operates on the columns of a sheet." - ], - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ] - }, - "range": { - "description": "The range to insert new cells into.", - "$ref": "GridRange" - } - }, - "id": "InsertRangeRequest" - }, - "AddNamedRangeResponse": { - "description": "The result of adding a named range.", - "type": "object", - "properties": { - "namedRange": { - "$ref": "NamedRange", - "description": "The named range to add." - } - }, - "id": "AddNamedRangeResponse" - }, - "RowData": { - "description": "Data about each cell in a row.", - "type": "object", - "properties": { - "values": { - "description": "The values in the row, one per column.", - "type": "array", - "items": { - "$ref": "CellData" - } - } - }, - "id": "RowData" - }, - "Border": { - "description": "A border along a cell.", - "type": "object", - "properties": { - "style": { - "description": "The style of the border.", - "type": "string", - "enumDescriptions": [ - "The style is not specified. Do not use this.", - "The border is dotted.", - "The border is dashed.", - "The border is a thin solid line.", - "The border is a medium solid line.", - "The border is a thick solid line.", - "No border.\nUsed only when updating a border in order to erase it.", - "The border is two solid lines." - ], - "enum": [ - "STYLE_UNSPECIFIED", - "DOTTED", - "DASHED", - "SOLID", - "SOLID_MEDIUM", - "SOLID_THICK", - "NONE", - "DOUBLE" - ] - }, - "color": { - "$ref": "Color", - "description": "The color of the border." - }, - "width": { - "description": "The width of the border, in pixels.\nDeprecated; the width is determined by the \"style\" field.", - "format": "int32", - "type": "integer" - } - }, - "id": "Border" - }, - "GridData": { - "description": "Data in the grid, as well as metadata about the dimensions.", - "type": "object", - "properties": { - "startRow": { - "description": "The first row this GridData refers to, zero-based.", - "format": "int32", - "type": "integer" - }, - "columnMetadata": { - "description": "Metadata about the requested columns in the grid, starting with the column\nin start_column.", - "type": "array", - "items": { - "$ref": "DimensionProperties" - } - }, - "startColumn": { - "description": "The first column this GridData refers to, zero-based.", - "format": "int32", - "type": "integer" - }, - "rowMetadata": { - "description": "Metadata about the requested rows in the grid, starting with the row\nin start_row.", - "type": "array", - "items": { - "$ref": "DimensionProperties" - } - }, - "rowData": { - "description": "The data in the grid, one entry per row,\nstarting with the row in startRow.\nThe values in RowData will correspond to columns starting\nat start_column.", - "type": "array", - "items": { - "$ref": "RowData" - } - } - }, - "id": "GridData" - }, - "FindReplaceRequest": { - "description": "Finds and replaces data in cells over a range, sheet, or all sheets.", - "type": "object", - "properties": { - "replacement": { - "description": "The value to use as the replacement.", - "type": "string" - }, - "range": { - "description": "The range to find/replace over.", - "$ref": "GridRange" - }, - "sheetId": { - "description": "The sheet to find/replace over.", - "format": "int32", - "type": "integer" - }, - "matchCase": { - "description": "True if the search is case sensitive.", - "type": "boolean" - }, - "allSheets": { - "description": "True to find/replace over all sheets.", - "type": "boolean" - }, - "includeFormulas": { - "description": "True if the search should include cells with formulas.\nFalse to skip cells with formulas.", - "type": "boolean" - }, - "matchEntireCell": { - "description": "True if the find value should match the entire cell.", - "type": "boolean" - }, - "find": { - "description": "The value to search.", - "type": "string" - }, - "searchByRegex": { - "description": "True if the find value is a regex.\nThe regular expression and replacement should follow Java regex rules\nat https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html.\nThe replacement string is allowed to refer to capturing groups.\nFor example, if one cell has the contents `\"Google Sheets\"` and another\nhas `\"Google Docs\"`, then searching for `\"o.* (.*)\"` with a replacement of\n`\"$1 Rocks\"` would change the contents of the cells to\n`\"GSheets Rocks\"` and `\"GDocs Rocks\"` respectively.", - "type": "boolean" - } - }, - "id": "FindReplaceRequest" - }, - "UpdateNamedRangeRequest": { - "description": "Updates properties of the named range with the specified\nnamedRangeId.", - "type": "object", - "properties": { - "namedRange": { - "description": "The named range to update with the new properties.", - "$ref": "NamedRange" - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `namedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateNamedRangeRequest" - }, - "AddSheetRequest": { - "description": "Adds a new sheet.\nWhen a sheet is added at a given index,\nall subsequent sheets' indexes are incremented.\nTo add an object sheet, use AddChartRequest instead and specify\nEmbeddedObjectPosition.sheetId or\nEmbeddedObjectPosition.newSheet.", - "type": "object", - "properties": { - "properties": { - "description": "The properties the new sheet should have.\nAll properties are optional.\nThe sheetId field is optional; if one is not\nset, an id will be randomly generated. (It is an error to specify the ID\nof a sheet that already exists.)", - "$ref": "SheetProperties" - } - }, - "id": "AddSheetRequest" - }, - "UpdateCellsRequest": { - "description": "Updates all cells in a range with new data.", - "type": "object", - "properties": { - "start": { - "$ref": "GridCoordinate", - "description": "The coordinate to start writing data at.\nAny number of rows and columns (including a different number of\ncolumns per row) may be written." - }, - "range": { - "description": "The range to write data to.\n\nIf the data in rows does not cover the entire requested range,\nthe fields matching those set in fields will be cleared.", - "$ref": "GridRange" - }, - "rows": { - "description": "The data to write.", - "type": "array", - "items": { - "$ref": "RowData" - } - }, - "fields": { - "description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateCellsRequest" - }, - "DeleteConditionalFormatRuleResponse": { - "description": "The result of deleting a conditional format rule.", - "type": "object", - "properties": { - "rule": { - "$ref": "ConditionalFormatRule", - "description": "The rule that was deleted." - } - }, - "id": "DeleteConditionalFormatRuleResponse" - }, - "DeleteRangeRequest": { - "description": "Deletes a range of cells, shifting other cells into the deleted area.", - "type": "object", - "properties": { - "shiftDimension": { - "description": "The dimension from which deleted cells will be replaced with.\nIf ROWS, existing cells will be shifted upward to\nreplace the deleted cells. If COLUMNS, existing cells\nwill be shifted left to replace the deleted cells.", - "type": "string", - "enumDescriptions": [ - "The default value, do not use.", - "Operates on the rows of a sheet.", - "Operates on the columns of a sheet." - ], - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ] - }, - "range": { - "description": "The range of cells to delete.", - "$ref": "GridRange" - } - }, - "id": "DeleteRangeRequest" - }, - "GridCoordinate": { - "description": "A coordinate in a sheet.\nAll indexes are zero-based.", - "type": "object", - "properties": { - "rowIndex": { - "description": "The row index of the coordinate.", - "format": "int32", - "type": "integer" - }, - "columnIndex": { - "description": "The column index of the coordinate.", - "format": "int32", - "type": "integer" - }, - "sheetId": { - "description": "The sheet this coordinate is on.", - "format": "int32", - "type": "integer" - } - }, - "id": "GridCoordinate" - }, - "UpdateSheetPropertiesRequest": { - "description": "Updates properties of the sheet with the specified\nsheetId.", - "type": "object", - "properties": { - "properties": { - "$ref": "SheetProperties", - "description": "The properties to update." - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateSheetPropertiesRequest" - }, - "GridProperties": { - "description": "Properties of a grid.", - "type": "object", - "properties": { - "rowCount": { - "description": "The number of rows in the grid.", - "format": "int32", - "type": "integer" - }, - "frozenRowCount": { - "description": "The number of rows that are frozen in the grid.", - "format": "int32", - "type": "integer" - }, - "hideGridlines": { - "description": "True if the grid isn't showing gridlines in the UI.", - "type": "boolean" - }, - "columnCount": { - "description": "The number of columns in the grid.", - "format": "int32", - "type": "integer" - }, - "frozenColumnCount": { - "description": "The number of columns that are frozen in the grid.", - "format": "int32", - "type": "integer" - } - }, - "id": "GridProperties" - }, - "UnmergeCellsRequest": { - "description": "Unmerges cells in the given range.", - "type": "object", - "properties": { - "range": { - "$ref": "GridRange", - "description": "The range within which all cells should be unmerged.\nIf the range spans multiple merges, all will be unmerged.\nThe range must not partially span any merge." - } - }, - "id": "UnmergeCellsRequest" - }, - "UpdateEmbeddedObjectPositionResponse": { - "description": "The result of updating an embedded object's position.", - "type": "object", - "properties": { - "position": { - "description": "The new position of the embedded object.", - "$ref": "EmbeddedObjectPosition" - } - }, - "id": "UpdateEmbeddedObjectPositionResponse" - }, - "SortSpec": { - "description": "A sort order associated with a specific column or row.", - "type": "object", - "properties": { - "dimensionIndex": { - "description": "The dimension the sort should be applied to.", - "format": "int32", - "type": "integer" - }, - "sortOrder": { - "enumDescriptions": [ - "Default value, do not use this.", - "Sort ascending.", - "Sort descending." - ], - "enum": [ - "SORT_ORDER_UNSPECIFIED", - "ASCENDING", - "DESCENDING" - ], - "description": "The order data should be sorted.", - "type": "string" - } - }, - "id": "SortSpec" - }, - "Sheet": { - "description": "A sheet in a spreadsheet.", - "type": "object", - "properties": { - "merges": { - "description": "The ranges that are merged together.", - "type": "array", - "items": { - "$ref": "GridRange" - } - }, - "data": { - "description": "Data in the grid, if this is a grid sheet.\nThe number of GridData objects returned is dependent on the number of\nranges requested on this sheet. For example, if this is representing\n`Sheet1`, and the spreadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-based column D).", - "type": "array", - "items": { - "$ref": "GridData" - } - }, - "bandedRanges": { - "description": "The banded (i.e. alternating colors) ranges on this sheet.", - "type": "array", - "items": { - "$ref": "BandedRange" - } - }, - "charts": { - "description": "The specifications of every chart on this sheet.", - "type": "array", - "items": { - "$ref": "EmbeddedChart" - } - }, - "properties": { - "description": "The properties of the sheet.", - "$ref": "SheetProperties" - }, - "filterViews": { - "description": "The filter views in this sheet.", - "type": "array", - "items": { - "$ref": "FilterView" - } - }, - "protectedRanges": { - "description": "The protected ranges in this sheet.", - "type": "array", - "items": { - "$ref": "ProtectedRange" - } - }, - "conditionalFormats": { - "description": "The conditional format rules in this sheet.", - "type": "array", - "items": { - "$ref": "ConditionalFormatRule" - } - }, - "basicFilter": { - "$ref": "BasicFilter", - "description": "The filter on this sheet, if any." - } - }, - "id": "Sheet" - }, - "BooleanRule": { - "description": "A rule that may or may not match, depending on the condition.", - "type": "object", - "properties": { - "format": { - "description": "The format to apply.\nConditional formatting can only apply a subset of formatting:\nbold, italic,\nstrikethrough,\nforeground color &\nbackground color.", - "$ref": "CellFormat" - }, - "condition": { - "description": "The condition of the rule. If the condition evaluates to true,\nthe format will be applied.", - "$ref": "BooleanCondition" - } - }, - "id": "BooleanRule" - }, - "PivotGroupValueMetadata": { - "description": "Metadata about a value in a pivot grouping.", - "type": "object", - "properties": { - "collapsed": { - "description": "True if the data corresponding to the value is collapsed.", - "type": "boolean" - }, - "value": { - "$ref": "ExtendedValue", - "description": "The calculated value the metadata corresponds to.\n(Note that formulaValue is not valid,\n because the values will be calculated.)" - } - }, - "id": "PivotGroupValueMetadata" - }, - "FilterCriteria": { - "description": "Criteria for showing/hiding rows in a filter or filter view.", - "type": "object", - "properties": { - "hiddenValues": { - "description": "Values that should be hidden.", - "type": "array", - "items": { - "type": "string" - } - }, - "condition": { - "description": "A condition that must be true for values to be shown.\n(This does not override hiddenValues -- if a value is listed there,\n it will still be hidden.)", - "$ref": "BooleanCondition" - } - }, - "id": "FilterCriteria" - }, - "Editors": { - "description": "The editors of a protected range.", - "type": "object", - "properties": { - "users": { - "description": "The email addresses of users with edit access to the protected range.", - "type": "array", - "items": { - "type": "string" - } - }, - "groups": { - "description": "The email addresses of groups with edit access to the protected range.", - "type": "array", - "items": { - "type": "string" - } - }, - "domainUsersCanEdit": { - "description": "True if anyone in the document's domain has edit access to the protected\nrange. Domain protection is only supported on documents within a domain.", - "type": "boolean" - } - }, - "id": "Editors" - }, - "UpdateConditionalFormatRuleRequest": { - "description": "Updates a conditional format rule at the given index,\nor moves a conditional format rule to another index.", - "type": "object", - "properties": { - "newIndex": { - "description": "The zero-based new index the rule should end up at.", - "format": "int32", - "type": "integer" - }, - "rule": { - "$ref": "ConditionalFormatRule", - "description": "The rule that should replace the rule at the given index." - }, - "index": { - "description": "The zero-based index of the rule that should be replaced or moved.", - "format": "int32", - "type": "integer" - }, - "sheetId": { - "description": "The sheet of the rule to move. Required if new_index is set,\nunused otherwise.", - "format": "int32", - "type": "integer" - } - }, - "id": "UpdateConditionalFormatRuleRequest" - }, - "DataValidationRule": { - "description": "A data validation rule.", - "type": "object", - "properties": { - "showCustomUi": { - "description": "True if the UI should be customized based on the kind of condition.\nIf true, \"List\" conditions will show a dropdown.", - "type": "boolean" - }, - "strict": { - "description": "True if invalid data should be rejected.", - "type": "boolean" - }, - "inputMessage": { - "description": "A message to show the user when adding data to the cell.", - "type": "string" - }, - "condition": { - "$ref": "BooleanCondition", - "description": "The condition that data in the cell must match." - } - }, - "id": "DataValidationRule" - }, - "BasicChartDomain": { - "description": "The domain of a chart.\nFor example, if charting stock prices over time, this would be the date.", - "type": "object", - "properties": { - "domain": { - "description": "The data of the domain. For example, if charting stock prices over time,\nthis is the data representing the dates.", - "$ref": "ChartData" - } - }, - "id": "BasicChartDomain" - }, - "PasteDataRequest": { - "description": "Inserts data into the spreadsheet starting at the specified coordinate.", - "type": "object", - "properties": { - "coordinate": { - "$ref": "GridCoordinate", - "description": "The coordinate at which the data should start being inserted." - }, - "data": { - "description": "The data to insert.", - "type": "string" - }, - "delimiter": { - "description": "The delimiter in the data.", - "type": "string" - }, - "type": { - "description": "How the data should be pasted.", - "type": "string", - "enumDescriptions": [ - "Paste values, formulas, formats, and merges.", - "Paste the values ONLY without formats, formulas, or merges.", - "Paste the format and data validation only.", - "Like PASTE_NORMAL but without borders.", - "Paste the formulas only.", - "Paste the data validation only.", - "Paste the conditional formatting rules only." - ], - "enum": [ - "PASTE_NORMAL", - "PASTE_VALUES", - "PASTE_FORMAT", - "PASTE_NO_BORDERS", - "PASTE_FORMULA", - "PASTE_DATA_VALIDATION", - "PASTE_CONDITIONAL_FORMATTING" - ] - }, - "html": { - "description": "True if the data is HTML.", - "type": "boolean" - } - }, - "id": "PasteDataRequest" - }, - "AppendDimensionRequest": { - "description": "Appends rows or columns to the end of a sheet.", - "type": "object", - "properties": { - "dimension": { - "enumDescriptions": [ - "The default value, do not use.", - "Operates on the rows of a sheet.", - "Operates on the columns of a sheet." - ], - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ], - "description": "Whether rows or columns should be appended.", - "type": "string" - }, - "length": { - "description": "The number of rows or columns to append.", - "format": "int32", - "type": "integer" - }, - "sheetId": { - "description": "The sheet to append rows or columns to.", - "format": "int32", - "type": "integer" - } - }, - "id": "AppendDimensionRequest" - }, - "AddNamedRangeRequest": { - "description": "Adds a named range to the spreadsheet.", - "type": "object", - "properties": { - "namedRange": { - "$ref": "NamedRange", - "description": "The named range to add. The namedRangeId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a range that already exists.)" - } - }, - "id": "AddNamedRangeRequest" - }, - "UpdateEmbeddedObjectPositionRequest": { - "description": "Update an embedded object's position (such as a moving or resizing a\nchart or image).", - "type": "object", - "properties": { - "newPosition": { - "description": "An explicit position to move the embedded object to.\nIf newPosition.sheetId is set,\na new sheet with that ID will be created.\nIf newPosition.newSheet is set to true,\na new sheet will be created with an ID that will be chosen for you.", - "$ref": "EmbeddedObjectPosition" - }, - "fields": { - "description": "The fields of OverlayPosition\nthat should be updated when setting a new position. Used only if\nnewPosition.overlayPosition\nis set, in which case at least one field must\nbe specified. The root `newPosition.overlayPosition` is implied and\nshould not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - }, - "objectId": { - "description": "The ID of the object to moved.", - "format": "int32", - "type": "integer" - } - }, - "id": "UpdateEmbeddedObjectPositionRequest" - }, - "TextRotation": { - "description": "The rotation applied to text in a cell.", - "type": "object", - "properties": { - "angle": { - "description": "The angle between the standard orientation and the desired orientation.\nMeasured in degrees. Valid values are between -90 and 90. Positive\nangles are angled upwards, negative are angled downwards.\n\nNote: For LTR text direction positive angles are in the counterclockwise\ndirection, whereas for RTL they are in the clockwise direction", - "format": "int32", - "type": "integer" - }, - "vertical": { - "description": "If true, text reads top to bottom, but the orientation of individual\ncharacters is unchanged.\nFor example:\n\n | V |\n | e |\n | r |\n | t |\n | i |\n | c |\n | a |\n | l |", - "type": "boolean" - } - }, - "id": "TextRotation" - }, - "PieChartSpec": { - "description": "A \u003ca href=\"/chart/interactive/docs/gallery/piechart\"\u003epie chart\u003c/a\u003e.", - "type": "object", - "properties": { - "series": { - "description": "The data that covers the one and only series of the pie chart.", - "$ref": "ChartData" - }, - "legendPosition": { - "enumDescriptions": [ - "Default value, do not use.", - "The legend is rendered on the bottom of the chart.", - "The legend is rendered on the left of the chart.", - "The legend is rendered on the right of the chart.", - "The legend is rendered on the top of the chart.", - "No legend is rendered.", - "Each pie slice has a label attached to it." - ], - "enum": [ - "PIE_CHART_LEGEND_POSITION_UNSPECIFIED", - "BOTTOM_LEGEND", - "LEFT_LEGEND", - "RIGHT_LEGEND", - "TOP_LEGEND", - "NO_LEGEND", - "LABELED_LEGEND" - ], - "description": "Where the legend of the pie chart should be drawn.", - "type": "string" - }, - "pieHole": { - "description": "The size of the hole in the pie chart.", - "format": "double", - "type": "number" - }, - "domain": { - "description": "The data that covers the domain of the pie chart.", - "$ref": "ChartData" - }, - "threeDimensional": { - "description": "True if the pie is three dimensional.", - "type": "boolean" - } - }, - "id": "PieChartSpec" - }, - "UpdateFilterViewRequest": { - "description": "Updates properties of the filter view.", - "type": "object", - "properties": { - "filter": { - "$ref": "FilterView", - "description": "The new properties of the filter view." - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `filter` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateFilterViewRequest" - }, - "ConditionalFormatRule": { - "description": "A rule describing a conditional format.", - "type": "object", - "properties": { - "booleanRule": { - "description": "The formatting is either \"on\" or \"off\" according to the rule.", - "$ref": "BooleanRule" - }, - "ranges": { - "description": "The ranges that will be formatted if the condition is true.\nAll the ranges must be on the same grid.", - "type": "array", - "items": { - "$ref": "GridRange" - } - }, - "gradientRule": { - "$ref": "GradientRule", - "description": "The formatting will vary based on the gradients in the rule." - } - }, - "id": "ConditionalFormatRule" - }, - "CopyPasteRequest": { - "description": "Copies data from the source to the destination.", - "type": "object", - "properties": { - "destination": { - "$ref": "GridRange", - "description": "The location to paste to. If the range covers a span that's\na multiple of the source's height or width, then the\ndata will be repeated to fill in the destination range.\nIf the range is smaller than the source range, the entire\nsource data will still be copied (beyond the end of the destination range)." - }, - "pasteOrientation": { - "description": "How that data should be oriented when pasting.", - "type": "string", - "enumDescriptions": [ - "Paste normally.", - "Paste transposed, where all rows become columns and vice versa." - ], - "enum": [ - "NORMAL", - "TRANSPOSE" - ] - }, - "source": { - "$ref": "GridRange", - "description": "The source range to copy." - }, - "pasteType": { - "description": "What kind of data to paste.", - "type": "string", - "enumDescriptions": [ - "Paste values, formulas, formats, and merges.", - "Paste the values ONLY without formats, formulas, or merges.", - "Paste the format and data validation only.", - "Like PASTE_NORMAL but without borders.", - "Paste the formulas only.", - "Paste the data validation only.", - "Paste the conditional formatting rules only." - ], - "enum": [ - "PASTE_NORMAL", - "PASTE_VALUES", - "PASTE_FORMAT", - "PASTE_NO_BORDERS", - "PASTE_FORMULA", - "PASTE_DATA_VALIDATION", - "PASTE_CONDITIONAL_FORMATTING" - ] - } - }, - "id": "CopyPasteRequest" - }, - "Request": { - "description": "A single kind of update to apply to a spreadsheet.", - "type": "object", - "properties": { - "updateChartSpec": { - "description": "Updates a chart's specifications.", - "$ref": "UpdateChartSpecRequest" - }, - "textToColumns": { - "description": "Converts a column of text into many columns of text.", - "$ref": "TextToColumnsRequest" - }, - "updateProtectedRange": { - "$ref": "UpdateProtectedRangeRequest", - "description": "Updates a protected range." - }, - "addSheet": { - "$ref": "AddSheetRequest", - "description": "Adds a sheet." - }, - "deleteFilterView": { - "description": "Deletes a filter view from a sheet.", - "$ref": "DeleteFilterViewRequest" - }, - "copyPaste": { - "$ref": "CopyPasteRequest", - "description": "Copies data from one area and pastes it to another." - }, - "insertDimension": { - "description": "Inserts new rows or columns in a sheet.", - "$ref": "InsertDimensionRequest" - }, - "deleteRange": { - "description": "Deletes a range of cells from a sheet, shifting the remaining cells.", - "$ref": "DeleteRangeRequest" - }, - "deleteBanding": { - "description": "Removes a banded range", - "$ref": "DeleteBandingRequest" - }, - "addFilterView": { - "description": "Adds a filter view.", - "$ref": "AddFilterViewRequest" - }, - "updateBorders": { - "$ref": "UpdateBordersRequest", - "description": "Updates the borders in a range of cells." - }, - "setDataValidation": { - "$ref": "SetDataValidationRequest", - "description": "Sets data validation for one or more cells." - }, - "deleteConditionalFormatRule": { - "description": "Deletes an existing conditional format rule.", - "$ref": "DeleteConditionalFormatRuleRequest" - }, - "clearBasicFilter": { - "description": "Clears the basic filter on a sheet.", - "$ref": "ClearBasicFilterRequest" - }, - "repeatCell": { - "description": "Repeats a single cell across a range.", - "$ref": "RepeatCellRequest" - }, - "appendDimension": { - "description": "Appends dimensions to the end of a sheet.", - "$ref": "AppendDimensionRequest" - }, - "updateConditionalFormatRule": { - "description": "Updates an existing conditional format rule.", - "$ref": "UpdateConditionalFormatRuleRequest" - }, - "insertRange": { - "description": "Inserts new cells in a sheet, shifting the existing cells.", - "$ref": "InsertRangeRequest" - }, - "moveDimension": { - "$ref": "MoveDimensionRequest", - "description": "Moves rows or columns to another location in a sheet." - }, - "updateBanding": { - "description": "Updates a banded range", - "$ref": "UpdateBandingRequest" - }, - "deleteNamedRange": { - "$ref": "DeleteNamedRangeRequest", - "description": "Deletes a named range." - }, - "addProtectedRange": { - "$ref": "AddProtectedRangeRequest", - "description": "Adds a protected range." - }, - "duplicateSheet": { - "$ref": "DuplicateSheetRequest", - "description": "Duplicates a sheet." - }, - "unmergeCells": { - "description": "Unmerges merged cells.", - "$ref": "UnmergeCellsRequest" - }, - "deleteSheet": { - "$ref": "DeleteSheetRequest", - "description": "Deletes a sheet." - }, - "updateEmbeddedObjectPosition": { - "$ref": "UpdateEmbeddedObjectPositionRequest", - "description": "Updates an embedded object's (e.g. chart, image) position." - }, - "updateDimensionProperties": { - "description": "Updates dimensions' properties.", - "$ref": "UpdateDimensionPropertiesRequest" - }, - "pasteData": { - "description": "Pastes data (HTML or delimited) into a sheet.", - "$ref": "PasteDataRequest" - }, - "setBasicFilter": { - "description": "Sets the basic filter on a sheet.", - "$ref": "SetBasicFilterRequest" - }, - "addConditionalFormatRule": { - "$ref": "AddConditionalFormatRuleRequest", - "description": "Adds a new conditional format rule." - }, - "updateCells": { - "$ref": "UpdateCellsRequest", - "description": "Updates many cells at once." - }, - "addNamedRange": { - "description": "Adds a named range.", - "$ref": "AddNamedRangeRequest" - }, - "updateSpreadsheetProperties": { - "description": "Updates the spreadsheet's properties.", - "$ref": "UpdateSpreadsheetPropertiesRequest" - }, - "deleteEmbeddedObject": { - "description": "Deletes an embedded object (e.g, chart, image) in a sheet.", - "$ref": "DeleteEmbeddedObjectRequest" - }, - "updateFilterView": { - "description": "Updates the properties of a filter view.", - "$ref": "UpdateFilterViewRequest" - }, - "addBanding": { - "description": "Adds a new banded range", - "$ref": "AddBandingRequest" - }, - "appendCells": { - "description": "Appends cells after the last row with data in a sheet.", - "$ref": "AppendCellsRequest" - }, - "autoResizeDimensions": { - "$ref": "AutoResizeDimensionsRequest", - "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension." - }, - "cutPaste": { - "$ref": "CutPasteRequest", - "description": "Cuts data from one area and pastes it to another." - }, - "mergeCells": { - "$ref": "MergeCellsRequest", - "description": "Merges cells together." - }, - "updateNamedRange": { - "$ref": "UpdateNamedRangeRequest", - "description": "Updates a named range." - }, - "updateSheetProperties": { - "$ref": "UpdateSheetPropertiesRequest", - "description": "Updates a sheet's properties." - }, - "autoFill": { - "description": "Automatically fills in more data based on existing data.", - "$ref": "AutoFillRequest" - }, - "deleteDimension": { - "$ref": "DeleteDimensionRequest", - "description": "Deletes rows or columns in a sheet." - }, - "sortRange": { - "description": "Sorts data in a range.", - "$ref": "SortRangeRequest" - }, - "deleteProtectedRange": { - "$ref": "DeleteProtectedRangeRequest", - "description": "Deletes a protected range." - }, - "duplicateFilterView": { - "$ref": "DuplicateFilterViewRequest", - "description": "Duplicates a filter view." - }, - "addChart": { - "description": "Adds a chart.", - "$ref": "AddChartRequest" - }, - "findReplace": { - "description": "Finds and replaces occurrences of some text with other text.", - "$ref": "FindReplaceRequest" - } - }, - "id": "Request" - }, - "BooleanCondition": { - "description": "A condition that can evaluate to true or false.\nBooleanConditions are used by conditional formatting,\ndata validation, and the criteria in filters.", - "type": "object", - "properties": { - "type": { - "enumDescriptions": [ - "The default value, do not use.", - "The cell's value must be greater than the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be greater than or equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be less than the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be less than or equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be not equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.", - "The cell's value must not be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.", - "The cell's value must contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must not contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must start with the condition's value.\nSupported by conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must end with the condition's value.\nSupported by conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be exactly the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be a valid email address.\nSupported by data validation.\nRequires no ConditionValues.", - "The cell's value must be a valid URL.\nSupported by data validation.\nRequires no ConditionValues.", - "The cell's value must be the same date as the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", - "The cell's value must be before the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.", - "The cell's value must be after the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.", - "The cell's value must be on or before the date of the condition's value.\nSupported by data validation.\nRequires a single ConditionValue\nthat may be a relative date.", - "The cell's value must be on or after the date of the condition's value.\nSupported by data validation.\nRequires a single ConditionValue\nthat may be a relative date.", - "The cell's value must be between the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.", - "The cell's value must be outside the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.", - "The cell's value must be a date.\nSupported by data validation.\nRequires no ConditionValues.", - "The cell's value must be listed in the grid in condition value's range.\nSupported by data validation.\nRequires a single ConditionValue,\nand the value must be a valid range in A1 notation.", - "The cell's value must in the list of condition values.\nSupported by data validation.\nSupports any number of condition values,\none per item in the list.\nFormulas are not supported in the values.", - "The cell's value must be empty.\nSupported by conditional formatting and filters.\nRequires no ConditionValues.", - "The cell's value must not be empty.\nSupported by conditional formatting and filters.\nRequires no ConditionValues.", - "The condition's formula must evaluate to true.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue." - ], - "enum": [ - "CONDITION_TYPE_UNSPECIFIED", - "NUMBER_GREATER", - "NUMBER_GREATER_THAN_EQ", - "NUMBER_LESS", - "NUMBER_LESS_THAN_EQ", - "NUMBER_EQ", - "NUMBER_NOT_EQ", - "NUMBER_BETWEEN", - "NUMBER_NOT_BETWEEN", - "TEXT_CONTAINS", - "TEXT_NOT_CONTAINS", - "TEXT_STARTS_WITH", - "TEXT_ENDS_WITH", - "TEXT_EQ", - "TEXT_IS_EMAIL", - "TEXT_IS_URL", - "DATE_EQ", - "DATE_BEFORE", - "DATE_AFTER", - "DATE_ON_OR_BEFORE", - "DATE_ON_OR_AFTER", - "DATE_BETWEEN", - "DATE_NOT_BETWEEN", - "DATE_IS_VALID", - "ONE_OF_RANGE", - "ONE_OF_LIST", - "BLANK", - "NOT_BLANK", - "CUSTOM_FORMULA" - ], - "description": "The type of condition.", - "type": "string" - }, - "values": { - "description": "The values of the condition. The number of supported values depends\non the condition type. Some support zero values,\nothers one or two values,\nand ConditionType.ONE_OF_LIST supports an arbitrary number of values.", - "type": "array", - "items": { - "$ref": "ConditionValue" - } - } - }, - "id": "BooleanCondition" - }, - "GridRange": { - "description": "A range on a sheet.\nAll indexes are zero-based.\nIndexes are half open, e.g the start index is inclusive\nand the end index is exclusive -- [start_index, end_index).\nMissing indexes indicate the range is unbounded on that side.\n\nFor example, if `\"Sheet1\"` is sheet ID 0, then:\n\n `Sheet1!A1:A1 == sheet_id: 0,\n start_row_index: 0, end_row_index: 1,\n start_column_index: 0, end_column_index: 1`\n\n `Sheet1!A3:B4 == sheet_id: 0,\n start_row_index: 2, end_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A:B == sheet_id: 0,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A5:B == sheet_id: 0,\n start_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1 == sheet_id:0`\n\nThe start index must always be less than or equal to the end index.\nIf the start index equals the end index, then the range is empty.\nEmpty ranges are typically not meaningful and are usually rendered in the\nUI as `#REF!`.", - "type": "object", - "properties": { - "endRowIndex": { - "description": "The end row (exclusive) of the range, or not set if unbounded.", - "format": "int32", - "type": "integer" - }, - "endColumnIndex": { - "description": "The end column (exclusive) of the range, or not set if unbounded.", - "format": "int32", - "type": "integer" - }, - "startRowIndex": { - "description": "The start row (inclusive) of the range, or not set if unbounded.", - "format": "int32", - "type": "integer" - }, - "startColumnIndex": { - "description": "The start column (inclusive) of the range, or not set if unbounded.", - "format": "int32", - "type": "integer" - }, - "sheetId": { - "description": "The sheet this range is on.", - "format": "int32", - "type": "integer" - } - }, - "id": "GridRange" - }, - "BasicChartSpec": { - "description": "The specification for a basic chart. See BasicChartType for the list\nof charts this supports.", - "type": "object", - "properties": { - "headerCount": { - "description": "The number of rows or columns in the data that are \"headers\".\nIf not set, Google Sheets will guess how many rows are headers based\non the data.\n\n(Note that BasicChartAxis.title may override the axis title\n inferred from the header values.)", - "format": "int32", - "type": "integer" - }, - "axis": { - "description": "The axis on the chart.", - "type": "array", - "items": { - "$ref": "BasicChartAxis" - } - }, - "chartType": { - "description": "The type of the chart.", - "type": "string", - "enumDescriptions": [ - "Default value, do not use.", - "A \u003ca href=\"/chart/interactive/docs/gallery/barchart\"\u003ebar chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/linechart\"\u003eline chart\u003c/a\u003e.", - "An \u003ca href=\"/chart/interactive/docs/gallery/areachart\"\u003earea chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/columnchart\"\u003ecolumn chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/scatterchart\"\u003escatter chart\u003c/a\u003e.", - "A \u003ca href=\"/chart/interactive/docs/gallery/combochart\"\u003ecombo chart\u003c/a\u003e." - ], - "enum": [ - "BASIC_CHART_TYPE_UNSPECIFIED", - "BAR", - "LINE", - "AREA", - "COLUMN", - "SCATTER", - "COMBO" - ] - }, - "series": { - "description": "The data this chart is visualizing.", - "type": "array", - "items": { - "$ref": "BasicChartSeries" - } - }, - "legendPosition": { - "enumDescriptions": [ - "Default value, do not use.", - "The legend is rendered on the bottom of the chart.", - "The legend is rendered on the left of the chart.", - "The legend is rendered on the right of the chart.", - "The legend is rendered on the top of the chart.", - "No legend is rendered." - ], - "enum": [ - "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED", - "BOTTOM_LEGEND", - "LEFT_LEGEND", - "RIGHT_LEGEND", - "TOP_LEGEND", - "NO_LEGEND" - ], - "description": "The position of the chart legend.", - "type": "string" - }, - "domains": { - "description": "The domain of data this is charting.\nOnly a single domain is currently supported.", - "type": "array", - "items": { - "$ref": "BasicChartDomain" - } - } - }, - "id": "BasicChartSpec" - }, - "SetDataValidationRequest": { - "description": "Sets a data validation rule to every cell in the range.\nTo clear validation in a range, call this with no rule specified.", - "type": "object", - "properties": { - "rule": { - "description": "The data validation rule to set on each cell in the range,\nor empty to clear the data validation in the range.", - "$ref": "DataValidationRule" - }, - "range": { - "description": "The range the data validation rule should apply to.", - "$ref": "GridRange" - } - }, - "id": "SetDataValidationRequest" - }, - "CellData": { - "description": "Data about a specific cell.", - "type": "object", - "properties": { - "pivotTable": { - "description": "A pivot table anchored at this cell. The size of pivot table itself\nis computed dynamically based on its data, grouping, filters, values,\netc. Only the top-left cell of the pivot table contains the pivot table\ndefinition. The other cells will contain the calculated values of the\nresults of the pivot in their effective_value fields.", - "$ref": "PivotTable" - }, - "userEnteredFormat": { - "description": "The format the user entered for the cell.\n\nWhen writing, the new format will be merged with the existing format.", - "$ref": "CellFormat" - }, - "effectiveFormat": { - "description": "The effective format being used by the cell.\nThis includes the results of applying any conditional formatting and,\nif the cell contains a formula, the computed number format.\nIf the effective format is the default format, effective format will\nnot be written.\nThis field is read-only.", - "$ref": "CellFormat" - }, - "note": { - "description": "Any note on the cell.", - "type": "string" - }, - "dataValidation": { - "description": "A data validation rule on the cell, if any.\n\nWhen writing, the new data validation rule will overwrite any prior rule.", - "$ref": "DataValidationRule" - }, - "userEnteredValue": { - "$ref": "ExtendedValue", - "description": "The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()`\nNote: Dates, Times and DateTimes are represented as doubles in\nserial number format." - }, - "effectiveValue": { - "description": "The effective value of the cell. For cells with formulas, this will be\nthe calculated value. For cells with literals, this will be\nthe same as the user_entered_value.\nThis field is read-only.", - "$ref": "ExtendedValue" - }, - "textFormatRuns": { - "description": "Runs of rich text applied to subsections of the cell. Runs are only valid\non user entered strings, not formulas, bools, or numbers.\nRuns start at specific indexes in the text and continue until the next\nrun. Properties of a run will continue unless explicitly changed\nin a subsequent run (and properties of the first run will continue\nthe properties of the cell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs. When writing a\nnew user_entered_value, previous runs will be erased.", - "type": "array", - "items": { - "$ref": "TextFormatRun" - } - }, - "formattedValue": { - "description": "The formatted value of the cell.\nThis is the value as it's shown to the user.\nThis field is read-only.", - "type": "string" - }, - "hyperlink": { - "description": "A hyperlink this cell points to, if any.\nThis field is read-only. (To set it, use a `=HYPERLINK` formula.)", - "type": "string" - } - }, - "id": "CellData" - }, - "BatchUpdateSpreadsheetRequest": { - "description": "The request for updating any aspect of a spreadsheet.", - "type": "object", - "properties": { - "requests": { - "description": "A list of updates to apply to the spreadsheet.", - "type": "array", - "items": { - "$ref": "Request" - } - }, - "includeSpreadsheetInResponse": { - "description": "Determines if the update response should include the spreadsheet\nresource.", - "type": "boolean" - }, - "responseRanges": { - "description": "Limits the ranges included in the response spreadsheet.\nMeaningful only if include_spreadsheet_response is 'true'.", - "type": "array", - "items": { - "type": "string" - } - }, - "responseIncludeGridData": { - "description": "True if grid data should be returned. Meaningful only if\nif include_spreadsheet_response is 'true'.\nThis parameter is ignored if a field mask was set in the request.", - "type": "boolean" - } - }, - "id": "BatchUpdateSpreadsheetRequest" - }, - "Padding": { - "description": "The amount of padding around the cell, in pixels.\nWhen updating padding, every field must be specified.", - "type": "object", - "properties": { - "right": { - "description": "The right padding of the cell.", - "format": "int32", - "type": "integer" - }, - "bottom": { - "description": "The bottom padding of the cell.", - "format": "int32", - "type": "integer" - }, - "top": { - "description": "The top padding of the cell.", - "format": "int32", - "type": "integer" - }, - "left": { - "description": "The left padding of the cell.", - "format": "int32", - "type": "integer" - } - }, - "id": "Padding" - }, - "BasicChartAxis": { - "description": "An axis of the chart.\nA chart may not have more than one axis per\naxis position.", - "type": "object", - "properties": { - "position": { - "enumDescriptions": [ - "Default value, do not use.", - "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.", - "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.", - "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis." - ], - "enum": [ - "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", - "BOTTOM_AXIS", - "LEFT_AXIS", - "RIGHT_AXIS" - ], - "description": "The position of this axis.", - "type": "string" - }, - "title": { - "description": "The title of this axis. If set, this overrides any title inferred\nfrom headers of the data.", - "type": "string" - }, - "format": { - "$ref": "TextFormat", - "description": "The format of the title.\nOnly valid if the axis is not associated with the domain." - } - }, - "id": "BasicChartAxis" - }, - "DeleteDimensionRequest": { - "description": "Deletes the dimensions from the sheet.", - "type": "object", - "properties": { - "range": { - "$ref": "DimensionRange", - "description": "The dimensions to delete from the sheet." - } - }, - "id": "DeleteDimensionRequest" - }, - "UpdateChartSpecRequest": { - "description": "Updates a chart's specifications.\n(This does not move or resize a chart. To move or resize a chart, use\n UpdateEmbeddedObjectPositionRequest.)", - "type": "object", - "properties": { - "chartId": { - "description": "The ID of the chart to update.", - "format": "int32", - "type": "integer" - }, - "spec": { - "description": "The specification to apply to the chart.", - "$ref": "ChartSpec" - } - }, - "id": "UpdateChartSpecRequest" - }, - "DeleteFilterViewRequest": { - "description": "Deletes a particular filter view.", - "type": "object", - "properties": { - "filterId": { - "description": "The ID of the filter to delete.", - "format": "int32", - "type": "integer" - } - }, - "id": "DeleteFilterViewRequest" - }, - "BatchUpdateValuesResponse": { - "description": "The response when updating a range of values in a spreadsheet.", - "type": "object", - "properties": { - "totalUpdatedRows": { - "description": "The total number of rows where at least one cell in the row was updated.", - "format": "int32", - "type": "integer" - }, - "responses": { - "description": "One UpdateValuesResponse per requested range, in the same order as\nthe requests appeared.", - "type": "array", - "items": { - "$ref": "UpdateValuesResponse" - } - }, - "totalUpdatedSheets": { - "description": "The total number of sheets where at least one cell in the sheet was\nupdated.", - "format": "int32", - "type": "integer" - }, - "totalUpdatedCells": { - "description": "The total number of cells updated.", - "format": "int32", - "type": "integer" - }, - "totalUpdatedColumns": { - "description": "The total number of columns where at least one cell in the column was\nupdated.", - "format": "int32", - "type": "integer" - }, - "spreadsheetId": { - "description": "The spreadsheet the updates were applied to.", - "type": "string" - } - }, - "id": "BatchUpdateValuesResponse" - }, - "SortRangeRequest": { - "description": "Sorts data in rows based on a sort order per column.", - "type": "object", - "properties": { - "range": { - "description": "The range to sort.", - "$ref": "GridRange" - }, - "sortSpecs": { - "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.", - "type": "array", - "items": { - "$ref": "SortSpec" - } - } - }, - "id": "SortRangeRequest" - }, - "MergeCellsRequest": { - "description": "Merges all cells in the range.", - "type": "object", - "properties": { - "range": { - "description": "The range of cells to merge.", - "$ref": "GridRange" - }, - "mergeType": { - "description": "How the cells should be merged.", - "type": "string", - "enumDescriptions": [ - "Create a single merge from the range", - "Create a merge for each column in the range", - "Create a merge for each row in the range" - ], - "enum": [ - "MERGE_ALL", - "MERGE_COLUMNS", - "MERGE_ROWS" - ] - } - }, - "id": "MergeCellsRequest" - }, - "AddProtectedRangeRequest": { - "description": "Adds a new protected range.", - "type": "object", - "properties": { - "protectedRange": { - "$ref": "ProtectedRange", - "description": "The protected range to be added. The\nprotectedRangeId field is optional; if\none is not set, an id will be randomly generated. (It is an error to\nspecify the ID of a range that already exists.)" - } - }, - "id": "AddProtectedRangeRequest" - }, - "BatchClearValuesRequest": { - "description": "The request for clearing more than one range of values in a spreadsheet.", - "type": "object", - "properties": { - "ranges": { - "description": "The ranges to clear, in A1 notation.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "BatchClearValuesRequest" - }, - "DuplicateFilterViewResponse": { - "description": "The result of a filter view being duplicated.", - "type": "object", - "properties": { - "filter": { - "$ref": "FilterView", - "description": "The newly created filter." - } - }, - "id": "DuplicateFilterViewResponse" - }, - "DuplicateSheetResponse": { - "description": "The result of duplicating a sheet.", - "type": "object", - "properties": { - "properties": { - "description": "The properties of the duplicate sheet.", - "$ref": "SheetProperties" - } - }, - "id": "DuplicateSheetResponse" - }, - "TextToColumnsRequest": { - "description": "Splits a column of text into multiple columns,\nbased on a delimiter in each cell.", - "type": "object", - "properties": { - "source": { - "description": "The source data range. This must span exactly one column.", - "$ref": "GridRange" - }, - "delimiterType": { - "enumDescriptions": [ - "Default value. This value must not be used.", - "\",\"", - "\";\"", - "\".\"", - "\" \"", - "A custom value as defined in delimiter." - ], - "enum": [ - "DELIMITER_TYPE_UNSPECIFIED", - "COMMA", - "SEMICOLON", - "PERIOD", - "SPACE", - "CUSTOM" - ], - "description": "The delimiter type to use.", - "type": "string" - }, - "delimiter": { - "description": "The delimiter to use. Used only if delimiterType is\nCUSTOM.", - "type": "string" - } - }, - "id": "TextToColumnsRequest" - }, - "ClearBasicFilterRequest": { - "description": "Clears the basic filter, if any exists on the sheet.", - "type": "object", - "properties": { - "sheetId": { - "description": "The sheet ID on which the basic filter should be cleared.", - "format": "int32", - "type": "integer" - } - }, - "id": "ClearBasicFilterRequest" - }, - "DeleteBandingRequest": { - "description": "Removes the banded range with the given ID from the spreadsheet.", - "type": "object", - "properties": { - "bandedRangeId": { - "description": "The ID of the banded range to delete.", - "format": "int32", - "type": "integer" - } - }, - "id": "DeleteBandingRequest" - }, - "BatchUpdateSpreadsheetResponse": { - "description": "The reply for batch updating a spreadsheet.", - "type": "object", - "properties": { - "replies": { - "description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.", - "type": "array", - "items": { - "$ref": "Response" - } - }, - "updatedSpreadsheet": { - "$ref": "Spreadsheet", - "description": "The spreadsheet after updates were applied. This is only set if\n[BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response] is `true`." - }, - "spreadsheetId": { - "description": "The spreadsheet the updates were applied to.", - "type": "string" - } - }, - "id": "BatchUpdateSpreadsheetResponse" - }, - "AppendValuesResponse": { - "description": "The response when updating a range of values in a spreadsheet.", - "type": "object", - "properties": { - "updates": { - "description": "Information about the updates that were applied.", - "$ref": "UpdateValuesResponse" - }, - "tableRange": { - "description": "The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no table was found.", - "type": "string" - }, - "spreadsheetId": { - "description": "The spreadsheet the updates were applied to.", - "type": "string" - } - }, - "id": "AppendValuesResponse" - }, - "AddFilterViewRequest": { - "description": "Adds a filter view.", - "type": "object", - "properties": { - "filter": { - "$ref": "FilterView", - "description": "The filter to add. The filterViewId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a filter that already exists.)" - } - }, - "id": "AddFilterViewRequest" - }, - "PivotFilterCriteria": { - "description": "Criteria for showing/hiding rows in a pivot table.", - "type": "object", - "properties": { - "visibleValues": { - "description": "Values that should be included. Values not listed here are excluded.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "PivotFilterCriteria" - }, - "MoveDimensionRequest": { - "description": "Moves one or more rows or columns.", - "type": "object", - "properties": { - "destinationIndex": { - "description": "The zero-based start index of where to move the source data to,\nbased on the coordinates *before* the source data is removed\nfrom the grid. Existing data will be shifted down or right\n(depending on the dimension) to make room for the moved dimensions.\nThe source dimensions are removed from the grid, so the\nthe data may end up in a different index than specified.\n\nFor example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move\n`\"1\"` and `\"2\"` to between `\"3\"` and `\"4\"`, the source would be\n`ROWS [1..3)`,and the destination index would be `\"4\"`\n(the zero-based index of row 5).\nThe end result would be `A1..A5` of `0, 3, 1, 2, 4`.", - "format": "int32", - "type": "integer" - }, - "source": { - "description": "The source dimensions to move.", - "$ref": "DimensionRange" - } - }, - "id": "MoveDimensionRequest" - }, - "AddConditionalFormatRuleRequest": { - "description": "Adds a new conditional format rule at the given index.\nAll subsequent rules' indexes are incremented.", - "type": "object", - "properties": { - "rule": { - "description": "The rule to add.", - "$ref": "ConditionalFormatRule" - }, - "index": { - "description": "The zero-based index where the rule should be inserted.", - "format": "int32", - "type": "integer" - } - }, - "id": "AddConditionalFormatRuleRequest" - }, - "ChartSpec": { - "description": "The specifications of a chart.", - "type": "object", - "properties": { - "hiddenDimensionStrategy": { - "description": "Determines how the charts will use hidden rows or columns.", - "type": "string", - "enumDescriptions": [ - "Default value, do not use.", - "Charts will skip hidden rows and columns.", - "Charts will skip hidden rows only.", - "Charts will skip hidden columns only.", - "Charts will not skip any hidden rows or columns." - ], - "enum": [ - "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED", - "SKIP_HIDDEN_ROWS_AND_COLUMNS", - "SKIP_HIDDEN_ROWS", - "SKIP_HIDDEN_COLUMNS", - "SHOW_ALL" - ] - }, - "title": { - "description": "The title of the chart.", - "type": "string" - }, - "pieChart": { - "$ref": "PieChartSpec", - "description": "A pie chart specification." - }, - "basicChart": { - "description": "A basic chart specification, can be one of many kinds of charts.\nSee BasicChartType for the list of all\ncharts this supports.", - "$ref": "BasicChartSpec" - } - }, - "id": "ChartSpec" - }, - "NumberFormat": { - "description": "The number format of a cell.", - "type": "object", - "properties": { - "type": { - "description": "The type of the number format.\nWhen writing, this field must be set.", - "type": "string", - "enumDescriptions": [ - "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.", - "Text formatting, e.g `1000.12`", - "Number formatting, e.g, `1,000.12`", - "Percent formatting, e.g `10.12%`", - "Currency formatting, e.g `$1,000.12`", - "Date formatting, e.g `9/26/2008`", - "Time formatting, e.g `3:59:00 PM`", - "Date+Time formatting, e.g `9/26/08 15:59:00`", - "Scientific number formatting, e.g `1.01E+03`" - ], - "enum": [ - "NUMBER_FORMAT_TYPE_UNSPECIFIED", - "TEXT", - "NUMBER", - "PERCENT", - "CURRENCY", - "DATE", - "TIME", - "DATE_TIME", - "SCIENTIFIC" - ] - }, - "pattern": { - "description": "Pattern string used for formatting. If not set, a default pattern based on\nthe user's locale will be used if necessary for the given type.\nSee the [Date and Number Formats guide](/sheets/api/guides/formats) for more\ninformation about the supported patterns.", - "type": "string" - } - }, - "id": "NumberFormat" - }, - "SheetProperties": { - "description": "Properties of a sheet.", - "type": "object", - "properties": { - "title": { - "description": "The name of the sheet.", - "type": "string" - }, - "index": { - "description": "The index of the sheet within the spreadsheet.\nWhen adding or updating sheet properties, if this field\nis excluded then the sheet will be added or moved to the end\nof the sheet list. When updating sheet indices or inserting\nsheets, movement is considered in \"before the move\" indexes.\nFor example, if there were 3 sheets (S1, S2, S3) in order to\nmove S1 ahead of S2 the index would have to be set to 2. A sheet\nindex update request will be ignored if the requested index is\nidentical to the sheets current index or if the requested new\nindex is equal to the current sheet index + 1.", - "format": "int32", - "type": "integer" - }, - "tabColor": { - "$ref": "Color", - "description": "The color of the tab in the UI." - }, - "sheetId": { - "description": "The ID of the sheet. Must be non-negative.\nThis field cannot be changed once set.", - "format": "int32", - "type": "integer" - }, - "rightToLeft": { - "description": "True if the sheet is an RTL sheet instead of an LTR sheet.", - "type": "boolean" - }, - "hidden": { - "description": "True if the sheet is hidden in the UI, false if it's visible.", - "type": "boolean" - }, - "sheetType": { - "description": "The type of sheet. Defaults to GRID.\nThis field cannot be changed once set.", - "type": "string", - "enumDescriptions": [ - "Default value, do not use.", - "The sheet is a grid.", - "The sheet has no grid and instead has an object like a chart or image." - ], - "enum": [ - "SHEET_TYPE_UNSPECIFIED", - "GRID", - "OBJECT" - ] - }, - "gridProperties": { - "$ref": "GridProperties", - "description": "Additional properties of the sheet if this sheet is a grid.\n(If the sheet is an object sheet, containing a chart or image, then\nthis field will be absent.)\nWhen writing it is an error to set any grid properties on non-grid sheets." - } - }, - "id": "SheetProperties" - }, - "UpdateDimensionPropertiesRequest": { - "description": "Updates properties of dimensions within the specified range.", - "type": "object", - "properties": { - "properties": { - "$ref": "DimensionProperties", - "description": "Properties to update." - }, - "range": { - "$ref": "DimensionRange", - "description": "The rows or columns to update." - }, - "fields": { - "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdateDimensionPropertiesRequest" - }, - "SourceAndDestination": { - "description": "A combination of a source range and how to extend that source.", - "type": "object", - "properties": { - "fillLength": { - "description": "The number of rows or columns that data should be filled into.\nPositive numbers expand beyond the last row or last column\nof the source. Negative numbers expand before the first row\nor first column of the source.", - "format": "int32", - "type": "integer" - }, - "source": { - "description": "The location of the data to use as the source of the autofill.", - "$ref": "GridRange" - }, - "dimension": { - "enumDescriptions": [ - "The default value, do not use.", - "Operates on the rows of a sheet.", - "Operates on the columns of a sheet." - ], - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ], - "description": "The dimension that data should be filled into.", - "type": "string" - } - }, - "id": "SourceAndDestination" - }, - "FilterView": { - "description": "A filter view.", - "type": "object", - "properties": { - "criteria": { - "additionalProperties": { - "$ref": "FilterCriteria" - }, - "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.", - "type": "object" - }, - "title": { - "description": "The name of the filter view.", - "type": "string" - }, - "range": { - "$ref": "GridRange", - "description": "The range this filter view covers.\n\nWhen writing, only one of range or named_range_id\nmay be set." - }, - "sortSpecs": { - "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.", - "type": "array", - "items": { - "$ref": "SortSpec" - } - }, - "namedRangeId": { - "description": "The named range this filter view is backed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.", - "type": "string" - }, - "filterViewId": { - "description": "The ID of the filter view.", - "format": "int32", - "type": "integer" - } - }, - "id": "FilterView" - }, - "BandingProperties": { - "description": "Properties referring a single dimension (either row or column). If both\nBandedRange.row_properties and BandedRange.column_properties are\nset, the fill colors are applied to cells according to the following rules:\n\n* header_color and footer_color take priority over band colors.\n* first_band_color takes priority over second_band_color.\n* row_properties takes priority over column_properties.\n\nFor example, the first row color takes priority over the first column\ncolor, but the first column color takes priority over the second row color.\nSimilarly, the row header takes priority over the column header in the\ntop left cell, but the column header takes priority over the first row\ncolor if the row header is not set.", - "type": "object", - "properties": { - "firstBandColor": { - "$ref": "Color", - "description": "The first color that is alternating. (Required)" - }, - "secondBandColor": { - "description": "The second color that is alternating. (Required)", - "$ref": "Color" - }, - "footerColor": { - "description": "The color of the last row or column. If this field is not set, the last\nrow or column will be filled with either first_band_color or\nsecond_band_color, depending on the color of the previous row or\ncolumn.", - "$ref": "Color" - }, - "headerColor": { - "$ref": "Color", - "description": "The color of the first row or column. If this field is set, the first\nrow or column will be filled with this color and the colors will\nalternate between first_band_color and second_band_color starting\nfrom the second row or column. Otherwise, the first row or column will be\nfilled with first_band_color and the colors will proceed to alternate\nas they normally would." - } - }, - "id": "BandingProperties" - }, - "AddProtectedRangeResponse": { - "description": "The result of adding a new protected range.", - "type": "object", - "properties": { - "protectedRange": { - "$ref": "ProtectedRange", - "description": "The newly added protected range." - } - }, - "id": "AddProtectedRangeResponse" - }, - "BasicFilter": { - "description": "The default filter associated with a sheet.", - "type": "object", - "properties": { - "range": { - "description": "The range the filter covers.", - "$ref": "GridRange" - }, - "criteria": { - "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.", - "type": "object", - "additionalProperties": { - "$ref": "FilterCriteria" - } - }, - "sortSpecs": { - "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.", - "type": "array", - "items": { - "$ref": "SortSpec" - } - } - }, - "id": "BasicFilter" - }, - "UpdateValuesResponse": { - "description": "The response when updating a range of values in a spreadsheet.", - "type": "object", - "properties": { - "updatedRows": { - "description": "The number of rows where at least one cell in the row was updated.", - "format": "int32", - "type": "integer" - }, - "updatedData": { - "description": "The values of the cells after updates were applied.\nThis is only included if the request's `includeValuesInResponse` field\nwas `true`.", - "$ref": "ValueRange" - }, - "updatedColumns": { - "description": "The number of columns where at least one cell in the column was updated.", - "format": "int32", - "type": "integer" - }, - "spreadsheetId": { - "description": "The spreadsheet the updates were applied to.", - "type": "string" - }, - "updatedRange": { - "description": "The range (in A1 notation) that updates were applied to.", - "type": "string" - }, - "updatedCells": { - "description": "The number of cells updated.", - "format": "int32", - "type": "integer" - } - }, - "id": "UpdateValuesResponse" - }, - "PivotValue": { - "description": "The definition of how a value in a pivot table should be calculated.", - "type": "object", - "properties": { - "summarizeFunction": { - "enumDescriptions": [ - "The default, do not use.", - "Corresponds to the `SUM` function.", - "Corresponds to the `COUNTA` function.", - "Corresponds to the `COUNT` function.", - "Corresponds to the `COUNTUNIQUE` function.", - "Corresponds to the `AVERAGE` function.", - "Corresponds to the `MAX` function.", - "Corresponds to the `MIN` function.", - "Corresponds to the `MEDIAN` function.", - "Corresponds to the `PRODUCT` function.", - "Corresponds to the `STDEV` function.", - "Corresponds to the `STDEVP` function.", - "Corresponds to the `VAR` function.", - "Corresponds to the `VARP` function.", - "Indicates the formula should be used as-is.\nOnly valid if PivotValue.formula was set." - ], - "enum": [ - "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED", - "SUM", - "COUNTA", - "COUNT", - "COUNTUNIQUE", - "AVERAGE", - "MAX", - "MIN", - "MEDIAN", - "PRODUCT", - "STDEV", - "STDEVP", - "VAR", - "VARP", - "CUSTOM" - ], - "description": "A function to summarize the value.\nIf formula is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffset is set, then `CUSTOM`\nis not supported.", - "type": "string" - }, - "sourceColumnOffset": { - "description": "The column offset of the source range that this value reads from.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "A name to use for the value. This is only used if formula was set.\nOtherwise, the column name is used.", - "type": "string" - }, - "formula": { - "description": "A custom formula to calculate the value. The formula must start\nwith an `=` character.", - "type": "string" - } - }, - "id": "PivotValue" - }, - "ErrorValue": { - "description": "An error in a cell.", - "type": "object", - "properties": { - "type": { - "description": "The type of error.", - "type": "string", - "enumDescriptions": [ - "The default error type, do not use this.", - "Corresponds to the `#ERROR!` error.", - "Corresponds to the `#NULL!` error.", - "Corresponds to the `#DIV/0` error.", - "Corresponds to the `#VALUE!` error.", - "Corresponds to the `#REF!` error.", - "Corresponds to the `#NAME?` error.", - "Corresponds to the `#NUM`! error.", - "Corresponds to the `#N/A` error.", - "Corresponds to the `Loading...` state." - ], - "enum": [ - "ERROR_TYPE_UNSPECIFIED", - "ERROR", - "NULL_VALUE", - "DIVIDE_BY_ZERO", - "VALUE", - "REF", - "NAME", - "NUM", - "N_A", - "LOADING" - ] - }, - "message": { - "description": "A message with more information about the error\n(in the spreadsheet's locale).", - "type": "string" - } - }, - "id": "ErrorValue" - }, - "CopySheetToAnotherSpreadsheetRequest": { - "description": "The request to copy a sheet across spreadsheets.", - "type": "object", - "properties": { - "destinationSpreadsheetId": { - "description": "The ID of the spreadsheet to copy the sheet to.", - "type": "string" - } - }, - "id": "CopySheetToAnotherSpreadsheetRequest" - }, - "PivotGroupSortValueBucket": { - "description": "Information about which values in a pivot group should be used for sorting.", - "type": "object", - "properties": { - "valuesIndex": { - "description": "The offset in the PivotTable.values list which the values in this\ngrouping should be sorted by.", - "format": "int32", - "type": "integer" - }, - "buckets": { - "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\nto a value within the first column group, and the second value\ncorresponds to a value in the second column group. If no values\nare listed, this would indicate that the row should be sorted according\nto the \"Grand Total\" over the column groups. If a single value is listed,\nthis would correspond to using the \"Total\" of that bucket.", - "type": "array", - "items": { - "$ref": "ExtendedValue" - } - } - }, - "id": "PivotGroupSortValueBucket" - }, - "EmbeddedObjectPosition": { - "description": "The position of an embedded object such as a chart.", - "type": "object", - "properties": { - "newSheet": { - "description": "If true, the embedded object will be put on a new sheet whose ID\nis chosen for you. Used only when writing.", - "type": "boolean" - }, - "sheetId": { - "description": "The sheet this is on. Set only if the embedded object\nis on its own sheet. Must be non-negative.", - "format": "int32", - "type": "integer" - }, - "overlayPosition": { - "$ref": "OverlayPosition", - "description": "The position at which the object is overlaid on top of a grid." - } - }, - "id": "EmbeddedObjectPosition" - }, - "DeleteProtectedRangeRequest": { - "description": "Deletes the protected range with the given ID.", - "type": "object", - "properties": { - "protectedRangeId": { - "description": "The ID of the protected range to delete.", - "format": "int32", - "type": "integer" - } - }, - "id": "DeleteProtectedRangeRequest" - } - }, - "icons": { - "x32": "http://www.google.com/images/icons/product/search-32.gif", - "x16": "http://www.google.com/images/icons/product/search-16.gif" - }, - "protocol": "rest", - "canonicalName": "Sheets", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/spreadsheets": { - "description": "View and manage your spreadsheets in Google Drive" - }, - "https://www.googleapis.com/auth/drive": { - "description": "View and manage the files in your Google Drive" - }, - "https://www.googleapis.com/auth/drive.readonly": { - "description": "View the files in your Google Drive" - }, - "https://www.googleapis.com/auth/spreadsheets.readonly": { - "description": "View your Google Spreadsheets" - } - } - } - }, - "rootUrl": "https://sheets.googleapis.com/", - "ownerDomain": "google.com", - "name": "sheets", - "batchPath": "batch", - "title": "Google Sheets API", - "ownerName": "Google", - "resources": { - "spreadsheets": { - "methods": { - "get": { - "description": "Returns the spreadsheet at the given ID.\nThe caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways:\n\n* Specify a field mask listing your desired fields using the `fields` URL\nparameter in HTTP\n\n* Set the includeGridData\nURL parameter to true. If a field mask is set, the `includeGridData`\nparameter is ignored\n\nFor large spreadsheets, it is recommended to retrieve only the specific\nfields of the spreadsheet that you want.\n\nTo retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMultiple ranges can be specified. Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified using A1 notation.", - "httpMethod": "GET", - "parameterOrder": [ - "spreadsheetId" - ], - "response": { - "$ref": "Spreadsheet" - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/spreadsheets", - "https://www.googleapis.com/auth/spreadsheets.readonly" - ], - "parameters": { - "ranges": { - "description": "The ranges to retrieve from the spreadsheet.", - "type": "string", - "repeated": true, - "location": "query" - }, - "includeGridData": { - "description": "True if grid data should be returned.\nThis parameter is ignored if a field mask was set in the request.", - "type": "boolean", - "location": "query" - }, - "spreadsheetId": { - "description": "The spreadsheet to request.", - "required": true, - "type": "string", - "location": "path" - } - }, - "flatPath": "v4/spreadsheets/{spreadsheetId}", - "id": "sheets.spreadsheets.get", - "path": "v4/spreadsheets/{spreadsheetId}" - }, - "create": { - "description": "Creates a spreadsheet, returning the newly created spreadsheet.", - "request": { - "$ref": "Spreadsheet" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "Spreadsheet" - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/spreadsheets" - ], - "parameters": {}, - "flatPath": "v4/spreadsheets", - "id": "sheets.spreadsheets.create", - "path": "v4/spreadsheets" - }, - "batchUpdate": { - "request": { - "$ref": "BatchUpdateSpreadsheetRequest" - }, - "description": "Applies one or more updates to the spreadsheet.\n\nEach request is validated before\nbeing applied. If any request is not valid then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how\nthey are applied. The replies will mirror the requests. For example,\nif you applied 4 updates and the 3rd one had a reply, then the\nresponse will have 2 empty replies, the actual reply, and another empty\nreply, in that order.\n\nDue to the collaborative nature of spreadsheets, it is not guaranteed that\nthe spreadsheet will reflect exactly your changes after this completes,\nhowever it is guaranteed that the updates in the request will be\napplied together atomically. Your changes may be altered with respect to\ncollaborator changes. If there are no collaborators, the spreadsheet\nshould reflect your changes.", - "httpMethod": "POST", - "parameterOrder": [ - "spreadsheetId" - ], - "response": { - "$ref": "BatchUpdateSpreadsheetResponse" - }, - "parameters": { - "spreadsheetId": { - "location": "path", - "description": "The spreadsheet to apply the updates to.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/spreadsheets" - ], - "flatPath": "v4/spreadsheets/{spreadsheetId}:batchUpdate", - "id": "sheets.spreadsheets.batchUpdate", - "path": "v4/spreadsheets/{spreadsheetId}:batchUpdate" - } - }, - "resources": { "values": { "methods": { + "batchGet": { + "httpMethod": "GET", + "response": { + "$ref": "BatchGetValuesResponse" + }, + "parameterOrder": [ + "spreadsheetId" + ], + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/spreadsheets", + "https://www.googleapis.com/auth/spreadsheets.readonly" + ], + "parameters": { + "ranges": { + "description": "The A1 notation of the values to retrieve.", + "type": "string", + "repeated": true, + "location": "query" + }, + "majorDimension": { + "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.", + "type": "string", + "location": "query", + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ] + }, + "spreadsheetId": { + "location": "path", + "description": "The ID of the spreadsheet to retrieve data from.", + "required": true, + "type": "string" + }, + "valueRenderOption": { + "type": "string", + "location": "query", + "enum": [ + "FORMATTED_VALUE", + "UNFORMATTED_VALUE", + "FORMULA" + ], + "description": "How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE." + }, + "dateTimeRenderOption": { + "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", + "type": "string", + "location": "query", + "enum": [ + "SERIAL_NUMBER", + "FORMATTED_STRING" + ] + } + }, + "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchGet", + "id": "sheets.spreadsheets.values.batchGet", + "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet", + "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges." + }, + "clear": { + "httpMethod": "POST", + "parameterOrder": [ + "spreadsheetId", + "range" + ], + "response": { + "$ref": "ClearValuesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/spreadsheets" + ], + "parameters": { + "spreadsheetId": { + "description": "The ID of the spreadsheet to update.", + "required": true, + "type": "string", + "location": "path" + }, + "range": { + "location": "path", + "description": "The A1 notation of the values to clear.", + "required": true, + "type": "string" + } + }, + "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}:clear", + "id": "sheets.spreadsheets.values.clear", + "path": "v4/spreadsheets/{spreadsheetId}/values/{range}:clear", + "description": "Clears values from a spreadsheet.\nThe caller must specify the spreadsheet ID and range.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.", + "request": { + "$ref": "ClearValuesRequest" + } + }, "append": { + "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}:append", + "id": "sheets.spreadsheets.values.append", + "path": "v4/spreadsheets/{spreadsheetId}/values/{range}:append", + "description": "Appends values to a spreadsheet. The input range is used to search for\nexisting data and find a \"table\" within that range. Values will be\nappended to the next row of the table, starting with the first column of\nthe table. See the\n[guide](/sheets/api/guides/values#appending_values)\nand\n[sample code](/sheets/api/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption` only\ncontrols how the input data will be added to the sheet (column-wise or\nrow-wise), it does not influence what cell the data starts being written\nto.", "request": { "$ref": "ValueRange" }, - "description": "Appends values to a spreadsheet. The input range is used to search for\nexisting data and find a \"table\" within that range. Values will be\nappended to the next row of the table, starting with the first column of\nthe table. See the\n[guide](/sheets/api/guides/values#appending_values)\nand\n[sample code](/sheets/api/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption` only\ncontrols how the input data will be added to the sheet (column-wise or\nrow-wise), it does not influence what cell the data starts being written\nto.", "httpMethod": "POST", "parameterOrder": [ "spreadsheetId", @@ -3717,11 +245,34 @@ "response": { "$ref": "AppendValuesResponse" }, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/spreadsheets" + ], "parameters": { + "valueInputOption": { + "type": "string", + "location": "query", + "enum": [ + "INPUT_VALUE_OPTION_UNSPECIFIED", + "RAW", + "USER_ENTERED" + ], + "description": "How the input data should be interpreted." + }, + "responseDateTimeRenderOption": { + "location": "query", + "enum": [ + "SERIAL_NUMBER", + "FORMATTED_STRING" + ], + "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", + "type": "string" + }, "includeValuesInResponse": { + "location": "query", "description": "Determines if the update response should include the values\nof the cells that were appended. By default, responses\ndo not include the updated values.", - "type": "boolean", - "location": "query" + "type": "boolean" }, "range": { "description": "The A1 notation of a range to search for a logical table of data.\nValues will be appended after the last row of the table.", @@ -3730,10 +281,10 @@ "location": "path" }, "spreadsheetId": { + "location": "path", "description": "The ID of the spreadsheet to update.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "responseValueRenderOption": { "location": "query", @@ -3753,40 +304,10 @@ ], "description": "How the input data should be inserted.", "type": "string" - }, - "valueInputOption": { - "location": "query", - "enum": [ - "INPUT_VALUE_OPTION_UNSPECIFIED", - "RAW", - "USER_ENTERED" - ], - "description": "How the input data should be interpreted.", - "type": "string" - }, - "responseDateTimeRenderOption": { - "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", - "type": "string", - "location": "query", - "enum": [ - "SERIAL_NUMBER", - "FORMATTED_STRING" - ] } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/spreadsheets" - ], - "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}:append", - "id": "sheets.spreadsheets.values.append", - "path": "v4/spreadsheets/{spreadsheetId}/values/{range}:append" + } }, "batchClear": { - "description": "Clears one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.", - "request": { - "$ref": "BatchClearValuesRequest" - }, "httpMethod": "POST", "parameterOrder": [ "spreadsheetId" @@ -3800,22 +321,24 @@ ], "parameters": { "spreadsheetId": { + "location": "path", "description": "The ID of the spreadsheet to update.", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchClear", "id": "sheets.spreadsheets.values.batchClear", - "path": "v4/spreadsheets/{spreadsheetId}/values:batchClear" + "path": "v4/spreadsheets/{spreadsheetId}/values:batchClear", + "description": "Clears one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.", + "request": { + "$ref": "BatchClearValuesRequest" + } }, "get": { - "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}", - "id": "sheets.spreadsheets.values.get", "path": "v4/spreadsheets/{spreadsheetId}/values/{range}", + "id": "sheets.spreadsheets.values.get", "description": "Returns a range of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and a range.", - "httpMethod": "GET", "response": { "$ref": "ValueRange" }, @@ -3823,6 +346,13 @@ "spreadsheetId", "range" ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/spreadsheets", + "https://www.googleapis.com/auth/spreadsheets.readonly" + ], "parameters": { "majorDimension": { "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.", @@ -3835,10 +365,10 @@ ] }, "spreadsheetId": { + "location": "path", "description": "The ID of the spreadsheet to retrieve data from.", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "range": { "description": "The A1 notation of the values to retrieve.", @@ -3847,14 +377,14 @@ "location": "path" }, "valueRenderOption": { + "type": "string", "location": "query", "enum": [ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ], - "description": "How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.", - "type": "string" + "description": "How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE." }, "dateTimeRenderOption": { "location": "query", @@ -3866,43 +396,38 @@ "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/spreadsheets", - "https://www.googleapis.com/auth/spreadsheets.readonly" - ] + "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}" }, "update": { "request": { "$ref": "ValueRange" }, "description": "Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption.", - "response": { - "$ref": "UpdateValuesResponse" - }, + "httpMethod": "PUT", "parameterOrder": [ "spreadsheetId", "range" ], - "httpMethod": "PUT", + "response": { + "$ref": "UpdateValuesResponse" + }, "parameters": { - "includeValuesInResponse": { - "description": "Determines if the update response should include the values\nof the cells that were updated. By default, responses\ndo not include the updated values.\nIf the range to write was larger than than the range actually written,\nthe response will include all values in the requested range (excluding\ntrailing empty rows and columns).", - "type": "boolean", - "location": "query" - }, "range": { "description": "The A1 notation of the values to update.", "required": true, "type": "string", "location": "path" }, + "includeValuesInResponse": { + "description": "Determines if the update response should include the values\nof the cells that were updated. By default, responses\ndo not include the updated values.\nIf the range to write was larger than than the range actually written,\nthe response will include all values in the requested range (excluding\ntrailing empty rows and columns).", + "type": "boolean", + "location": "query" + }, "spreadsheetId": { - "location": "path", "description": "The ID of the spreadsheet to update.", "required": true, - "type": "string" + "type": "string", + "location": "path" }, "responseValueRenderOption": { "location": "query", @@ -3921,293 +446,3768 @@ "RAW", "USER_ENTERED" ], - "description": "How the input data should be interpreted.", - "type": "string" - }, - "responseDateTimeRenderOption": { - "location": "query", - "enum": [ - "SERIAL_NUMBER", - "FORMATTED_STRING" - ], - "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/spreadsheets" - ], - "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}", - "path": "v4/spreadsheets/{spreadsheetId}/values/{range}", - "id": "sheets.spreadsheets.values.update" - }, - "batchUpdate": { - "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate", - "id": "sheets.spreadsheets.values.batchUpdate", - "path": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate", - "description": "Sets values in one or more ranges of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.", - "request": { - "$ref": "BatchUpdateValuesRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "spreadsheetId" - ], - "response": { - "$ref": "BatchUpdateValuesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/spreadsheets" - ], - "parameters": { - "spreadsheetId": { - "location": "path", - "description": "The ID of the spreadsheet to update.", - "required": true, - "type": "string" - } - } - }, - "batchGet": { - "description": "Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.", - "response": { - "$ref": "BatchGetValuesResponse" - }, - "parameterOrder": [ - "spreadsheetId" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/spreadsheets", - "https://www.googleapis.com/auth/spreadsheets.readonly" - ], - "parameters": { - "ranges": { - "description": "The A1 notation of the values to retrieve.", - "type": "string", - "repeated": true, - "location": "query" - }, - "majorDimension": { - "location": "query", - "enum": [ - "DIMENSION_UNSPECIFIED", - "ROWS", - "COLUMNS" - ], - "description": "The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.", - "type": "string" - }, - "spreadsheetId": { - "description": "The ID of the spreadsheet to retrieve data from.", - "required": true, - "type": "string", - "location": "path" - }, - "valueRenderOption": { - "location": "query", - "enum": [ - "FORMATTED_VALUE", - "UNFORMATTED_VALUE", - "FORMULA" - ], - "description": "How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.", + "description": "How the input data should be interpreted.", "type": "string" }, - "dateTimeRenderOption": { - "description": "How dates, times, and durations should be represented in the output.\nThis is ignored if value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", - "type": "string", + "responseDateTimeRenderOption": { "location": "query", "enum": [ "SERIAL_NUMBER", "FORMATTED_STRING" - ] + ], + "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].", + "type": "string" } }, - "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchGet", - "path": "v4/spreadsheets/{spreadsheetId}/values:batchGet", - "id": "sheets.spreadsheets.values.batchGet" + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/spreadsheets" + ], + "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}", + "id": "sheets.spreadsheets.values.update", + "path": "v4/spreadsheets/{spreadsheetId}/values/{range}" }, - "clear": { - "response": { - "$ref": "ClearValuesResponse" + "batchUpdate": { + "request": { + "$ref": "BatchUpdateValuesRequest" }, + "description": "Sets values in one or more ranges of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.", + "httpMethod": "POST", "parameterOrder": [ - "spreadsheetId", - "range" + "spreadsheetId" ], - "httpMethod": "POST", + "response": { + "$ref": "BatchUpdateValuesResponse" + }, "parameters": { "spreadsheetId": { + "location": "path", "description": "The ID of the spreadsheet to update.", "required": true, - "type": "string", - "location": "path" - }, - "range": { - "description": "The A1 notation of the values to clear.", - "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/spreadsheets" ], - "flatPath": "v4/spreadsheets/{spreadsheetId}/values/{range}:clear", - "path": "v4/spreadsheets/{spreadsheetId}/values/{range}:clear", - "id": "sheets.spreadsheets.values.clear", - "request": { - "$ref": "ClearValuesRequest" - }, - "description": "Clears values from a spreadsheet.\nThe caller must specify the spreadsheet ID and range.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept." + "flatPath": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate", + "id": "sheets.spreadsheets.values.batchUpdate", + "path": "v4/spreadsheets/{spreadsheetId}/values:batchUpdate" + } + } + } + } + } + }, + "parameters": { + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" + }, + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "uploadType": { + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string" + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" + }, + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "quotaUser": { + "location": "query", + "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.", + "type": "string" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + } + }, + "version": "v4", + "baseUrl": "https://sheets.googleapis.com/", + "kind": "discovery#restDescription", + "description": "Reads and writes Google Sheets.", + "servicePath": "", + "basePath": "", + "id": "sheets:v4", + "documentationLink": "https://developers.google.com/sheets/", + "revision": "20170323", + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { + "UpdateEmbeddedObjectPositionRequest": { + "description": "Update an embedded object's position (such as a moving or resizing a\nchart or image).", + "type": "object", + "properties": { + "newPosition": { + "$ref": "EmbeddedObjectPosition", + "description": "An explicit position to move the embedded object to.\nIf newPosition.sheetId is set,\na new sheet with that ID will be created.\nIf newPosition.newSheet is set to true,\na new sheet will be created with an ID that will be chosen for you." + }, + "fields": { + "description": "The fields of OverlayPosition\nthat should be updated when setting a new position. Used only if\nnewPosition.overlayPosition\nis set, in which case at least one field must\nbe specified. The root `newPosition.overlayPosition` is implied and\nshould not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "objectId": { + "description": "The ID of the object to moved.", + "format": "int32", + "type": "integer" + } + }, + "id": "UpdateEmbeddedObjectPositionRequest" + }, + "TextRotation": { + "description": "The rotation applied to text in a cell.", + "type": "object", + "properties": { + "angle": { + "description": "The angle between the standard orientation and the desired orientation.\nMeasured in degrees. Valid values are between -90 and 90. Positive\nangles are angled upwards, negative are angled downwards.\n\nNote: For LTR text direction positive angles are in the counterclockwise\ndirection, whereas for RTL they are in the clockwise direction", + "format": "int32", + "type": "integer" + }, + "vertical": { + "description": "If true, text reads top to bottom, but the orientation of individual\ncharacters is unchanged.\nFor example:\n\n | V |\n | e |\n | r |\n | t |\n | i |\n | c |\n | a |\n | l |", + "type": "boolean" + } + }, + "id": "TextRotation" + }, + "PieChartSpec": { + "description": "A \u003ca href=\"/chart/interactive/docs/gallery/piechart\"\u003epie chart\u003c/a\u003e.", + "type": "object", + "properties": { + "legendPosition": { + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "The legend is rendered on the bottom of the chart.", + "The legend is rendered on the left of the chart.", + "The legend is rendered on the right of the chart.", + "The legend is rendered on the top of the chart.", + "No legend is rendered.", + "Each pie slice has a label attached to it." + ], + "enum": [ + "PIE_CHART_LEGEND_POSITION_UNSPECIFIED", + "BOTTOM_LEGEND", + "LEFT_LEGEND", + "RIGHT_LEGEND", + "TOP_LEGEND", + "NO_LEGEND", + "LABELED_LEGEND" + ], + "description": "Where the legend of the pie chart should be drawn." + }, + "pieHole": { + "description": "The size of the hole in the pie chart.", + "format": "double", + "type": "number" + }, + "domain": { + "$ref": "ChartData", + "description": "The data that covers the domain of the pie chart." + }, + "threeDimensional": { + "description": "True if the pie is three dimensional.", + "type": "boolean" + }, + "series": { + "$ref": "ChartData", + "description": "The data that covers the one and only series of the pie chart." + } + }, + "id": "PieChartSpec" + }, + "UpdateFilterViewRequest": { + "description": "Updates properties of the filter view.", + "type": "object", + "properties": { + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `filter` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "filter": { + "description": "The new properties of the filter view.", + "$ref": "FilterView" + } + }, + "id": "UpdateFilterViewRequest" + }, + "ConditionalFormatRule": { + "properties": { + "booleanRule": { + "description": "The formatting is either \"on\" or \"off\" according to the rule.", + "$ref": "BooleanRule" + }, + "ranges": { + "description": "The ranges that will be formatted if the condition is true.\nAll the ranges must be on the same grid.", + "type": "array", + "items": { + "$ref": "GridRange" + } + }, + "gradientRule": { + "$ref": "GradientRule", + "description": "The formatting will vary based on the gradients in the rule." + } + }, + "id": "ConditionalFormatRule", + "description": "A rule describing a conditional format.", + "type": "object" + }, + "CopyPasteRequest": { + "description": "Copies data from the source to the destination.", + "type": "object", + "properties": { + "destination": { + "description": "The location to paste to. If the range covers a span that's\na multiple of the source's height or width, then the\ndata will be repeated to fill in the destination range.\nIf the range is smaller than the source range, the entire\nsource data will still be copied (beyond the end of the destination range).", + "$ref": "GridRange" + }, + "pasteOrientation": { + "enumDescriptions": [ + "Paste normally.", + "Paste transposed, where all rows become columns and vice versa." + ], + "enum": [ + "NORMAL", + "TRANSPOSE" + ], + "description": "How that data should be oriented when pasting.", + "type": "string" + }, + "source": { + "$ref": "GridRange", + "description": "The source range to copy." + }, + "pasteType": { + "description": "What kind of data to paste.", + "type": "string", + "enumDescriptions": [ + "Paste values, formulas, formats, and merges.", + "Paste the values ONLY without formats, formulas, or merges.", + "Paste the format and data validation only.", + "Like PASTE_NORMAL but without borders.", + "Paste the formulas only.", + "Paste the data validation only.", + "Paste the conditional formatting rules only." + ], + "enum": [ + "PASTE_NORMAL", + "PASTE_VALUES", + "PASTE_FORMAT", + "PASTE_NO_BORDERS", + "PASTE_FORMULA", + "PASTE_DATA_VALIDATION", + "PASTE_CONDITIONAL_FORMATTING" + ] + } + }, + "id": "CopyPasteRequest" + }, + "Request": { + "description": "A single kind of update to apply to a spreadsheet.", + "type": "object", + "properties": { + "updateConditionalFormatRule": { + "$ref": "UpdateConditionalFormatRuleRequest", + "description": "Updates an existing conditional format rule." + }, + "insertRange": { + "$ref": "InsertRangeRequest", + "description": "Inserts new cells in a sheet, shifting the existing cells." + }, + "moveDimension": { + "$ref": "MoveDimensionRequest", + "description": "Moves rows or columns to another location in a sheet." + }, + "updateBanding": { + "$ref": "UpdateBandingRequest", + "description": "Updates a banded range" + }, + "deleteNamedRange": { + "description": "Deletes a named range.", + "$ref": "DeleteNamedRangeRequest" + }, + "addProtectedRange": { + "$ref": "AddProtectedRangeRequest", + "description": "Adds a protected range." + }, + "duplicateSheet": { + "$ref": "DuplicateSheetRequest", + "description": "Duplicates a sheet." + }, + "deleteSheet": { + "description": "Deletes a sheet.", + "$ref": "DeleteSheetRequest" + }, + "unmergeCells": { + "$ref": "UnmergeCellsRequest", + "description": "Unmerges merged cells." + }, + "updateEmbeddedObjectPosition": { + "$ref": "UpdateEmbeddedObjectPositionRequest", + "description": "Updates an embedded object's (e.g. chart, image) position." + }, + "updateDimensionProperties": { + "$ref": "UpdateDimensionPropertiesRequest", + "description": "Updates dimensions' properties." + }, + "pasteData": { + "description": "Pastes data (HTML or delimited) into a sheet.", + "$ref": "PasteDataRequest" + }, + "setBasicFilter": { + "description": "Sets the basic filter on a sheet.", + "$ref": "SetBasicFilterRequest" + }, + "addConditionalFormatRule": { + "$ref": "AddConditionalFormatRuleRequest", + "description": "Adds a new conditional format rule." + }, + "updateCells": { + "$ref": "UpdateCellsRequest", + "description": "Updates many cells at once." + }, + "addNamedRange": { + "$ref": "AddNamedRangeRequest", + "description": "Adds a named range." + }, + "updateSpreadsheetProperties": { + "$ref": "UpdateSpreadsheetPropertiesRequest", + "description": "Updates the spreadsheet's properties." + }, + "deleteEmbeddedObject": { + "$ref": "DeleteEmbeddedObjectRequest", + "description": "Deletes an embedded object (e.g, chart, image) in a sheet." + }, + "updateFilterView": { + "$ref": "UpdateFilterViewRequest", + "description": "Updates the properties of a filter view." + }, + "addBanding": { + "description": "Adds a new banded range", + "$ref": "AddBandingRequest" + }, + "autoResizeDimensions": { + "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension.", + "$ref": "AutoResizeDimensionsRequest" + }, + "appendCells": { + "description": "Appends cells after the last row with data in a sheet.", + "$ref": "AppendCellsRequest" + }, + "cutPaste": { + "$ref": "CutPasteRequest", + "description": "Cuts data from one area and pastes it to another." + }, + "mergeCells": { + "$ref": "MergeCellsRequest", + "description": "Merges cells together." + }, + "updateNamedRange": { + "description": "Updates a named range.", + "$ref": "UpdateNamedRangeRequest" + }, + "updateSheetProperties": { + "$ref": "UpdateSheetPropertiesRequest", + "description": "Updates a sheet's properties." + }, + "autoFill": { + "$ref": "AutoFillRequest", + "description": "Automatically fills in more data based on existing data." + }, + "deleteDimension": { + "description": "Deletes rows or columns in a sheet.", + "$ref": "DeleteDimensionRequest" + }, + "sortRange": { + "$ref": "SortRangeRequest", + "description": "Sorts data in a range." + }, + "deleteProtectedRange": { + "$ref": "DeleteProtectedRangeRequest", + "description": "Deletes a protected range." + }, + "duplicateFilterView": { + "description": "Duplicates a filter view.", + "$ref": "DuplicateFilterViewRequest" + }, + "addChart": { + "description": "Adds a chart.", + "$ref": "AddChartRequest" + }, + "findReplace": { + "description": "Finds and replaces occurrences of some text with other text.", + "$ref": "FindReplaceRequest" + }, + "textToColumns": { + "$ref": "TextToColumnsRequest", + "description": "Converts a column of text into many columns of text." + }, + "updateChartSpec": { + "description": "Updates a chart's specifications.", + "$ref": "UpdateChartSpecRequest" + }, + "updateProtectedRange": { + "description": "Updates a protected range.", + "$ref": "UpdateProtectedRangeRequest" + }, + "addSheet": { + "description": "Adds a sheet.", + "$ref": "AddSheetRequest" + }, + "copyPaste": { + "$ref": "CopyPasteRequest", + "description": "Copies data from one area and pastes it to another." + }, + "deleteFilterView": { + "$ref": "DeleteFilterViewRequest", + "description": "Deletes a filter view from a sheet." + }, + "insertDimension": { + "description": "Inserts new rows or columns in a sheet.", + "$ref": "InsertDimensionRequest" + }, + "deleteRange": { + "$ref": "DeleteRangeRequest", + "description": "Deletes a range of cells from a sheet, shifting the remaining cells." + }, + "deleteBanding": { + "$ref": "DeleteBandingRequest", + "description": "Removes a banded range" + }, + "addFilterView": { + "$ref": "AddFilterViewRequest", + "description": "Adds a filter view." + }, + "updateBorders": { + "$ref": "UpdateBordersRequest", + "description": "Updates the borders in a range of cells." + }, + "setDataValidation": { + "description": "Sets data validation for one or more cells.", + "$ref": "SetDataValidationRequest" + }, + "deleteConditionalFormatRule": { + "$ref": "DeleteConditionalFormatRuleRequest", + "description": "Deletes an existing conditional format rule." + }, + "clearBasicFilter": { + "$ref": "ClearBasicFilterRequest", + "description": "Clears the basic filter on a sheet." + }, + "repeatCell": { + "$ref": "RepeatCellRequest", + "description": "Repeats a single cell across a range." + }, + "appendDimension": { + "description": "Appends dimensions to the end of a sheet.", + "$ref": "AppendDimensionRequest" + } + }, + "id": "Request" + }, + "BooleanCondition": { + "description": "A condition that can evaluate to true or false.\nBooleanConditions are used by conditional formatting,\ndata validation, and the criteria in filters.", + "type": "object", + "properties": { + "type": { + "description": "The type of condition.", + "type": "string", + "enumDescriptions": [ + "The default value, do not use.", + "The cell's value must be greater than the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be greater than or equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be less than the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be less than or equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be not equal to the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.", + "The cell's value must not be between the two condition values.\nSupported by data validation, conditional formatting and filters.\nRequires exactly two ConditionValues.", + "The cell's value must contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must not contain the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must start with the condition's value.\nSupported by conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must end with the condition's value.\nSupported by conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be exactly the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be a valid email address.\nSupported by data validation.\nRequires no ConditionValues.", + "The cell's value must be a valid URL.\nSupported by data validation.\nRequires no ConditionValues.", + "The cell's value must be the same date as the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue.", + "The cell's value must be before the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.", + "The cell's value must be after the date of the condition's value.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue\nthat may be a relative date.", + "The cell's value must be on or before the date of the condition's value.\nSupported by data validation.\nRequires a single ConditionValue\nthat may be a relative date.", + "The cell's value must be on or after the date of the condition's value.\nSupported by data validation.\nRequires a single ConditionValue\nthat may be a relative date.", + "The cell's value must be between the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.", + "The cell's value must be outside the dates of the two condition values.\nSupported by data validation.\nRequires exactly two ConditionValues.", + "The cell's value must be a date.\nSupported by data validation.\nRequires no ConditionValues.", + "The cell's value must be listed in the grid in condition value's range.\nSupported by data validation.\nRequires a single ConditionValue,\nand the value must be a valid range in A1 notation.", + "The cell's value must in the list of condition values.\nSupported by data validation.\nSupports any number of condition values,\none per item in the list.\nFormulas are not supported in the values.", + "The cell's value must be empty.\nSupported by conditional formatting and filters.\nRequires no ConditionValues.", + "The cell's value must not be empty.\nSupported by conditional formatting and filters.\nRequires no ConditionValues.", + "The condition's formula must evaluate to true.\nSupported by data validation, conditional formatting and filters.\nRequires a single ConditionValue." + ], + "enum": [ + "CONDITION_TYPE_UNSPECIFIED", + "NUMBER_GREATER", + "NUMBER_GREATER_THAN_EQ", + "NUMBER_LESS", + "NUMBER_LESS_THAN_EQ", + "NUMBER_EQ", + "NUMBER_NOT_EQ", + "NUMBER_BETWEEN", + "NUMBER_NOT_BETWEEN", + "TEXT_CONTAINS", + "TEXT_NOT_CONTAINS", + "TEXT_STARTS_WITH", + "TEXT_ENDS_WITH", + "TEXT_EQ", + "TEXT_IS_EMAIL", + "TEXT_IS_URL", + "DATE_EQ", + "DATE_BEFORE", + "DATE_AFTER", + "DATE_ON_OR_BEFORE", + "DATE_ON_OR_AFTER", + "DATE_BETWEEN", + "DATE_NOT_BETWEEN", + "DATE_IS_VALID", + "ONE_OF_RANGE", + "ONE_OF_LIST", + "BLANK", + "NOT_BLANK", + "CUSTOM_FORMULA" + ] + }, + "values": { + "description": "The values of the condition. The number of supported values depends\non the condition type. Some support zero values,\nothers one or two values,\nand ConditionType.ONE_OF_LIST supports an arbitrary number of values.", + "type": "array", + "items": { + "$ref": "ConditionValue" + } + } + }, + "id": "BooleanCondition" + }, + "GridRange": { + "type": "object", + "properties": { + "startColumnIndex": { + "type": "integer", + "description": "The start column (inclusive) of the range, or not set if unbounded.", + "format": "int32" + }, + "sheetId": { + "description": "The sheet this range is on.", + "format": "int32", + "type": "integer" + }, + "endRowIndex": { + "description": "The end row (exclusive) of the range, or not set if unbounded.", + "format": "int32", + "type": "integer" + }, + "endColumnIndex": { + "description": "The end column (exclusive) of the range, or not set if unbounded.", + "format": "int32", + "type": "integer" + }, + "startRowIndex": { + "description": "The start row (inclusive) of the range, or not set if unbounded.", + "format": "int32", + "type": "integer" + } + }, + "id": "GridRange", + "description": "A range on a sheet.\nAll indexes are zero-based.\nIndexes are half open, e.g the start index is inclusive\nand the end index is exclusive -- [start_index, end_index).\nMissing indexes indicate the range is unbounded on that side.\n\nFor example, if `\"Sheet1\"` is sheet ID 0, then:\n\n `Sheet1!A1:A1 == sheet_id: 0,\n start_row_index: 0, end_row_index: 1,\n start_column_index: 0, end_column_index: 1`\n\n `Sheet1!A3:B4 == sheet_id: 0,\n start_row_index: 2, end_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A:B == sheet_id: 0,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1!A5:B == sheet_id: 0,\n start_row_index: 4,\n start_column_index: 0, end_column_index: 2`\n\n `Sheet1 == sheet_id:0`\n\nThe start index must always be less than or equal to the end index.\nIf the start index equals the end index, then the range is empty.\nEmpty ranges are typically not meaningful and are usually rendered in the\nUI as `#REF!`." + }, + "BasicChartSpec": { + "type": "object", + "properties": { + "headerCount": { + "description": "The number of rows or columns in the data that are \"headers\".\nIf not set, Google Sheets will guess how many rows are headers based\non the data.\n\n(Note that BasicChartAxis.title may override the axis title\n inferred from the header values.)", + "format": "int32", + "type": "integer" + }, + "axis": { + "description": "The axis on the chart.", + "type": "array", + "items": { + "$ref": "BasicChartAxis" + } + }, + "chartType": { + "enum": [ + "BASIC_CHART_TYPE_UNSPECIFIED", + "BAR", + "LINE", + "AREA", + "COLUMN", + "SCATTER", + "COMBO" + ], + "description": "The type of the chart.", + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "A \u003ca href=\"/chart/interactive/docs/gallery/barchart\"\u003ebar chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/linechart\"\u003eline chart\u003c/a\u003e.", + "An \u003ca href=\"/chart/interactive/docs/gallery/areachart\"\u003earea chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/columnchart\"\u003ecolumn chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/scatterchart\"\u003escatter chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/combochart\"\u003ecombo chart\u003c/a\u003e." + ] + }, + "series": { + "description": "The data this chart is visualizing.", + "type": "array", + "items": { + "$ref": "BasicChartSeries" + } + }, + "legendPosition": { + "description": "The position of the chart legend.", + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "The legend is rendered on the bottom of the chart.", + "The legend is rendered on the left of the chart.", + "The legend is rendered on the right of the chart.", + "The legend is rendered on the top of the chart.", + "No legend is rendered." + ], + "enum": [ + "BASIC_CHART_LEGEND_POSITION_UNSPECIFIED", + "BOTTOM_LEGEND", + "LEFT_LEGEND", + "RIGHT_LEGEND", + "TOP_LEGEND", + "NO_LEGEND" + ] + }, + "domains": { + "description": "The domain of data this is charting.\nOnly a single domain is currently supported.", + "type": "array", + "items": { + "$ref": "BasicChartDomain" + } + } + }, + "id": "BasicChartSpec", + "description": "The specification for a basic chart. See BasicChartType for the list\nof charts this supports." + }, + "SetDataValidationRequest": { + "id": "SetDataValidationRequest", + "description": "Sets a data validation rule to every cell in the range.\nTo clear validation in a range, call this with no rule specified.", + "type": "object", + "properties": { + "rule": { + "$ref": "DataValidationRule", + "description": "The data validation rule to set on each cell in the range,\nor empty to clear the data validation in the range." + }, + "range": { + "$ref": "GridRange", + "description": "The range the data validation rule should apply to." + } + } + }, + "CellData": { + "properties": { + "textFormatRuns": { + "description": "Runs of rich text applied to subsections of the cell. Runs are only valid\non user entered strings, not formulas, bools, or numbers.\nRuns start at specific indexes in the text and continue until the next\nrun. Properties of a run will continue unless explicitly changed\nin a subsequent run (and properties of the first run will continue\nthe properties of the cell unless explicitly changed).\n\nWhen writing, the new runs will overwrite any prior runs. When writing a\nnew user_entered_value, previous runs will be erased.", + "type": "array", + "items": { + "$ref": "TextFormatRun" + } + }, + "formattedValue": { + "description": "The formatted value of the cell.\nThis is the value as it's shown to the user.\nThis field is read-only.", + "type": "string" + }, + "hyperlink": { + "description": "A hyperlink this cell points to, if any.\nThis field is read-only. (To set it, use a `=HYPERLINK` formula.)", + "type": "string" + }, + "pivotTable": { + "$ref": "PivotTable", + "description": "A pivot table anchored at this cell. The size of pivot table itself\nis computed dynamically based on its data, grouping, filters, values,\netc. Only the top-left cell of the pivot table contains the pivot table\ndefinition. The other cells will contain the calculated values of the\nresults of the pivot in their effective_value fields." + }, + "userEnteredFormat": { + "description": "The format the user entered for the cell.\n\nWhen writing, the new format will be merged with the existing format.", + "$ref": "CellFormat" + }, + "effectiveFormat": { + "description": "The effective format being used by the cell.\nThis includes the results of applying any conditional formatting and,\nif the cell contains a formula, the computed number format.\nIf the effective format is the default format, effective format will\nnot be written.\nThis field is read-only.", + "$ref": "CellFormat" + }, + "note": { + "description": "Any note on the cell.", + "type": "string" + }, + "userEnteredValue": { + "$ref": "ExtendedValue", + "description": "The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()`\nNote: Dates, Times and DateTimes are represented as doubles in\nserial number format." + }, + "dataValidation": { + "$ref": "DataValidationRule", + "description": "A data validation rule on the cell, if any.\n\nWhen writing, the new data validation rule will overwrite any prior rule." + }, + "effectiveValue": { + "$ref": "ExtendedValue", + "description": "The effective value of the cell. For cells with formulas, this will be\nthe calculated value. For cells with literals, this will be\nthe same as the user_entered_value.\nThis field is read-only." + } + }, + "id": "CellData", + "description": "Data about a specific cell.", + "type": "object" + }, + "BatchUpdateSpreadsheetRequest": { + "properties": { + "includeSpreadsheetInResponse": { + "description": "Determines if the update response should include the spreadsheet\nresource.", + "type": "boolean" + }, + "responseRanges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Limits the ranges included in the response spreadsheet.\nMeaningful only if include_spreadsheet_response is 'true'." + }, + "responseIncludeGridData": { + "description": "True if grid data should be returned. Meaningful only if\nif include_spreadsheet_response is 'true'.\nThis parameter is ignored if a field mask was set in the request.", + "type": "boolean" + }, + "requests": { + "type": "array", + "items": { + "$ref": "Request" + }, + "description": "A list of updates to apply to the spreadsheet." + } + }, + "id": "BatchUpdateSpreadsheetRequest", + "description": "The request for updating any aspect of a spreadsheet.", + "type": "object" + }, + "Padding": { + "description": "The amount of padding around the cell, in pixels.\nWhen updating padding, every field must be specified.", + "type": "object", + "properties": { + "bottom": { + "description": "The bottom padding of the cell.", + "format": "int32", + "type": "integer" + }, + "top": { + "description": "The top padding of the cell.", + "format": "int32", + "type": "integer" + }, + "left": { + "description": "The left padding of the cell.", + "format": "int32", + "type": "integer" + }, + "right": { + "description": "The right padding of the cell.", + "format": "int32", + "type": "integer" + } + }, + "id": "Padding" + }, + "BasicChartAxis": { + "description": "An axis of the chart.\nA chart may not have more than one axis per\naxis position.", + "type": "object", + "properties": { + "position": { + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.", + "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.", + "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis." + ], + "enum": [ + "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", + "BOTTOM_AXIS", + "LEFT_AXIS", + "RIGHT_AXIS" + ], + "description": "The position of this axis." + }, + "title": { + "type": "string", + "description": "The title of this axis. If set, this overrides any title inferred\nfrom headers of the data." + }, + "format": { + "$ref": "TextFormat", + "description": "The format of the title.\nOnly valid if the axis is not associated with the domain." + } + }, + "id": "BasicChartAxis" + }, + "DeleteDimensionRequest": { + "description": "Deletes the dimensions from the sheet.", + "type": "object", + "properties": { + "range": { + "$ref": "DimensionRange", + "description": "The dimensions to delete from the sheet." + } + }, + "id": "DeleteDimensionRequest" + }, + "UpdateChartSpecRequest": { + "id": "UpdateChartSpecRequest", + "description": "Updates a chart's specifications.\n(This does not move or resize a chart. To move or resize a chart, use\n UpdateEmbeddedObjectPositionRequest.)", + "type": "object", + "properties": { + "chartId": { + "description": "The ID of the chart to update.", + "format": "int32", + "type": "integer" + }, + "spec": { + "$ref": "ChartSpec", + "description": "The specification to apply to the chart." + } + } + }, + "DeleteFilterViewRequest": { + "description": "Deletes a particular filter view.", + "type": "object", + "properties": { + "filterId": { + "description": "The ID of the filter to delete.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteFilterViewRequest" + }, + "BatchUpdateValuesResponse": { + "properties": { + "totalUpdatedRows": { + "description": "The total number of rows where at least one cell in the row was updated.", + "format": "int32", + "type": "integer" + }, + "responses": { + "description": "One UpdateValuesResponse per requested range, in the same order as\nthe requests appeared.", + "type": "array", + "items": { + "$ref": "UpdateValuesResponse" + } + }, + "totalUpdatedSheets": { + "description": "The total number of sheets where at least one cell in the sheet was\nupdated.", + "format": "int32", + "type": "integer" + }, + "totalUpdatedCells": { + "description": "The total number of cells updated.", + "format": "int32", + "type": "integer" + }, + "totalUpdatedColumns": { + "description": "The total number of columns where at least one cell in the column was\nupdated.", + "format": "int32", + "type": "integer" + }, + "spreadsheetId": { + "description": "The spreadsheet the updates were applied to.", + "type": "string" + } + }, + "id": "BatchUpdateValuesResponse", + "description": "The response when updating a range of values in a spreadsheet.", + "type": "object" + }, + "SortRangeRequest": { + "description": "Sorts data in rows based on a sort order per column.", + "type": "object", + "properties": { + "range": { + "description": "The range to sort.", + "$ref": "GridRange" + }, + "sortSpecs": { + "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.", + "type": "array", + "items": { + "$ref": "SortSpec" + } + } + }, + "id": "SortRangeRequest" + }, + "MergeCellsRequest": { + "description": "Merges all cells in the range.", + "type": "object", + "properties": { + "range": { + "$ref": "GridRange", + "description": "The range of cells to merge." + }, + "mergeType": { + "enumDescriptions": [ + "Create a single merge from the range", + "Create a merge for each column in the range", + "Create a merge for each row in the range" + ], + "enum": [ + "MERGE_ALL", + "MERGE_COLUMNS", + "MERGE_ROWS" + ], + "description": "How the cells should be merged.", + "type": "string" + } + }, + "id": "MergeCellsRequest" + }, + "AddProtectedRangeRequest": { + "description": "Adds a new protected range.", + "type": "object", + "properties": { + "protectedRange": { + "description": "The protected range to be added. The\nprotectedRangeId field is optional; if\none is not set, an id will be randomly generated. (It is an error to\nspecify the ID of a range that already exists.)", + "$ref": "ProtectedRange" + } + }, + "id": "AddProtectedRangeRequest" + }, + "BatchClearValuesRequest": { + "description": "The request for clearing more than one range of values in a spreadsheet.", + "type": "object", + "properties": { + "ranges": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The ranges to clear, in A1 notation." + } + }, + "id": "BatchClearValuesRequest" + }, + "DuplicateFilterViewResponse": { + "description": "The result of a filter view being duplicated.", + "type": "object", + "properties": { + "filter": { + "$ref": "FilterView", + "description": "The newly created filter." + } + }, + "id": "DuplicateFilterViewResponse" + }, + "DuplicateSheetResponse": { + "id": "DuplicateSheetResponse", + "description": "The result of duplicating a sheet.", + "type": "object", + "properties": { + "properties": { + "$ref": "SheetProperties", + "description": "The properties of the duplicate sheet." + } + } + }, + "ClearBasicFilterRequest": { + "description": "Clears the basic filter, if any exists on the sheet.", + "type": "object", + "properties": { + "sheetId": { + "description": "The sheet ID on which the basic filter should be cleared.", + "format": "int32", + "type": "integer" + } + }, + "id": "ClearBasicFilterRequest" + }, + "TextToColumnsRequest": { + "properties": { + "delimiter": { + "description": "The delimiter to use. Used only if delimiterType is\nCUSTOM.", + "type": "string" + }, + "source": { + "description": "The source data range. This must span exactly one column.", + "$ref": "GridRange" + }, + "delimiterType": { + "enum": [ + "DELIMITER_TYPE_UNSPECIFIED", + "COMMA", + "SEMICOLON", + "PERIOD", + "SPACE", + "CUSTOM" + ], + "description": "The delimiter type to use.", + "type": "string", + "enumDescriptions": [ + "Default value. This value must not be used.", + "\",\"", + "\";\"", + "\".\"", + "\" \"", + "A custom value as defined in delimiter." + ] + } + }, + "id": "TextToColumnsRequest", + "description": "Splits a column of text into multiple columns,\nbased on a delimiter in each cell.", + "type": "object" + }, + "DeleteBandingRequest": { + "description": "Removes the banded range with the given ID from the spreadsheet.", + "type": "object", + "properties": { + "bandedRangeId": { + "description": "The ID of the banded range to delete.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteBandingRequest" + }, + "BatchUpdateSpreadsheetResponse": { + "description": "The reply for batch updating a spreadsheet.", + "type": "object", + "properties": { + "replies": { + "description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.", + "type": "array", + "items": { + "$ref": "Response" + } + }, + "updatedSpreadsheet": { + "description": "The spreadsheet after updates were applied. This is only set if\n[BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response] is `true`.", + "$ref": "Spreadsheet" + }, + "spreadsheetId": { + "description": "The spreadsheet the updates were applied to.", + "type": "string" + } + }, + "id": "BatchUpdateSpreadsheetResponse" + }, + "AppendValuesResponse": { + "id": "AppendValuesResponse", + "description": "The response when updating a range of values in a spreadsheet.", + "type": "object", + "properties": { + "tableRange": { + "description": "The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no table was found.", + "type": "string" + }, + "spreadsheetId": { + "description": "The spreadsheet the updates were applied to.", + "type": "string" + }, + "updates": { + "description": "Information about the updates that were applied.", + "$ref": "UpdateValuesResponse" + } + } + }, + "AddFilterViewRequest": { + "description": "Adds a filter view.", + "type": "object", + "properties": { + "filter": { + "$ref": "FilterView", + "description": "The filter to add. The filterViewId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a filter that already exists.)" + } + }, + "id": "AddFilterViewRequest" + }, + "PivotFilterCriteria": { + "description": "Criteria for showing/hiding rows in a pivot table.", + "type": "object", + "properties": { + "visibleValues": { + "description": "Values that should be included. Values not listed here are excluded.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "PivotFilterCriteria" + }, + "MoveDimensionRequest": { + "type": "object", + "properties": { + "destinationIndex": { + "description": "The zero-based start index of where to move the source data to,\nbased on the coordinates *before* the source data is removed\nfrom the grid. Existing data will be shifted down or right\n(depending on the dimension) to make room for the moved dimensions.\nThe source dimensions are removed from the grid, so the\nthe data may end up in a different index than specified.\n\nFor example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move\n`\"1\"` and `\"2\"` to between `\"3\"` and `\"4\"`, the source would be\n`ROWS [1..3)`,and the destination index would be `\"4\"`\n(the zero-based index of row 5).\nThe end result would be `A1..A5` of `0, 3, 1, 2, 4`.", + "format": "int32", + "type": "integer" + }, + "source": { + "$ref": "DimensionRange", + "description": "The source dimensions to move." + } + }, + "id": "MoveDimensionRequest", + "description": "Moves one or more rows or columns." + }, + "AddConditionalFormatRuleRequest": { + "description": "Adds a new conditional format rule at the given index.\nAll subsequent rules' indexes are incremented.", + "type": "object", + "properties": { + "rule": { + "$ref": "ConditionalFormatRule", + "description": "The rule to add." + }, + "index": { + "description": "The zero-based index where the rule should be inserted.", + "format": "int32", + "type": "integer" + } + }, + "id": "AddConditionalFormatRuleRequest" + }, + "ChartSpec": { + "description": "The specifications of a chart.", + "type": "object", + "properties": { + "pieChart": { + "description": "A pie chart specification.", + "$ref": "PieChartSpec" + }, + "basicChart": { + "$ref": "BasicChartSpec", + "description": "A basic chart specification, can be one of many kinds of charts.\nSee BasicChartType for the list of all\ncharts this supports." + }, + "hiddenDimensionStrategy": { + "enumDescriptions": [ + "Default value, do not use.", + "Charts will skip hidden rows and columns.", + "Charts will skip hidden rows only.", + "Charts will skip hidden columns only.", + "Charts will not skip any hidden rows or columns." + ], + "enum": [ + "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED", + "SKIP_HIDDEN_ROWS_AND_COLUMNS", + "SKIP_HIDDEN_ROWS", + "SKIP_HIDDEN_COLUMNS", + "SHOW_ALL" + ], + "description": "Determines how the charts will use hidden rows or columns.", + "type": "string" + }, + "title": { + "description": "The title of the chart.", + "type": "string" + } + }, + "id": "ChartSpec" + }, + "NumberFormat": { + "description": "The number format of a cell.", + "type": "object", + "properties": { + "type": { + "description": "The type of the number format.\nWhen writing, this field must be set.", + "type": "string", + "enumDescriptions": [ + "The number format is not specified\nand is based on the contents of the cell.\nDo not explicitly use this.", + "Text formatting, e.g `1000.12`", + "Number formatting, e.g, `1,000.12`", + "Percent formatting, e.g `10.12%`", + "Currency formatting, e.g `$1,000.12`", + "Date formatting, e.g `9/26/2008`", + "Time formatting, e.g `3:59:00 PM`", + "Date+Time formatting, e.g `9/26/08 15:59:00`", + "Scientific number formatting, e.g `1.01E+03`" + ], + "enum": [ + "NUMBER_FORMAT_TYPE_UNSPECIFIED", + "TEXT", + "NUMBER", + "PERCENT", + "CURRENCY", + "DATE", + "TIME", + "DATE_TIME", + "SCIENTIFIC" + ] + }, + "pattern": { + "description": "Pattern string used for formatting. If not set, a default pattern based on\nthe user's locale will be used if necessary for the given type.\nSee the [Date and Number Formats guide](/sheets/api/guides/formats) for more\ninformation about the supported patterns.", + "type": "string" + } + }, + "id": "NumberFormat" + }, + "SheetProperties": { + "type": "object", + "properties": { + "hidden": { + "description": "True if the sheet is hidden in the UI, false if it's visible.", + "type": "boolean" + }, + "gridProperties": { + "$ref": "GridProperties", + "description": "Additional properties of the sheet if this sheet is a grid.\n(If the sheet is an object sheet, containing a chart or image, then\nthis field will be absent.)\nWhen writing it is an error to set any grid properties on non-grid sheets." + }, + "sheetType": { + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "The sheet is a grid.", + "The sheet has no grid and instead has an object like a chart or image." + ], + "enum": [ + "SHEET_TYPE_UNSPECIFIED", + "GRID", + "OBJECT" + ], + "description": "The type of sheet. Defaults to GRID.\nThis field cannot be changed once set." + }, + "title": { + "description": "The name of the sheet.", + "type": "string" + }, + "tabColor": { + "$ref": "Color", + "description": "The color of the tab in the UI." + }, + "index": { + "description": "The index of the sheet within the spreadsheet.\nWhen adding or updating sheet properties, if this field\nis excluded then the sheet will be added or moved to the end\nof the sheet list. When updating sheet indices or inserting\nsheets, movement is considered in \"before the move\" indexes.\nFor example, if there were 3 sheets (S1, S2, S3) in order to\nmove S1 ahead of S2 the index would have to be set to 2. A sheet\nindex update request will be ignored if the requested index is\nidentical to the sheets current index or if the requested new\nindex is equal to the current sheet index + 1.", + "format": "int32", + "type": "integer" + }, + "sheetId": { + "description": "The ID of the sheet. Must be non-negative.\nThis field cannot be changed once set.", + "format": "int32", + "type": "integer" + }, + "rightToLeft": { + "description": "True if the sheet is an RTL sheet instead of an LTR sheet.", + "type": "boolean" + } + }, + "id": "SheetProperties", + "description": "Properties of a sheet." + }, + "UpdateDimensionPropertiesRequest": { + "description": "Updates properties of dimensions within the specified range.", + "type": "object", + "properties": { + "properties": { + "$ref": "DimensionProperties", + "description": "Properties to update." + }, + "range": { + "description": "The rows or columns to update.", + "$ref": "DimensionRange" + }, + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + } + }, + "id": "UpdateDimensionPropertiesRequest" + }, + "SourceAndDestination": { + "description": "A combination of a source range and how to extend that source.", + "type": "object", + "properties": { + "fillLength": { + "description": "The number of rows or columns that data should be filled into.\nPositive numbers expand beyond the last row or last column\nof the source. Negative numbers expand before the first row\nor first column of the source.", + "format": "int32", + "type": "integer" + }, + "source": { + "description": "The location of the data to use as the source of the autofill.", + "$ref": "GridRange" + }, + "dimension": { + "enumDescriptions": [ + "The default value, do not use.", + "Operates on the rows of a sheet.", + "Operates on the columns of a sheet." + ], + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ], + "description": "The dimension that data should be filled into.", + "type": "string" + } + }, + "id": "SourceAndDestination" + }, + "FilterView": { + "description": "A filter view.", + "type": "object", + "properties": { + "namedRangeId": { + "description": "The named range this filter view is backed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.", + "type": "string" + }, + "filterViewId": { + "description": "The ID of the filter view.", + "format": "int32", + "type": "integer" + }, + "criteria": { + "additionalProperties": { + "$ref": "FilterCriteria" + }, + "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.", + "type": "object" + }, + "title": { + "description": "The name of the filter view.", + "type": "string" + }, + "range": { + "$ref": "GridRange", + "description": "The range this filter view covers.\n\nWhen writing, only one of range or named_range_id\nmay be set." + }, + "sortSpecs": { + "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.", + "type": "array", + "items": { + "$ref": "SortSpec" + } + } + }, + "id": "FilterView" + }, + "BandingProperties": { + "type": "object", + "properties": { + "secondBandColor": { + "description": "The second color that is alternating. (Required)", + "$ref": "Color" + }, + "footerColor": { + "description": "The color of the last row or column. If this field is not set, the last\nrow or column will be filled with either first_band_color or\nsecond_band_color, depending on the color of the previous row or\ncolumn.", + "$ref": "Color" + }, + "headerColor": { + "description": "The color of the first row or column. If this field is set, the first\nrow or column will be filled with this color and the colors will\nalternate between first_band_color and second_band_color starting\nfrom the second row or column. Otherwise, the first row or column will be\nfilled with first_band_color and the colors will proceed to alternate\nas they normally would.", + "$ref": "Color" + }, + "firstBandColor": { + "$ref": "Color", + "description": "The first color that is alternating. (Required)" + } + }, + "id": "BandingProperties", + "description": "Properties referring a single dimension (either row or column). If both\nBandedRange.row_properties and BandedRange.column_properties are\nset, the fill colors are applied to cells according to the following rules:\n\n* header_color and footer_color take priority over band colors.\n* first_band_color takes priority over second_band_color.\n* row_properties takes priority over column_properties.\n\nFor example, the first row color takes priority over the first column\ncolor, but the first column color takes priority over the second row color.\nSimilarly, the row header takes priority over the column header in the\ntop left cell, but the column header takes priority over the first row\ncolor if the row header is not set." + }, + "AddProtectedRangeResponse": { + "description": "The result of adding a new protected range.", + "type": "object", + "properties": { + "protectedRange": { + "description": "The newly added protected range.", + "$ref": "ProtectedRange" + } + }, + "id": "AddProtectedRangeResponse" + }, + "BasicFilter": { + "id": "BasicFilter", + "description": "The default filter associated with a sheet.", + "type": "object", + "properties": { + "range": { + "$ref": "GridRange", + "description": "The range the filter covers." + }, + "criteria": { + "additionalProperties": { + "$ref": "FilterCriteria" + }, + "description": "The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.", + "type": "object" + }, + "sortSpecs": { + "description": "The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.", + "type": "array", + "items": { + "$ref": "SortSpec" + } + } + } + }, + "UpdateValuesResponse": { + "description": "The response when updating a range of values in a spreadsheet.", + "type": "object", + "properties": { + "updatedColumns": { + "description": "The number of columns where at least one cell in the column was updated.", + "format": "int32", + "type": "integer" + }, + "spreadsheetId": { + "description": "The spreadsheet the updates were applied to.", + "type": "string" + }, + "updatedRange": { + "description": "The range (in A1 notation) that updates were applied to.", + "type": "string" + }, + "updatedCells": { + "description": "The number of cells updated.", + "format": "int32", + "type": "integer" + }, + "updatedData": { + "description": "The values of the cells after updates were applied.\nThis is only included if the request's `includeValuesInResponse` field\nwas `true`.", + "$ref": "ValueRange" + }, + "updatedRows": { + "description": "The number of rows where at least one cell in the row was updated.", + "format": "int32", + "type": "integer" + } + }, + "id": "UpdateValuesResponse" + }, + "PivotValue": { + "properties": { + "name": { + "description": "A name to use for the value. This is only used if formula was set.\nOtherwise, the column name is used.", + "type": "string" + }, + "formula": { + "description": "A custom formula to calculate the value. The formula must start\nwith an `=` character.", + "type": "string" + }, + "summarizeFunction": { + "enumDescriptions": [ + "The default, do not use.", + "Corresponds to the `SUM` function.", + "Corresponds to the `COUNTA` function.", + "Corresponds to the `COUNT` function.", + "Corresponds to the `COUNTUNIQUE` function.", + "Corresponds to the `AVERAGE` function.", + "Corresponds to the `MAX` function.", + "Corresponds to the `MIN` function.", + "Corresponds to the `MEDIAN` function.", + "Corresponds to the `PRODUCT` function.", + "Corresponds to the `STDEV` function.", + "Corresponds to the `STDEVP` function.", + "Corresponds to the `VAR` function.", + "Corresponds to the `VARP` function.", + "Indicates the formula should be used as-is.\nOnly valid if PivotValue.formula was set." + ], + "enum": [ + "PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED", + "SUM", + "COUNTA", + "COUNT", + "COUNTUNIQUE", + "AVERAGE", + "MAX", + "MIN", + "MEDIAN", + "PRODUCT", + "STDEV", + "STDEVP", + "VAR", + "VARP", + "CUSTOM" + ], + "description": "A function to summarize the value.\nIf formula is set, the only supported values are\nSUM and\nCUSTOM.\nIf sourceColumnOffset is set, then `CUSTOM`\nis not supported.", + "type": "string" + }, + "sourceColumnOffset": { + "description": "The column offset of the source range that this value reads from.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this value refers to column `C`, whereas the offset `1` would\nrefer to column `D`.", + "format": "int32", + "type": "integer" + } + }, + "id": "PivotValue", + "description": "The definition of how a value in a pivot table should be calculated.", + "type": "object" + }, + "ErrorValue": { + "description": "An error in a cell.", + "type": "object", + "properties": { + "type": { + "enum": [ + "ERROR_TYPE_UNSPECIFIED", + "ERROR", + "NULL_VALUE", + "DIVIDE_BY_ZERO", + "VALUE", + "REF", + "NAME", + "NUM", + "N_A", + "LOADING" + ], + "description": "The type of error.", + "type": "string", + "enumDescriptions": [ + "The default error type, do not use this.", + "Corresponds to the `#ERROR!` error.", + "Corresponds to the `#NULL!` error.", + "Corresponds to the `#DIV/0` error.", + "Corresponds to the `#VALUE!` error.", + "Corresponds to the `#REF!` error.", + "Corresponds to the `#NAME?` error.", + "Corresponds to the `#NUM`! error.", + "Corresponds to the `#N/A` error.", + "Corresponds to the `Loading...` state." + ] + }, + "message": { + "description": "A message with more information about the error\n(in the spreadsheet's locale).", + "type": "string" + } + }, + "id": "ErrorValue" + }, + "CopySheetToAnotherSpreadsheetRequest": { + "description": "The request to copy a sheet across spreadsheets.", + "type": "object", + "properties": { + "destinationSpreadsheetId": { + "description": "The ID of the spreadsheet to copy the sheet to.", + "type": "string" + } + }, + "id": "CopySheetToAnotherSpreadsheetRequest" + }, + "PivotGroupSortValueBucket": { + "description": "Information about which values in a pivot group should be used for sorting.", + "type": "object", + "properties": { + "buckets": { + "description": "Determines the bucket from which values are chosen to sort.\n\nFor example, in a pivot table with one row group & two column groups,\nthe row group can list up to two values. The first value corresponds\nto a value within the first column group, and the second value\ncorresponds to a value in the second column group. If no values\nare listed, this would indicate that the row should be sorted according\nto the \"Grand Total\" over the column groups. If a single value is listed,\nthis would correspond to using the \"Total\" of that bucket.", + "type": "array", + "items": { + "$ref": "ExtendedValue" + } + }, + "valuesIndex": { + "description": "The offset in the PivotTable.values list which the values in this\ngrouping should be sorted by.", + "format": "int32", + "type": "integer" + } + }, + "id": "PivotGroupSortValueBucket" + }, + "EmbeddedObjectPosition": { + "description": "The position of an embedded object such as a chart.", + "type": "object", + "properties": { + "sheetId": { + "description": "The sheet this is on. Set only if the embedded object\nis on its own sheet. Must be non-negative.", + "format": "int32", + "type": "integer" + }, + "overlayPosition": { + "description": "The position at which the object is overlaid on top of a grid.", + "$ref": "OverlayPosition" + }, + "newSheet": { + "description": "If true, the embedded object will be put on a new sheet whose ID\nis chosen for you. Used only when writing.", + "type": "boolean" + } + }, + "id": "EmbeddedObjectPosition" + }, + "DeleteProtectedRangeRequest": { + "description": "Deletes the protected range with the given ID.", + "type": "object", + "properties": { + "protectedRangeId": { + "description": "The ID of the protected range to delete.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteProtectedRangeRequest" + }, + "AutoFillRequest": { + "description": "Fills in more data based on existing data.", + "type": "object", + "properties": { + "range": { + "$ref": "GridRange", + "description": "The range to autofill. This will examine the range and detect\nthe location that has data and automatically fill that data\nin to the rest of the range." + }, + "useAlternateSeries": { + "description": "True if we should generate data with the \"alternate\" series.\nThis differs based on the type and amount of source data.", + "type": "boolean" + }, + "sourceAndDestination": { + "description": "The source and destination areas to autofill.\nThis explicitly lists the source of the autofill and where to\nextend that data.", + "$ref": "SourceAndDestination" + } + }, + "id": "AutoFillRequest" + }, + "GradientRule": { + "description": "A rule that applies a gradient color scale format, based on\nthe interpolation points listed. The format of a cell will vary\nbased on its contents as compared to the values of the interpolation\npoints.", + "type": "object", + "properties": { + "midpoint": { + "$ref": "InterpolationPoint", + "description": "An optional midway interpolation point." + }, + "minpoint": { + "description": "The starting interpolation point.", + "$ref": "InterpolationPoint" + }, + "maxpoint": { + "$ref": "InterpolationPoint", + "description": "The final interpolation point." + } + }, + "id": "GradientRule" + }, + "SetBasicFilterRequest": { + "id": "SetBasicFilterRequest", + "description": "Sets the basic filter associated with a sheet.", + "type": "object", + "properties": { + "filter": { + "$ref": "BasicFilter", + "description": "The filter to set." + } + } + }, + "ClearValuesRequest": { + "description": "The request for clearing a range of values in a spreadsheet.", + "type": "object", + "properties": {}, + "id": "ClearValuesRequest" + }, + "InterpolationPoint": { + "description": "A single interpolation point on a gradient conditional format.\nThese pin the gradient color scale according to the color,\ntype and value chosen.", + "type": "object", + "properties": { + "value": { + "description": "The value this interpolation point uses. May be a formula.\nUnused if type is MIN or\nMAX.", + "type": "string" + }, + "color": { + "$ref": "Color", + "description": "The color this interpolation point should use." + }, + "type": { + "enumDescriptions": [ + "The default value, do not use.", + "The interpolation point will use the minimum value in the\ncells over the range of the conditional format.", + "The interpolation point will use the maximum value in the\ncells over the range of the conditional format.", + "The interpolation point will use exactly the value in\nInterpolationPoint.value.", + "The interpolation point will be the given percentage over\nall the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=(MAX(FLATTEN(range)) * (value / 100))\n + (MIN(FLATTEN(range)) * (1 - (value / 100)))`\n(where errors in the range are ignored when flattening).", + "The interpolation point will be the given percentile\nover all the cells in the range of the conditional format.\nThis is equivalent to NUMBER if the value was:\n`=PERCENTILE(FLATTEN(range), value / 100)`\n(where errors in the range are ignored when flattening)." + ], + "enum": [ + "INTERPOLATION_POINT_TYPE_UNSPECIFIED", + "MIN", + "MAX", + "NUMBER", + "PERCENT", + "PERCENTILE" + ], + "description": "How the value should be interpreted.", + "type": "string" + } + }, + "id": "InterpolationPoint" + }, + "FindReplaceResponse": { + "type": "object", + "properties": { + "valuesChanged": { + "type": "integer", + "description": "The number of non-formula cells changed.", + "format": "int32" + }, + "occurrencesChanged": { + "description": "The number of occurrences (possibly multiple within a cell) changed.\nFor example, if replacing `\"e\"` with `\"o\"` in `\"Google Sheets\"`, this would\nbe `\"3\"` because `\"Google Sheets\"` -\u003e `\"Googlo Shoots\"`.", + "format": "int32", + "type": "integer" + }, + "rowsChanged": { + "type": "integer", + "description": "The number of rows changed.", + "format": "int32" + }, + "sheetsChanged": { + "description": "The number of sheets changed.", + "format": "int32", + "type": "integer" + }, + "formulasChanged": { + "description": "The number of formula cells changed.", + "format": "int32", + "type": "integer" + } + }, + "id": "FindReplaceResponse", + "description": "The result of the find/replace." + }, + "DeleteEmbeddedObjectRequest": { + "description": "Deletes the embedded object with the given ID.", + "type": "object", + "properties": { + "objectId": { + "description": "The ID of the embedded object to delete.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteEmbeddedObjectRequest" + }, + "DeleteSheetRequest": { + "description": "Deletes the requested sheet.", + "type": "object", + "properties": { + "sheetId": { + "description": "The ID of the sheet to delete.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteSheetRequest" + }, + "DuplicateFilterViewRequest": { + "description": "Duplicates a particular filter view.", + "type": "object", + "properties": { + "filterId": { + "description": "The ID of the filter being duplicated.", + "format": "int32", + "type": "integer" + } + }, + "id": "DuplicateFilterViewRequest" + }, + "UpdateConditionalFormatRuleResponse": { + "description": "The result of updating a conditional format rule.", + "type": "object", + "properties": { + "newIndex": { + "description": "The index of the new rule.", + "format": "int32", + "type": "integer" + }, + "oldIndex": { + "description": "The old index of the rule. Not set if a rule was replaced\n(because it is the same as new_index).", + "format": "int32", + "type": "integer" + }, + "newRule": { + "description": "The new rule that replaced the old rule (if replacing),\nor the rule that was moved (if moved)", + "$ref": "ConditionalFormatRule" + }, + "oldRule": { + "description": "The old (deleted) rule. Not set if a rule was moved\n(because it is the same as new_rule).", + "$ref": "ConditionalFormatRule" + } + }, + "id": "UpdateConditionalFormatRuleResponse" + }, + "DuplicateSheetRequest": { + "description": "Duplicates the contents of a sheet.", + "type": "object", + "properties": { + "newSheetName": { + "type": "string", + "description": "The name of the new sheet. If empty, a new name is chosen for you." + }, + "sourceSheetId": { + "type": "integer", + "description": "The sheet to duplicate.", + "format": "int32" + }, + "newSheetId": { + "description": "If set, the ID of the new sheet. If not set, an ID is chosen.\nIf set, the ID must not conflict with any existing sheet ID.\nIf set, it must be non-negative.", + "format": "int32", + "type": "integer" + }, + "insertSheetIndex": { + "description": "The zero-based index where the new sheet should be inserted.\nThe index of all sheets after this are incremented.", + "format": "int32", + "type": "integer" + } + }, + "id": "DuplicateSheetRequest" + }, + "ConditionValue": { + "properties": { + "relativeDate": { + "enumDescriptions": [ + "Default value, do not use.", + "The value is one year before today.", + "The value is one month before today.", + "The value is one week before today.", + "The value is yesterday.", + "The value is today.", + "The value is tomorrow." + ], + "enum": [ + "RELATIVE_DATE_UNSPECIFIED", + "PAST_YEAR", + "PAST_MONTH", + "PAST_WEEK", + "YESTERDAY", + "TODAY", + "TOMORROW" + ], + "description": "A relative date (based on the current date).\nValid only if the type is\nDATE_BEFORE,\nDATE_AFTER,\nDATE_ON_OR_BEFORE or\nDATE_ON_OR_AFTER.\n\nRelative dates are not supported in data validation.\nThey are supported only in conditional formatting and\nconditional filters.", + "type": "string" + }, + "userEnteredValue": { + "description": "A value the condition is based on.\nThe value will be parsed as if the user typed into a cell.\nFormulas are supported (and must begin with an `=`).", + "type": "string" + } + }, + "id": "ConditionValue", + "description": "The value of the condition.", + "type": "object" + }, + "ExtendedValue": { + "id": "ExtendedValue", + "description": "The kinds of value that a cell in a spreadsheet can have.", + "type": "object", + "properties": { + "numberValue": { + "description": "Represents a double value.\nNote: Dates, Times and DateTimes are represented as doubles in\n\"serial number\" format.", + "format": "double", + "type": "number" + }, + "errorValue": { + "$ref": "ErrorValue", + "description": "Represents an error.\nThis field is read-only." + }, + "stringValue": { + "description": "Represents a string value.\nLeading single quotes are not included. For example, if the user typed\n`'123` into the UI, this would be represented as a `stringValue` of\n`\"123\"`.", + "type": "string" + }, + "boolValue": { + "description": "Represents a boolean value.", + "type": "boolean" + }, + "formulaValue": { + "description": "Represents a formula.", + "type": "string" + } + } + }, + "BandedRange": { + "properties": { + "range": { + "description": "The range over which these properties are applied.", + "$ref": "GridRange" + }, + "bandedRangeId": { + "description": "The id of the banded range.", + "format": "int32", + "type": "integer" + }, + "rowProperties": { + "description": "Properties for row bands. These properties will be applied on a row-by-row\nbasis throughout all the rows in the range. At least one of\nrow_properties or column_properties must be specified.", + "$ref": "BandingProperties" + }, + "columnProperties": { + "$ref": "BandingProperties", + "description": "Properties for column bands. These properties will be applied on a column-\nby-column basis throughout all the columns in the range. At least one of\nrow_properties or column_properties must be specified." + } + }, + "id": "BandedRange", + "description": "A banded (alternating colors) range in a sheet.", + "type": "object" + }, + "BatchClearValuesResponse": { + "description": "The response when updating a range of values in a spreadsheet.", + "type": "object", + "properties": { + "spreadsheetId": { + "description": "The spreadsheet the updates were applied to.", + "type": "string" + }, + "clearedRanges": { + "description": "The ranges that were cleared, in A1 notation.\n(If the requests were for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)", + "type": "array", + "items": { + "type": "string" + } + } + }, + "id": "BatchClearValuesResponse" + }, + "Spreadsheet": { + "description": "Resource that represents a spreadsheet.", + "type": "object", + "properties": { + "properties": { + "description": "Overall properties of a spreadsheet.", + "$ref": "SpreadsheetProperties" + }, + "spreadsheetId": { + "description": "The ID of the spreadsheet.\nThis field is read-only.", + "type": "string" + }, + "sheets": { + "description": "The sheets that are part of a spreadsheet.", + "type": "array", + "items": { + "$ref": "Sheet" + } + }, + "namedRanges": { + "description": "The named ranges defined in a spreadsheet.", + "type": "array", + "items": { + "$ref": "NamedRange" + } + }, + "spreadsheetUrl": { + "description": "The url of the spreadsheet.\nThis field is read-only.", + "type": "string" + } + }, + "id": "Spreadsheet" + }, + "AddChartRequest": { + "properties": { + "chart": { + "description": "The chart that should be added to the spreadsheet, including the position\nwhere it should be placed. The chartId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a chart that already exists.)", + "$ref": "EmbeddedChart" + } + }, + "id": "AddChartRequest", + "description": "Adds a chart to a sheet in the spreadsheet.", + "type": "object" + }, + "UpdateProtectedRangeRequest": { + "description": "Updates an existing protected range with the specified\nprotectedRangeId.", + "type": "object", + "properties": { + "protectedRange": { + "$ref": "ProtectedRange", + "description": "The protected range to update with the new properties." + }, + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `protectedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + } + }, + "id": "UpdateProtectedRangeRequest" + }, + "TextFormat": { + "description": "The format of a run of text in a cell.\nAbsent values indicate that the field isn't specified.", + "type": "object", + "properties": { + "fontFamily": { + "description": "The font family.", + "type": "string" + }, + "italic": { + "type": "boolean", + "description": "True if the text is italicized." + }, + "strikethrough": { + "description": "True if the text has a strikethrough.", + "type": "boolean" + }, + "fontSize": { + "description": "The size of the font.", + "format": "int32", + "type": "integer" + }, + "underline": { + "description": "True if the text is underlined.", + "type": "boolean" + }, + "foregroundColor": { + "$ref": "Color", + "description": "The foreground color of the text." + }, + "bold": { + "description": "True if the text is bold.", + "type": "boolean" + } + }, + "id": "TextFormat" + }, + "AddSheetResponse": { + "description": "The result of adding a sheet.", + "type": "object", + "properties": { + "properties": { + "$ref": "SheetProperties", + "description": "The properties of the newly added sheet." + } + }, + "id": "AddSheetResponse" + }, + "AddFilterViewResponse": { + "type": "object", + "properties": { + "filter": { + "$ref": "FilterView", + "description": "The newly added filter view." + } + }, + "id": "AddFilterViewResponse", + "description": "The result of adding a filter view." + }, + "IterativeCalculationSettings": { + "properties": { + "maxIterations": { + "description": "When iterative calculation is enabled, the maximum number of calculation\nrounds to perform.", + "format": "int32", + "type": "integer" + }, + "convergenceThreshold": { + "description": "When iterative calculation is enabled and successive results differ by\nless than this threshold value, the calculation rounds stop.", + "format": "double", + "type": "number" + } + }, + "id": "IterativeCalculationSettings", + "description": "Settings to control how circular dependencies are resolved with iterative\ncalculation.", + "type": "object" + }, + "OverlayPosition": { + "type": "object", + "properties": { + "widthPixels": { + "description": "The width of the object, in pixels. Defaults to 600.", + "format": "int32", + "type": "integer" + }, + "offsetXPixels": { + "description": "The horizontal offset, in pixels, that the object is offset\nfrom the anchor cell.", + "format": "int32", + "type": "integer" + }, + "anchorCell": { + "$ref": "GridCoordinate", + "description": "The cell the object is anchored to." + }, + "offsetYPixels": { + "description": "The vertical offset, in pixels, that the object is offset\nfrom the anchor cell.", + "format": "int32", + "type": "integer" + }, + "heightPixels": { + "description": "The height of the object, in pixels. Defaults to 371.", + "format": "int32", + "type": "integer" + } + }, + "id": "OverlayPosition", + "description": "The location an object is overlaid on top of a grid." + }, + "SpreadsheetProperties": { + "description": "Properties of a spreadsheet.", + "type": "object", + "properties": { + "defaultFormat": { + "$ref": "CellFormat", + "description": "The default format of all cells in the spreadsheet.\nCellData.effectiveFormat will not be set if the\ncell's format is equal to this default format.\nThis field is read-only." + }, + "autoRecalc": { + "type": "string", + "enumDescriptions": [ + "Default value. This value must not be used.", + "Volatile functions are updated on every change.", + "Volatile functions are updated on every change and every minute.", + "Volatile functions are updated on every change and hourly." + ], + "enum": [ + "RECALCULATION_INTERVAL_UNSPECIFIED", + "ON_CHANGE", + "MINUTE", + "HOUR" + ], + "description": "The amount of time to wait before volatile functions are recalculated." + }, + "title": { + "description": "The title of the spreadsheet.", + "type": "string" + }, + "timeZone": { + "description": "The time zone of the spreadsheet, in CLDR format such as\n`America/New_York`. If the time zone isn't recognized, this may\nbe a custom time zone such as `GMT-07:00`.", + "type": "string" + }, + "locale": { + "description": "The locale of the spreadsheet in one of the following formats:\n\n* an ISO 639-1 language code such as `en`\n\n* an ISO 639-2 language code such as `fil`, if no 639-1 code exists\n\n* a combination of the ISO language code and country code, such as `en_US`\n\nNote: when updating this field, not all locales/languages are supported.", + "type": "string" + }, + "iterativeCalculationSettings": { + "description": "Determines whether and how circular references are resolved with iterative\ncalculation. Absence of this field means that circular references will\nresult in calculation errors.", + "$ref": "IterativeCalculationSettings" + } + }, + "id": "SpreadsheetProperties" + }, + "RepeatCellRequest": { + "description": "Updates all cells in the range to the values in the given Cell object.\nOnly the fields listed in the fields field are updated; others are\nunchanged.\n\nIf writing a cell with a formula, the formula's ranges will automatically\nincrement for each field in the range.\nFor example, if writing a cell with formula `=A1` into range B2:C4,\nB2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`,\nC2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`.\n\nTo keep the formula's ranges static, use the `$` indicator.\nFor example, use the formula `=$A$1` to prevent both the row and the\ncolumn from incrementing.", + "type": "object", + "properties": { + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `cell` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "cell": { + "$ref": "CellData", + "description": "The data to write." + }, + "range": { + "description": "The range to repeat the cell in.", + "$ref": "GridRange" + } + }, + "id": "RepeatCellRequest" + }, + "AddChartResponse": { + "description": "The result of adding a chart to a spreadsheet.", + "type": "object", + "properties": { + "chart": { + "$ref": "EmbeddedChart", + "description": "The newly added chart." + } + }, + "id": "AddChartResponse" + }, + "InsertDimensionRequest": { + "id": "InsertDimensionRequest", + "description": "Inserts rows or columns in a sheet at a particular index.", + "type": "object", + "properties": { + "inheritFromBefore": { + "description": "Whether dimension properties should be extended from the dimensions\nbefore or after the newly inserted dimensions.\nTrue to inherit from the dimensions before (in which case the start\nindex must be greater than 0), and false to inherit from the dimensions\nafter.\n\nFor example, if row index 0 has red background and row index 1\nhas a green background, then inserting 2 rows at index 1 can inherit\neither the green or red background. If `inheritFromBefore` is true,\nthe two new rows will be red (because the row before the insertion point\nwas red), whereas if `inheritFromBefore` is false, the two new rows will\nbe green (because the row after the insertion point was green).", + "type": "boolean" + }, + "range": { + "$ref": "DimensionRange", + "description": "The dimensions to insert. Both the start and end indexes must be bounded." + } + } + }, + "UpdateSpreadsheetPropertiesRequest": { + "description": "Updates properties of a spreadsheet.", + "type": "object", + "properties": { + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root 'properties' is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "properties": { + "$ref": "SpreadsheetProperties", + "description": "The properties to update." + } + }, + "id": "UpdateSpreadsheetPropertiesRequest" + }, + "ProtectedRange": { + "id": "ProtectedRange", + "description": "A protected range.", + "type": "object", + "properties": { + "warningOnly": { + "type": "boolean", + "description": "True if this protected range will show a warning when editing.\nWarning-based protection means that every user can edit data in the\nprotected range, except editing will prompt a warning asking the user\nto confirm the edit.\n\nWhen writing: if this field is true, then editors is ignored.\nAdditionally, if this field is changed from true to false and the\n`editors` field is not set (nor included in the field mask), then\nthe editors will be set to all the editors in the document." + }, + "requestingUserCanEdit": { + "description": "True if the user who requested this protected range can edit the\nprotected area.\nThis field is read-only.", + "type": "boolean" + }, + "range": { + "$ref": "GridRange", + "description": "The range that is being protected.\nThe range may be fully unbounded, in which case this is considered\na protected sheet.\n\nWhen writing, only one of range or named_range_id\nmay be set." + }, + "editors": { + "$ref": "Editors", + "description": "The users and groups with edit access to the protected range.\nThis field is only visible to users with edit access to the protected\nrange and the document.\nEditors are not supported with warning_only protection." + }, + "description": { + "description": "The description of this protected range.", + "type": "string" + }, + "unprotectedRanges": { + "description": "The list of unprotected ranges within a protected sheet.\nUnprotected ranges are only supported on protected sheets.", + "type": "array", + "items": { + "$ref": "GridRange" + } + }, + "namedRangeId": { + "description": "The named range this protected range is backed by, if any.\n\nWhen writing, only one of range or named_range_id\nmay be set.", + "type": "string" + }, + "protectedRangeId": { + "description": "The ID of the protected range.\nThis field is read-only.", + "format": "int32", + "type": "integer" + } + } + }, + "BatchUpdateValuesRequest": { + "description": "The request for updating more than one range of values in a spreadsheet.", + "type": "object", + "properties": { + "responseValueRenderOption": { + "enum": [ + "FORMATTED_VALUE", + "UNFORMATTED_VALUE", + "FORMULA" + ], + "description": "Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.", + "type": "string", + "enumDescriptions": [ + "Values will be calculated & formatted in the reply according to the\ncell's formatting. Formatting is based on the spreadsheet's locale,\nnot the requesting user's locale.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,\nthen `A2` would return `\"$1.23\"`.", + "Values will be calculated, but not formatted in the reply.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,\nthen `A2` would return the number `1.23`.", + "Values will not be calculated. The reply will include the formulas.\nFor example, if `A1` is `1.23` and `A2` is `=A1` and formatted as currency,\nthen A2 would return `\"=A1\"`." + ] + }, + "includeValuesInResponse": { + "description": "Determines if the update response should include the values\nof the cells that were updated. By default, responses\ndo not include the updated values. The `updatedData` field within\neach of the BatchUpdateValuesResponse.responses will contain\nthe updated values. If the range to write was larger than than the range\nactually written, the response will include all values in the requested\nrange (excluding trailing empty rows and columns).", + "type": "boolean" + }, + "valueInputOption": { + "type": "string", + "enumDescriptions": [ + "Default input value. This value must not be used.", + "The values the user has entered will not be parsed and will be stored\nas-is.", + "The values will be parsed as if the user typed them into the UI.\nNumbers will stay as numbers, but strings may be converted to numbers,\ndates, etc. following the same rules that are applied when entering\ntext into a cell via the Google Sheets UI." + ], + "enum": [ + "INPUT_VALUE_OPTION_UNSPECIFIED", + "RAW", + "USER_ENTERED" + ], + "description": "How the input data should be interpreted." + }, + "data": { + "description": "The new values to apply to the spreadsheet.", + "type": "array", + "items": { + "$ref": "ValueRange" + } + }, + "responseDateTimeRenderOption": { + "type": "string", + "enumDescriptions": [ + "Instructs date, time, datetime, and duration fields to be output\nas doubles in \"serial number\" format, as popularized by Lotus 1-2-3.\nThe whole number portion of the value (left of the decimal) counts\nthe days since December 30th 1899. The fractional portion (right of\nthe decimal) counts the time as a fraction of the day. For example,\nJanuary 1st 1900 at noon would be 2.5, 2 because it's 2 days after\nDecember 30st 1899, and .5 because noon is half a day. February 1st\n1900 at 3pm would be 33.625. This correctly treats the year 1900 as\nnot a leap year.", + "Instructs date, time, datetime, and duration fields to be output\nas strings in their given number format (which is dependent\non the spreadsheet locale)." + ], + "enum": [ + "SERIAL_NUMBER", + "FORMATTED_STRING" + ], + "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]." + } + }, + "id": "BatchUpdateValuesRequest" + }, + "DimensionProperties": { + "type": "object", + "properties": { + "pixelSize": { + "description": "The height (if a row) or width (if a column) of the dimension in pixels.", + "format": "int32", + "type": "integer" + }, + "hiddenByFilter": { + "description": "True if this dimension is being filtered.\nThis field is read-only.", + "type": "boolean" + }, + "hiddenByUser": { + "description": "True if this dimension is explicitly hidden.", + "type": "boolean" + } + }, + "id": "DimensionProperties", + "description": "Properties about a dimension." + }, + "NamedRange": { + "type": "object", + "properties": { + "namedRangeId": { + "description": "The ID of the named range.", + "type": "string" + }, + "range": { + "description": "The range this represents.", + "$ref": "GridRange" + }, + "name": { + "description": "The name of the named range.", + "type": "string" + } + }, + "id": "NamedRange", + "description": "A named range." + }, + "DimensionRange": { + "type": "object", + "properties": { + "dimension": { + "enumDescriptions": [ + "The default value, do not use.", + "Operates on the rows of a sheet.", + "Operates on the columns of a sheet." + ], + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ], + "description": "The dimension of the span.", + "type": "string" + }, + "startIndex": { + "description": "The start (inclusive) of the span, or not set if unbounded.", + "format": "int32", + "type": "integer" + }, + "endIndex": { + "description": "The end (exclusive) of the span, or not set if unbounded.", + "format": "int32", + "type": "integer" + }, + "sheetId": { + "description": "The sheet this span is on.", + "format": "int32", + "type": "integer" + } + }, + "id": "DimensionRange", + "description": "A range along a single dimension on a sheet.\nAll indexes are zero-based.\nIndexes are half open: the start index is inclusive\nand the end index is exclusive.\nMissing indexes indicate the range is unbounded on that side." + }, + "CutPasteRequest": { + "type": "object", + "properties": { + "destination": { + "description": "The top-left coordinate where the data should be pasted.", + "$ref": "GridCoordinate" + }, + "source": { + "$ref": "GridRange", + "description": "The source data to cut." + }, + "pasteType": { + "enumDescriptions": [ + "Paste values, formulas, formats, and merges.", + "Paste the values ONLY without formats, formulas, or merges.", + "Paste the format and data validation only.", + "Like PASTE_NORMAL but without borders.", + "Paste the formulas only.", + "Paste the data validation only.", + "Paste the conditional formatting rules only." + ], + "enum": [ + "PASTE_NORMAL", + "PASTE_VALUES", + "PASTE_FORMAT", + "PASTE_NO_BORDERS", + "PASTE_FORMULA", + "PASTE_DATA_VALIDATION", + "PASTE_CONDITIONAL_FORMATTING" + ], + "description": "What kind of data to paste. All the source data will be cut, regardless\nof what is pasted.", + "type": "string" + } + }, + "id": "CutPasteRequest", + "description": "Moves data from the source to the destination." + }, + "BasicChartSeries": { + "description": "A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".", + "type": "object", + "properties": { + "series": { + "$ref": "ChartData", + "description": "The data being visualized in this chart series." + }, + "type": { + "enum": [ + "BASIC_CHART_TYPE_UNSPECIFIED", + "BAR", + "LINE", + "AREA", + "COLUMN", + "SCATTER", + "COMBO" + ], + "description": "The type of this series. Valid only if the\nchartType is\nCOMBO.\nDifferent types will change the way the series is visualized.\nOnly LINE, AREA,\nand COLUMN are supported.", + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "A \u003ca href=\"/chart/interactive/docs/gallery/barchart\"\u003ebar chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/linechart\"\u003eline chart\u003c/a\u003e.", + "An \u003ca href=\"/chart/interactive/docs/gallery/areachart\"\u003earea chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/columnchart\"\u003ecolumn chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/scatterchart\"\u003escatter chart\u003c/a\u003e.", + "A \u003ca href=\"/chart/interactive/docs/gallery/combochart\"\u003ecombo chart\u003c/a\u003e." + ] + }, + "targetAxis": { + "enum": [ + "BASIC_CHART_AXIS_POSITION_UNSPECIFIED", + "BOTTOM_AXIS", + "LEFT_AXIS", + "RIGHT_AXIS" + ], + "description": "The minor axis that will specify the range of values for this series.\nFor example, if charting stocks over time, the \"Volume\" series\nmay want to be pinned to the right with the prices pinned to the left,\nbecause the scale of trading volume is different than the scale of\nprices.\nIt is an error to specify an axis that isn't a valid minor axis\nfor the chart's type.", + "type": "string", + "enumDescriptions": [ + "Default value, do not use.", + "The axis rendered at the bottom of a chart.\nFor most charts, this is the standard major axis.\nFor bar charts, this is a minor axis.", + "The axis rendered at the left of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is the standard major axis.", + "The axis rendered at the right of a chart.\nFor most charts, this is a minor axis.\nFor bar charts, this is an unusual major axis." + ] + } + }, + "id": "BasicChartSeries" + }, + "Borders": { + "description": "The borders of the cell.", + "type": "object", + "properties": { + "bottom": { + "description": "The bottom border of the cell.", + "$ref": "Border" + }, + "top": { + "$ref": "Border", + "description": "The top border of the cell." + }, + "left": { + "$ref": "Border", + "description": "The left border of the cell." + }, + "right": { + "description": "The right border of the cell.", + "$ref": "Border" + } + }, + "id": "Borders" + }, + "AutoResizeDimensionsRequest": { + "description": "Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension.", + "type": "object", + "properties": { + "dimensions": { + "description": "The dimensions to automatically resize.\nOnly COLUMNS are supported.", + "$ref": "DimensionRange" + } + }, + "id": "AutoResizeDimensionsRequest" + }, + "UpdateBordersRequest": { + "id": "UpdateBordersRequest", + "description": "Updates the borders of a range.\nIf a field is not set in the request, that means the border remains as-is.\nFor example, with two subsequent UpdateBordersRequest:\n\n 1. range: A1:A5 `{ top: RED, bottom: WHITE }`\n 2. range: A1:A5 `{ left: BLUE }`\n\nThat would result in A1:A5 having a borders of\n`{ top: RED, bottom: WHITE, left: BLUE }`.\nIf you want to clear a border, explicitly set the style to\nNONE.", + "type": "object", + "properties": { + "bottom": { + "$ref": "Border", + "description": "The border to put at the bottom of the range." + }, + "innerVertical": { + "$ref": "Border", + "description": "The vertical border to put within the range." + }, + "right": { + "description": "The border to put at the right of the range.", + "$ref": "Border" + }, + "range": { + "description": "The range whose borders should be updated.", + "$ref": "GridRange" + }, + "innerHorizontal": { + "$ref": "Border", + "description": "The horizontal border to put within the range." + }, + "top": { + "$ref": "Border", + "description": "The border to put at the top of the range." + }, + "left": { + "description": "The border to put at the left of the range.", + "$ref": "Border" + } + } + }, + "CellFormat": { + "description": "The format of a cell.", + "type": "object", + "properties": { + "backgroundColor": { + "$ref": "Color", + "description": "The background color of the cell." + }, + "verticalAlignment": { + "enum": [ + "VERTICAL_ALIGN_UNSPECIFIED", + "TOP", + "MIDDLE", + "BOTTOM" + ], + "description": "The vertical alignment of the value in the cell.", + "type": "string", + "enumDescriptions": [ + "The vertical alignment is not specified. Do not use this.", + "The text is explicitly aligned to the top of the cell.", + "The text is explicitly aligned to the middle of the cell.", + "The text is explicitly aligned to the bottom of the cell." + ] + }, + "padding": { + "$ref": "Padding", + "description": "The padding of the cell." + }, + "textDirection": { + "enum": [ + "TEXT_DIRECTION_UNSPECIFIED", + "LEFT_TO_RIGHT", + "RIGHT_TO_LEFT" + ], + "description": "The direction of the text in the cell.", + "type": "string", + "enumDescriptions": [ + "The text direction is not specified. Do not use this.", + "The text direction of left-to-right was set by the user.", + "The text direction of right-to-left was set by the user." + ] + }, + "borders": { + "description": "The borders of the cell.", + "$ref": "Borders" + }, + "wrapStrategy": { + "type": "string", + "enumDescriptions": [ + "The default value, do not use.", + "Lines that are longer than the cell width will be written in the next\ncell over, so long as that cell is empty. If the next cell over is\nnon-empty, this behaves the same as CLIP. The text will never wrap\nto the next line unless the user manually inserts a new line.\nExample:\n\n | First sentence. |\n | Manual newline that is very long. \u003c- Text continues into next cell\n | Next newline. |", + "This wrap strategy represents the old Google Sheets wrap strategy where\nwords that are longer than a line are clipped rather than broken. This\nstrategy is not supported on all platforms and is being phased out.\nExample:\n\n | Cell has a |\n | loooooooooo| \u003c- Word is clipped.\n | word. |", + "Lines that are longer than the cell width will be clipped.\nThe text will never wrap to the next line unless the user manually\ninserts a new line.\nExample:\n\n | First sentence. |\n | Manual newline t| \u003c- Text is clipped\n | Next newline. |", + "Words that are longer than a line are wrapped at the character level\nrather than clipped.\nExample:\n\n | Cell has a |\n | loooooooooo| \u003c- Word is broken.\n | ong word. |" + ], + "enum": [ + "WRAP_STRATEGY_UNSPECIFIED", + "OVERFLOW_CELL", + "LEGACY_WRAP", + "CLIP", + "WRAP" + ], + "description": "The wrap strategy for the value in the cell." + }, + "textRotation": { + "description": "The rotation applied to text in a cell", + "$ref": "TextRotation" + }, + "numberFormat": { + "description": "A format describing how number values should be represented to the user.", + "$ref": "NumberFormat" + }, + "horizontalAlignment": { + "description": "The horizontal alignment of the value in the cell.", + "type": "string", + "enumDescriptions": [ + "The horizontal alignment is not specified. Do not use this.", + "The text is explicitly aligned to the left of the cell.", + "The text is explicitly aligned to the center of the cell.", + "The text is explicitly aligned to the right of the cell." + ], + "enum": [ + "HORIZONTAL_ALIGN_UNSPECIFIED", + "LEFT", + "CENTER", + "RIGHT" + ] + }, + "hyperlinkDisplayType": { + "description": "How a hyperlink, if it exists, should be displayed in the cell.", + "type": "string", + "enumDescriptions": [ + "The default value: the hyperlink is rendered. Do not use this.", + "A hyperlink should be explicitly rendered.", + "A hyperlink should not be rendered." + ], + "enum": [ + "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED", + "LINKED", + "PLAIN_TEXT" + ] + }, + "textFormat": { + "description": "The format of the text in the cell (unless overridden by a format run).", + "$ref": "TextFormat" + } + }, + "id": "CellFormat" + }, + "ClearValuesResponse": { + "description": "The response when clearing a range of values in a spreadsheet.", + "type": "object", + "properties": { + "clearedRange": { + "description": "The range (in A1 notation) that was cleared.\n(If the request was for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual range\n that was cleared, bounded to the sheet's limits.)", + "type": "string" + }, + "spreadsheetId": { + "description": "The spreadsheet the updates were applied to.", + "type": "string" + } + }, + "id": "ClearValuesResponse" + }, + "DeleteConditionalFormatRuleRequest": { + "description": "Deletes a conditional format rule at the given index.\nAll subsequent rules' indexes are decremented.", + "type": "object", + "properties": { + "index": { + "description": "The zero-based index of the rule to be deleted.", + "format": "int32", + "type": "integer" + }, + "sheetId": { + "description": "The sheet the rule is being deleted from.", + "format": "int32", + "type": "integer" + } + }, + "id": "DeleteConditionalFormatRuleRequest" + }, + "AddBandingResponse": { + "id": "AddBandingResponse", + "description": "The result of adding a banded range.", + "type": "object", + "properties": { + "bandedRange": { + "$ref": "BandedRange", + "description": "The banded range that was added." + } + } + }, + "DeleteNamedRangeRequest": { + "properties": { + "namedRangeId": { + "description": "The ID of the named range to delete.", + "type": "string" + } + }, + "id": "DeleteNamedRangeRequest", + "description": "Removes the named range with the given ID from the spreadsheet.", + "type": "object" + }, + "ChartData": { + "description": "The data included in a domain or series.", + "type": "object", + "properties": { + "sourceRange": { + "description": "The source ranges of the data.", + "$ref": "ChartSourceRange" + } + }, + "id": "ChartData" + }, + "BatchGetValuesResponse": { + "description": "The response when retrieving more than one range of values in a spreadsheet.", + "type": "object", + "properties": { + "valueRanges": { + "description": "The requested values. The order of the ValueRanges is the same as the\norder of the requested ranges.", + "type": "array", + "items": { + "$ref": "ValueRange" + } + }, + "spreadsheetId": { + "description": "The ID of the spreadsheet the data was retrieved from.", + "type": "string" + } + }, + "id": "BatchGetValuesResponse" + }, + "UpdateBandingRequest": { + "description": "Updates properties of the supplied banded range.", + "type": "object", + "properties": { + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `bandedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "bandedRange": { + "$ref": "BandedRange", + "description": "The banded range to update with the new properties." + } + }, + "id": "UpdateBandingRequest" + }, + "Color": { + "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples:\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha \u003c= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i \u003c missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...", + "type": "object", + "properties": { + "red": { + "description": "The amount of red in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "green": { + "description": "The amount of green in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "blue": { + "description": "The amount of blue in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "alpha": { + "description": "The fraction of this color that should be applied to the pixel. That is,\nthe final pixel color is defined by the equation:\n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish between a default value and the value being unset.\nIf omitted, this color object is to be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).", + "format": "float", + "type": "number" + } + }, + "id": "Color" + }, + "PivotGroup": { + "description": "A single grouping (either row or column) in a pivot table.", + "type": "object", + "properties": { + "valueBucket": { + "$ref": "PivotGroupSortValueBucket", + "description": "The bucket of the opposite pivot group to sort by.\nIf not specified, sorting is alphabetical by this group's values." + }, + "sourceColumnOffset": { + "description": "The column offset of the source range that this grouping is based on.\n\nFor example, if the source was `C10:E15`, a `sourceColumnOffset` of `0`\nmeans this group refers to column `C`, whereas the offset `1` would refer\nto column `D`.", + "format": "int32", + "type": "integer" + }, + "showTotals": { + "description": "True if the pivot table should include the totals for this grouping.", + "type": "boolean" + }, + "valueMetadata": { + "description": "Metadata about values in the grouping.", + "type": "array", + "items": { + "$ref": "PivotGroupValueMetadata" + } + }, + "sortOrder": { + "enum": [ + "SORT_ORDER_UNSPECIFIED", + "ASCENDING", + "DESCENDING" + ], + "description": "The order the values in this group should be sorted.", + "type": "string", + "enumDescriptions": [ + "Default value, do not use this.", + "Sort ascending.", + "Sort descending." + ] + } + }, + "id": "PivotGroup" + }, + "PivotTable": { + "description": "A pivot table.", + "type": "object", + "properties": { + "criteria": { + "additionalProperties": { + "$ref": "PivotFilterCriteria" + }, + "description": "An optional mapping of filters per source column offset.\n\nThe filters will be applied before aggregating data into the pivot table.\nThe map's key is the column offset of the source range that you want to\nfilter, and the value is the criteria for that column.\n\nFor example, if the source was `C10:E15`, a key of `0` will have the filter\nfor column `C`, whereas the key `1` is for column `D`.", + "type": "object" + }, + "rows": { + "description": "Each row grouping in the pivot table.", + "type": "array", + "items": { + "$ref": "PivotGroup" + } + }, + "valueLayout": { + "enumDescriptions": [ + "Values are laid out horizontally (as columns).", + "Values are laid out vertically (as rows)." + ], + "enum": [ + "HORIZONTAL", + "VERTICAL" + ], + "description": "Whether values should be listed horizontally (as columns)\nor vertically (as rows).", + "type": "string" + }, + "columns": { + "description": "Each column grouping in the pivot table.", + "type": "array", + "items": { + "$ref": "PivotGroup" + } + }, + "values": { + "description": "A list of values to include in the pivot table.", + "type": "array", + "items": { + "$ref": "PivotValue" + } + }, + "source": { + "$ref": "GridRange", + "description": "The range the pivot table is reading data from." + } + }, + "id": "PivotTable" + }, + "ChartSourceRange": { + "description": "Source ranges for a chart.", + "type": "object", + "properties": { + "sources": { + "description": "The ranges of data for a series or domain.\nExactly one dimension must have a length of 1,\nand all sources in the list must have the same dimension\nwith length 1.\nThe domain (if it exists) & all series must have the same number\nof source ranges. If using more than one source range, then the source\nrange at a given offset must be contiguous across the domain and series.\n\nFor example, these are valid configurations:\n\n domain sources: A1:A5\n series1 sources: B1:B5\n series2 sources: D6:D10\n\n domain sources: A1:A5, C10:C12\n series1 sources: B1:B5, D10:D12\n series2 sources: C1:C5, E10:E12", + "type": "array", + "items": { + "$ref": "GridRange" + } + } + }, + "id": "ChartSourceRange" + }, + "AppendCellsRequest": { + "id": "AppendCellsRequest", + "description": "Adds new cells after the last row with data in a sheet,\ninserting new rows into the sheet if necessary.", + "type": "object", + "properties": { + "rows": { + "description": "The data to append.", + "type": "array", + "items": { + "$ref": "RowData" + } + }, + "fields": { + "description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + }, + "sheetId": { + "description": "The sheet ID to append the data to.", + "format": "int32", + "type": "integer" + } + } + }, + "ValueRange": { + "description": "Data within a range of the spreadsheet.", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "The range the values cover, in A1 notation.\nFor output, this range indicates the entire requested range,\neven though the values will exclude trailing rows and columns.\nWhen appending values, this field represents the range to search for a\ntable, after which values will be appended." + }, + "majorDimension": { + "enumDescriptions": [ + "The default value, do not use.", + "Operates on the rows of a sheet.", + "Operates on the columns of a sheet." + ], + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ], + "description": "The major dimension of the values.\n\nFor output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.\n\nFor input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]`\nwill set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS`\nthen `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`.\n\nWhen writing, if this field is not set, it defaults to ROWS.", + "type": "string" + }, + "values": { + "description": "The data that was read or to be written. This is an array of arrays,\nthe outer array representing all the data and each inner array\nrepresenting a major dimension. Each item in the inner array\ncorresponds with one cell.\n\nFor output, empty trailing rows and columns will not be included.\n\nFor input, supported value types are: bool, string, and double.\nNull values will be skipped.\nTo set a cell to an empty value, set the string value to an empty string.", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "any" } } + } + }, + "id": "ValueRange" + }, + "AddBandingRequest": { + "description": "Adds a new banded range to the spreadsheet.", + "type": "object", + "properties": { + "bandedRange": { + "$ref": "BandedRange", + "description": "The banded range to add. The bandedRangeId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a range that already exists.)" + } + }, + "id": "AddBandingRequest" + }, + "Response": { + "id": "Response", + "description": "A single response from an update.", + "type": "object", + "properties": { + "addFilterView": { + "$ref": "AddFilterViewResponse", + "description": "A reply from adding a filter view." + }, + "addBanding": { + "description": "A reply from adding a banded range.", + "$ref": "AddBandingResponse" + }, + "addProtectedRange": { + "description": "A reply from adding a protected range.", + "$ref": "AddProtectedRangeResponse" + }, + "duplicateSheet": { + "description": "A reply from duplicating a sheet.", + "$ref": "DuplicateSheetResponse" + }, + "deleteConditionalFormatRule": { + "description": "A reply from deleting a conditional format rule.", + "$ref": "DeleteConditionalFormatRuleResponse" + }, + "updateEmbeddedObjectPosition": { + "$ref": "UpdateEmbeddedObjectPositionResponse", + "description": "A reply from updating an embedded object's position." + }, + "duplicateFilterView": { + "$ref": "DuplicateFilterViewResponse", + "description": "A reply from duplicating a filter view." + }, + "addChart": { + "description": "A reply from adding a chart.", + "$ref": "AddChartResponse" + }, + "findReplace": { + "$ref": "FindReplaceResponse", + "description": "A reply from doing a find/replace." + }, + "addSheet": { + "description": "A reply from adding a sheet.", + "$ref": "AddSheetResponse" + }, + "updateConditionalFormatRule": { + "$ref": "UpdateConditionalFormatRuleResponse", + "description": "A reply from updating a conditional format rule." + }, + "addNamedRange": { + "$ref": "AddNamedRangeResponse", + "description": "A reply from adding a named range." + } + } + }, + "InsertRangeRequest": { + "properties": { + "shiftDimension": { + "type": "string", + "enumDescriptions": [ + "The default value, do not use.", + "Operates on the rows of a sheet.", + "Operates on the columns of a sheet." + ], + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ], + "description": "The dimension which will be shifted when inserting cells.\nIf ROWS, existing cells will be shifted down.\nIf COLUMNS, existing cells will be shifted right." + }, + "range": { + "$ref": "GridRange", + "description": "The range to insert new cells into." + } + }, + "id": "InsertRangeRequest", + "description": "Inserts cells into a range, shifting the existing cells over or down.", + "type": "object" + }, + "TextFormatRun": { + "description": "A run of a text format. The format of this run continues until the start\nindex of the next run.\nWhen updating, all fields must be set.", + "type": "object", + "properties": { + "format": { + "$ref": "TextFormat", + "description": "The format of this run. Absent values inherit the cell's format." + }, + "startIndex": { + "description": "The character index where this run starts.", + "format": "int32", + "type": "integer" + } + }, + "id": "TextFormatRun" + }, + "EmbeddedChart": { + "properties": { + "chartId": { + "description": "The ID of the chart.", + "format": "int32", + "type": "integer" + }, + "position": { + "$ref": "EmbeddedObjectPosition", + "description": "The position of the chart." + }, + "spec": { + "$ref": "ChartSpec", + "description": "The specification of the chart." + } + }, + "id": "EmbeddedChart", + "description": "A chart embedded in a sheet.", + "type": "object" + }, + "AddNamedRangeResponse": { + "type": "object", + "properties": { + "namedRange": { + "$ref": "NamedRange", + "description": "The named range to add." + } + }, + "id": "AddNamedRangeResponse", + "description": "The result of adding a named range." + }, + "RowData": { + "description": "Data about each cell in a row.", + "type": "object", + "properties": { + "values": { + "description": "The values in the row, one per column.", + "type": "array", + "items": { + "$ref": "CellData" + } + } + }, + "id": "RowData" + }, + "GridData": { + "description": "Data in the grid, as well as metadata about the dimensions.", + "type": "object", + "properties": { + "columnMetadata": { + "description": "Metadata about the requested columns in the grid, starting with the column\nin start_column.", + "type": "array", + "items": { + "$ref": "DimensionProperties" + } + }, + "startColumn": { + "description": "The first column this GridData refers to, zero-based.", + "format": "int32", + "type": "integer" + }, + "rowMetadata": { + "description": "Metadata about the requested rows in the grid, starting with the row\nin start_row.", + "type": "array", + "items": { + "$ref": "DimensionProperties" + } + }, + "rowData": { + "description": "The data in the grid, one entry per row,\nstarting with the row in startRow.\nThe values in RowData will correspond to columns starting\nat start_column.", + "type": "array", + "items": { + "$ref": "RowData" + } + }, + "startRow": { + "description": "The first row this GridData refers to, zero-based.", + "format": "int32", + "type": "integer" + } + }, + "id": "GridData" + }, + "Border": { + "description": "A border along a cell.", + "type": "object", + "properties": { + "width": { + "description": "The width of the border, in pixels.\nDeprecated; the width is determined by the \"style\" field.", + "format": "int32", + "type": "integer" + }, + "style": { + "enum": [ + "STYLE_UNSPECIFIED", + "DOTTED", + "DASHED", + "SOLID", + "SOLID_MEDIUM", + "SOLID_THICK", + "NONE", + "DOUBLE" + ], + "description": "The style of the border.", + "type": "string", + "enumDescriptions": [ + "The style is not specified. Do not use this.", + "The border is dotted.", + "The border is dashed.", + "The border is a thin solid line.", + "The border is a medium solid line.", + "The border is a thick solid line.", + "No border.\nUsed only when updating a border in order to erase it.", + "The border is two solid lines." + ] + }, + "color": { + "description": "The color of the border.", + "$ref": "Color" + } + }, + "id": "Border" + }, + "FindReplaceRequest": { + "description": "Finds and replaces data in cells over a range, sheet, or all sheets.", + "type": "object", + "properties": { + "range": { + "$ref": "GridRange", + "description": "The range to find/replace over." + }, + "sheetId": { + "description": "The sheet to find/replace over.", + "format": "int32", + "type": "integer" + }, + "matchCase": { + "description": "True if the search is case sensitive.", + "type": "boolean" + }, + "allSheets": { + "description": "True to find/replace over all sheets.", + "type": "boolean" + }, + "includeFormulas": { + "description": "True if the search should include cells with formulas.\nFalse to skip cells with formulas.", + "type": "boolean" + }, + "matchEntireCell": { + "description": "True if the find value should match the entire cell.", + "type": "boolean" + }, + "find": { + "description": "The value to search.", + "type": "string" + }, + "searchByRegex": { + "description": "True if the find value is a regex.\nThe regular expression and replacement should follow Java regex rules\nat https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html.\nThe replacement string is allowed to refer to capturing groups.\nFor example, if one cell has the contents `\"Google Sheets\"` and another\nhas `\"Google Docs\"`, then searching for `\"o.* (.*)\"` with a replacement of\n`\"$1 Rocks\"` would change the contents of the cells to\n`\"GSheets Rocks\"` and `\"GDocs Rocks\"` respectively.", + "type": "boolean" + }, + "replacement": { + "description": "The value to use as the replacement.", + "type": "string" + } + }, + "id": "FindReplaceRequest" + }, + "UpdateNamedRangeRequest": { + "id": "UpdateNamedRangeRequest", + "description": "Updates properties of the named range with the specified\nnamedRangeId.", + "type": "object", + "properties": { + "namedRange": { + "$ref": "NamedRange", + "description": "The named range to update with the new properties." + }, + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `namedRange` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + } + } + }, + "AddSheetRequest": { + "type": "object", + "properties": { + "properties": { + "$ref": "SheetProperties", + "description": "The properties the new sheet should have.\nAll properties are optional.\nThe sheetId field is optional; if one is not\nset, an id will be randomly generated. (It is an error to specify the ID\nof a sheet that already exists.)" + } + }, + "id": "AddSheetRequest", + "description": "Adds a new sheet.\nWhen a sheet is added at a given index,\nall subsequent sheets' indexes are incremented.\nTo add an object sheet, use AddChartRequest instead and specify\nEmbeddedObjectPosition.sheetId or\nEmbeddedObjectPosition.newSheet." + }, + "UpdateCellsRequest": { + "description": "Updates all cells in a range with new data.", + "type": "object", + "properties": { + "start": { + "$ref": "GridCoordinate", + "description": "The coordinate to start writing data at.\nAny number of rows and columns (including a different number of\ncolumns per row) may be written." + }, + "range": { + "$ref": "GridRange", + "description": "The range to write data to.\n\nIf the data in rows does not cover the entire requested range,\nthe fields matching those set in fields will be cleared." + }, + "rows": { + "description": "The data to write.", + "type": "array", + "items": { + "$ref": "RowData" + } + }, + "fields": { + "description": "The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + } + }, + "id": "UpdateCellsRequest" + }, + "DeleteConditionalFormatRuleResponse": { + "description": "The result of deleting a conditional format rule.", + "type": "object", + "properties": { + "rule": { + "$ref": "ConditionalFormatRule", + "description": "The rule that was deleted." + } + }, + "id": "DeleteConditionalFormatRuleResponse" + }, + "DeleteRangeRequest": { + "description": "Deletes a range of cells, shifting other cells into the deleted area.", + "type": "object", + "properties": { + "shiftDimension": { + "type": "string", + "enumDescriptions": [ + "The default value, do not use.", + "Operates on the rows of a sheet.", + "Operates on the columns of a sheet." + ], + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ], + "description": "The dimension from which deleted cells will be replaced with.\nIf ROWS, existing cells will be shifted upward to\nreplace the deleted cells. If COLUMNS, existing cells\nwill be shifted left to replace the deleted cells." + }, + "range": { + "$ref": "GridRange", + "description": "The range of cells to delete." + } + }, + "id": "DeleteRangeRequest" + }, + "GridCoordinate": { + "type": "object", + "properties": { + "sheetId": { + "type": "integer", + "description": "The sheet this coordinate is on.", + "format": "int32" + }, + "rowIndex": { + "description": "The row index of the coordinate.", + "format": "int32", + "type": "integer" + }, + "columnIndex": { + "description": "The column index of the coordinate.", + "format": "int32", + "type": "integer" + } + }, + "id": "GridCoordinate", + "description": "A coordinate in a sheet.\nAll indexes are zero-based." + }, + "UpdateSheetPropertiesRequest": { + "description": "Updates properties of the sheet with the specified\nsheetId.", + "type": "object", + "properties": { + "properties": { + "$ref": "SheetProperties", + "description": "The properties to update." + }, + "fields": { + "description": "The fields that should be updated. At least one field must be specified.\nThe root `properties` is implied and should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.", + "format": "google-fieldmask", + "type": "string" + } + }, + "id": "UpdateSheetPropertiesRequest" + }, + "GridProperties": { + "description": "Properties of a grid.", + "type": "object", + "properties": { + "rowCount": { + "description": "The number of rows in the grid.", + "format": "int32", + "type": "integer" + }, + "frozenRowCount": { + "description": "The number of rows that are frozen in the grid.", + "format": "int32", + "type": "integer" + }, + "hideGridlines": { + "description": "True if the grid isn't showing gridlines in the UI.", + "type": "boolean" + }, + "columnCount": { + "description": "The number of columns in the grid.", + "format": "int32", + "type": "integer" + }, + "frozenColumnCount": { + "description": "The number of columns that are frozen in the grid.", + "format": "int32", + "type": "integer" + } + }, + "id": "GridProperties" + }, + "UnmergeCellsRequest": { + "description": "Unmerges cells in the given range.", + "type": "object", + "properties": { + "range": { + "$ref": "GridRange", + "description": "The range within which all cells should be unmerged.\nIf the range spans multiple merges, all will be unmerged.\nThe range must not partially span any merge." + } + }, + "id": "UnmergeCellsRequest" + }, + "Sheet": { + "id": "Sheet", + "description": "A sheet in a spreadsheet.", + "type": "object", + "properties": { + "basicFilter": { + "$ref": "BasicFilter", + "description": "The filter on this sheet, if any." + }, + "merges": { + "type": "array", + "items": { + "$ref": "GridRange" + }, + "description": "The ranges that are merged together." + }, + "data": { + "description": "Data in the grid, if this is a grid sheet.\nThe number of GridData objects returned is dependent on the number of\nranges requested on this sheet. For example, if this is representing\n`Sheet1`, and the spreadsheet was requested with ranges\n`Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a\nstartRow/startColumn of `0`,\nwhile the second one will have `startRow 14` (zero-based row 15),\nand `startColumn 3` (zero-based column D).", + "type": "array", + "items": { + "$ref": "GridData" + } }, - "sheets": { - "methods": { - "copyTo": { - "request": { - "$ref": "CopySheetToAnotherSpreadsheetRequest" - }, - "description": "Copies a single sheet from a spreadsheet to another spreadsheet.\nReturns the properties of the newly created sheet.", - "response": { - "$ref": "SheetProperties" - }, - "parameterOrder": [ - "spreadsheetId", - "sheetId" - ], - "httpMethod": "POST", - "parameters": { - "spreadsheetId": { - "description": "The ID of the spreadsheet containing the sheet to copy.", - "required": true, - "type": "string", - "location": "path" - }, - "sheetId": { - "description": "The ID of the sheet to copy.", - "format": "int32", - "required": true, - "type": "integer", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/spreadsheets" - ], - "flatPath": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo", - "path": "v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo", - "id": "sheets.spreadsheets.sheets.copyTo" - } + "bandedRanges": { + "type": "array", + "items": { + "$ref": "BandedRange" + }, + "description": "The banded (i.e. alternating colors) ranges on this sheet." + }, + "properties": { + "$ref": "SheetProperties", + "description": "The properties of the sheet." + }, + "charts": { + "description": "The specifications of every chart on this sheet.", + "type": "array", + "items": { + "$ref": "EmbeddedChart" + } + }, + "filterViews": { + "description": "The filter views in this sheet.", + "type": "array", + "items": { + "$ref": "FilterView" + } + }, + "conditionalFormats": { + "description": "The conditional format rules in this sheet.", + "type": "array", + "items": { + "$ref": "ConditionalFormatRule" } + }, + "protectedRanges": { + "type": "array", + "items": { + "$ref": "ProtectedRange" + }, + "description": "The protected ranges in this sheet." } } - } - }, - "parameters": { - "quotaUser": { - "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.", - "type": "string", - "location": "query" }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" + "SortSpec": { + "description": "A sort order associated with a specific column or row.", + "type": "object", + "properties": { + "dimensionIndex": { + "description": "The dimension the sort should be applied to.", + "format": "int32", + "type": "integer" + }, + "sortOrder": { + "enumDescriptions": [ + "Default value, do not use this.", + "Sort ascending.", + "Sort descending." + ], + "enum": [ + "SORT_ORDER_UNSPECIFIED", + "ASCENDING", + "DESCENDING" + ], + "description": "The order data should be sorted.", + "type": "string" + } + }, + "id": "SortSpec" }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "UpdateEmbeddedObjectPositionResponse": { + "type": "object", + "properties": { + "position": { + "$ref": "EmbeddedObjectPosition", + "description": "The new position of the embedded object." + } + }, + "id": "UpdateEmbeddedObjectPositionResponse", + "description": "The result of updating an embedded object's position." }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" + "BooleanRule": { + "description": "A rule that may or may not match, depending on the condition.", + "type": "object", + "properties": { + "condition": { + "$ref": "BooleanCondition", + "description": "The condition of the rule. If the condition evaluates to true,\nthe format will be applied." + }, + "format": { + "$ref": "CellFormat", + "description": "The format to apply.\nConditional formatting can only apply a subset of formatting:\nbold, italic,\nstrikethrough,\nforeground color &\nbackground color." + } + }, + "id": "BooleanRule" }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string", - "location": "query" + "FilterCriteria": { + "type": "object", + "properties": { + "hiddenValues": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Values that should be hidden." + }, + "condition": { + "$ref": "BooleanCondition", + "description": "A condition that must be true for values to be shown.\n(This does not override hiddenValues -- if a value is listed there,\n it will still be hidden.)" + } + }, + "id": "FilterCriteria", + "description": "Criteria for showing/hiding rows in a filter or filter view." }, - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" + "PivotGroupValueMetadata": { + "properties": { + "value": { + "$ref": "ExtendedValue", + "description": "The calculated value the metadata corresponds to.\n(Note that formulaValue is not valid,\n because the values will be calculated.)" + }, + "collapsed": { + "description": "True if the data corresponding to the value is collapsed.", + "type": "boolean" + } + }, + "id": "PivotGroupValueMetadata", + "description": "Metadata about a value in a pivot grouping.", + "type": "object" }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" + "Editors": { + "description": "The editors of a protected range.", + "type": "object", + "properties": { + "users": { + "description": "The email addresses of users with edit access to the protected range.", + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "description": "The email addresses of groups with edit access to the protected range.", + "type": "array", + "items": { + "type": "string" + } + }, + "domainUsersCanEdit": { + "description": "True if anyone in the document's domain has edit access to the protected\nrange. Domain protection is only supported on documents within a domain.", + "type": "boolean" + } + }, + "id": "Editors" }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" + "UpdateConditionalFormatRuleRequest": { + "properties": { + "sheetId": { + "description": "The sheet of the rule to move. Required if new_index is set,\nunused otherwise.", + "format": "int32", + "type": "integer" + }, + "newIndex": { + "description": "The zero-based new index the rule should end up at.", + "format": "int32", + "type": "integer" + }, + "rule": { + "$ref": "ConditionalFormatRule", + "description": "The rule that should replace the rule at the given index." + }, + "index": { + "description": "The zero-based index of the rule that should be replaced or moved.", + "format": "int32", + "type": "integer" + } + }, + "id": "UpdateConditionalFormatRuleRequest", + "description": "Updates a conditional format rule at the given index,\nor moves a conditional format rule to another index.", + "type": "object" }, - "callback": { - "description": "JSONP", - "type": "string", - "location": "query" + "DataValidationRule": { + "description": "A data validation rule.", + "type": "object", + "properties": { + "inputMessage": { + "description": "A message to show the user when adding data to the cell.", + "type": "string" + }, + "condition": { + "description": "The condition that data in the cell must match.", + "$ref": "BooleanCondition" + }, + "showCustomUi": { + "description": "True if the UI should be customized based on the kind of condition.\nIf true, \"List\" conditions will show a dropdown.", + "type": "boolean" + }, + "strict": { + "type": "boolean", + "description": "True if invalid data should be rejected." + } + }, + "id": "DataValidationRule" }, - "$.xgafv": { - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "enum": [ - "1", - "2" - ] + "BasicChartDomain": { + "description": "The domain of a chart.\nFor example, if charting stock prices over time, this would be the date.", + "type": "object", + "properties": { + "domain": { + "description": "The data of the domain. For example, if charting stock prices over time,\nthis is the data representing the dates.", + "$ref": "ChartData" + } + }, + "id": "BasicChartDomain" }, - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] + "PasteDataRequest": { + "id": "PasteDataRequest", + "description": "Inserts data into the spreadsheet starting at the specified coordinate.", + "type": "object", + "properties": { + "type": { + "description": "How the data should be pasted.", + "type": "string", + "enumDescriptions": [ + "Paste values, formulas, formats, and merges.", + "Paste the values ONLY without formats, formulas, or merges.", + "Paste the format and data validation only.", + "Like PASTE_NORMAL but without borders.", + "Paste the formulas only.", + "Paste the data validation only.", + "Paste the conditional formatting rules only." + ], + "enum": [ + "PASTE_NORMAL", + "PASTE_VALUES", + "PASTE_FORMAT", + "PASTE_NO_BORDERS", + "PASTE_FORMULA", + "PASTE_DATA_VALIDATION", + "PASTE_CONDITIONAL_FORMATTING" + ] + }, + "html": { + "description": "True if the data is HTML.", + "type": "boolean" + }, + "coordinate": { + "description": "The coordinate at which the data should start being inserted.", + "$ref": "GridCoordinate" + }, + "data": { + "description": "The data to insert.", + "type": "string" + }, + "delimiter": { + "type": "string", + "description": "The delimiter in the data." + } + } }, - "key": { - "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.", - "type": "string", - "location": "query" + "AppendDimensionRequest": { + "properties": { + "sheetId": { + "description": "The sheet to append rows or columns to.", + "format": "int32", + "type": "integer" + }, + "dimension": { + "description": "Whether rows or columns should be appended.", + "type": "string", + "enumDescriptions": [ + "The default value, do not use.", + "Operates on the rows of a sheet.", + "Operates on the columns of a sheet." + ], + "enum": [ + "DIMENSION_UNSPECIFIED", + "ROWS", + "COLUMNS" + ] + }, + "length": { + "description": "The number of rows or columns to append.", + "format": "int32", + "type": "integer" + } + }, + "id": "AppendDimensionRequest", + "description": "Appends rows or columns to the end of a sheet.", + "type": "object" }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" + "AddNamedRangeRequest": { + "description": "Adds a named range to the spreadsheet.", + "type": "object", + "properties": { + "namedRange": { + "$ref": "NamedRange", + "description": "The named range to add. The namedRangeId\nfield is optional; if one is not set, an id will be randomly generated. (It\nis an error to specify the ID of a range that already exists.)" + } + }, + "id": "AddNamedRangeRequest" } }, - "version": "v4", - "baseUrl": "https://sheets.googleapis.com/", - "servicePath": "", - "description": "Reads and writes Google Sheets.", - "kind": "discovery#restDescription", - "basePath": "", - "id": "sheets:v4", - "revision": "20170323", - "documentationLink": "https://developers.google.com/sheets/", - "discoveryVersion": "v1" + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest", + "canonicalName": "Sheets", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/drive": { + "description": "View and manage the files in your Google Drive" + }, + "https://www.googleapis.com/auth/drive.readonly": { + "description": "View the files in your Google Drive" + }, + "https://www.googleapis.com/auth/spreadsheets.readonly": { + "description": "View your Google Spreadsheets" + }, + "https://www.googleapis.com/auth/spreadsheets": { + "description": "View and manage your spreadsheets in Google Drive" + } + } + } + }, + "rootUrl": "https://sheets.googleapis.com/", + "ownerDomain": "google.com", + "name": "sheets", + "batchPath": "batch", + "title": "Google Sheets API" } diff --git a/DiscoveryJson/slides_v1.json b/DiscoveryJson/slides_v1.json index b28d853491..8be4249799 100644 --- a/DiscoveryJson/slides_v1.json +++ b/DiscoveryJson/slides_v1.json @@ -1,44 +1,608 @@ { - "description": "An API for creating and editing Google Slides presentations.", + "ownerDomain": "google.com", + "name": "slides", + "batchPath": "batch", + "title": "Google Slides API", + "ownerName": "Google", + "resources": { + "presentations": { + "methods": { + "get": { + "response": { + "$ref": "Presentation" + }, + "parameterOrder": [ + "presentationId" + ], + "httpMethod": "GET", + "parameters": { + "presentationId": { + "required": true, + "type": "string", + "pattern": "^[^/]+$", + "location": "path", + "description": "The ID of the presentation to retrieve." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/presentations", + "https://www.googleapis.com/auth/presentations.readonly" + ], + "flatPath": "v1/presentations/{presentationsId}", + "path": "v1/presentations/{+presentationId}", + "id": "slides.presentations.get", + "description": "Gets the latest version of the specified presentation." + }, + "create": { + "flatPath": "v1/presentations", + "id": "slides.presentations.create", + "path": "v1/presentations", + "description": "Creates a new presentation using the title given in the request. Other\nfields in the request are ignored.\nReturns the created presentation.", + "request": { + "$ref": "Presentation" + }, + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "Presentation" + }, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/presentations" + ], + "parameters": {} + }, + "batchUpdate": { + "flatPath": "v1/presentations/{presentationId}:batchUpdate", + "path": "v1/presentations/{presentationId}:batchUpdate", + "id": "slides.presentations.batchUpdate", + "description": "Applies one or more updates to the presentation.\n\nEach request is validated before\nbeing applied. If any request is not valid, then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how they are applied. Other requests do\nnot need to return information; these each return an empty reply.\nThe order of replies matches that of the requests.\n\nFor example, suppose you call batchUpdate with four updates, and only the\nthird one returns information. The response would have two empty replies:\nthe reply to the third request, and another empty reply, in that order.\n\nBecause other users may be editing the presentation, the presentation\nmight not exactly reflect your changes: your changes may\nbe altered with respect to collaborator changes. If there are no\ncollaborators, the presentation should reflect your changes. In any case,\nthe updates in your request are guaranteed to be applied together\natomically.", + "request": { + "$ref": "BatchUpdatePresentationRequest" + }, + "response": { + "$ref": "BatchUpdatePresentationResponse" + }, + "parameterOrder": [ + "presentationId" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/presentations", + "https://www.googleapis.com/auth/spreadsheets", + "https://www.googleapis.com/auth/spreadsheets.readonly" + ], + "parameters": { + "presentationId": { + "required": true, + "type": "string", + "location": "path", + "description": "The presentation to apply the updates to." + } + } + } + }, + "resources": { + "pages": { + "methods": { + "get": { + "flatPath": "v1/presentations/{presentationId}/pages/{pageObjectId}", + "path": "v1/presentations/{presentationId}/pages/{pageObjectId}", + "id": "slides.presentations.pages.get", + "description": "Gets the latest version of the specified page in the presentation.", + "response": { + "$ref": "Page" + }, + "parameterOrder": [ + "presentationId", + "pageObjectId" + ], + "httpMethod": "GET", + "parameters": { + "presentationId": { + "location": "path", + "description": "The ID of the presentation to retrieve.", + "required": true, + "type": "string" + }, + "pageObjectId": { + "location": "path", + "description": "The object ID of the page to retrieve.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/presentations", + "https://www.googleapis.com/auth/presentations.readonly" + ] + }, + "getThumbnail": { + "flatPath": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail", + "path": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail", + "id": "slides.presentations.pages.getThumbnail", + "description": "Generates a thumbnail of the latest version of the specified page in the\npresentation and returns a URL to the thumbnail image.", + "response": { + "$ref": "Thumbnail" + }, + "parameterOrder": [ + "presentationId", + "pageObjectId" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/drive", + "https://www.googleapis.com/auth/drive.readonly", + "https://www.googleapis.com/auth/presentations", + "https://www.googleapis.com/auth/presentations.readonly" + ], + "parameters": { + "thumbnailProperties.mimeType": { + "type": "string", + "location": "query", + "enum": [ + "PNG" + ], + "description": "The optional mime type of the thumbnail image.\n\nIf you don't specify the mime type, the default mime type will be PNG." + }, + "thumbnailProperties.thumbnailSize": { + "location": "query", + "enum": [ + "THUMBNAIL_SIZE_UNSPECIFIED", + "LARGE" + ], + "description": "The optional thumbnail image size.\n\nIf you don't specify the size, the server chooses a default size of the\nimage.", + "type": "string" + }, + "presentationId": { + "location": "path", + "description": "The ID of the presentation to retrieve.", + "required": true, + "type": "string" + }, + "pageObjectId": { + "required": true, + "type": "string", + "location": "path", + "description": "The object ID of the page whose thumbnail to retrieve." + } + } + } + } + } + } + } + }, + "parameters": { + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "location": "query", + "description": "OAuth 2.0 token for the current user.", + "type": "string" + }, + "upload_protocol": { + "type": "string", + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" + }, + "uploadType": { + "type": "string", + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." + }, + "fields": { + "type": "string", + "location": "query", + "description": "Selector specifying which fields to include in a partial response." + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "$.xgafv": { + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format." + }, + "alt": { + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "access_token": { + "type": "string", + "location": "query", + "description": "OAuth access token." + }, + "quotaUser": { + "type": "string", + "location": "query", + "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." + } + }, + "version": "v1", + "baseUrl": "https://slides.googleapis.com/", "kind": "discovery#restDescription", + "description": "An API for creating and editing Google Slides presentations.", "servicePath": "", "basePath": "", "id": "slides:v1", - "documentationLink": "https://developers.google.com/slides/", "revision": "20170323", + "documentationLink": "https://developers.google.com/slides/", "discoveryVersion": "v1", "version_module": "True", "schemas": { - "UpdateParagraphStyleRequest": { - "id": "UpdateParagraphStyleRequest", - "description": "Updates the styling for all of the paragraphs within a Shape or Table that\noverlap with the given text index range.", + "Range": { + "description": "Specifies a contiguous range of an indexed collection, such as characters in\ntext.", + "type": "object", + "properties": { + "startIndex": { + "description": "The optional zero-based index of the beginning of the collection.\nRequired for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.", + "format": "int32", + "type": "integer" + }, + "endIndex": { + "description": "The optional zero-based index of the end of the collection.\nRequired for `SPECIFIC_RANGE` delete mode.", + "format": "int32", + "type": "integer" + }, + "type": { + "type": "string", + "enumDescriptions": [ + "Unspecified range type. This value must not be used.", + "A fixed range. Both the `start_index` and\n`end_index` must be specified.", + "Starts the range at `start_index` and continues until the\nend of the collection. The `end_index` must not be specified.", + "Sets the range to be the whole length of the collection. Both the\n`start_index` and the `end_index` must not be\nspecified." + ], + "enum": [ + "RANGE_TYPE_UNSPECIFIED", + "FIXED_RANGE", + "FROM_START_INDEX", + "ALL" + ], + "description": "The type of range." + } + }, + "id": "Range" + }, + "ColorStop": { + "description": "A color and position in a gradient band.", + "type": "object", + "properties": { + "alpha": { + "type": "number", + "description": "The alpha value of this color in the gradient band. Defaults to 1.0,\nfully opaque.", + "format": "float" + }, + "position": { + "description": "The relative position of the color stop in the gradient band measured\nin percentage. The value should be in the interval [0.0, 1.0].", + "format": "float", + "type": "number" + }, + "color": { + "$ref": "OpaqueColor", + "description": "The color of the gradient stop." + } + }, + "id": "ColorStop" + }, + "CreateVideoRequest": { + "type": "object", + "properties": { + "objectId": { + "type": "string", + "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated." + }, + "source": { + "enum": [ + "SOURCE_UNSPECIFIED", + "YOUTUBE" + ], + "description": "The video source.", + "type": "string", + "enumDescriptions": [ + "The video source is unspecified.", + "The video source is YouTube." + ] + }, + "elementProperties": { + "$ref": "PageElementProperties", + "description": "The element properties for the video." + }, + "id": { + "description": "The video source's unique identifier for this video.\n\ne.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,\nthe ID is 7U3axjORYZ0.", + "type": "string" + } + }, + "id": "CreateVideoRequest", + "description": "Creates a video." + }, + "DuplicateObjectResponse": { + "description": "The response of duplicating an object.", + "type": "object", + "properties": { + "objectId": { + "description": "The ID of the new duplicate object.", + "type": "string" + } + }, + "id": "DuplicateObjectResponse" + }, + "ReplaceAllShapesWithImageRequest": { + "type": "object", + "properties": { + "imageUrl": { + "description": "The image URL.\n\nThe image is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Images must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.", + "type": "string" + }, + "replaceMethod": { + "type": "string", + "enumDescriptions": [ + "Scales and centers the image to fit within the bounds of the original\nshape and maintains the image's aspect ratio. The rendered size of the\nimage may be smaller than the size of the shape. This is the default\nmethod when one is not specified.", + "Scales and centers the image to fill the bounds of the original shape.\nThe image may be cropped in order to fill the shape. The rendered size of\nthe image will be the same as that of the original shape." + ], + "enum": [ + "CENTER_INSIDE", + "CENTER_CROP" + ], + "description": "The replace method." + }, + "containsText": { + "$ref": "SubstringMatchCriteria", + "description": "If set, this request will replace all of the shapes that contain the\ngiven text." + } + }, + "id": "ReplaceAllShapesWithImageRequest", + "description": "Replaces all shapes that match the given criteria with the provided image." + }, + "Shadow": { + "type": "object", + "properties": { + "transform": { + "$ref": "AffineTransform", + "description": "Transform that encodes the translate, scale, and skew of the shadow,\nrelative to the alignment position." + }, + "type": { + "enum": [ + "SHADOW_TYPE_UNSPECIFIED", + "OUTER" + ], + "description": "The type of the shadow.", + "type": "string", + "enumDescriptions": [ + "Unspecified shadow type.", + "Outer shadow." + ] + }, + "alignment": { + "type": "string", + "enumDescriptions": [ + "Unspecified.", + "Top left.", + "Top center.", + "Top right.", + "Left center.", + "Center.", + "Right center.", + "Bottom left.", + "Bottom center.", + "Bottom right." + ], + "enum": [ + "RECTANGLE_POSITION_UNSPECIFIED", + "TOP_LEFT", + "TOP_CENTER", + "TOP_RIGHT", + "LEFT_CENTER", + "CENTER", + "RIGHT_CENTER", + "BOTTOM_LEFT", + "BOTTOM_CENTER", + "BOTTOM_RIGHT" + ], + "description": "The alignment point of the shadow, that sets the origin for translate,\nscale and skew of the shadow." + }, + "alpha": { + "description": "The alpha of the shadow's color, from 0.0 to 1.0.", + "format": "float", + "type": "number" + }, + "color": { + "$ref": "OpaqueColor", + "description": "The shadow color value." + }, + "rotateWithShape": { + "type": "boolean", + "description": "Whether the shadow should rotate with the shape." + }, + "propertyState": { + "type": "string", + "enumDescriptions": [ + "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.", + "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.", + "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." + ], + "enum": [ + "RENDERED", + "NOT_RENDERED", + "INHERIT" + ], + "description": "The shadow property state.\n\nUpdating the the shadow on a page element will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no shadow on a page element, set this field to `NOT_RENDERED`. In this\ncase, any other shadow fields set in the same request will be ignored." + }, + "blurRadius": { + "$ref": "Dimension", + "description": "The radius of the shadow blur. The larger the radius, the more diffuse the\nshadow becomes." + } + }, + "id": "Shadow", + "description": "The shadow properties of a page element.\n\nIf these fields are unset, they may be inherited from a parent placeholder\nif it exists. If there is no parent, the fields will default to the value\nused for new page elements created in the Slides editor, which may depend on\nthe page element kind." + }, + "DeleteTableRowRequest": { + "type": "object", + "properties": { + "tableObjectId": { + "description": "The table to delete rows from.", + "type": "string" + }, + "cellLocation": { + "$ref": "TableCellLocation", + "description": "The reference table cell location from which a row will be deleted.\n\nThe row this cell spans will be deleted. If this is a merged cell, multiple\nrows will be deleted. If no rows remain in the table after this deletion,\nthe whole table is deleted." + } + }, + "id": "DeleteTableRowRequest", + "description": "Deletes a row from a table." + }, + "Bullet": { + "description": "Describes the bullet of a paragraph.", + "type": "object", + "properties": { + "listId": { + "description": "The ID of the list this paragraph belongs to.", + "type": "string" + }, + "glyph": { + "type": "string", + "description": "The rendered bullet glyph for this paragraph." + }, + "nestingLevel": { + "type": "integer", + "description": "The nesting level of this paragraph in the list.", + "format": "int32" + }, + "bulletStyle": { + "$ref": "TextStyle", + "description": "The paragraph specific text style applied to this bullet." + } + }, + "id": "Bullet" + }, + "OutlineFill": { + "description": "The fill of the outline.", + "type": "object", + "properties": { + "solidFill": { + "$ref": "SolidFill", + "description": "Solid color fill." + } + }, + "id": "OutlineFill" + }, + "CreateLineResponse": { "type": "object", "properties": { - "cellLocation": { - "description": "The location of the cell in the table containing the paragraph(s) to\nstyle. If `object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not.", - "$ref": "TableCellLocation" - }, - "style": { - "description": "The paragraph's style.", - "$ref": "ParagraphStyle" + "objectId": { + "type": "string", + "description": "The object ID of the created line." + } + }, + "id": "CreateLineResponse", + "description": "The result of creating a line." + }, + "TableCellLocation": { + "type": "object", + "properties": { + "rowIndex": { + "type": "integer", + "description": "The 0-based row index.", + "format": "int32" }, + "columnIndex": { + "type": "integer", + "description": "The 0-based column index.", + "format": "int32" + } + }, + "id": "TableCellLocation", + "description": "A location of a single table cell within a table." + }, + "ReplaceAllTextResponse": { + "type": "object", + "properties": { + "occurrencesChanged": { + "type": "integer", + "description": "The number of occurrences changed by replacing all text.", + "format": "int32" + } + }, + "id": "ReplaceAllTextResponse", + "description": "The result of replacing text." + }, + "UpdateParagraphStyleRequest": { + "type": "object", + "properties": { "fields": { "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the paragraph alignment, set `fields` to\n`\"alignment\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", "format": "google-fieldmask", "type": "string" }, "objectId": { - "description": "The object ID of the shape or table with the text to be styled.", - "type": "string" + "type": "string", + "description": "The object ID of the shape or table with the text to be styled." }, "textRange": { - "description": "The range of text containing the paragraph(s) to style.", - "$ref": "Range" + "$ref": "Range", + "description": "The range of text containing the paragraph(s) to style." + }, + "cellLocation": { + "$ref": "TableCellLocation", + "description": "The location of the cell in the table containing the paragraph(s) to\nstyle. If `object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not." + }, + "style": { + "$ref": "ParagraphStyle", + "description": "The paragraph's style." } - } + }, + "id": "UpdateParagraphStyleRequest", + "description": "Updates the styling for all of the paragraphs within a Shape or Table that\noverlap with the given text index range." }, "ColorScheme": { - "description": "The palette of predefined colors for a page.", "type": "object", "properties": { "colors": { @@ -49,159 +613,14 @@ } } }, - "id": "ColorScheme" + "id": "ColorScheme", + "description": "The palette of predefined colors for a page." }, "Shape": { "description": "A PageElement kind representing a\ngeneric shape that does not have a more specific classification.", "type": "object", "properties": { "shapeType": { - "enum": [ - "TYPE_UNSPECIFIED", - "TEXT_BOX", - "RECTANGLE", - "ROUND_RECTANGLE", - "ELLIPSE", - "ARC", - "BENT_ARROW", - "BENT_UP_ARROW", - "BEVEL", - "BLOCK_ARC", - "BRACE_PAIR", - "BRACKET_PAIR", - "CAN", - "CHEVRON", - "CHORD", - "CLOUD", - "CORNER", - "CUBE", - "CURVED_DOWN_ARROW", - "CURVED_LEFT_ARROW", - "CURVED_RIGHT_ARROW", - "CURVED_UP_ARROW", - "DECAGON", - "DIAGONAL_STRIPE", - "DIAMOND", - "DODECAGON", - "DONUT", - "DOUBLE_WAVE", - "DOWN_ARROW", - "DOWN_ARROW_CALLOUT", - "FOLDED_CORNER", - "FRAME", - "HALF_FRAME", - "HEART", - "HEPTAGON", - "HEXAGON", - "HOME_PLATE", - "HORIZONTAL_SCROLL", - "IRREGULAR_SEAL_1", - "IRREGULAR_SEAL_2", - "LEFT_ARROW", - "LEFT_ARROW_CALLOUT", - "LEFT_BRACE", - "LEFT_BRACKET", - "LEFT_RIGHT_ARROW", - "LEFT_RIGHT_ARROW_CALLOUT", - "LEFT_RIGHT_UP_ARROW", - "LEFT_UP_ARROW", - "LIGHTNING_BOLT", - "MATH_DIVIDE", - "MATH_EQUAL", - "MATH_MINUS", - "MATH_MULTIPLY", - "MATH_NOT_EQUAL", - "MATH_PLUS", - "MOON", - "NO_SMOKING", - "NOTCHED_RIGHT_ARROW", - "OCTAGON", - "PARALLELOGRAM", - "PENTAGON", - "PIE", - "PLAQUE", - "PLUS", - "QUAD_ARROW", - "QUAD_ARROW_CALLOUT", - "RIBBON", - "RIBBON_2", - "RIGHT_ARROW", - "RIGHT_ARROW_CALLOUT", - "RIGHT_BRACE", - "RIGHT_BRACKET", - "ROUND_1_RECTANGLE", - "ROUND_2_DIAGONAL_RECTANGLE", - "ROUND_2_SAME_RECTANGLE", - "RIGHT_TRIANGLE", - "SMILEY_FACE", - "SNIP_1_RECTANGLE", - "SNIP_2_DIAGONAL_RECTANGLE", - "SNIP_2_SAME_RECTANGLE", - "SNIP_ROUND_RECTANGLE", - "STAR_10", - "STAR_12", - "STAR_16", - "STAR_24", - "STAR_32", - "STAR_4", - "STAR_5", - "STAR_6", - "STAR_7", - "STAR_8", - "STRIPED_RIGHT_ARROW", - "SUN", - "TRAPEZOID", - "TRIANGLE", - "UP_ARROW", - "UP_ARROW_CALLOUT", - "UP_DOWN_ARROW", - "UTURN_ARROW", - "VERTICAL_SCROLL", - "WAVE", - "WEDGE_ELLIPSE_CALLOUT", - "WEDGE_RECTANGLE_CALLOUT", - "WEDGE_ROUND_RECTANGLE_CALLOUT", - "FLOW_CHART_ALTERNATE_PROCESS", - "FLOW_CHART_COLLATE", - "FLOW_CHART_CONNECTOR", - "FLOW_CHART_DECISION", - "FLOW_CHART_DELAY", - "FLOW_CHART_DISPLAY", - "FLOW_CHART_DOCUMENT", - "FLOW_CHART_EXTRACT", - "FLOW_CHART_INPUT_OUTPUT", - "FLOW_CHART_INTERNAL_STORAGE", - "FLOW_CHART_MAGNETIC_DISK", - "FLOW_CHART_MAGNETIC_DRUM", - "FLOW_CHART_MAGNETIC_TAPE", - "FLOW_CHART_MANUAL_INPUT", - "FLOW_CHART_MANUAL_OPERATION", - "FLOW_CHART_MERGE", - "FLOW_CHART_MULTIDOCUMENT", - "FLOW_CHART_OFFLINE_STORAGE", - "FLOW_CHART_OFFPAGE_CONNECTOR", - "FLOW_CHART_ONLINE_STORAGE", - "FLOW_CHART_OR", - "FLOW_CHART_PREDEFINED_PROCESS", - "FLOW_CHART_PREPARATION", - "FLOW_CHART_PROCESS", - "FLOW_CHART_PUNCHED_CARD", - "FLOW_CHART_PUNCHED_TAPE", - "FLOW_CHART_SORT", - "FLOW_CHART_SUMMING_JUNCTION", - "FLOW_CHART_TERMINATOR", - "ARROW_EAST", - "ARROW_NORTH_EAST", - "ARROW_NORTH", - "SPEECH", - "STARBURST", - "TEARDROP", - "ELLIPSE_RIBBON", - "ELLIPSE_RIBBON_2", - "CLOUD_CALLOUT", - "CUSTOM" - ], - "description": "The type of the shape.", "type": "string", "enumDescriptions": [ "The shape type that is not predefined.", @@ -347,15 +766,161 @@ "Ellipse ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon2'", "Callout cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloudCallout'", "Custom shape." - ] + ], + "enum": [ + "TYPE_UNSPECIFIED", + "TEXT_BOX", + "RECTANGLE", + "ROUND_RECTANGLE", + "ELLIPSE", + "ARC", + "BENT_ARROW", + "BENT_UP_ARROW", + "BEVEL", + "BLOCK_ARC", + "BRACE_PAIR", + "BRACKET_PAIR", + "CAN", + "CHEVRON", + "CHORD", + "CLOUD", + "CORNER", + "CUBE", + "CURVED_DOWN_ARROW", + "CURVED_LEFT_ARROW", + "CURVED_RIGHT_ARROW", + "CURVED_UP_ARROW", + "DECAGON", + "DIAGONAL_STRIPE", + "DIAMOND", + "DODECAGON", + "DONUT", + "DOUBLE_WAVE", + "DOWN_ARROW", + "DOWN_ARROW_CALLOUT", + "FOLDED_CORNER", + "FRAME", + "HALF_FRAME", + "HEART", + "HEPTAGON", + "HEXAGON", + "HOME_PLATE", + "HORIZONTAL_SCROLL", + "IRREGULAR_SEAL_1", + "IRREGULAR_SEAL_2", + "LEFT_ARROW", + "LEFT_ARROW_CALLOUT", + "LEFT_BRACE", + "LEFT_BRACKET", + "LEFT_RIGHT_ARROW", + "LEFT_RIGHT_ARROW_CALLOUT", + "LEFT_RIGHT_UP_ARROW", + "LEFT_UP_ARROW", + "LIGHTNING_BOLT", + "MATH_DIVIDE", + "MATH_EQUAL", + "MATH_MINUS", + "MATH_MULTIPLY", + "MATH_NOT_EQUAL", + "MATH_PLUS", + "MOON", + "NO_SMOKING", + "NOTCHED_RIGHT_ARROW", + "OCTAGON", + "PARALLELOGRAM", + "PENTAGON", + "PIE", + "PLAQUE", + "PLUS", + "QUAD_ARROW", + "QUAD_ARROW_CALLOUT", + "RIBBON", + "RIBBON_2", + "RIGHT_ARROW", + "RIGHT_ARROW_CALLOUT", + "RIGHT_BRACE", + "RIGHT_BRACKET", + "ROUND_1_RECTANGLE", + "ROUND_2_DIAGONAL_RECTANGLE", + "ROUND_2_SAME_RECTANGLE", + "RIGHT_TRIANGLE", + "SMILEY_FACE", + "SNIP_1_RECTANGLE", + "SNIP_2_DIAGONAL_RECTANGLE", + "SNIP_2_SAME_RECTANGLE", + "SNIP_ROUND_RECTANGLE", + "STAR_10", + "STAR_12", + "STAR_16", + "STAR_24", + "STAR_32", + "STAR_4", + "STAR_5", + "STAR_6", + "STAR_7", + "STAR_8", + "STRIPED_RIGHT_ARROW", + "SUN", + "TRAPEZOID", + "TRIANGLE", + "UP_ARROW", + "UP_ARROW_CALLOUT", + "UP_DOWN_ARROW", + "UTURN_ARROW", + "VERTICAL_SCROLL", + "WAVE", + "WEDGE_ELLIPSE_CALLOUT", + "WEDGE_RECTANGLE_CALLOUT", + "WEDGE_ROUND_RECTANGLE_CALLOUT", + "FLOW_CHART_ALTERNATE_PROCESS", + "FLOW_CHART_COLLATE", + "FLOW_CHART_CONNECTOR", + "FLOW_CHART_DECISION", + "FLOW_CHART_DELAY", + "FLOW_CHART_DISPLAY", + "FLOW_CHART_DOCUMENT", + "FLOW_CHART_EXTRACT", + "FLOW_CHART_INPUT_OUTPUT", + "FLOW_CHART_INTERNAL_STORAGE", + "FLOW_CHART_MAGNETIC_DISK", + "FLOW_CHART_MAGNETIC_DRUM", + "FLOW_CHART_MAGNETIC_TAPE", + "FLOW_CHART_MANUAL_INPUT", + "FLOW_CHART_MANUAL_OPERATION", + "FLOW_CHART_MERGE", + "FLOW_CHART_MULTIDOCUMENT", + "FLOW_CHART_OFFLINE_STORAGE", + "FLOW_CHART_OFFPAGE_CONNECTOR", + "FLOW_CHART_ONLINE_STORAGE", + "FLOW_CHART_OR", + "FLOW_CHART_PREDEFINED_PROCESS", + "FLOW_CHART_PREPARATION", + "FLOW_CHART_PROCESS", + "FLOW_CHART_PUNCHED_CARD", + "FLOW_CHART_PUNCHED_TAPE", + "FLOW_CHART_SORT", + "FLOW_CHART_SUMMING_JUNCTION", + "FLOW_CHART_TERMINATOR", + "ARROW_EAST", + "ARROW_NORTH_EAST", + "ARROW_NORTH", + "SPEECH", + "STARBURST", + "TEARDROP", + "ELLIPSE_RIBBON", + "ELLIPSE_RIBBON_2", + "CLOUD_CALLOUT", + "CUSTOM" + ], + "description": "The type of the shape." }, "text": { "$ref": "TextContent", "description": "The text content of the shape." }, "placeholder": { - "description": "Placeholders are shapes that are inherit from corresponding placeholders on\nlayouts and masters.\n\nIf set, the shape is a placeholder shape and any inherited properties\ncan be resolved by looking at the parent placeholder identified by the\nPlaceholder.parent_object_id field.", - "$ref": "Placeholder" + "$ref": "Placeholder", + "description": "Placeholders are shapes that are inherit from corresponding placeholders on\nlayouts and masters.\n\nIf set, the shape is a placeholder shape and any inherited properties\ncan be resolved by looking at the parent placeholder identified by the\nPlaceholder.parent_object_id field." }, "shapeProperties": { "$ref": "ShapeProperties", @@ -365,31 +930,34 @@ "id": "Shape" }, "Image": { + "type": "object", "properties": { - "imageProperties": { - "$ref": "ImageProperties", - "description": "The properties of the image." - }, "contentUrl": { "description": "An URL to an image with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.", "type": "string" + }, + "imageProperties": { + "$ref": "ImageProperties", + "description": "The properties of the image." } }, "id": "Image", - "description": "A PageElement kind representing an\nimage.", - "type": "object" + "description": "A PageElement kind representing an\nimage." }, "AffineTransform": { - "description": "AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]\nto transform source coordinates (x,y) into destination coordinates (x', y')\naccording to:\n\n x' x = shear_y scale_y translate_y \n 1 [ 1 ]\n\nAfter transformation,\n\n x' = scale_x * x + shear_x * y + translate_x;\n y' = scale_y * y + shear_y * x + translate_y;\n\nThis message is therefore composed of these six matrix elements.", "type": "object", "properties": { + "translateX": { + "type": "number", + "description": "The X coordinate translation element.", + "format": "double" + }, "shearY": { + "type": "number", "description": "The Y coordinate shearing element.", - "format": "double", - "type": "number" + "format": "double" }, "unit": { - "description": "The units for translate elements.", "type": "string", "enumDescriptions": [ "The units are unknown.", @@ -400,7 +968,8 @@ "UNIT_UNSPECIFIED", "EMU", "PT" - ] + ], + "description": "The units for translate elements." }, "scaleX": { "description": "The X coordinate scaling element.", @@ -418,56 +987,51 @@ "type": "number" }, "translateY": { + "type": "number", "description": "The Y coordinate translation element.", - "format": "double", - "type": "number" - }, - "translateX": { - "description": "The X coordinate translation element.", - "format": "double", - "type": "number" + "format": "double" } }, - "id": "AffineTransform" + "id": "AffineTransform", + "description": "AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ]\nto transform source coordinates (x,y) into destination coordinates (x', y')\naccording to:\n\n x' x = shear_y scale_y translate_y \n 1 [ 1 ]\n\nAfter transformation,\n\n x' = scale_x * x + shear_x * y + translate_x;\n y' = scale_y * y + shear_y * x + translate_y;\n\nThis message is therefore composed of these six matrix elements." }, "InsertTextRequest": { "description": "Inserts text into a shape or a table cell.", "type": "object", "properties": { "objectId": { - "type": "string", - "description": "The object ID of the shape or table where the text will be inserted." + "description": "The object ID of the shape or table where the text will be inserted.", + "type": "string" }, "text": { - "description": "The text to be inserted.\n\nInserting a newline character will implicitly create a new\nParagraphMarker at that index.\nThe paragraph style of the new paragraph will be copied from the paragraph\nat the current insertion index, including lists and bullets.\n\nText styles for inserted text will be determined automatically, generally\npreserving the styling of neighboring text. In most cases, the text will be\nadded to the TextRun that exists at the\ninsertion index.\n\nSome control characters (U+0000-U+0008, U+000C-U+001F) and characters\nfrom the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)\nwill be stripped out of the inserted text.", - "type": "string" + "type": "string", + "description": "The text to be inserted.\n\nInserting a newline character will implicitly create a new\nParagraphMarker at that index.\nThe paragraph style of the new paragraph will be copied from the paragraph\nat the current insertion index, including lists and bullets.\n\nText styles for inserted text will be determined automatically, generally\npreserving the styling of neighboring text. In most cases, the text will be\nadded to the TextRun that exists at the\ninsertion index.\n\nSome control characters (U+0000-U+0008, U+000C-U+001F) and characters\nfrom the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF)\nwill be stripped out of the inserted text." }, "insertionIndex": { + "type": "integer", "description": "The index where the text will be inserted, in Unicode code units, based\non TextElement indexes.\n\nThe index is zero-based and is computed from the start of the string.\nThe index may be adjusted to prevent insertions inside Unicode grapheme\nclusters. In these cases, the text will be inserted immediately after the\ngrapheme cluster.", - "format": "int32", - "type": "integer" + "format": "int32" }, "cellLocation": { - "description": "The optional table cell location if the text is to be inserted into a table\ncell. If present, the object_id must refer to a table.", - "$ref": "TableCellLocation" + "$ref": "TableCellLocation", + "description": "The optional table cell location if the text is to be inserted into a table\ncell. If present, the object_id must refer to a table." } }, "id": "InsertTextRequest" }, "AutoText": { - "description": "A TextElement kind that represents auto text.", "type": "object", "properties": { "type": { + "enum": [ + "TYPE_UNSPECIFIED", + "SLIDE_NUMBER" + ], "description": "The type of this auto text.", "type": "string", "enumDescriptions": [ "An unspecified autotext type.", "Type for autotext that represents the current slide number." - ], - "enum": [ - "TYPE_UNSPECIFIED", - "SLIDE_NUMBER" ] }, "content": { @@ -479,10 +1043,10 @@ "description": "The styling applied to this auto text." } }, - "id": "AutoText" + "id": "AutoText", + "description": "A TextElement kind that represents auto text." }, "CreateVideoResponse": { - "id": "CreateVideoResponse", "description": "The result of creating a video.", "type": "object", "properties": { @@ -490,15 +1054,34 @@ "description": "The object ID of the created video.", "type": "string" } - } + }, + "id": "CreateVideoResponse" }, - "UpdatePageElementTransformRequest": { - "description": "Updates the transform of a page element.", + "DeleteTextRequest": { + "description": "Deletes text from a shape or a table cell.", "type": "object", "properties": { "objectId": { "type": "string", - "description": "The object ID of the page element to update." + "description": "The object ID of the shape or table from which the text will be deleted." + }, + "textRange": { + "$ref": "Range", + "description": "The range of text to delete, based on TextElement indexes.\n\nThere is always an implicit newline character at the end of a shape's or\ntable cell's text that cannot be deleted. `Range.Type.ALL` will use the\ncorrect bounds, but care must be taken when specifying explicit bounds for\nrange types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text\nis \"ABC\", followed by an implicit newline, then the maximum value is 2 for\n`text_range.start_index` and 3 for `text_range.end_index`.\n\nDeleting text that crosses a paragraph boundary may result in changes\nto paragraph styles and lists as the two paragraphs are merged.\n\nRanges that include only one code unit of a surrogate pair are expanded to\ninclude both code units." + }, + "cellLocation": { + "$ref": "TableCellLocation", + "description": "The optional table cell location if the text is to be deleted from a table\ncell. If present, the object_id must refer to a table." + } + }, + "id": "DeleteTextRequest" + }, + "UpdatePageElementTransformRequest": { + "type": "object", + "properties": { + "objectId": { + "description": "The object ID of the page element to update.", + "type": "string" }, "transform": { "$ref": "AffineTransform", @@ -519,68 +1102,52 @@ "description": "The apply mode of the transform update." } }, - "id": "UpdatePageElementTransformRequest" - }, - "DeleteTextRequest": { - "id": "DeleteTextRequest", - "description": "Deletes text from a shape or a table cell.", - "type": "object", - "properties": { - "cellLocation": { - "$ref": "TableCellLocation", - "description": "The optional table cell location if the text is to be deleted from a table\ncell. If present, the object_id must refer to a table." - }, - "objectId": { - "description": "The object ID of the shape or table from which the text will be deleted.", - "type": "string" - }, - "textRange": { - "description": "The range of text to delete, based on TextElement indexes.\n\nThere is always an implicit newline character at the end of a shape's or\ntable cell's text that cannot be deleted. `Range.Type.ALL` will use the\ncorrect bounds, but care must be taken when specifying explicit bounds for\nrange types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text\nis \"ABC\", followed by an implicit newline, then the maximum value is 2 for\n`text_range.start_index` and 3 for `text_range.end_index`.\n\nDeleting text that crosses a paragraph boundary may result in changes\nto paragraph styles and lists as the two paragraphs are merged.\n\nRanges that include only one code unit of a surrogate pair are expanded to\ninclude both code units.", - "$ref": "Range" - } - } + "id": "UpdatePageElementTransformRequest", + "description": "Updates the transform of a page element." }, "DeleteObjectRequest": { - "id": "DeleteObjectRequest", - "description": "Deletes an object, either pages or\npage elements, from the\npresentation.", "type": "object", "properties": { "objectId": { "description": "The object ID of the page or page element to delete.\n\nIf after a delete operation a group contains\nonly 1 or no page elements, the group is also deleted.\n\nIf a placeholder is deleted on a layout, any empty inheriting shapes are\nalso deleted.", "type": "string" } - } + }, + "id": "DeleteObjectRequest", + "description": "Deletes an object, either pages or\npage elements, from the\npresentation." }, "TextElement": { + "description": "A TextElement describes the content of a range of indices in the text content\nof a Shape or TableCell.", "type": "object", "properties": { - "textRun": { - "$ref": "TextRun", - "description": "A TextElement representing a run of text where all of the characters\nin the run have the same TextStyle.\n\nThe `start_index` and `end_index` of TextRuns will always be fully\ncontained in the index range of a single `paragraph_marker` TextElement.\nIn other words, a TextRun will never span multiple paragraphs." - }, - "autoText": { - "description": "A TextElement representing a spot in the text that is dynamically\nreplaced with content that can change over time.", - "$ref": "AutoText" - }, - "paragraphMarker": { - "description": "A marker representing the beginning of a new paragraph.\n\nThe `start_index` and `end_index` of this TextElement represent the\nrange of the paragraph. Other TextElements with an index range contained\ninside this paragraph's range are considered to be part of this\nparagraph. The range of indices of two separate paragraphs will never\noverlap.", - "$ref": "ParagraphMarker" - }, "startIndex": { "description": "The zero-based start index of this text element, in Unicode code units.", "format": "int32", "type": "integer" }, "endIndex": { + "type": "integer", "description": "The zero-based end index of this text element, exclusive, in Unicode code\nunits.", - "format": "int32", - "type": "integer" + "format": "int32" + }, + "textRun": { + "$ref": "TextRun", + "description": "A TextElement representing a run of text where all of the characters\nin the run have the same TextStyle.\n\nThe `start_index` and `end_index` of TextRuns will always be fully\ncontained in the index range of a single `paragraph_marker` TextElement.\nIn other words, a TextRun will never span multiple paragraphs." + }, + "autoText": { + "$ref": "AutoText", + "description": "A TextElement representing a spot in the text that is dynamically\nreplaced with content that can change over time." + }, + "paragraphMarker": { + "$ref": "ParagraphMarker", + "description": "A marker representing the beginning of a new paragraph.\n\nThe `start_index` and `end_index` of this TextElement represent the\nrange of the paragraph. Other TextElements with an index range contained\ninside this paragraph's range are considered to be part of this\nparagraph. The range of indices of two separate paragraphs will never\noverlap." } }, - "id": "TextElement", - "description": "A TextElement describes the content of a range of indices in the text content\nof a Shape or TableCell." + "id": "TextElement" }, "Dimension": { + "description": "A magnitude in a single direction in the specified units.", + "type": "object", "properties": { "magnitude": { "description": "The magnitude.", @@ -602,146 +1169,82 @@ ] } }, - "id": "Dimension", - "description": "A magnitude in a single direction in the specified units.", - "type": "object" + "id": "Dimension" }, "LineFill": { "description": "The fill of the line.", "type": "object", "properties": { "solidFill": { - "description": "Solid color fill.", - "$ref": "SolidFill" + "$ref": "SolidFill", + "description": "Solid color fill." } }, "id": "LineFill" }, "VideoProperties": { - "id": "VideoProperties", "description": "The properties of the Video.", "type": "object", "properties": { "outline": { - "description": "The outline of the video. The default outline matches the defaults for new\nvideos created in the Slides editor.", - "$ref": "Outline" + "$ref": "Outline", + "description": "The outline of the video. The default outline matches the defaults for new\nvideos created in the Slides editor." } - } + }, + "id": "VideoProperties" }, "InsertTableRowsRequest": { "type": "object", "properties": { - "number": { - "description": "The number of rows to be inserted. Maximum 20 per request.", - "format": "int32", - "type": "integer" - }, - "cellLocation": { - "description": "The reference table cell location from which rows will be inserted.\n\nA new row will be inserted above (or below) the row where the reference\ncell is. If the reference cell is a merged cell, a new row will be\ninserted above (or below) the merged cell.", - "$ref": "TableCellLocation" - }, "tableObjectId": { - "description": "The table to insert rows into.", - "type": "string" + "type": "string", + "description": "The table to insert rows into." }, "insertBelow": { "description": "Whether to insert new rows below the reference cell location.\n\n- `True`: insert below the cell.\n- `False`: insert above the cell.", "type": "boolean" + }, + "number": { + "type": "integer", + "description": "The number of rows to be inserted. Maximum 20 per request.", + "format": "int32" + }, + "cellLocation": { + "$ref": "TableCellLocation", + "description": "The reference table cell location from which rows will be inserted.\n\nA new row will be inserted above (or below) the row where the reference\ncell is. If the reference cell is a merged cell, a new row will be\ninserted above (or below) the merged cell." } }, "id": "InsertTableRowsRequest", "description": "Inserts rows into a table." }, "LayoutProperties": { - "description": "The properties of Page are only\nrelevant for pages with page_type LAYOUT.", - "type": "object", - "properties": { - "displayName": { - "description": "The human readable name of the layout in the presentation's locale.", - "type": "string" - }, - "masterObjectId": { - "description": "The object ID of the master that this layout is based on.", - "type": "string" - }, - "name": { - "description": "The name of the layout.", - "type": "string" - } - }, - "id": "LayoutProperties" - }, - "Presentation": { - "type": "object", - "properties": { - "presentationId": { - "description": "The ID of the presentation.", - "type": "string" - }, - "slides": { - "description": "The slides in the presentation.\nA slide inherits properties from a slide layout.", - "type": "array", - "items": { - "$ref": "Page" - } - }, - "revisionId": { - "description": "The revision ID of the presentation. Can be used in update requests\nto assert that the presentation revision hasn't changed since the last\nread operation. Only populated if the user has edit access to the\npresentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. If the\nrevision ID is unchanged between calls, then the presentation has not\nchanged. Conversely, a changed ID (for the same presentation and user)\nusually means the presentation has been updated; however, a changed ID can\nalso be due to internal factors such as ID format changes.", - "type": "string" - }, - "notesMaster": { - "$ref": "Page", - "description": "The notes master in the presentation. It serves three purposes:\n\n- Placeholder shapes on a notes master contain the default text styles and\n shape properties of all placeholder shapes on notes pages. Specifically,\n a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a\n `BODY` placeholder shape contains the speaker notes.\n- The notes master page properties define the common page properties\n inherited by all notes pages.\n- Any other shapes on the notes master will appear on all notes pages.\n\nThe notes master is read-only." - }, - "layouts": { - "description": "The layouts in the presentation. A layout is a template that determines\nhow content is arranged and styled on the slides that inherit from that\nlayout.", - "type": "array", - "items": { - "$ref": "Page" - } - }, - "title": { + "description": "The properties of Page are only\nrelevant for pages with page_type LAYOUT.", + "type": "object", + "properties": { + "masterObjectId": { "type": "string", - "description": "The title of the presentation." - }, - "masters": { - "description": "The slide masters in the presentation. A slide master contains all common\npage elements and the common properties for a set of layouts. They serve\nthree purposes:\n\n- Placeholder shapes on a master contain the default text styles and shape\n properties of all placeholder shapes on pages that use that master.\n- The master page properties define the common page properties inherited by\n its layouts.\n- Any other shapes on the master slide will appear on all slides using that\n master, regardless of their layout.", - "type": "array", - "items": { - "$ref": "Page" - } + "description": "The object ID of the master that this layout is based on." }, - "locale": { - "description": "The locale of the presentation, as an IETF BCP 47 language tag.", + "name": { + "description": "The name of the layout.", "type": "string" }, - "pageSize": { - "description": "The size of pages in the presentation.", - "$ref": "Size" + "displayName": { + "description": "The human readable name of the layout in the presentation's locale.", + "type": "string" } }, - "id": "Presentation", - "description": "A Google Slides presentation." + "id": "LayoutProperties" }, "LineProperties": { "description": "The properties of the Line.\n\nWhen unset, these fields default to values that match the appearance of\nnew lines created in the Slides editor.", "type": "object", "properties": { "link": { - "description": "The hyperlink destination of the line. If unset, there is no link.", - "$ref": "Link" + "$ref": "Link", + "description": "The hyperlink destination of the line. If unset, there is no link." }, "dashStyle": { - "enum": [ - "DASH_STYLE_UNSPECIFIED", - "SOLID", - "DOT", - "DASH", - "DASH_DOT", - "LONG_DASH", - "LONG_DASH_DOT" - ], - "description": "The dash style of the line.", "type": "string", "enumDescriptions": [ "Unspecified dash style.", @@ -751,9 +1254,19 @@ "Alternating dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal\nvalue 'dashDot'.", "Line with large dashes. Corresponds to ECMA-376 ST_PresetLineDashVal\nvalue 'lgDash'.", "Alternating large dashes and dots. Corresponds to ECMA-376\nST_PresetLineDashVal value 'lgDashDot'." - ] + ], + "enum": [ + "DASH_STYLE_UNSPECIFIED", + "SOLID", + "DOT", + "DASH", + "DASH_DOT", + "LONG_DASH", + "LONG_DASH_DOT" + ], + "description": "The dash style of the line." }, - "endArrow": { + "startArrow": { "type": "string", "enumDescriptions": [ "An unspecified arrow style.", @@ -781,9 +1294,10 @@ "OPEN_SQUARE", "OPEN_DIAMOND" ], - "description": "The style of the arrow at the end of the line." + "description": "The style of the arrow at the beginning of the line." }, - "startArrow": { + "endArrow": { + "type": "string", "enumDescriptions": [ "An unspecified arrow style.", "No arrow.", @@ -810,12 +1324,11 @@ "OPEN_SQUARE", "OPEN_DIAMOND" ], - "description": "The style of the arrow at the beginning of the line.", - "type": "string" + "description": "The style of the arrow at the end of the line." }, "weight": { - "description": "The thickness of the line.", - "$ref": "Dimension" + "$ref": "Dimension", + "description": "The thickness of the line." }, "lineFill": { "$ref": "LineFill", @@ -824,6 +1337,58 @@ }, "id": "LineProperties" }, + "Presentation": { + "type": "object", + "properties": { + "presentationId": { + "description": "The ID of the presentation.", + "type": "string" + }, + "slides": { + "description": "The slides in the presentation.\nA slide inherits properties from a slide layout.", + "type": "array", + "items": { + "$ref": "Page" + } + }, + "revisionId": { + "type": "string", + "description": "The revision ID of the presentation. Can be used in update requests\nto assert that the presentation revision hasn't changed since the last\nread operation. Only populated if the user has edit access to the\npresentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. If the\nrevision ID is unchanged between calls, then the presentation has not\nchanged. Conversely, a changed ID (for the same presentation and user)\nusually means the presentation has been updated; however, a changed ID can\nalso be due to internal factors such as ID format changes." + }, + "notesMaster": { + "$ref": "Page", + "description": "The notes master in the presentation. It serves three purposes:\n\n- Placeholder shapes on a notes master contain the default text styles and\n shape properties of all placeholder shapes on notes pages. Specifically,\n a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a\n `BODY` placeholder shape contains the speaker notes.\n- The notes master page properties define the common page properties\n inherited by all notes pages.\n- Any other shapes on the notes master will appear on all notes pages.\n\nThe notes master is read-only." + }, + "title": { + "description": "The title of the presentation.", + "type": "string" + }, + "layouts": { + "type": "array", + "items": { + "$ref": "Page" + }, + "description": "The layouts in the presentation. A layout is a template that determines\nhow content is arranged and styled on the slides that inherit from that\nlayout." + }, + "masters": { + "type": "array", + "items": { + "$ref": "Page" + }, + "description": "The slide masters in the presentation. A slide master contains all common\npage elements and the common properties for a set of layouts. They serve\nthree purposes:\n\n- Placeholder shapes on a master contain the default text styles and shape\n properties of all placeholder shapes on pages that use that master.\n- The master page properties define the common page properties inherited by\n its layouts.\n- Any other shapes on the master slide will appear on all slides using that\n master, regardless of their layout." + }, + "locale": { + "type": "string", + "description": "The locale of the presentation, as an IETF BCP 47 language tag." + }, + "pageSize": { + "$ref": "Size", + "description": "The size of pages in the presentation." + } + }, + "id": "Presentation", + "description": "A Google Slides presentation." + }, "OpaqueColor": { "description": "A themeable solid color value.", "type": "object", @@ -833,6 +1398,25 @@ "description": "An opaque RGB color." }, "themeColor": { + "enum": [ + "THEME_COLOR_TYPE_UNSPECIFIED", + "DARK1", + "LIGHT1", + "DARK2", + "LIGHT2", + "ACCENT1", + "ACCENT2", + "ACCENT3", + "ACCENT4", + "ACCENT5", + "ACCENT6", + "HYPERLINK", + "FOLLOWED_HYPERLINK", + "TEXT1", + "BACKGROUND1", + "TEXT2", + "BACKGROUND2" + ], "description": "An opaque theme color.", "type": "string", "enumDescriptions": [ @@ -853,25 +1437,6 @@ "Represents the first background color.", "Represents the second text color.", "Represents the second background color." - ], - "enum": [ - "THEME_COLOR_TYPE_UNSPECIFIED", - "DARK1", - "LIGHT1", - "DARK2", - "LIGHT2", - "ACCENT1", - "ACCENT2", - "ACCENT3", - "ACCENT4", - "ACCENT5", - "ACCENT6", - "HYPERLINK", - "FOLLOWED_HYPERLINK", - "TEXT1", - "BACKGROUND1", - "TEXT2", - "BACKGROUND2" ] } }, @@ -886,22 +1451,22 @@ "description": "The shadow of the image. If not set, the image has no shadow. This property\nis read-only." }, "link": { - "description": "The hyperlink destination of the image. If unset, there is no link.", - "$ref": "Link" + "$ref": "Link", + "description": "The hyperlink destination of the image. If unset, there is no link." }, "contrast": { + "type": "number", "description": "The contrast effect of the image. The value should be in the interval\n[-1.0, 1.0], where 0 means no effect. This property is read-only.", - "format": "float", - "type": "number" - }, - "recolor": { - "$ref": "Recolor", - "description": "The recolor effect of the image. If not set, the image is not recolored.\nThis property is read-only." + "format": "float" }, "cropProperties": { "$ref": "CropProperties", "description": "The crop properties of the image. If not set, the image is not cropped.\nThis property is read-only." }, + "recolor": { + "$ref": "Recolor", + "description": "The recolor effect of the image. If not set, the image is not recolored.\nThis property is read-only." + }, "outline": { "$ref": "Outline", "description": "The outline of the image. If not set, the the image has no outline." @@ -912,9 +1477,9 @@ "type": "number" }, "transparency": { + "type": "number", "description": "The transparency effect of the image. The value should be in the interval\n[0.0, 1.0], where 0 means no effect and 1 means completely transparent.\nThis property is read-only.", - "format": "float", - "type": "number" + "format": "float" } }, "id": "ImageProperties" @@ -935,11 +1500,8 @@ "description": "A PageElement kind representing a\nline, curved connector, or bent connector.", "type": "object", "properties": { - "lineProperties": { - "$ref": "LineProperties", - "description": "The properties of the line." - }, "lineType": { + "type": "string", "enumDescriptions": [ "An unspecified line type.", "Straight connector 1 form. Corresponds to ECMA-376 ST_ShapeType\n'straightConnector1'.", @@ -964,17 +1526,39 @@ "CURVED_CONNECTOR_4", "CURVED_CONNECTOR_5" ], - "description": "The type of the line.", - "type": "string" + "description": "The type of the line." + }, + "lineProperties": { + "$ref": "LineProperties", + "description": "The properties of the line." } }, "id": "Line" }, + "BatchUpdatePresentationResponse": { + "description": "Response message from a batch update.", + "type": "object", + "properties": { + "presentationId": { + "description": "The presentation the updates were applied to.", + "type": "string" + }, + "replies": { + "description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.", + "type": "array", + "items": { + "$ref": "Response" + } + } + }, + "id": "BatchUpdatePresentationResponse" + }, "CreateSheetsChartRequest": { + "type": "object", "properties": { "objectId": { - "description": "A user-supplied object ID.\n\nIf specified, the ID must be unique among all pages and page elements in\nthe presentation. The ID should start with a word character [a-zA-Z0-9_]\nand then followed by any number of the following characters [a-zA-Z0-9_-:].\nThe length of the ID should not be less than 5 or greater than 50.\nIf empty, a unique identifier will be generated.", - "type": "string" + "type": "string", + "description": "A user-supplied object ID.\n\nIf specified, the ID must be unique among all pages and page elements in\nthe presentation. The ID should start with a word character [a-zA-Z0-9_]\nand then followed by any number of the following characters [a-zA-Z0-9_-:].\nThe length of the ID should not be less than 5 or greater than 50.\nIf empty, a unique identifier will be generated." }, "elementProperties": { "$ref": "PageElementProperties", @@ -985,16 +1569,16 @@ "description": "The ID of the Google Sheets spreadsheet that contains the chart." }, "linkingMode": { - "enum": [ - "NOT_LINKED_IMAGE", - "LINKED" - ], - "description": "The mode with which the chart is linked to the source spreadsheet. When\nnot specified, the chart will be an image that is not linked.", "type": "string", "enumDescriptions": [ "The chart is not associated with the source spreadsheet and cannot be\nupdated. A chart that is not linked will be inserted as an image.", "Linking the chart allows it to be updated, and other collaborators will\nsee a link to the spreadsheet." - ] + ], + "enum": [ + "NOT_LINKED_IMAGE", + "LINKED" + ], + "description": "The mode with which the chart is linked to the source spreadsheet. When\nnot specified, the chart will be an image that is not linked." }, "chartId": { "description": "The ID of the specific chart in the Google Sheets spreadsheet.", @@ -1003,132 +1587,138 @@ } }, "id": "CreateSheetsChartRequest", - "description": "Creates an embedded Google Sheets chart.\n\nNOTE: Chart creation requires at least one of the spreadsheets.readonly,\nspreadsheets, drive.readonly, or drive OAuth scopes.", - "type": "object" - }, - "BatchUpdatePresentationResponse": { - "description": "Response message from a batch update.", - "type": "object", - "properties": { - "replies": { - "type": "array", - "items": { - "$ref": "Response" - }, - "description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty." - }, - "presentationId": { - "description": "The presentation the updates were applied to.", - "type": "string" - } - }, - "id": "BatchUpdatePresentationResponse" + "description": "Creates an embedded Google Sheets chart.\n\nNOTE: Chart creation requires at least one of the spreadsheets.readonly,\nspreadsheets, drive.readonly, or drive OAuth scopes." }, "CreateImageResponse": { - "id": "CreateImageResponse", - "description": "The result of creating an image.", "type": "object", "properties": { "objectId": { - "description": "The object ID of the created image.", - "type": "string" + "type": "string", + "description": "The object ID of the created image." } - } + }, + "id": "CreateImageResponse", + "description": "The result of creating an image." }, "SlideProperties": { - "description": "The properties of Page that are only\nrelevant for pages with page_type SLIDE.", "type": "object", "properties": { - "layoutObjectId": { - "description": "The object ID of the layout that this slide is based on.", - "type": "string" - }, - "masterObjectId": { - "description": "The object ID of the master that this slide is based on.", - "type": "string" - }, "notesPage": { "$ref": "Page", "description": "The notes page that this slide is associated with. It defines the visual\nappearance of a notes page when printing or exporting slides with speaker\nnotes. A notes page inherits properties from the\nnotes master.\nThe placeholder shape with type BODY on the notes page contains the speaker\nnotes for this slide. The ID of this shape is identified by the\nspeakerNotesObjectId field.\nThe notes page is read-only except for the text content and styles of the\nspeaker notes shape." + }, + "layoutObjectId": { + "type": "string", + "description": "The object ID of the layout that this slide is based on." + }, + "masterObjectId": { + "type": "string", + "description": "The object ID of the master that this slide is based on." } }, - "id": "SlideProperties" + "id": "SlideProperties", + "description": "The properties of Page that are only\nrelevant for pages with page_type SLIDE." }, "Response": { "description": "A single response from an update.", "type": "object", "properties": { - "createShape": { - "$ref": "CreateShapeResponse", - "description": "The result of creating a shape." - }, - "duplicateObject": { - "description": "The result of duplicating an object.", - "$ref": "DuplicateObjectResponse" - }, - "createLine": { - "description": "The result of creating a line.", - "$ref": "CreateLineResponse" - }, - "createImage": { - "$ref": "CreateImageResponse", - "description": "The result of creating an image." - }, - "createVideo": { - "$ref": "CreateVideoResponse", - "description": "The result of creating a video." + "createSheetsChart": { + "$ref": "CreateSheetsChartResponse", + "description": "The result of creating a Google Sheets chart." }, "replaceAllShapesWithSheetsChart": { - "description": "The result of replacing all shapes matching some criteria with a Google\nSheets chart.", - "$ref": "ReplaceAllShapesWithSheetsChartResponse" - }, - "createSheetsChart": { - "description": "The result of creating a Google Sheets chart.", - "$ref": "CreateSheetsChartResponse" + "$ref": "ReplaceAllShapesWithSheetsChartResponse", + "description": "The result of replacing all shapes matching some criteria with a Google\nSheets chart." }, "replaceAllShapesWithImage": { "$ref": "ReplaceAllShapesWithImageResponse", "description": "The result of replacing all shapes matching some criteria with an\nimage." }, "createTable": { - "description": "The result of creating a table.", - "$ref": "CreateTableResponse" + "$ref": "CreateTableResponse", + "description": "The result of creating a table." }, "replaceAllText": { - "description": "The result of replacing text.", - "$ref": "ReplaceAllTextResponse" + "$ref": "ReplaceAllTextResponse", + "description": "The result of replacing text." }, "createSlide": { "$ref": "CreateSlideResponse", "description": "The result of creating a slide." + }, + "duplicateObject": { + "$ref": "DuplicateObjectResponse", + "description": "The result of duplicating an object." + }, + "createShape": { + "$ref": "CreateShapeResponse", + "description": "The result of creating a shape." + }, + "createLine": { + "$ref": "CreateLineResponse", + "description": "The result of creating a line." + }, + "createImage": { + "$ref": "CreateImageResponse", + "description": "The result of creating an image." + }, + "createVideo": { + "$ref": "CreateVideoResponse", + "description": "The result of creating a video." } }, "id": "Response" }, "SubstringMatchCriteria": { + "type": "object", "properties": { "text": { - "description": "The text to search for in the shape or table.", - "type": "string" + "type": "string", + "description": "The text to search for in the shape or table." }, "matchCase": { - "description": "Indicates whether the search should respect case:\n\n- `True`: the search is case sensitive.\n- `False`: the search is case insensitive.", - "type": "boolean" + "type": "boolean", + "description": "Indicates whether the search should respect case:\n\n- `True`: the search is case sensitive.\n- `False`: the search is case insensitive." } }, "id": "SubstringMatchCriteria", - "description": "A criteria that matches a specific string of text in a shape or table.", - "type": "object" + "description": "A criteria that matches a specific string of text in a shape or table." + }, + "TextRun": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "The text of this run." + }, + "style": { + "$ref": "TextStyle", + "description": "The styling applied to this run." + } + }, + "id": "TextRun", + "description": "A TextElement kind that represents a run of text that all has the same\nstyling." }, "LayoutReference": { "description": "Slide layout reference. This may reference either:\n\n- A predefined layout\n- One of the layouts in the presentation.", "type": "object", "properties": { - "layoutId": { - "description": "Layout ID: the object ID of one of the layouts in the presentation.", - "type": "string" - }, "predefinedLayout": { + "enum": [ + "PREDEFINED_LAYOUT_UNSPECIFIED", + "BLANK", + "CAPTION_ONLY", + "TITLE", + "TITLE_AND_BODY", + "TITLE_AND_TWO_COLUMNS", + "TITLE_ONLY", + "SECTION_HEADER", + "SECTION_TITLE_AND_DESCRIPTION", + "ONE_COLUMN_TEXT", + "MAIN_POINT", + "BIG_NUMBER" + ], "description": "Predefined layout.", "type": "string", "enumDescriptions": [ @@ -1144,52 +1734,26 @@ "Layout with one title and one body, arranged in a single column.", "Layout with a main point.", "Layout with a big number heading." - ], - "enum": [ - "PREDEFINED_LAYOUT_UNSPECIFIED", - "BLANK", - "CAPTION_ONLY", - "TITLE", - "TITLE_AND_BODY", - "TITLE_AND_TWO_COLUMNS", - "TITLE_ONLY", - "SECTION_HEADER", - "SECTION_TITLE_AND_DESCRIPTION", - "ONE_COLUMN_TEXT", - "MAIN_POINT", - "BIG_NUMBER" ] - } - }, - "id": "LayoutReference" - }, - "TextRun": { - "description": "A TextElement kind that represents a run of text that all has the same\nstyling.", - "type": "object", - "properties": { - "style": { - "$ref": "TextStyle", - "description": "The styling applied to this run." }, - "content": { - "description": "The text of this run.", - "type": "string" + "layoutId": { + "type": "string", + "description": "Layout ID: the object ID of one of the layouts in the presentation." } }, - "id": "TextRun" + "id": "LayoutReference" }, "TableRange": { - "description": "A table range represents a reference to a subset of a table.\n\nIt's important to note that the cells specified by a table range do not\nnecessarily form a rectangle. For example, let's say we have a 3 x 3 table\nwhere all the cells of the last row are merged together. The table looks\nlike this:\n\n \n [ ]\n\nA table range with location = (0, 0), row span = 3 and column span = 2\nspecifies the following cells:\n\n x x \n [ x ]", "type": "object", "properties": { "location": { - "description": "The starting location of the table range.", - "$ref": "TableCellLocation" + "$ref": "TableCellLocation", + "description": "The starting location of the table range." }, "rowSpan": { + "type": "integer", "description": "The row span of the table range.", - "format": "int32", - "type": "integer" + "format": "int32" }, "columnSpan": { "description": "The column span of the table range.", @@ -1197,106 +1761,106 @@ "type": "integer" } }, - "id": "TableRange" - }, - "CreateTableResponse": { - "type": "object", - "properties": { - "objectId": { - "description": "The object ID of the created table.", - "type": "string" - } - }, - "id": "CreateTableResponse", - "description": "The result of creating a table." + "id": "TableRange", + "description": "A table range represents a reference to a subset of a table.\n\nIt's important to note that the cells specified by a table range do not\nnecessarily form a rectangle. For example, let's say we have a 3 x 3 table\nwhere all the cells of the last row are merged together. The table looks\nlike this:\n\n \n [ ]\n\nA table range with location = (0, 0), row span = 3 and column span = 2\nspecifies the following cells:\n\n x x \n [ x ]" }, "CreateTableRequest": { - "description": "Creates a new table.", "type": "object", "properties": { "rows": { + "type": "integer", "description": "Number of rows in the table.", - "format": "int32", - "type": "integer" + "format": "int32" }, "objectId": { - "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", - "type": "string" + "type": "string", + "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated." }, "columns": { + "type": "integer", "description": "Number of columns in the table.", - "format": "int32", - "type": "integer" + "format": "int32" }, "elementProperties": { "$ref": "PageElementProperties", "description": "The element properties for the table.\n\nThe table will be created at the provided size, subject to a minimum size.\nIf no size is provided, the table will be automatically sized.\n\nTable transforms must have a scale of 1 and no shear components. If no\ntransform is provided, the table will be centered on the page." } }, - "id": "CreateTableRequest" + "id": "CreateTableRequest", + "description": "Creates a new table." + }, + "CreateTableResponse": { + "description": "The result of creating a table.", + "type": "object", + "properties": { + "objectId": { + "description": "The object ID of the created table.", + "type": "string" + } + }, + "id": "CreateTableResponse" }, "Table": { - "description": "A PageElement kind representing a\ntable.", "type": "object", "properties": { - "rows": { - "description": "Number of rows in the table.", - "format": "int32", - "type": "integer" - }, - "tableColumns": { - "description": "Properties of each column.", - "type": "array", - "items": { - "$ref": "TableColumnProperties" - } - }, "columns": { "type": "integer", "description": "Number of columns in the table.", "format": "int32" }, "tableRows": { - "description": "Properties and contents of each row.\n\nCells that span multiple rows are contained in only one of these rows and\nhave a row_span greater\nthan 1.", "type": "array", "items": { "$ref": "TableRow" - } + }, + "description": "Properties and contents of each row.\n\nCells that span multiple rows are contained in only one of these rows and\nhave a row_span greater\nthan 1." + }, + "rows": { + "description": "Number of rows in the table.", + "format": "int32", + "type": "integer" + }, + "tableColumns": { + "type": "array", + "items": { + "$ref": "TableColumnProperties" + }, + "description": "Properties of each column." } }, - "id": "Table" + "id": "Table", + "description": "A PageElement kind representing a\ntable." }, "PageBackgroundFill": { + "description": "The page background fill.", + "type": "object", "properties": { - "solidFill": { - "description": "Solid color fill.", - "$ref": "SolidFill" - }, "propertyState": { + "enum": [ + "RENDERED", + "NOT_RENDERED", + "INHERIT" + ], "description": "The background fill property state.\n\nUpdating the the fill on a page will implicitly update this field to\n`RENDERED`, unless another value is specified in the same request. To\nhave no fill on a page, set this field to `NOT_RENDERED`. In this case,\nany other fill fields set in the same request will be ignored.", "type": "string", "enumDescriptions": [ "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.", "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.", "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." - ], - "enum": [ - "RENDERED", - "NOT_RENDERED", - "INHERIT" ] }, "stretchedPictureFill": { - "description": "Stretched picture fill.", - "$ref": "StretchedPictureFill" + "$ref": "StretchedPictureFill", + "description": "Stretched picture fill." + }, + "solidFill": { + "$ref": "SolidFill", + "description": "Solid color fill." } }, - "id": "PageBackgroundFill", - "description": "The page background fill.", - "type": "object" + "id": "PageBackgroundFill" }, "SheetsChart": { - "description": "A PageElement kind representing\na linked chart embedded from Google Sheets.", "type": "object", "properties": { "sheetsChartProperties": { @@ -1308,43 +1872,40 @@ "type": "string" }, "spreadsheetId": { - "description": "The ID of the Google Sheets spreadsheet that contains the source chart.", - "type": "string" + "type": "string", + "description": "The ID of the Google Sheets spreadsheet that contains the source chart." }, "chartId": { - "type": "integer", "description": "The ID of the specific chart in the Google Sheets spreadsheet that is\nembedded.", - "format": "int32" + "format": "int32", + "type": "integer" } }, - "id": "SheetsChart" + "id": "SheetsChart", + "description": "A PageElement kind representing\na linked chart embedded from Google Sheets." }, "SolidFill": { - "id": "SolidFill", - "description": "A solid color fill. The page or page element is filled entirely with the\nspecified color value.\n\nIf any field is unset, its value may be inherited from a parent placeholder\nif it exists.", "type": "object", "properties": { - "color": { - "$ref": "OpaqueColor", - "description": "The color value of the solid fill." - }, "alpha": { "description": "The fraction of this `color` that should be applied to the pixel.\nThat is, the final pixel color is defined by the equation:\n\n pixel color = alpha * (color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color.", "format": "float", "type": "number" + }, + "color": { + "$ref": "OpaqueColor", + "description": "The color value of the solid fill." } - } + }, + "id": "SolidFill", + "description": "A solid color fill. The page or page element is filled entirely with the\nspecified color value.\n\nIf any field is unset, its value may be inherited from a parent placeholder\nif it exists." }, "ThemeColorPair": { - "id": "ThemeColorPair", "description": "A pair mapping a theme color type to the concrete color it represents.", "type": "object", "properties": { - "color": { - "$ref": "RgbColor", - "description": "The concrete color corresponding to the theme color type above." - }, "type": { + "type": "string", "enumDescriptions": [ "Unspecified theme color. This value should not be used.", "Represents the first dark color.", @@ -1383,10 +1944,14 @@ "TEXT2", "BACKGROUND2" ], - "description": "The type of the theme color.", - "type": "string" + "description": "The type of the theme color." + }, + "color": { + "$ref": "RgbColor", + "description": "The concrete color corresponding to the theme color type above." } - } + }, + "id": "ThemeColorPair" }, "OptionalColor": { "description": "A color that can either be fully opaque or fully transparent.", @@ -1403,80 +1968,81 @@ "description": "Common properties for a page element.\n\nNote: When you initially create a\nPageElement, the API may modify\nthe values of both `size` and `transform`, but the\nvisual size will be unchanged.", "type": "object", "properties": { - "size": { - "$ref": "Size", - "description": "The size of the element." - }, "transform": { "$ref": "AffineTransform", "description": "The transform for the element." }, "pageObjectId": { - "description": "The object ID of the page where the element is located.", - "type": "string" + "type": "string", + "description": "The object ID of the page where the element is located." + }, + "size": { + "$ref": "Size", + "description": "The size of the element." } }, "id": "PageElementProperties" }, "SheetsChartProperties": { + "description": "The properties of the SheetsChart.", + "type": "object", "properties": { "chartImageProperties": { "$ref": "ImageProperties", "description": "The properties of the embedded chart image." } }, - "id": "SheetsChartProperties", - "description": "The properties of the SheetsChart.", - "type": "object" + "id": "SheetsChartProperties" }, "StretchedPictureFill": { - "description": "The stretched picture fill. The page or page element is filled entirely with\nthe specified picture. The picture is stretched to fit its container.", "type": "object", "properties": { "contentUrl": { - "description": "Reading the content_url:\n\nAn URL to a picture with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the picture as the original requester. Access to the\npicture may be lost if the presentation's sharing settings change.\n\nWriting the content_url:\n\nThe picture is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Pictures must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.", - "type": "string" + "type": "string", + "description": "Reading the content_url:\n\nAn URL to a picture with a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the picture as the original requester. Access to the\npicture may be lost if the presentation's sharing settings change.\n\nWriting the content_url:\n\nThe picture is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Pictures must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat." }, "size": { "$ref": "Size", "description": "The original size of the picture fill. This field is read-only." } }, - "id": "StretchedPictureFill" + "id": "StretchedPictureFill", + "description": "The stretched picture fill. The page or page element is filled entirely with\nthe specified picture. The picture is stretched to fit its container." }, "DeleteTableColumnRequest": { "description": "Deletes a column from a table.", "type": "object", "properties": { + "tableObjectId": { + "type": "string", + "description": "The table to delete columns from." + }, "cellLocation": { "$ref": "TableCellLocation", "description": "The reference table cell location from which a column will be deleted.\n\nThe column this cell spans will be deleted. If this is a merged cell,\nmultiple columns will be deleted. If no columns remain in the table after\nthis deletion, the whole table is deleted." - }, - "tableObjectId": { - "description": "The table to delete columns from.", - "type": "string" } }, "id": "DeleteTableColumnRequest" }, "UpdateTextStyleRequest": { + "type": "object", "properties": { "fields": { + "type": "string", "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the text style to bold, set `fields` to `\"bold\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", - "format": "google-fieldmask", - "type": "string" + "format": "google-fieldmask" }, "objectId": { - "description": "The object ID of the shape or table with the text to be styled.", - "type": "string" + "type": "string", + "description": "The object ID of the shape or table with the text to be styled." }, "textRange": { - "description": "The range of text to style.\n\nThe range may be extended to include adjacent newlines.\n\nIf the range fully contains a paragraph belonging to a list, the\nparagraph's bullet is also updated with the matching text style.", - "$ref": "Range" + "$ref": "Range", + "description": "The range of text to style.\n\nThe range may be extended to include adjacent newlines.\n\nIf the range fully contains a paragraph belonging to a list, the\nparagraph's bullet is also updated with the matching text style." }, "cellLocation": { - "description": "The location of the cell in the table containing the text to style. If\n`object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not.", - "$ref": "TableCellLocation" + "$ref": "TableCellLocation", + "description": "The location of the cell in the table containing the text to style. If\n`object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not." }, "style": { "$ref": "TextStyle", @@ -1484,11 +2050,9 @@ } }, "id": "UpdateTextStyleRequest", - "description": "Update the styling of text in a Shape or\nTable.", - "type": "object" + "description": "Update the styling of text in a Shape or\nTable." }, "List": { - "description": "A List describes the look and feel of bullets belonging to paragraphs\nassociated with a list. A paragraph that is part of a list has an implicit\nreference to that list's ID.", "type": "object", "properties": { "listId": { @@ -1496,21 +2060,22 @@ "type": "string" }, "nestingLevel": { - "description": "A map of nesting levels to the properties of bullets at the associated\nlevel. A list has at most nine levels of nesting, so the possible values\nfor the keys of this map are 0 through 8, inclusive.", "type": "object", "additionalProperties": { "$ref": "NestingLevel" - } + }, + "description": "A map of nesting levels to the properties of bullets at the associated\nlevel. A list has at most nine levels of nesting, so the possible values\nfor the keys of this map are 0 through 8, inclusive." } }, - "id": "List" + "id": "List", + "description": "A List describes the look and feel of bullets belonging to paragraphs\nassociated with a list. A paragraph that is part of a list has an implicit\nreference to that list's ID." }, "WeightedFontFamily": { "type": "object", "properties": { "fontFamily": { - "type": "string", - "description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`." + "description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`.", + "type": "string" }, "weight": { "description": "The rendered weight of the text. This field can have any value that is a\nmultiple of `100` between `100` and `900`, inclusive. This range\ncorresponds to the numerical values described in the CSS 2.1\nSpecification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),\nwith non-numerical values disallowed. Weights greater than or equal to\n`700` are considered bold, and weights less than `700`are not bold. The\ndefault value is `400` (\"normal\").", @@ -1525,13 +2090,17 @@ "description": "A visual element rendered on a page.", "type": "object", "properties": { + "wordArt": { + "$ref": "WordArt", + "description": "A word art page element." + }, "table": { "$ref": "Table", "description": "A table page element." }, "objectId": { - "description": "The object ID for this page element. Object IDs used by\ngoogle.apps.slides.v1.Page and\ngoogle.apps.slides.v1.PageElement share the same namespace.", - "type": "string" + "type": "string", + "description": "The object ID for this page element. Object IDs used by\ngoogle.apps.slides.v1.Page and\ngoogle.apps.slides.v1.PageElement share the same namespace." }, "transform": { "$ref": "AffineTransform", @@ -1550,54 +2119,50 @@ "type": "string" }, "elementGroup": { - "description": "A collection of page elements joined as a single unit.", - "$ref": "Group" + "$ref": "Group", + "description": "A collection of page elements joined as a single unit." }, "image": { - "description": "An image page element.", - "$ref": "Image" + "$ref": "Image", + "description": "An image page element." }, "size": { "$ref": "Size", "description": "The size of the page element." }, - "title": { - "description": "The title of the page element. Combined with description to display alt\ntext.", - "type": "string" - }, "sheetsChart": { - "description": "A linked chart embedded from Google Sheets. Unlinked charts are\nrepresented as images.", - "$ref": "SheetsChart" + "$ref": "SheetsChart", + "description": "A linked chart embedded from Google Sheets. Unlinked charts are\nrepresented as images." }, - "video": { - "description": "A video page element.", - "$ref": "Video" + "title": { + "type": "string", + "description": "The title of the page element. Combined with description to display alt\ntext." }, - "wordArt": { - "$ref": "WordArt", - "description": "A word art page element." + "video": { + "$ref": "Video", + "description": "A video page element." } }, "id": "PageElement" }, "CreateImageRequest": { - "id": "CreateImageRequest", - "description": "Creates an image.", "type": "object", "properties": { - "url": { - "description": "The image URL.\n\nThe image is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Images must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.", - "type": "string" - }, "objectId": { - "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", - "type": "string" + "type": "string", + "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated." }, "elementProperties": { "$ref": "PageElementProperties", "description": "The element properties for the image.\n\nWhen the aspect ratio of the provided size does not match the image aspect\nratio, the image is scaled and centered with respect to the size in order\nto maintain aspect ratio. The provided transform is applied after this\noperation." + }, + "url": { + "type": "string", + "description": "The image URL.\n\nThe image is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Images must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat." } - } + }, + "id": "CreateImageRequest", + "description": "Creates an image." }, "CreateParagraphBulletsRequest": { "type": "object", @@ -1607,8 +2172,8 @@ "type": "string" }, "textRange": { - "description": "The range of text to apply the bullet presets to, based on TextElement indexes.", - "$ref": "Range" + "$ref": "Range", + "description": "The range of text to apply the bullet presets to, based on TextElement indexes." }, "bulletPreset": { "enum": [ @@ -1660,26 +2225,6 @@ "description": "Represents the styling that can be applied to a TextRun.\n\nIf this text is contained in a shape with a parent placeholder, then these text styles may be\ninherited from the parent. Which text styles are inherited depend on the\nnesting level of lists:\n\n* A text run in a paragraph that is not in a list will inherit its text style\n from the the newline character in the paragraph at the 0 nesting level of\n the list inside the parent placeholder.\n* A text run in a paragraph that is in a list will inherit its text style\n from the newline character in the paragraph at its corresponding nesting\n level of the list inside the parent placeholder.\n\nInherited text styles are represented as unset fields in this message. If\ntext is contained in a shape without a parent placeholder, unsetting these\nfields will revert the style to a value matching the defaults in the Slides\neditor.", "type": "object", "properties": { - "fontSize": { - "description": "The size of the text's font. When read, the `font_size` will specified in\npoints.", - "$ref": "Dimension" - }, - "baselineOffset": { - "enumDescriptions": [ - "The text's baseline offset is inherited from the parent.", - "The text is not vertically offset.", - "The text is vertically offset upwards (superscript).", - "The text is vertically offset downwards (subscript)." - ], - "enum": [ - "BASELINE_OFFSET_UNSPECIFIED", - "NONE", - "SUPERSCRIPT", - "SUBSCRIPT" - ], - "description": "The text's vertical offset from its normal position.\n\nText with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically\nrendered in a smaller font size, computed based on the `font_size` field.\nThe `font_size` itself is not affected by changes in this field.", - "type": "string" - }, "weightedFontFamily": { "$ref": "WeightedFontFamily", "description": "The font family and rendered weight of the text. This property is\nread-only.\n\nThis field is an extension of `font_family` meant to support explicit font\nweights without breaking backwards compatibility. As such, when reading the\nstyle of a range of text, the value of `weighted_font_family.font_family`\nwill always be equal to that of `font_family`." @@ -1688,18 +2233,18 @@ "description": "Whether or not the text is in small capital letters.", "type": "boolean" }, - "backgroundColor": { - "description": "The background color of the text. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set.", - "$ref": "OptionalColor" + "backgroundColor": { + "$ref": "OptionalColor", + "description": "The background color of the text. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set." + }, + "link": { + "$ref": "Link", + "description": "The hyperlink destination of the text. If unset, there is no link. Links\nare not inherited from parent text.\n\nChanging the link in an update request causes some other changes to the\ntext style of the range:\n\n* When setting a link, the text foreground color will be set to\n ThemeColorType.HYPERLINK and the text will\n be underlined. If these fields are modified in the same\n request, those values will be used instead of the link defaults.\n* Setting a link on a text range that overlaps with an existing link will\n also update the existing link to point to the new URL.\n* Links are not settable on newline characters. As a result, setting a link\n on a text range that crosses a paragraph boundary, such as `\"ABC\\n123\"`,\n will separate the newline character(s) into their own text runs. The\n link will be applied separately to the runs before and after the newline.\n* Removing a link will update the text style of the range to match the\n style of the preceding text (or the default text styles if the preceding\n text is another link) unless different styles are being set in the same\n request." }, "underline": { "type": "boolean", "description": "Whether or not the text is underlined." }, - "link": { - "$ref": "Link", - "description": "The hyperlink destination of the text. If unset, there is no link. Links\nare not inherited from parent text.\n\nChanging the link in an update request causes some other changes to the\ntext style of the range:\n\n* When setting a link, the text foreground color will be set to\n ThemeColorType.HYPERLINK and the text will\n be underlined. If these fields are modified in the same\n request, those values will be used instead of the link defaults.\n* Setting a link on a text range that overlaps with an existing link will\n also update the existing link to point to the new URL.\n* Links are not settable on newline characters. As a result, setting a link\n on a text range that crosses a paragraph boundary, such as `\"ABC\\n123\"`,\n will separate the newline character(s) into their own text runs. The\n link will be applied separately to the runs before and after the newline.\n* Removing a link will update the text style of the range to match the\n style of the preceding text (or the default text styles if the preceding\n text is another link) unless different styles are being set in the same\n request." - }, "bold": { "description": "Whether or not the text is rendered as bold.", "type": "boolean" @@ -1709,16 +2254,36 @@ "description": "The color of the text itself. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set." }, "fontFamily": { - "description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`.\n\nSome fonts can affect the weight of the text. If an update request\nspecifies values for both `font_family` and `bold`, the explicitly-set\n`bold` value is used.", - "type": "string" + "type": "string", + "description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`.\n\nSome fonts can affect the weight of the text. If an update request\nspecifies values for both `font_family` and `bold`, the explicitly-set\n`bold` value is used." + }, + "strikethrough": { + "description": "Whether or not the text is struck through.", + "type": "boolean" }, "italic": { "description": "Whether or not the text is italicized.", "type": "boolean" }, - "strikethrough": { - "description": "Whether or not the text is struck through.", - "type": "boolean" + "fontSize": { + "$ref": "Dimension", + "description": "The size of the text's font. When read, the `font_size` will specified in\npoints." + }, + "baselineOffset": { + "type": "string", + "enumDescriptions": [ + "The text's baseline offset is inherited from the parent.", + "The text is not vertically offset.", + "The text is vertically offset upwards (superscript).", + "The text is vertically offset downwards (subscript)." + ], + "enum": [ + "BASELINE_OFFSET_UNSPECIFIED", + "NONE", + "SUPERSCRIPT", + "SUBSCRIPT" + ], + "description": "The text's vertical offset from its normal position.\n\nText with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically\nrendered in a smaller font size, computed based on the `font_size` field.\nThe `font_size` itself is not affected by changes in this field." } }, "id": "TextStyle" @@ -1728,8 +2293,8 @@ "type": "object", "properties": { "height": { - "description": "The height of the object.", - "$ref": "Dimension" + "$ref": "Dimension", + "description": "The height of the object." }, "width": { "$ref": "Dimension", @@ -1739,12 +2304,9 @@ "id": "Size" }, "UpdateVideoPropertiesRequest": { + "description": "Update the properties of a Video.", "type": "object", "properties": { - "videoProperties": { - "description": "The video properties to update.", - "$ref": "VideoProperties" - }, "fields": { "type": "string", "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `videoProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the video outline color, set `fields` to\n`\"outline.outlineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", @@ -1753,51 +2315,54 @@ "objectId": { "description": "The object ID of the video the updates are applied to.", "type": "string" + }, + "videoProperties": { + "$ref": "VideoProperties", + "description": "The video properties to update." } }, - "id": "UpdateVideoPropertiesRequest", - "description": "Update the properties of a Video." + "id": "UpdateVideoPropertiesRequest" }, "Request": { "description": "A single kind of update to apply to a presentation.", "type": "object", "properties": { "insertText": { - "description": "Inserts text into a shape or table cell.", - "$ref": "InsertTextRequest" + "$ref": "InsertTextRequest", + "description": "Inserts text into a shape or table cell." }, "deleteText": { - "description": "Deletes text from a shape or a table cell.", - "$ref": "DeleteTextRequest" + "$ref": "DeleteTextRequest", + "description": "Deletes text from a shape or a table cell." }, "updatePageProperties": { "$ref": "UpdatePagePropertiesRequest", "description": "Updates the properties of a Page." }, - "deleteParagraphBullets": { - "description": "Deletes bullets from paragraphs.", - "$ref": "DeleteParagraphBulletsRequest" - }, "createShape": { - "description": "Creates a new shape.", - "$ref": "CreateShapeRequest" + "$ref": "CreateShapeRequest", + "description": "Creates a new shape." + }, + "deleteParagraphBullets": { + "$ref": "DeleteParagraphBulletsRequest", + "description": "Deletes bullets from paragraphs." }, "insertTableColumns": { - "description": "Inserts columns into a table.", - "$ref": "InsertTableColumnsRequest" + "$ref": "InsertTableColumnsRequest", + "description": "Inserts columns into a table." }, "refreshSheetsChart": { "$ref": "RefreshSheetsChartRequest", "description": "Refreshes a Google Sheets chart." }, + "updateTableCellProperties": { + "$ref": "UpdateTableCellPropertiesRequest", + "description": "Updates the properties of a TableCell." + }, "createTable": { "$ref": "CreateTableRequest", "description": "Creates a new table." }, - "updateTableCellProperties": { - "description": "Updates the properties of a TableCell.", - "$ref": "UpdateTableCellPropertiesRequest" - }, "deleteObject": { "$ref": "DeleteObjectRequest", "description": "Deletes a page or page element from the presentation." @@ -1806,14 +2371,14 @@ "$ref": "UpdateParagraphStyleRequest", "description": "Updates the styling of paragraphs within a Shape or Table." }, + "duplicateObject": { + "$ref": "DuplicateObjectRequest", + "description": "Duplicates a slide or page element." + }, "deleteTableColumn": { "$ref": "DeleteTableColumnRequest", "description": "Deletes a column from a table." }, - "duplicateObject": { - "description": "Duplicates a slide or page element.", - "$ref": "DuplicateObjectRequest" - }, "createLine": { "$ref": "CreateLineRequest", "description": "Creates a line." @@ -1839,52 +2404,52 @@ "description": "Replaces all shapes matching some criteria with a Google Sheets chart." }, "createSheetsChart": { - "description": "Creates an embedded Google Sheets chart.", - "$ref": "CreateSheetsChartRequest" + "$ref": "CreateSheetsChartRequest", + "description": "Creates an embedded Google Sheets chart." }, "updatePageElementTransform": { - "description": "Updates the transform of a page element.", - "$ref": "UpdatePageElementTransformRequest" + "$ref": "UpdatePageElementTransformRequest", + "description": "Updates the transform of a page element." }, "updateTextStyle": { "$ref": "UpdateTextStyleRequest", "description": "Updates the styling of text within a Shape or Table." }, "replaceAllShapesWithImage": { - "description": "Replaces all shapes matching some criteria with an image.", - "$ref": "ReplaceAllShapesWithImageRequest" + "$ref": "ReplaceAllShapesWithImageRequest", + "description": "Replaces all shapes matching some criteria with an image." }, "replaceAllText": { - "description": "Replaces all instances of specified text.", - "$ref": "ReplaceAllTextRequest" + "$ref": "ReplaceAllTextRequest", + "description": "Replaces all instances of specified text." }, "updateImageProperties": { "$ref": "UpdateImagePropertiesRequest", "description": "Updates the properties of an Image." }, + "createSlide": { + "$ref": "CreateSlideRequest", + "description": "Creates a new slide." + }, "insertTableRows": { "$ref": "InsertTableRowsRequest", "description": "Inserts rows into a table." }, - "createSlide": { - "description": "Creates a new slide.", - "$ref": "CreateSlideRequest" - }, "updateLineProperties": { "$ref": "UpdateLinePropertiesRequest", "description": "Updates the properties of a Line." }, "updateSlidesPosition": { - "description": "Updates the position of a set of slides in the presentation.", - "$ref": "UpdateSlidesPositionRequest" + "$ref": "UpdateSlidesPositionRequest", + "description": "Updates the position of a set of slides in the presentation." }, "deleteTableRow": { "$ref": "DeleteTableRowRequest", "description": "Deletes a row from a table." }, "updateShapeProperties": { - "description": "Updates the properties of a Shape.", - "$ref": "UpdateShapePropertiesRequest" + "$ref": "UpdateShapePropertiesRequest", + "description": "Updates the properties of a Shape." } }, "id": "Request" @@ -1894,9 +2459,9 @@ "type": "object", "properties": { "fields": { + "type": "string", "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `imageProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the image outline color, set `fields` to\n`\"outline.outlineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", - "format": "google-fieldmask", - "type": "string" + "format": "google-fieldmask" }, "imageProperties": { "$ref": "ImageProperties", @@ -1913,52 +2478,26 @@ "description": "Styles that apply to a whole paragraph.\n\nIf this text is contained in a shape with a parent placeholder, then these paragraph styles may be\ninherited from the parent. Which paragraph styles are inherited depend on the\nnesting level of lists:\n\n* A paragraph not in a list will inherit its paragraph style from the\n paragraph at the 0 nesting level of the list inside the parent placeholder.\n* A paragraph in a list will inherit its paragraph style from the paragraph\n at its corresponding nesting level of the list inside the parent\n placeholder.\n\nInherited paragraph styles are represented as unset fields in this message.", "type": "object", "properties": { - "alignment": { - "enumDescriptions": [ - "The paragraph alignment is inherited from the parent.", - "The paragraph is aligned to the start of the line. Left-aligned for\nLTR text, right-aligned otherwise.", - "The paragraph is centered.", - "The paragraph is aligned to the end of the line. Right-aligned for\nLTR text, left-aligned otherwise.", - "The paragraph is justified." - ], - "enum": [ - "ALIGNMENT_UNSPECIFIED", - "START", - "CENTER", - "END", - "JUSTIFIED" - ], - "description": "The text alignment for this paragraph.", - "type": "string" - }, - "lineSpacing": { - "description": "The amount of space between lines, as a percentage of normal, where normal\nis represented as 100.0. If unset, the value is inherited from the parent.", - "format": "float", - "type": "number" - }, - "indentFirstLine": { - "$ref": "Dimension", - "description": "The amount of indentation for the start of the first line of the paragraph.\nIf unset, the value is inherited from the parent." - }, "spaceBelow": { - "description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent.", - "$ref": "Dimension" + "$ref": "Dimension", + "description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent." }, "direction": { - "enum": [ - "TEXT_DIRECTION_UNSPECIFIED", - "LEFT_TO_RIGHT", - "RIGHT_TO_LEFT" - ], - "description": "The text direction of this paragraph. If unset, the value defaults to\nLEFT_TO_RIGHT\nsince text direction is not inherited.", "type": "string", "enumDescriptions": [ "The text direction is inherited from the parent.", "The text goes from left to right.", "The text goes from right to left." - ] + ], + "enum": [ + "TEXT_DIRECTION_UNSPECIFIED", + "LEFT_TO_RIGHT", + "RIGHT_TO_LEFT" + ], + "description": "The text direction of this paragraph. If unset, the value defaults to\nLEFT_TO_RIGHT\nsince text direction is not inherited." }, "spacingMode": { + "type": "string", "enumDescriptions": [ "The spacing mode is inherited from the parent.", "Paragraph spacing is always rendered.", @@ -1969,26 +2508,51 @@ "NEVER_COLLAPSE", "COLLAPSE_LISTS" ], - "description": "The spacing mode for the paragraph.", - "type": "string" + "description": "The spacing mode for the paragraph." }, "indentEnd": { "$ref": "Dimension", "description": "The amount indentation for the paragraph on the side that corresponds to\nthe end of the text, based on the current text direction. If unset, the\nvalue is inherited from the parent." }, "indentStart": { - "description": "The amount indentation for the paragraph on the side that corresponds to\nthe start of the text, based on the current text direction. If unset, the\nvalue is inherited from the parent.", - "$ref": "Dimension" + "$ref": "Dimension", + "description": "The amount indentation for the paragraph on the side that corresponds to\nthe start of the text, based on the current text direction. If unset, the\nvalue is inherited from the parent." }, "spaceAbove": { "$ref": "Dimension", "description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent." + }, + "alignment": { + "type": "string", + "enumDescriptions": [ + "The paragraph alignment is inherited from the parent.", + "The paragraph is aligned to the start of the line. Left-aligned for\nLTR text, right-aligned otherwise.", + "The paragraph is centered.", + "The paragraph is aligned to the end of the line. Right-aligned for\nLTR text, left-aligned otherwise.", + "The paragraph is justified." + ], + "enum": [ + "ALIGNMENT_UNSPECIFIED", + "START", + "CENTER", + "END", + "JUSTIFIED" + ], + "description": "The text alignment for this paragraph." + }, + "lineSpacing": { + "type": "number", + "description": "The amount of space between lines, as a percentage of normal, where normal\nis represented as 100.0. If unset, the value is inherited from the parent.", + "format": "float" + }, + "indentFirstLine": { + "$ref": "Dimension", + "description": "The amount of indentation for the start of the first line of the paragraph.\nIf unset, the value is inherited from the parent." } }, "id": "ParagraphStyle" }, "ReplaceAllShapesWithSheetsChartResponse": { - "description": "The result of replacing shapes with a Google Sheets chart.", "type": "object", "properties": { "occurrencesChanged": { @@ -1997,21 +2561,32 @@ "type": "integer" } }, - "id": "ReplaceAllShapesWithSheetsChartResponse" + "id": "ReplaceAllShapesWithSheetsChartResponse", + "description": "The result of replacing shapes with a Google Sheets chart." }, "TableCellProperties": { "type": "object", "properties": { "tableCellBackgroundFill": { - "description": "The background fill of the table cell. The default fill matches the fill\nfor newly created table cells in the Slides editor.", - "$ref": "TableCellBackgroundFill" + "$ref": "TableCellBackgroundFill", + "description": "The background fill of the table cell. The default fill matches the fill\nfor newly created table cells in the Slides editor." } }, "id": "TableCellProperties", "description": "The properties of the TableCell." }, + "RefreshSheetsChartRequest": { + "type": "object", + "properties": { + "objectId": { + "type": "string", + "description": "The object ID of the chart to refresh." + } + }, + "id": "RefreshSheetsChartRequest", + "description": "Refreshes an embedded Google Sheets chart by replacing it with the latest\nversion of the chart from Google Sheets.\n\nNOTE: Refreshing charts requires at least one of the spreadsheets.readonly,\nspreadsheets, drive.readonly, or drive OAuth scopes." + }, "Outline": { - "description": "The outline of a PageElement.\n\nIf these fields are unset, they may be inherited from a parent placeholder\nif it exists. If there is no parent, the fields will default to the value\nused for new page elements created in the Slides editor, which may depend on\nthe page element kind.", "type": "object", "properties": { "outlineFill": { @@ -2019,11 +2594,10 @@ "description": "The fill of the outline." }, "weight": { - "description": "The thickness of the outline.", - "$ref": "Dimension" + "$ref": "Dimension", + "description": "The thickness of the outline." }, "dashStyle": { - "description": "The dash style of the outline.", "type": "string", "enumDescriptions": [ "Unspecified dash style.", @@ -2042,7 +2616,8 @@ "DASH_DOT", "LONG_DASH", "LONG_DASH_DOT" - ] + ], + "description": "The dash style of the outline." }, "propertyState": { "type": "string", @@ -2059,38 +2634,24 @@ "description": "The outline property state.\n\nUpdating the the outline on a page element will implicitly update this\nfield to`RENDERED`, unless another value is specified in the same request.\nTo have no outline on a page element, set this field to `NOT_RENDERED`. In\nthis case, any other outline fields set in the same request will be\nignored." } }, - "id": "Outline" - }, - "RefreshSheetsChartRequest": { - "properties": { - "objectId": { - "type": "string", - "description": "The object ID of the chart to refresh." - } - }, - "id": "RefreshSheetsChartRequest", - "description": "Refreshes an embedded Google Sheets chart by replacing it with the latest\nversion of the chart from Google Sheets.\n\nNOTE: Refreshing charts requires at least one of the spreadsheets.readonly,\nspreadsheets, drive.readonly, or drive OAuth scopes.", - "type": "object" + "id": "Outline", + "description": "The outline of a PageElement.\n\nIf these fields are unset, they may be inherited from a parent placeholder\nif it exists. If there is no parent, the fields will default to the value\nused for new page elements created in the Slides editor, which may depend on\nthe page element kind." }, - "TableColumnProperties": { - "description": "Properties of each column in a table.", + "NotesProperties": { "type": "object", "properties": { - "columnWidth": { - "$ref": "Dimension", - "description": "Width of a column." + "speakerNotesObjectId": { + "description": "The object ID of the shape on this notes page that contains the speaker\nnotes for the corresponding slide.\nThe actual shape may not always exist on the notes page. Inserting text\nusing this object ID will automatically create the shape. In this case, the\nactual shape may have different object ID. The `GetPresentation` or\n`GetPage` action will always return the latest object ID.", + "type": "string" } }, - "id": "TableColumnProperties" + "id": "NotesProperties", + "description": "The properties of Page that are only\nrelevant for pages with page_type NOTES." }, "ShapeProperties": { "description": "The properties of a Shape.\n\nIf the shape is a placeholder shape as determined by the\nplaceholder field, then these\nproperties may be inherited from a parent placeholder shape.\nDetermining the rendered value of the property depends on the corresponding\nproperty_state field value.", "type": "object", "properties": { - "link": { - "$ref": "Link", - "description": "The hyperlink destination of the shape. If unset, there is no link. Links\nare not inherited from parent placeholders." - }, "outline": { "$ref": "Outline", "description": "The outline of the shape. If unset, the outline is inherited from a\nparent placeholder if it exists. If the shape has no parent, then the\ndefault outline depends on the shape type, matching the defaults for\nnew shapes created in the Slides editor." @@ -2102,20 +2663,24 @@ "shadow": { "$ref": "Shadow", "description": "The shadow properties of the shape. If unset, the shadow is inherited from\na parent placeholder if it exists. If the shape has no parent, then the\ndefault shadow matches the defaults for new shapes created in the Slides\neditor. This property is read-only." + }, + "link": { + "$ref": "Link", + "description": "The hyperlink destination of the shape. If unset, there is no link. Links\nare not inherited from parent placeholders." } }, "id": "ShapeProperties" }, - "NotesProperties": { - "description": "The properties of Page that are only\nrelevant for pages with page_type NOTES.", + "TableColumnProperties": { + "description": "Properties of each column in a table.", "type": "object", "properties": { - "speakerNotesObjectId": { - "description": "The object ID of the shape on this notes page that contains the speaker\nnotes for the corresponding slide.\nThe actual shape may not always exist on the notes page. Inserting text\nusing this object ID will automatically create the shape. In this case, the\nactual shape may have different object ID. The `GetPresentation` or\n`GetPage` action will always return the latest object ID.", - "type": "string" + "columnWidth": { + "$ref": "Dimension", + "description": "Width of a column." } }, - "id": "NotesProperties" + "id": "TableColumnProperties" }, "TableRow": { "description": "Properties and contents of each row in a table.", @@ -2136,8 +2701,14 @@ "id": "TableRow" }, "UpdateTableCellPropertiesRequest": { + "description": "Update the properties of a TableCell.", "type": "object", "properties": { + "fields": { + "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `tableCellProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the table cell background solid fill color, set\n`fields` to `\"tableCellBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", + "format": "google-fieldmask", + "type": "string" + }, "objectId": { "description": "The object ID of the table.", "type": "string" @@ -2149,18 +2720,11 @@ "tableCellProperties": { "$ref": "TableCellProperties", "description": "The table cell properties to update." - }, - "fields": { - "type": "string", - "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `tableCellProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the table cell background solid fill color, set\n`fields` to `\"tableCellBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", - "format": "google-fieldmask" } }, - "id": "UpdateTableCellPropertiesRequest", - "description": "Update the properties of a TableCell." + "id": "UpdateTableCellPropertiesRequest" }, "CreateSlideRequest": { - "description": "Creates a new slide.", "type": "object", "properties": { "slideLayoutReference": { @@ -2177,56 +2741,56 @@ "type": "integer" }, "placeholderIdMappings": { - "description": "An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s)\nthat will be created on the new slide from that specified layout. Can only\nbe used when `slide_layout_reference` is specified.", "type": "array", "items": { "$ref": "LayoutPlaceholderIdMapping" - } + }, + "description": "An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s)\nthat will be created on the new slide from that specified layout. Can only\nbe used when `slide_layout_reference` is specified." } }, - "id": "CreateSlideRequest" + "id": "CreateSlideRequest", + "description": "Creates a new slide." }, "BatchUpdatePresentationRequest": { - "description": "Request message for PresentationsService.BatchUpdatePresentation.", "type": "object", "properties": { - "writeControl": { - "$ref": "WriteControl", - "description": "Provides control over how write requests are executed." - }, "requests": { - "description": "A list of updates to apply to the presentation.", "type": "array", "items": { "$ref": "Request" - } + }, + "description": "A list of updates to apply to the presentation." + }, + "writeControl": { + "$ref": "WriteControl", + "description": "Provides control over how write requests are executed." } }, - "id": "BatchUpdatePresentationRequest" + "id": "BatchUpdatePresentationRequest", + "description": "Request message for PresentationsService.BatchUpdatePresentation." }, "TextContent": { + "type": "object", "properties": { "textElements": { - "description": "The text contents broken down into its component parts, including styling\ninformation. This property is read-only.", "type": "array", "items": { "$ref": "TextElement" - } + }, + "description": "The text contents broken down into its component parts, including styling\ninformation. This property is read-only." }, "lists": { + "type": "object", "additionalProperties": { "$ref": "List" }, - "description": "The bulleted lists contained in this text, keyed by list ID.", - "type": "object" + "description": "The bulleted lists contained in this text, keyed by list ID." } }, "id": "TextContent", - "description": "The general text content. The text must reside in a compatible shape (e.g.\ntext box or rectangle) or a table cell in a page.", - "type": "object" + "description": "The general text content. The text must reside in a compatible shape (e.g.\ntext box or rectangle) or a table cell in a page." }, "CreateSheetsChartResponse": { - "description": "The result of creating an embedded Google Sheets chart.", "type": "object", "properties": { "objectId": { @@ -2234,21 +2798,21 @@ "type": "string" } }, - "id": "CreateSheetsChartResponse" + "id": "CreateSheetsChartResponse", + "description": "The result of creating an embedded Google Sheets chart." }, "WriteControl": { - "id": "WriteControl", "description": "Provides control over how write requests are executed.", "type": "object", "properties": { "requiredRevisionId": { - "description": "The revision ID of the presentation required for the write request. If\nspecified and the `required_revision_id` doesn't exactly match the\npresentation's current `revision_id`, the request will not be processed and\nwill return a 400 bad request error.", - "type": "string" + "type": "string", + "description": "The revision ID of the presentation required for the write request. If\nspecified and the `required_revision_id` doesn't exactly match the\npresentation's current `revision_id`, the request will not be processed and\nwill return a 400 bad request error." } - } + }, + "id": "WriteControl" }, "DeleteParagraphBulletsRequest": { - "description": "Deletes bullets from all of the paragraphs that overlap with the given text\nindex range.\n\nThe nesting level of each paragraph will be visually preserved by adding\nindent to the start of the corresponding paragraph.", "type": "object", "properties": { "objectId": { @@ -2260,29 +2824,29 @@ "description": "The range of text to delete bullets from, based on TextElement indexes." }, "cellLocation": { - "description": "The optional table cell location if the text to be modified is in a table\ncell. If present, the object_id must refer to a table.", - "$ref": "TableCellLocation" + "$ref": "TableCellLocation", + "description": "The optional table cell location if the text to be modified is in a table\ncell. If present, the object_id must refer to a table." } }, - "id": "DeleteParagraphBulletsRequest" + "id": "DeleteParagraphBulletsRequest", + "description": "Deletes bullets from all of the paragraphs that overlap with the given text\nindex range.\n\nThe nesting level of each paragraph will be visually preserved by adding\nindent to the start of the corresponding paragraph." }, "ParagraphMarker": { + "description": "A TextElement kind that represents the beginning of a new paragraph.", "type": "object", "properties": { + "style": { + "$ref": "ParagraphStyle", + "description": "The paragraph's style" + }, "bullet": { "$ref": "Bullet", "description": "The bullet for this paragraph. If not present, the paragraph does not\nbelong to a list." - }, - "style": { - "description": "The paragraph's style", - "$ref": "ParagraphStyle" } }, - "id": "ParagraphMarker", - "description": "A TextElement kind that represents the beginning of a new paragraph." + "id": "ParagraphMarker" }, "InsertTableColumnsRequest": { - "description": "Inserts columns into a table.\n\nOther columns in the table will be resized to fit the new column.", "type": "object", "properties": { "number": { @@ -2299,85 +2863,85 @@ "type": "boolean" }, "tableObjectId": { - "description": "The table to insert columns into.", - "type": "string" + "type": "string", + "description": "The table to insert columns into." } }, - "id": "InsertTableColumnsRequest" + "id": "InsertTableColumnsRequest", + "description": "Inserts columns into a table.\n\nOther columns in the table will be resized to fit the new column." }, "Thumbnail": { - "description": "The thumbnail of a page.", "type": "object", "properties": { - "height": { - "description": "The positive height in pixels of the thumbnail image.", - "format": "int32", - "type": "integer" - }, "contentUrl": { - "description": "The content URL of the thumbnail image.\n\nThe URL to the image has a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.\nThe mime type of the thumbnail image is the same as specified in the\n`GetPageThumbnailRequest`.", - "type": "string" + "type": "string", + "description": "The content URL of the thumbnail image.\n\nThe URL to the image has a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.\nThe mime type of the thumbnail image is the same as specified in the\n`GetPageThumbnailRequest`." }, "width": { + "type": "integer", "description": "The positive width in pixels of the thumbnail image.", + "format": "int32" + }, + "height": { + "description": "The positive height in pixels of the thumbnail image.", "format": "int32", "type": "integer" } }, - "id": "Thumbnail" + "id": "Thumbnail", + "description": "The thumbnail of a page." }, "LayoutPlaceholderIdMapping": { + "description": "The user-specified ID mapping for a placeholder that will be created on a\nslide from a specified layout.", "type": "object", "properties": { + "objectId": { + "description": "A user-supplied object ID for the placeholder identified above that to be\ncreated onto a slide.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", + "type": "string" + }, "layoutPlaceholder": { - "description": "The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a\npredefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder\nwith index 0 and a BODY placeholder with index 0.", - "$ref": "Placeholder" + "$ref": "Placeholder", + "description": "The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a\npredefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder\nwith index 0 and a BODY placeholder with index 0." }, "layoutPlaceholderObjectId": { - "type": "string", - "description": "The object ID of the placeholder on a layout that will be applied\nto a slide." - }, - "objectId": { - "description": "A user-supplied object ID for the placeholder identified above that to be\ncreated onto a slide.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", + "description": "The object ID of the placeholder on a layout that will be applied\nto a slide.", "type": "string" } }, - "id": "LayoutPlaceholderIdMapping", - "description": "The user-specified ID mapping for a placeholder that will be created on a\nslide from a specified layout." + "id": "LayoutPlaceholderIdMapping" }, "UpdateShapePropertiesRequest": { + "description": "Update the properties of a Shape.", + "type": "object", "properties": { "fields": { + "type": "string", "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `shapeProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the shape background solid fill color, set `fields`\nto `\"shapeBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", - "format": "google-fieldmask", - "type": "string" + "format": "google-fieldmask" }, "objectId": { - "description": "The object ID of the shape the updates are applied to.", - "type": "string" + "type": "string", + "description": "The object ID of the shape the updates are applied to." }, "shapeProperties": { "$ref": "ShapeProperties", "description": "The shape properties to update." } }, - "id": "UpdateShapePropertiesRequest", - "description": "Update the properties of a Shape.", - "type": "object" + "id": "UpdateShapePropertiesRequest" }, "WordArt": { - "id": "WordArt", - "description": "A PageElement kind representing\nword art.", "type": "object", "properties": { "renderedText": { "description": "The text rendered as word art.", "type": "string" } - } + }, + "id": "WordArt", + "description": "A PageElement kind representing\nword art." }, "Recolor": { - "id": "Recolor", "description": "A recolor effect applied on an image.", "type": "object", "properties": { @@ -2389,6 +2953,7 @@ } }, "name": { + "type": "string", "enumDescriptions": [ "No recolor effect. The default value.", "A recolor effect that lightens the image using the page's first available\ncolor from its color scheme.", @@ -2443,20 +3008,25 @@ "SEPIA", "CUSTOM" ], - "description": "The name of the recolor effect.\n\nThe name is determined from the `recolor_stops` by matching the gradient\nagainst the colors in the page's current color scheme. This property is\nread-only.", - "type": "string" + "description": "The name of the recolor effect.\n\nThe name is determined from the `recolor_stops` by matching the gradient\nagainst the colors in the page's current color scheme. This property is\nread-only." } - } + }, + "id": "Recolor" }, "Link": { "description": "A hypertext link.", "type": "object", "properties": { - "url": { - "description": "If set, indicates this is a link to the external web page at this URL.", + "pageObjectId": { + "description": "If set, indicates this is a link to the specific page in this\npresentation with this ID. A page with this ID may not exist.", "type": "string" }, + "url": { + "type": "string", + "description": "If set, indicates this is a link to the external web page at this URL." + }, "relativeLink": { + "type": "string", "enumDescriptions": [ "An unspecified relative slide link.", "A link to the next slide.", @@ -2471,53 +3041,48 @@ "FIRST_SLIDE", "LAST_SLIDE" ], - "description": "If set, indicates this is a link to a slide in this presentation,\naddressed by its position.", - "type": "string" + "description": "If set, indicates this is a link to a slide in this presentation,\naddressed by its position." }, "slideIndex": { + "type": "integer", "description": "If set, indicates this is a link to the slide at this zero-based index\nin the presentation. There may not be a slide at this index.", - "format": "int32", - "type": "integer" - }, - "pageObjectId": { - "type": "string", - "description": "If set, indicates this is a link to the specific page in this\npresentation with this ID. A page with this ID may not exist." + "format": "int32" } }, "id": "Link" }, "RgbColor": { + "description": "An RGB color.", + "type": "object", "properties": { - "red": { - "description": "The red component of the color, from 0.0 to 1.0.", - "format": "float", - "type": "number" - }, "green": { "description": "The green component of the color, from 0.0 to 1.0.", "format": "float", "type": "number" }, "blue": { + "type": "number", "description": "The blue component of the color, from 0.0 to 1.0.", + "format": "float" + }, + "red": { + "description": "The red component of the color, from 0.0 to 1.0.", "format": "float", "type": "number" } }, - "id": "RgbColor", - "description": "An RGB color.", - "type": "object" + "id": "RgbColor" }, "CreateShapeResponse": { - "description": "The result of creating a shape.", "type": "object", "properties": { "objectId": { - "description": "The object ID of the created shape.", - "type": "string" + "type": "string", + "description": "The object ID of the created shape." } }, - "id": "CreateShapeResponse" + "id": "CreateShapeResponse", + "description": "The result of creating a shape." }, "CreateLineRequest": { "type": "object", @@ -2531,6 +3096,7 @@ "description": "The element properties for the line." }, "lineCategory": { + "type": "string", "enumDescriptions": [ "Straight connectors, including straight connector 1. The is the default\ncategory when one is not specified.", "Bent connectors, including bent connector 2 to 5.", @@ -2541,26 +3107,24 @@ "BENT", "CURVED" ], - "description": "The category of line to be created.", - "type": "string" + "description": "The category of line to be created." } }, "id": "CreateLineRequest", "description": "Creates a line." }, "CreateSlideResponse": { - "id": "CreateSlideResponse", - "description": "The result of creating a slide.", "type": "object", "properties": { "objectId": { - "description": "The object ID of the created slide.", - "type": "string" + "type": "string", + "description": "The object ID of the created slide." } - } + }, + "id": "CreateSlideResponse", + "description": "The result of creating a slide." }, "CreateShapeRequest": { - "description": "Creates a new shape.", "type": "object", "properties": { "objectId": { @@ -2568,151 +3132,6 @@ "type": "string" }, "shapeType": { - "enumDescriptions": [ - "The shape type that is not predefined.", - "Text box shape.", - "Rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'rect'.", - "Round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'roundRect'", - "Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'", - "Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'", - "Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentArrow'", - "Bent up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentUpArrow'", - "Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'", - "Block arc shape. Corresponds to ECMA-376 ST_ShapeType 'blockArc'", - "Brace pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracePair'", - "Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracketPair'", - "Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'", - "Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'", - "Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'", - "Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'", - "Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'", - "Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'", - "Curved down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedDownArrow'", - "Curved left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedLeftArrow'", - "Curved right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedRightArrow'", - "Curved up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedUpArrow'", - "Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'", - "Diagonal stripe shape. Corresponds to ECMA-376 ST_ShapeType 'diagStripe'", - "Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'", - "Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType 'dodecagon'", - "Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'", - "Double wave shape. Corresponds to ECMA-376 ST_ShapeType 'doubleWave'", - "Down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'downArrow'", - "Callout down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'downArrowCallout'", - "Folded corner shape. Corresponds to ECMA-376 ST_ShapeType 'foldedCorner'", - "Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'", - "Half frame shape. Corresponds to ECMA-376 ST_ShapeType 'halfFrame'", - "Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'", - "Heptagon shape. Corresponds to ECMA-376 ST_ShapeType 'heptagon'", - "Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'", - "Home plate shape. Corresponds to ECMA-376 ST_ShapeType 'homePlate'", - "Horizontal scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'horizontalScroll'", - "Irregular seal 1 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal1'", - "Irregular seal 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal2'", - "Left arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftArrow'", - "Callout left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftArrowCallout'", - "Left brace shape. Corresponds to ECMA-376 ST_ShapeType 'leftBrace'", - "Left bracket shape. Corresponds to ECMA-376 ST_ShapeType 'leftBracket'", - "Left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrow'", - "Callout left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrowCallout'", - "Left right up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightUpArrow'", - "Left up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftUpArrow'", - "Lightning bolt shape. Corresponds to ECMA-376 ST_ShapeType\n'lightningBolt'", - "Divide math shape. Corresponds to ECMA-376 ST_ShapeType 'mathDivide'", - "Equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathEqual'", - "Minus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMinus'", - "Multiply math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMultiply'", - "Not equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathNotEqual'", - "Plus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathPlus'", - "Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'", - "No smoking shape. Corresponds to ECMA-376 ST_ShapeType 'noSmoking'", - "Notched right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'notchedRightArrow'", - "Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'", - "Parallelogram shape. Corresponds to ECMA-376 ST_ShapeType 'parallelogram'", - "Pentagon shape. Corresponds to ECMA-376 ST_ShapeType 'pentagon'", - "Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'", - "Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'", - "Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'", - "Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType 'quadArrow'", - "Callout quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'quadArrowCallout'", - "Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'", - "Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon2'", - "Right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'rightArrow'", - "Callout right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'rightArrowCallout'", - "Right brace shape. Corresponds to ECMA-376 ST_ShapeType 'rightBrace'", - "Right bracket shape. Corresponds to ECMA-376 ST_ShapeType 'rightBracket'", - "One round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'round1Rect'", - "Two diagonal round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2DiagRect'", - "Two same-side round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2SameRect'", - "Right triangle shape. Corresponds to ECMA-376 ST_ShapeType 'rtTriangle'", - "Smiley face shape. Corresponds to ECMA-376 ST_ShapeType 'smileyFace'", - "One snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'snip1Rect'", - "Two diagonal snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2DiagRect'", - "Two same-side snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2SameRect'", - "One snip one round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snipRoundRect'", - "Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star10'", - "Twelve pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star12'", - "Sixteen pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star16'", - "Twenty four pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star24'", - "Thirty two pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star32'", - "Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star4'", - "Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star5'", - "Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star6'", - "Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star7'", - "Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star8'", - "Striped right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'stripedRightArrow'", - "Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'", - "Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType 'trapezoid'", - "Triangle shape. Corresponds to ECMA-376 ST_ShapeType 'triangle'", - "Up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upArrow'", - "Callout up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'upArrowCallout'", - "Up down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upDownArrow'", - "U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType 'uturnArrow'", - "Vertical scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'verticalScroll'", - "Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'", - "Callout wedge ellipse shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeEllipseCallout'", - "Callout wedge rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRectCallout'", - "Callout wedge round rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRoundRectCallout'", - "Alternate process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartAlternateProcess'", - "Collate flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartCollate'", - "Connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartConnector'", - "Decision flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDecision'", - "Delay flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDelay'", - "Display flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDisplay'", - "Document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDocument'", - "Extract flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartExtract'", - "Input output flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInputOutput'", - "Internal storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInternalStorage'", - "Magnetic disk flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDisk'", - "Magnetic drum flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDrum'", - "Magnetic tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticTape'", - "Manual input flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualInput'", - "Manual operation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualOperation'", - "Merge flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMerge'", - "Multi-document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMultidocument'", - "Offline storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOfflineStorage'", - "Off-page connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOffpageConnector'", - "Online storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOnlineStorage'", - "Or flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOr'", - "Predefined process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPredefinedProcess'", - "Preparation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPreparation'", - "Process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartProcess'", - "Punched card flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedCard'", - "Punched tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedTape'", - "Sort flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartSort'", - "Summing junction flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartSummingJunction'", - "Terminator flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartTerminator'", - "East arrow shape.", - "Northeast arrow shape.", - "North arrow shape.", - "Speech shape.", - "Star burst shape.", - "Teardrop shape. Corresponds to ECMA-376 ST_ShapeType 'teardrop'", - "Ellipse ribbon shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon'", - "Ellipse ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon2'", - "Callout cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloudCallout'", - "Custom shape." - ], "enum": [ "TYPE_UNSPECIFIED", "TEXT_BOX", @@ -2859,49 +3278,193 @@ "CUSTOM" ], "description": "The shape type.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "The shape type that is not predefined.", + "Text box shape.", + "Rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'rect'.", + "Round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'roundRect'", + "Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'", + "Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'", + "Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentArrow'", + "Bent up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentUpArrow'", + "Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'", + "Block arc shape. Corresponds to ECMA-376 ST_ShapeType 'blockArc'", + "Brace pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracePair'", + "Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracketPair'", + "Can shape. Corresponds to ECMA-376 ST_ShapeType 'can'", + "Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'", + "Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'", + "Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'", + "Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'", + "Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'", + "Curved down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedDownArrow'", + "Curved left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedLeftArrow'", + "Curved right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedRightArrow'", + "Curved up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'curvedUpArrow'", + "Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'", + "Diagonal stripe shape. Corresponds to ECMA-376 ST_ShapeType 'diagStripe'", + "Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'", + "Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType 'dodecagon'", + "Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'", + "Double wave shape. Corresponds to ECMA-376 ST_ShapeType 'doubleWave'", + "Down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'downArrow'", + "Callout down arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'downArrowCallout'", + "Folded corner shape. Corresponds to ECMA-376 ST_ShapeType 'foldedCorner'", + "Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'", + "Half frame shape. Corresponds to ECMA-376 ST_ShapeType 'halfFrame'", + "Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'", + "Heptagon shape. Corresponds to ECMA-376 ST_ShapeType 'heptagon'", + "Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'", + "Home plate shape. Corresponds to ECMA-376 ST_ShapeType 'homePlate'", + "Horizontal scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'horizontalScroll'", + "Irregular seal 1 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal1'", + "Irregular seal 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'irregularSeal2'", + "Left arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftArrow'", + "Callout left arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftArrowCallout'", + "Left brace shape. Corresponds to ECMA-376 ST_ShapeType 'leftBrace'", + "Left bracket shape. Corresponds to ECMA-376 ST_ShapeType 'leftBracket'", + "Left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrow'", + "Callout left right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightArrowCallout'", + "Left right up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'leftRightUpArrow'", + "Left up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftUpArrow'", + "Lightning bolt shape. Corresponds to ECMA-376 ST_ShapeType\n'lightningBolt'", + "Divide math shape. Corresponds to ECMA-376 ST_ShapeType 'mathDivide'", + "Equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathEqual'", + "Minus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMinus'", + "Multiply math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMultiply'", + "Not equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathNotEqual'", + "Plus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathPlus'", + "Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'", + "No smoking shape. Corresponds to ECMA-376 ST_ShapeType 'noSmoking'", + "Notched right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'notchedRightArrow'", + "Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'", + "Parallelogram shape. Corresponds to ECMA-376 ST_ShapeType 'parallelogram'", + "Pentagon shape. Corresponds to ECMA-376 ST_ShapeType 'pentagon'", + "Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'", + "Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'", + "Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'", + "Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType 'quadArrow'", + "Callout quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'quadArrowCallout'", + "Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'", + "Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon2'", + "Right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'rightArrow'", + "Callout right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'rightArrowCallout'", + "Right brace shape. Corresponds to ECMA-376 ST_ShapeType 'rightBrace'", + "Right bracket shape. Corresponds to ECMA-376 ST_ShapeType 'rightBracket'", + "One round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'round1Rect'", + "Two diagonal round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2DiagRect'", + "Two same-side round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'round2SameRect'", + "Right triangle shape. Corresponds to ECMA-376 ST_ShapeType 'rtTriangle'", + "Smiley face shape. Corresponds to ECMA-376 ST_ShapeType 'smileyFace'", + "One snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'snip1Rect'", + "Two diagonal snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2DiagRect'", + "Two same-side snip corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snip2SameRect'", + "One snip one round corner rectangle shape. Corresponds to ECMA-376\nST_ShapeType 'snipRoundRect'", + "Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star10'", + "Twelve pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star12'", + "Sixteen pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star16'", + "Twenty four pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star24'", + "Thirty two pointed star shape. Corresponds to ECMA-376 ST_ShapeType\n'star32'", + "Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star4'", + "Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star5'", + "Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star6'", + "Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star7'", + "Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star8'", + "Striped right arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'stripedRightArrow'", + "Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'", + "Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType 'trapezoid'", + "Triangle shape. Corresponds to ECMA-376 ST_ShapeType 'triangle'", + "Up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upArrow'", + "Callout up arrow shape. Corresponds to ECMA-376 ST_ShapeType\n'upArrowCallout'", + "Up down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upDownArrow'", + "U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType 'uturnArrow'", + "Vertical scroll shape. Corresponds to ECMA-376 ST_ShapeType\n'verticalScroll'", + "Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'", + "Callout wedge ellipse shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeEllipseCallout'", + "Callout wedge rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRectCallout'", + "Callout wedge round rectangle shape. Corresponds to ECMA-376 ST_ShapeType\n'wedgeRoundRectCallout'", + "Alternate process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartAlternateProcess'", + "Collate flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartCollate'", + "Connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartConnector'", + "Decision flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDecision'", + "Delay flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDelay'", + "Display flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDisplay'", + "Document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartDocument'", + "Extract flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartExtract'", + "Input output flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInputOutput'", + "Internal storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartInternalStorage'", + "Magnetic disk flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDisk'", + "Magnetic drum flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticDrum'", + "Magnetic tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMagneticTape'", + "Manual input flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualInput'", + "Manual operation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartManualOperation'", + "Merge flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMerge'", + "Multi-document flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartMultidocument'", + "Offline storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOfflineStorage'", + "Off-page connector flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOffpageConnector'", + "Online storage flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartOnlineStorage'", + "Or flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOr'", + "Predefined process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPredefinedProcess'", + "Preparation flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPreparation'", + "Process flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartProcess'", + "Punched card flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedCard'", + "Punched tape flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartPunchedTape'", + "Sort flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartSort'", + "Summing junction flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartSummingJunction'", + "Terminator flow shape. Corresponds to ECMA-376 ST_ShapeType\n'flowChartTerminator'", + "East arrow shape.", + "Northeast arrow shape.", + "North arrow shape.", + "Speech shape.", + "Star burst shape.", + "Teardrop shape. Corresponds to ECMA-376 ST_ShapeType 'teardrop'", + "Ellipse ribbon shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon'", + "Ellipse ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType\n'ellipseRibbon2'", + "Callout cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloudCallout'", + "Custom shape." + ] }, "elementProperties": { - "description": "The element properties for the shape.", - "$ref": "PageElementProperties" + "$ref": "PageElementProperties", + "description": "The element properties for the shape." } }, - "id": "CreateShapeRequest" + "id": "CreateShapeRequest", + "description": "Creates a new shape." }, "Video": { - "id": "Video", "description": "A PageElement kind representing a\nvideo.", "type": "object", "properties": { - "url": { - "description": "An URL to a video. The URL is valid as long as the source video\nexists and sharing settings do not change.", - "type": "string" - }, - "id": { - "description": "The video source's unique identifier for this video.", - "type": "string" - }, - "videoProperties": { - "description": "The properties of the video.", - "$ref": "VideoProperties" - }, "source": { - "enumDescriptions": [ - "The video source is unspecified.", - "The video source is YouTube." - ], "enum": [ "SOURCE_UNSPECIFIED", "YOUTUBE" ], "description": "The video source.", + "type": "string", + "enumDescriptions": [ + "The video source is unspecified.", + "The video source is YouTube." + ] + }, + "url": { + "type": "string", + "description": "An URL to a video. The URL is valid as long as the source video\nexists and sharing settings do not change." + }, + "id": { + "description": "The video source's unique identifier for this video.", "type": "string" + }, + "videoProperties": { + "$ref": "VideoProperties", + "description": "The properties of the video." } - } + }, + "id": "Video" }, "PageProperties": { - "id": "PageProperties", - "description": "The properties of the Page.\n\nThe page will inherit properties from the parent page. Depending on the page\ntype the hierarchy is defined in either\nSlideProperties or\nLayoutProperties.", "type": "object", "properties": { "pageBackgroundFill": { @@ -2912,21 +3475,11 @@ "$ref": "ColorScheme", "description": "The color scheme of the page. If unset, the color scheme is inherited from\na parent page. If the page has no parent, the color scheme uses a default\nSlides color scheme. This field is read-only." } - } - }, - "NestingLevel": { - "description": "Contains properties describing the look and feel of a list bullet at a given\nlevel of nesting.", - "type": "object", - "properties": { - "bulletStyle": { - "$ref": "TextStyle", - "description": "The style of a bullet at this level of nesting." - } }, - "id": "NestingLevel" + "id": "PageProperties", + "description": "The properties of the Page.\n\nThe page will inherit properties from the parent page. Depending on the page\ntype the hierarchy is defined in either\nSlideProperties or\nLayoutProperties." }, "TableCell": { - "description": "Properties and contents of each table cell.", "type": "object", "properties": { "location": { @@ -2934,9 +3487,9 @@ "description": "The location of the cell within the table." }, "rowSpan": { + "type": "integer", "description": "Row span of the cell.", - "format": "int32", - "type": "integer" + "format": "int32" }, "columnSpan": { "description": "Column span of the cell.", @@ -2944,269 +3497,70 @@ "type": "integer" }, "text": { - "description": "The text content of the cell.", - "$ref": "TextContent" + "$ref": "TextContent", + "description": "The text content of the cell." }, "tableCellProperties": { - "$ref": "TableCellProperties", - "description": "The properties of the table cell." - } - }, - "id": "TableCell" - }, - "UpdateLinePropertiesRequest": { - "description": "Updates the properties of a Line.", - "type": "object", - "properties": { - "lineProperties": { - "$ref": "LineProperties", - "description": "The line properties to update." - }, - "fields": { - "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `lineProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the line solid fill color, set `fields` to\n`\"lineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", - "format": "google-fieldmask", - "type": "string" - }, - "objectId": { - "description": "The object ID of the line the update is applied to.", - "type": "string" - } - }, - "id": "UpdateLinePropertiesRequest" - }, - "UpdateSlidesPositionRequest": { - "description": "Updates the position of slides in the presentation.", - "type": "object", - "properties": { - "insertionIndex": { - "description": "The index where the slides should be inserted, based on the slide\narrangement before the move takes place. Must be between zero and the\nnumber of slides in the presentation, inclusive.", - "format": "int32", - "type": "integer" - }, - "slideObjectIds": { - "description": "The IDs of the slides in the presentation that should be moved.\nThe slides in this list must be in existing presentation order, without\nduplicates.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "UpdateSlidesPositionRequest" - }, - "TableCellBackgroundFill": { - "id": "TableCellBackgroundFill", - "description": "The table cell background fill.", - "type": "object", - "properties": { - "propertyState": { - "description": "The background fill property state.\n\nUpdating the the fill on a table cell will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no fill on a table cell, set this field to `NOT_RENDERED`. In this\ncase, any other fill fields set in the same request will be ignored.", - "type": "string", - "enumDescriptions": [ - "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.", - "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.", - "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." - ], - "enum": [ - "RENDERED", - "NOT_RENDERED", - "INHERIT" - ] - }, - "solidFill": { - "description": "Solid color fill.", - "$ref": "SolidFill" - } - } - }, - "UpdatePagePropertiesRequest": { - "description": "Updates the properties of a Page.", - "type": "object", - "properties": { - "objectId": { - "description": "The object ID of the page the update is applied to.", - "type": "string" - }, - "pageProperties": { - "$ref": "PageProperties", - "description": "The page properties to update." - }, - "fields": { - "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `pageProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the page background solid fill color, set `fields`\nto `\"pageBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", - "format": "google-fieldmask", - "type": "string" - } - }, - "id": "UpdatePagePropertiesRequest" - }, - "Group": { - "description": "A PageElement kind representing a\njoined collection of PageElements.", - "type": "object", - "properties": { - "children": { - "description": "The collection of elements in the group. The minimum size of a group is 2.", - "type": "array", - "items": { - "$ref": "PageElement" - } - } - }, - "id": "Group" - }, - "Placeholder": { - "description": "The placeholder information that uniquely identifies a placeholder shape.", - "type": "object", - "properties": { - "index": { - "description": "The index of the placeholder. If the same placeholder types are present in\nthe same page, they would have different index values.", - "format": "int32", - "type": "integer" - }, - "type": { - "enumDescriptions": [ - "Default value, signifies it is not a placeholder.", - "Body text.", - "Chart or graph.", - "Clip art image.", - "Title centered.", - "Diagram.", - "Date and time.", - "Footer text.", - "Header text.", - "Multimedia.", - "Any content type.", - "Picture.", - "Number of a slide.", - "Subtitle.", - "Table.", - "Slide title.", - "Slide image." - ], - "enum": [ - "NONE", - "BODY", - "CHART", - "CLIP_ART", - "CENTERED_TITLE", - "DIAGRAM", - "DATE_AND_TIME", - "FOOTER", - "HEADER", - "MEDIA", - "OBJECT", - "PICTURE", - "SLIDE_NUMBER", - "SUBTITLE", - "TABLE", - "TITLE", - "SLIDE_IMAGE" - ], - "description": "The type of the placeholder.", - "type": "string" - }, - "parentObjectId": { - "type": "string", - "description": "The object ID of this shape's parent placeholder.\nIf unset, the parent placeholder shape does not exist, so the shape does\nnot inherit properties from any other shape." + "$ref": "TableCellProperties", + "description": "The properties of the table cell." } }, - "id": "Placeholder" + "id": "TableCell", + "description": "Properties and contents of each table cell." }, - "DuplicateObjectRequest": { + "NestingLevel": { + "type": "object", "properties": { - "objectId": { - "description": "The ID of the object to duplicate.", - "type": "string" - }, - "objectIds": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The object being duplicated may contain other objects, for example when\nduplicating a slide or a group page element. This map defines how the IDs\nof duplicated objects are generated: the keys are the IDs of the original\nobjects and its values are the IDs that will be assigned to the\ncorresponding duplicate object. The ID of the source object's duplicate\nmay be specified in this map as well, using the same value of the\n`object_id` field as a key and the newly desired ID as the value.\n\nAll keys must correspond to existing IDs in the presentation. All values\nmust be unique in the presentation and must start with an alphanumeric\ncharacter or an underscore (matches regex `[a-zA-Z0-9_]`); remaining\ncharacters may include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or\ngreater than 50.\n\nIf any IDs of source objects are omitted from the map, a new random ID will\nbe assigned. If the map is empty or unset, all duplicate objects will\nreceive a new random ID." + "bulletStyle": { + "$ref": "TextStyle", + "description": "The style of a bullet at this level of nesting." } }, - "id": "DuplicateObjectRequest", - "description": "Duplicates a slide or page element.\n\nWhen duplicating a slide, the duplicate slide will be created immediately\nfollowing the specified slide. When duplicating a page element, the duplicate\nwill be placed on the same page at the same position as the original.", - "type": "object" + "id": "NestingLevel", + "description": "Contains properties describing the look and feel of a list bullet at a given\nlevel of nesting." }, - "ReplaceAllTextRequest": { - "description": "Replaces all instances of text matching a criteria with replace text.", + "UpdateLinePropertiesRequest": { + "description": "Updates the properties of a Line.", "type": "object", "properties": { - "replaceText": { - "description": "The text that will replace the matched text.", + "lineProperties": { + "$ref": "LineProperties", + "description": "The line properties to update." + }, + "fields": { + "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `lineProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the line solid fill color, set `fields` to\n`\"lineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", + "format": "google-fieldmask", "type": "string" }, - "containsText": { - "$ref": "SubstringMatchCriteria", - "description": "Finds text in a shape matching this substring." + "objectId": { + "type": "string", + "description": "The object ID of the line the update is applied to." } }, - "id": "ReplaceAllTextRequest" + "id": "UpdateLinePropertiesRequest" }, - "Page": { + "UpdateSlidesPositionRequest": { "type": "object", "properties": { - "revisionId": { - "description": "The revision ID of the presentation containing this page. Can be used in\nupdate requests to assert that the presentation revision hasn't changed\nsince the last read operation. Only populated if the user has edit access\nto the presentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. If the\nrevision ID is unchanged between calls, then the presentation has not\nchanged. Conversely, a changed ID (for the same presentation and user)\nusually means the presentation has been updated; however, a changed ID can\nalso be due to internal factors such as ID format changes.", - "type": "string" - }, - "layoutProperties": { - "$ref": "LayoutProperties", - "description": "Layout specific properties. Only set if page_type = LAYOUT." + "insertionIndex": { + "description": "The index where the slides should be inserted, based on the slide\narrangement before the move takes place. Must be between zero and the\nnumber of slides in the presentation, inclusive.", + "format": "int32", + "type": "integer" }, - "pageElements": { - "description": "The page elements rendered on the page.", + "slideObjectIds": { "type": "array", "items": { - "$ref": "PageElement" - } - }, - "notesProperties": { - "description": "Notes specific properties. Only set if page_type = NOTES.", - "$ref": "NotesProperties" - }, - "pageType": { - "enumDescriptions": [ - "A slide page.", - "A master slide page.", - "A layout page.", - "A notes page.", - "A notes master page." - ], - "enum": [ - "SLIDE", - "MASTER", - "LAYOUT", - "NOTES", - "NOTES_MASTER" - ], - "description": "The type of the page.", - "type": "string" - }, - "slideProperties": { - "$ref": "SlideProperties", - "description": "Slide specific properties. Only set if page_type = SLIDE." - }, - "pageProperties": { - "$ref": "PageProperties", - "description": "The properties of the page." - }, - "objectId": { - "description": "The object ID for this page. Object IDs used by\nPage and\nPageElement share the same namespace.", - "type": "string" + "type": "string" + }, + "description": "The IDs of the slides in the presentation that should be moved.\nThe slides in this list must be in existing presentation order, without\nduplicates." } }, - "id": "Page", - "description": "A page in a presentation." + "id": "UpdateSlidesPositionRequest", + "description": "Updates the position of slides in the presentation." }, - "ShapeBackgroundFill": { - "description": "The shape background fill.", + "TableCellBackgroundFill": { "type": "object", "properties": { - "solidFill": { - "description": "Solid color fill.", - "$ref": "SolidFill" - }, "propertyState": { "type": "string", "enumDescriptions": [ @@ -3219,386 +3573,296 @@ "NOT_RENDERED", "INHERIT" ], - "description": "The background fill property state.\n\nUpdating the the fill on a shape will implicitly update this field to\n`RENDERED`, unless another value is specified in the same request. To\nhave no fill on a shape, set this field to `NOT_RENDERED`. In this case,\nany other fill fields set in the same request will be ignored." - } - }, - "id": "ShapeBackgroundFill" - }, - "CropProperties": { - "type": "object", - "properties": { - "angle": { - "description": "The rotation angle of the crop window around its center, in radians.\nRotation angle is applied after the offset.", - "format": "float", - "type": "number" - }, - "topOffset": { - "description": "The offset specifies the top edge of the crop rectangle that is located\nbelow the original bounding rectangle top edge, relative to the object's\noriginal height.", - "format": "float", - "type": "number" - }, - "leftOffset": { - "description": "The offset specifies the left edge of the crop rectangle that is located to\nthe right of the original bounding rectangle left edge, relative to the\nobject's original width.", - "format": "float", - "type": "number" + "description": "The background fill property state.\n\nUpdating the the fill on a table cell will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no fill on a table cell, set this field to `NOT_RENDERED`. In this\ncase, any other fill fields set in the same request will be ignored." }, - "rightOffset": { - "description": "The offset specifies the right edge of the crop rectangle that is located\nto the left of the original bounding rectangle right edge, relative to the\nobject's original width.", - "format": "float", - "type": "number" - }, - "bottomOffset": { - "description": "The offset specifies the bottom edge of the crop rectangle that is located\nabove the original bounding rectangle bottom edge, relative to the object's\noriginal height.", - "format": "float", - "type": "number" + "solidFill": { + "$ref": "SolidFill", + "description": "Solid color fill." } }, - "id": "CropProperties", - "description": "The crop properties of an object enclosed in a container. For example, an\nImage.\n\nThe crop properties is represented by the offsets of four edges which define\na crop rectangle. The offsets are measured in percentage from the\ncorresponding edges of the object's original bounding rectangle towards\ninside, relative to the object's original dimensions.\n\n- If the offset is in the interval (0, 1), the corresponding edge of crop\nrectangle is positioned inside of the object's original bounding rectangle.\n- If the offset is negative or greater than 1, the corresponding edge of crop\nrectangle is positioned outside of the object's original bounding rectangle.\n- If the left edge of the crop rectangle is on the right side of its right\nedge, the object will be flipped horizontally.\n- If the top edge of the crop rectangle is below its bottom edge, the object\nwill be flipped vertically.\n- If all offsets and rotation angle is 0, the object is not cropped.\n\nAfter cropping, the content in the crop rectangle will be stretched to fit\nits container." + "id": "TableCellBackgroundFill", + "description": "The table cell background fill." }, - "ReplaceAllShapesWithSheetsChartRequest": { - "description": "Replaces all shapes that match the given criteria with the provided Google\nSheets chart. The chart will be scaled and centered to fit within the bounds\nof the original shape.\n\nNOTE: Replacing shapes with a chart requires at least one of the\nspreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.", + "UpdatePagePropertiesRequest": { + "description": "Updates the properties of a Page.", "type": "object", "properties": { - "spreadsheetId": { + "fields": { "type": "string", - "description": "The ID of the Google Sheets spreadsheet that contains the chart." - }, - "linkingMode": { - "enumDescriptions": [ - "The chart is not associated with the source spreadsheet and cannot be\nupdated. A chart that is not linked will be inserted as an image.", - "Linking the chart allows it to be updated, and other collaborators will\nsee a link to the spreadsheet." - ], - "enum": [ - "NOT_LINKED_IMAGE", - "LINKED" - ], - "description": "The mode with which the chart is linked to the source spreadsheet. When\nnot specified, the chart will be an image that is not linked.", - "type": "string" + "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `pageProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the page background solid fill color, set `fields`\nto `\"pageBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", + "format": "google-fieldmask" }, - "containsText": { - "$ref": "SubstringMatchCriteria", - "description": "The criteria that the shapes must match in order to be replaced. The\nrequest will replace all of the shapes that contain the given text." + "objectId": { + "type": "string", + "description": "The object ID of the page the update is applied to." }, - "chartId": { - "description": "The ID of the specific chart in the Google Sheets spreadsheet.", - "format": "int32", - "type": "integer" + "pageProperties": { + "$ref": "PageProperties", + "description": "The page properties to update." } }, - "id": "ReplaceAllShapesWithSheetsChartRequest" + "id": "UpdatePagePropertiesRequest" }, - "ColorStop": { + "Group": { + "type": "object", "properties": { - "alpha": { - "description": "The alpha value of this color in the gradient band. Defaults to 1.0,\nfully opaque.", - "format": "float", - "type": "number" - }, - "position": { - "description": "The relative position of the color stop in the gradient band measured\nin percentage. The value should be in the interval [0.0, 1.0].", - "format": "float", - "type": "number" - }, - "color": { - "$ref": "OpaqueColor", - "description": "The color of the gradient stop." + "children": { + "type": "array", + "items": { + "$ref": "PageElement" + }, + "description": "The collection of elements in the group. The minimum size of a group is 2." } }, - "id": "ColorStop", - "description": "A color and position in a gradient band.", - "type": "object" + "id": "Group", + "description": "A PageElement kind representing a\njoined collection of PageElements." }, - "Range": { + "Placeholder": { + "description": "The placeholder information that uniquely identifies a placeholder shape.", "type": "object", "properties": { - "startIndex": { - "type": "integer", - "description": "The optional zero-based index of the beginning of the collection.\nRequired for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.", - "format": "int32" - }, - "endIndex": { - "description": "The optional zero-based index of the end of the collection.\nRequired for `SPECIFIC_RANGE` delete mode.", - "format": "int32", - "type": "integer" - }, "type": { - "enumDescriptions": [ - "Unspecified range type. This value must not be used.", - "A fixed range. Both the `start_index` and\n`end_index` must be specified.", - "Starts the range at `start_index` and continues until the\nend of the collection. The `end_index` must not be specified.", - "Sets the range to be the whole length of the collection. Both the\n`start_index` and the `end_index` must not be\nspecified." - ], "enum": [ - "RANGE_TYPE_UNSPECIFIED", - "FIXED_RANGE", - "FROM_START_INDEX", - "ALL" + "NONE", + "BODY", + "CHART", + "CLIP_ART", + "CENTERED_TITLE", + "DIAGRAM", + "DATE_AND_TIME", + "FOOTER", + "HEADER", + "MEDIA", + "OBJECT", + "PICTURE", + "SLIDE_NUMBER", + "SUBTITLE", + "TABLE", + "TITLE", + "SLIDE_IMAGE" ], - "description": "The type of range.", - "type": "string" - } - }, - "id": "Range", - "description": "Specifies a contiguous range of an indexed collection, such as characters in\ntext." - }, - "CreateVideoRequest": { - "properties": { - "objectId": { - "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", - "type": "string" - }, - "source": { + "description": "The type of the placeholder.", + "type": "string", "enumDescriptions": [ - "The video source is unspecified.", - "The video source is YouTube." - ], - "enum": [ - "SOURCE_UNSPECIFIED", - "YOUTUBE" - ], - "description": "The video source.", - "type": "string" - }, - "elementProperties": { - "description": "The element properties for the video.", - "$ref": "PageElementProperties" + "Default value, signifies it is not a placeholder.", + "Body text.", + "Chart or graph.", + "Clip art image.", + "Title centered.", + "Diagram.", + "Date and time.", + "Footer text.", + "Header text.", + "Multimedia.", + "Any content type.", + "Picture.", + "Number of a slide.", + "Subtitle.", + "Table.", + "Slide title.", + "Slide image." + ] }, - "id": { - "description": "The video source's unique identifier for this video.\n\ne.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,\nthe ID is 7U3axjORYZ0.", + "parentObjectId": { + "description": "The object ID of this shape's parent placeholder.\nIf unset, the parent placeholder shape does not exist, so the shape does\nnot inherit properties from any other shape.", "type": "string" + }, + "index": { + "type": "integer", + "description": "The index of the placeholder. If the same placeholder types are present in\nthe same page, they would have different index values.", + "format": "int32" } }, - "id": "CreateVideoRequest", - "description": "Creates a video.", - "type": "object" + "id": "Placeholder" }, - "DuplicateObjectResponse": { - "id": "DuplicateObjectResponse", - "description": "The response of duplicating an object.", + "DuplicateObjectRequest": { "type": "object", "properties": { "objectId": { - "description": "The ID of the new duplicate object.", + "description": "The ID of the object to duplicate.", "type": "string" + }, + "objectIds": { + "additionalProperties": { + "type": "string" + }, + "description": "The object being duplicated may contain other objects, for example when\nduplicating a slide or a group page element. This map defines how the IDs\nof duplicated objects are generated: the keys are the IDs of the original\nobjects and its values are the IDs that will be assigned to the\ncorresponding duplicate object. The ID of the source object's duplicate\nmay be specified in this map as well, using the same value of the\n`object_id` field as a key and the newly desired ID as the value.\n\nAll keys must correspond to existing IDs in the presentation. All values\nmust be unique in the presentation and must start with an alphanumeric\ncharacter or an underscore (matches regex `[a-zA-Z0-9_]`); remaining\ncharacters may include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or\ngreater than 50.\n\nIf any IDs of source objects are omitted from the map, a new random ID will\nbe assigned. If the map is empty or unset, all duplicate objects will\nreceive a new random ID.", + "type": "object" } - } + }, + "id": "DuplicateObjectRequest", + "description": "Duplicates a slide or page element.\n\nWhen duplicating a slide, the duplicate slide will be created immediately\nfollowing the specified slide. When duplicating a page element, the duplicate\nwill be placed on the same page at the same position as the original." }, - "ReplaceAllShapesWithImageRequest": { + "ReplaceAllTextRequest": { + "type": "object", "properties": { - "imageUrl": { - "description": "The image URL.\n\nThe image is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Images must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.", - "type": "string" - }, - "replaceMethod": { - "enumDescriptions": [ - "Scales and centers the image to fit within the bounds of the original\nshape and maintains the image's aspect ratio. The rendered size of the\nimage may be smaller than the size of the shape. This is the default\nmethod when one is not specified.", - "Scales and centers the image to fill the bounds of the original shape.\nThe image may be cropped in order to fill the shape. The rendered size of\nthe image will be the same as that of the original shape." - ], - "enum": [ - "CENTER_INSIDE", - "CENTER_CROP" - ], - "description": "The replace method.", - "type": "string" + "replaceText": { + "type": "string", + "description": "The text that will replace the matched text." }, "containsText": { - "description": "If set, this request will replace all of the shapes that contain the\ngiven text.", - "$ref": "SubstringMatchCriteria" + "$ref": "SubstringMatchCriteria", + "description": "Finds text in a shape matching this substring." } }, - "id": "ReplaceAllShapesWithImageRequest", - "description": "Replaces all shapes that match the given criteria with the provided image.", - "type": "object" + "id": "ReplaceAllTextRequest", + "description": "Replaces all instances of text matching a criteria with replace text." }, - "Shadow": { - "description": "The shadow properties of a page element.\n\nIf these fields are unset, they may be inherited from a parent placeholder\nif it exists. If there is no parent, the fields will default to the value\nused for new page elements created in the Slides editor, which may depend on\nthe page element kind.", + "Page": { + "description": "A page in a presentation.", "type": "object", "properties": { - "alignment": { - "description": "The alignment point of the shadow, that sets the origin for translate,\nscale and skew of the shadow.", - "type": "string", - "enumDescriptions": [ - "Unspecified.", - "Top left.", - "Top center.", - "Top right.", - "Left center.", - "Center.", - "Right center.", - "Bottom left.", - "Bottom center.", - "Bottom right." - ], - "enum": [ - "RECTANGLE_POSITION_UNSPECIFIED", - "TOP_LEFT", - "TOP_CENTER", - "TOP_RIGHT", - "LEFT_CENTER", - "CENTER", - "RIGHT_CENTER", - "BOTTOM_LEFT", - "BOTTOM_CENTER", - "BOTTOM_RIGHT" - ] - }, - "alpha": { - "description": "The alpha of the shadow's color, from 0.0 to 1.0.", - "format": "float", - "type": "number" + "slideProperties": { + "$ref": "SlideProperties", + "description": "Slide specific properties. Only set if page_type = SLIDE." }, - "color": { - "$ref": "OpaqueColor", - "description": "The shadow color value." + "pageProperties": { + "$ref": "PageProperties", + "description": "The properties of the page." }, - "rotateWithShape": { - "description": "Whether the shadow should rotate with the shape.", - "type": "boolean" + "objectId": { + "description": "The object ID for this page. Object IDs used by\nPage and\nPageElement share the same namespace.", + "type": "string" }, - "propertyState": { - "enum": [ - "RENDERED", - "NOT_RENDERED", - "INHERIT" - ], - "description": "The shadow property state.\n\nUpdating the the shadow on a page element will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no shadow on a page element, set this field to `NOT_RENDERED`. In this\ncase, any other shadow fields set in the same request will be ignored.", + "revisionId": { "type": "string", - "enumDescriptions": [ - "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.", - "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.", - "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." - ] + "description": "The revision ID of the presentation containing this page. Can be used in\nupdate requests to assert that the presentation revision hasn't changed\nsince the last read operation. Only populated if the user has edit access\nto the presentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. If the\nrevision ID is unchanged between calls, then the presentation has not\nchanged. Conversely, a changed ID (for the same presentation and user)\nusually means the presentation has been updated; however, a changed ID can\nalso be due to internal factors such as ID format changes." }, - "blurRadius": { - "$ref": "Dimension", - "description": "The radius of the shadow blur. The larger the radius, the more diffuse the\nshadow becomes." + "layoutProperties": { + "$ref": "LayoutProperties", + "description": "Layout specific properties. Only set if page_type = LAYOUT." }, - "type": { - "description": "The type of the shadow.", + "notesProperties": { + "$ref": "NotesProperties", + "description": "Notes specific properties. Only set if page_type = NOTES." + }, + "pageType": { + "enum": [ + "SLIDE", + "MASTER", + "LAYOUT", + "NOTES", + "NOTES_MASTER" + ], + "description": "The type of the page.", "type": "string", "enumDescriptions": [ - "Unspecified shadow type.", - "Outer shadow." - ], - "enum": [ - "SHADOW_TYPE_UNSPECIFIED", - "OUTER" + "A slide page.", + "A master slide page.", + "A layout page.", + "A notes page.", + "A notes master page." ] }, - "transform": { - "$ref": "AffineTransform", - "description": "Transform that encodes the translate, scale, and skew of the shadow,\nrelative to the alignment position." + "pageElements": { + "description": "The page elements rendered on the page.", + "type": "array", + "items": { + "$ref": "PageElement" + } } }, - "id": "Shadow" + "id": "Page" }, - "DeleteTableRowRequest": { - "description": "Deletes a row from a table.", + "ShapeBackgroundFill": { "type": "object", "properties": { - "tableObjectId": { - "description": "The table to delete rows from.", - "type": "string" + "propertyState": { + "type": "string", + "enumDescriptions": [ + "If a property's state is RENDERED, then the element has the corresponding\nproperty when rendered on a page. If the element is a placeholder shape as\ndetermined by the placeholder\nfield, and it inherits from a placeholder shape, the corresponding field\nmay be unset, meaning that the property value is inherited from a parent\nplaceholder. If the element does not inherit, then the field will contain\nthe rendered value. This is the default value.", + "If a property's state is NOT_RENDERED, then the element does not have the\ncorresponding property when rendered on a page. However, the field may\nstill be set so it can be inherited by child shapes. To remove a property\nfrom a rendered element, set its property_state to NOT_RENDERED.", + "If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." + ], + "enum": [ + "RENDERED", + "NOT_RENDERED", + "INHERIT" + ], + "description": "The background fill property state.\n\nUpdating the the fill on a shape will implicitly update this field to\n`RENDERED`, unless another value is specified in the same request. To\nhave no fill on a shape, set this field to `NOT_RENDERED`. In this case,\nany other fill fields set in the same request will be ignored." }, - "cellLocation": { - "description": "The reference table cell location from which a row will be deleted.\n\nThe row this cell spans will be deleted. If this is a merged cell, multiple\nrows will be deleted. If no rows remain in the table after this deletion,\nthe whole table is deleted.", - "$ref": "TableCellLocation" + "solidFill": { + "$ref": "SolidFill", + "description": "Solid color fill." } }, - "id": "DeleteTableRowRequest" + "id": "ShapeBackgroundFill", + "description": "The shape background fill." }, - "Bullet": { - "id": "Bullet", - "description": "Describes the bullet of a paragraph.", + "CropProperties": { + "description": "The crop properties of an object enclosed in a container. For example, an\nImage.\n\nThe crop properties is represented by the offsets of four edges which define\na crop rectangle. The offsets are measured in percentage from the\ncorresponding edges of the object's original bounding rectangle towards\ninside, relative to the object's original dimensions.\n\n- If the offset is in the interval (0, 1), the corresponding edge of crop\nrectangle is positioned inside of the object's original bounding rectangle.\n- If the offset is negative or greater than 1, the corresponding edge of crop\nrectangle is positioned outside of the object's original bounding rectangle.\n- If the left edge of the crop rectangle is on the right side of its right\nedge, the object will be flipped horizontally.\n- If the top edge of the crop rectangle is below its bottom edge, the object\nwill be flipped vertically.\n- If all offsets and rotation angle is 0, the object is not cropped.\n\nAfter cropping, the content in the crop rectangle will be stretched to fit\nits container.", "type": "object", "properties": { - "bulletStyle": { - "$ref": "TextStyle", - "description": "The paragraph specific text style applied to this bullet." + "angle": { + "description": "The rotation angle of the crop window around its center, in radians.\nRotation angle is applied after the offset.", + "format": "float", + "type": "number" }, - "listId": { - "description": "The ID of the list this paragraph belongs to.", - "type": "string" + "topOffset": { + "description": "The offset specifies the top edge of the crop rectangle that is located\nbelow the original bounding rectangle top edge, relative to the object's\noriginal height.", + "format": "float", + "type": "number" }, - "glyph": { - "description": "The rendered bullet glyph for this paragraph.", - "type": "string" + "leftOffset": { + "type": "number", + "description": "The offset specifies the left edge of the crop rectangle that is located to\nthe right of the original bounding rectangle left edge, relative to the\nobject's original width.", + "format": "float" }, - "nestingLevel": { - "description": "The nesting level of this paragraph in the list.", - "format": "int32", - "type": "integer" - } - } - }, - "OutlineFill": { - "id": "OutlineFill", - "description": "The fill of the outline.", - "type": "object", - "properties": { - "solidFill": { - "$ref": "SolidFill", - "description": "Solid color fill." - } - } - }, - "TableCellLocation": { - "description": "A location of a single table cell within a table.", - "type": "object", - "properties": { - "rowIndex": { - "type": "integer", - "description": "The 0-based row index.", - "format": "int32" + "rightOffset": { + "type": "number", + "description": "The offset specifies the right edge of the crop rectangle that is located\nto the left of the original bounding rectangle right edge, relative to the\nobject's original width.", + "format": "float" }, - "columnIndex": { - "description": "The 0-based column index.", - "format": "int32", - "type": "integer" + "bottomOffset": { + "description": "The offset specifies the bottom edge of the crop rectangle that is located\nabove the original bounding rectangle bottom edge, relative to the object's\noriginal height.", + "format": "float", + "type": "number" } }, - "id": "TableCellLocation" + "id": "CropProperties" }, - "CreateLineResponse": { - "description": "The result of creating a line.", + "ReplaceAllShapesWithSheetsChartRequest": { + "description": "Replaces all shapes that match the given criteria with the provided Google\nSheets chart. The chart will be scaled and centered to fit within the bounds\nof the original shape.\n\nNOTE: Replacing shapes with a chart requires at least one of the\nspreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.", "type": "object", "properties": { - "objectId": { - "description": "The object ID of the created line.", + "spreadsheetId": { + "description": "The ID of the Google Sheets spreadsheet that contains the chart.", "type": "string" + }, + "linkingMode": { + "enum": [ + "NOT_LINKED_IMAGE", + "LINKED" + ], + "description": "The mode with which the chart is linked to the source spreadsheet. When\nnot specified, the chart will be an image that is not linked.", + "type": "string", + "enumDescriptions": [ + "The chart is not associated with the source spreadsheet and cannot be\nupdated. A chart that is not linked will be inserted as an image.", + "Linking the chart allows it to be updated, and other collaborators will\nsee a link to the spreadsheet." + ] + }, + "containsText": { + "$ref": "SubstringMatchCriteria", + "description": "The criteria that the shapes must match in order to be replaced. The\nrequest will replace all of the shapes that contain the given text." + }, + "chartId": { + "type": "integer", + "description": "The ID of the specific chart in the Google Sheets spreadsheet.", + "format": "int32" } }, - "id": "CreateLineResponse" - }, - "ReplaceAllTextResponse": { - "properties": { - "occurrencesChanged": { - "description": "The number of occurrences changed by replacing all text.", - "format": "int32", - "type": "integer" - } - }, - "id": "ReplaceAllTextResponse", - "description": "The result of replacing text.", - "type": "object" + "id": "ReplaceAllShapesWithSheetsChartRequest" } }, "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, "protocol": "rest", "canonicalName": "Slides", "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/presentations": { - "description": "View and manage your Google Slides presentations" - }, - "https://www.googleapis.com/auth/presentations.readonly": { - "description": "View your Google Slides presentations" - }, "https://www.googleapis.com/auth/spreadsheets.readonly": { "description": "View your Google Spreadsheets" }, @@ -3610,279 +3874,15 @@ }, "https://www.googleapis.com/auth/spreadsheets": { "description": "View and manage your spreadsheets in Google Drive" - } - } - } - }, - "rootUrl": "https://slides.googleapis.com/", - "ownerDomain": "google.com", - "name": "slides", - "batchPath": "batch", - "title": "Google Slides API", - "ownerName": "Google", - "resources": { - "presentations": { - "methods": { - "get": { - "description": "Gets the latest version of the specified presentation.", - "response": { - "$ref": "Presentation" - }, - "parameterOrder": [ - "presentationId" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/presentations", - "https://www.googleapis.com/auth/presentations.readonly" - ], - "parameters": { - "presentationId": { - "description": "The ID of the presentation to retrieve.", - "required": true, - "type": "string", - "pattern": "^[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/presentations/{presentationsId}", - "path": "v1/presentations/{+presentationId}", - "id": "slides.presentations.get" }, - "create": { - "description": "Creates a new presentation using the title given in the request. Other\nfields in the request are ignored.\nReturns the created presentation.", - "request": { - "$ref": "Presentation" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "Presentation" - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/presentations" - ], - "parameters": {}, - "flatPath": "v1/presentations", - "id": "slides.presentations.create", - "path": "v1/presentations" + "https://www.googleapis.com/auth/presentations": { + "description": "View and manage your Google Slides presentations" }, - "batchUpdate": { - "response": { - "$ref": "BatchUpdatePresentationResponse" - }, - "parameterOrder": [ - "presentationId" - ], - "httpMethod": "POST", - "parameters": { - "presentationId": { - "description": "The presentation to apply the updates to.", - "required": true, - "type": "string", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/presentations", - "https://www.googleapis.com/auth/spreadsheets", - "https://www.googleapis.com/auth/spreadsheets.readonly" - ], - "flatPath": "v1/presentations/{presentationId}:batchUpdate", - "path": "v1/presentations/{presentationId}:batchUpdate", - "id": "slides.presentations.batchUpdate", - "request": { - "$ref": "BatchUpdatePresentationRequest" - }, - "description": "Applies one or more updates to the presentation.\n\nEach request is validated before\nbeing applied. If any request is not valid, then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how they are applied. Other requests do\nnot need to return information; these each return an empty reply.\nThe order of replies matches that of the requests.\n\nFor example, suppose you call batchUpdate with four updates, and only the\nthird one returns information. The response would have two empty replies:\nthe reply to the third request, and another empty reply, in that order.\n\nBecause other users may be editing the presentation, the presentation\nmight not exactly reflect your changes: your changes may\nbe altered with respect to collaborator changes. If there are no\ncollaborators, the presentation should reflect your changes. In any case,\nthe updates in your request are guaranteed to be applied together\natomically." - } - }, - "resources": { - "pages": { - "methods": { - "getThumbnail": { - "description": "Generates a thumbnail of the latest version of the specified page in the\npresentation and returns a URL to the thumbnail image.", - "response": { - "$ref": "Thumbnail" - }, - "parameterOrder": [ - "presentationId", - "pageObjectId" - ], - "httpMethod": "GET", - "parameters": { - "pageObjectId": { - "location": "path", - "description": "The object ID of the page whose thumbnail to retrieve.", - "required": true, - "type": "string" - }, - "thumbnailProperties.mimeType": { - "description": "The optional mime type of the thumbnail image.\n\nIf you don't specify the mime type, the default mime type will be PNG.", - "type": "string", - "location": "query", - "enum": [ - "PNG" - ] - }, - "thumbnailProperties.thumbnailSize": { - "location": "query", - "enum": [ - "THUMBNAIL_SIZE_UNSPECIFIED", - "LARGE" - ], - "description": "The optional thumbnail image size.\n\nIf you don't specify the size, the server chooses a default size of the\nimage.", - "type": "string" - }, - "presentationId": { - "location": "path", - "description": "The ID of the presentation to retrieve.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/presentations", - "https://www.googleapis.com/auth/presentations.readonly" - ], - "flatPath": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail", - "path": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail", - "id": "slides.presentations.pages.getThumbnail" - }, - "get": { - "httpMethod": "GET", - "response": { - "$ref": "Page" - }, - "parameterOrder": [ - "presentationId", - "pageObjectId" - ], - "parameters": { - "presentationId": { - "location": "path", - "description": "The ID of the presentation to retrieve.", - "required": true, - "type": "string" - }, - "pageObjectId": { - "location": "path", - "description": "The object ID of the page to retrieve.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/drive", - "https://www.googleapis.com/auth/drive.readonly", - "https://www.googleapis.com/auth/presentations", - "https://www.googleapis.com/auth/presentations.readonly" - ], - "flatPath": "v1/presentations/{presentationId}/pages/{pageObjectId}", - "id": "slides.presentations.pages.get", - "path": "v1/presentations/{presentationId}/pages/{pageObjectId}", - "description": "Gets the latest version of the specified page in the presentation." - } - } + "https://www.googleapis.com/auth/presentations.readonly": { + "description": "View your Google Slides presentations" } } } }, - "parameters": { - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string", - "location": "query" - }, - "$.xgafv": { - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] - }, - "callback": { - "type": "string", - "location": "query", - "description": "JSONP" - }, - "alt": { - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json" - }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" - }, - "key": { - "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.", - "type": "string", - "location": "query" - }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" - }, - "pp": { - "description": "Pretty-print response.", - "type": "boolean", - "default": "true", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - } - }, - "version": "v1", - "baseUrl": "https://slides.googleapis.com/" + "rootUrl": "https://slides.googleapis.com/" } diff --git a/DiscoveryJson/sourcerepo_v1.json b/DiscoveryJson/sourcerepo_v1.json index 3e6355e8f0..ff81839d11 100644 --- a/DiscoveryJson/sourcerepo_v1.json +++ b/DiscoveryJson/sourcerepo_v1.json @@ -1,43 +1,24 @@ { - "basePath": "", - "id": "sourcerepo:v1", - "documentationLink": "https://cloud.google.com/eap/cloud-repositories/cloud-sourcerepo-api", - "revision": "20170321", "discoveryVersion": "v1", "version_module": "True", "schemas": { "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "type": "array", "items": { "type": "string" - } + }, + "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions)." } }, - "id": "TestIamPermissionsRequest", - "description": "Request message for `TestIamPermissions` method." + "id": "TestIamPermissionsRequest" }, "Policy": { "type": "object", "properties": { - "etag": { - "type": "string", - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte" - }, - "iamOwned": { - "type": "boolean" - }, - "rules": { - "type": "array", - "items": { - "$ref": "Rule" - }, - "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied." - }, "version": { "type": "integer", "description": "Version of the `Policy`. The default version is 0.", @@ -51,32 +32,40 @@ } }, "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", "type": "array", "items": { "$ref": "Binding" - } + }, + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error." + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", + "type": "string" + }, + "iamOwned": { + "type": "boolean" + }, + "rules": { + "type": "array", + "items": { + "$ref": "Rule" + }, + "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied." } }, "id": "Policy", "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam)." }, "DataAccessOptions": { + "description": "Write a Data Access (Gin) log", "type": "object", "properties": {}, - "id": "DataAccessOptions", - "description": "Write a Data Access (Gin) log" + "id": "DataAccessOptions" }, "AuditConfig": { - "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", "type": "object", "properties": { - "exemptedMembers": { - "type": "array", - "items": { - "type": "string" - } - }, "service": { "type": "string", "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services." @@ -87,11 +76,19 @@ "$ref": "AuditLogConfig" }, "description": "The configuration for logging of each type of permission.\nNext ID: 4" + }, + "exemptedMembers": { + "type": "array", + "items": { + "type": "string" + } } }, - "id": "AuditConfig" + "id": "AuditConfig", + "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging." }, "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { "policy": { @@ -104,8 +101,7 @@ "format": "google-fieldmask" } }, - "id": "SetIamPolicyRequest", - "description": "Request message for `SetIamPolicy` method." + "id": "SetIamPolicyRequest" }, "CloudAuditOptions": { "type": "object", @@ -114,52 +110,55 @@ "description": "Write a Cloud Audit log" }, "Binding": { + "description": "Associates `members` with a `role`.", "type": "object", "properties": { "role": { - "type": "string", - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired" + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" }, "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", "type": "array", "items": { "type": "string" - } + }, + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n" } }, - "id": "Binding", - "description": "Associates `members` with a `role`." + "id": "Binding" }, "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", "properties": {}, - "id": "Empty" + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`." }, "MirrorConfig": { "description": "Configuration to automatically mirror a repository from another\nhosting service, for example GitHub or BitBucket.", "type": "object", "properties": { - "url": { - "description": "URL of the main repository at the other hosting service.", - "type": "string" - }, "webhookId": { "description": "ID of the webhook listening to updates to trigger mirroring.\nRemoving this webook from the other hosting service will stop\nGoogle Cloud Source Repositories from receiving notifications,\nand thereby disabling mirroring.", "type": "string" }, "deployKeyId": { - "type": "string", - "description": "ID of the SSH deploy key at the other hosting service.\nRemoving this key from the other service would deauthorize\nGoogle Cloud Source Repositories from mirroring." + "description": "ID of the SSH deploy key at the other hosting service.\nRemoving this key from the other service would deauthorize\nGoogle Cloud Source Repositories from mirroring.", + "type": "string" + }, + "url": { + "description": "URL of the main repository at the other hosting service.", + "type": "string" } }, "id": "MirrorConfig" }, "Repo": { - "description": "A repository (or repo) is a Git repository storing versioned source content.", "type": "object", "properties": { + "name": { + "description": "Resource name of the repository, of the form\n`projects/\u003cproject\u003e/repos/\u003crepo\u003e`.", + "type": "string" + }, "mirrorConfig": { "$ref": "MirrorConfig", "description": "How this repository mirrors a repository managed by another service." @@ -169,16 +168,13 @@ "type": "string" }, "size": { - "type": "string", "description": "The size in bytes of the repo.", - "format": "int64" - }, - "name": { - "type": "string", - "description": "Resource name of the repository, of the form\n`projects/\u003cproject\u003e/repos/\u003crepo\u003e`." + "format": "int64", + "type": "string" } }, - "id": "Repo" + "id": "Repo", + "description": "A repository (or repo) is a Git repository storing versioned source content." }, "TestIamPermissionsResponse": { "type": "object", @@ -195,46 +191,22 @@ "description": "Response message for `TestIamPermissions` method." }, "ListReposResponse": { - "description": "Response for ListRepos.", "type": "object", "properties": { "repos": { - "description": "The listed repos.", "type": "array", "items": { "$ref": "Repo" - } + }, + "description": "The listed repos." } }, - "id": "ListReposResponse" + "id": "ListReposResponse", + "description": "Response for ListRepos." }, "Condition": { "type": "object", "properties": { - "op": { - "enum": [ - "NO_OP", - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "DISCHARGED" - ], - "description": "An operator to apply the subject with.", - "type": "string", - "enumDescriptions": [ - "Default no-op.", - "DEPRECATED. Use IN instead.", - "DEPRECATED. Use NOT_IN instead.", - "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", - "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", - "Subject is discharged" - ] - }, - "svc": { - "description": "Trusted attributes discharged by the service.", - "type": "string" - }, "value": { "description": "DEPRECATED. Use 'values' instead.", "type": "string" @@ -258,11 +230,11 @@ "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control." }, "values": { - "description": "The objects of the condition. This is mutually exclusive with 'value'.", "type": "array", "items": { "type": "string" - } + }, + "description": "The objects of the condition. This is mutually exclusive with 'value'." }, "iam": { "enum": [ @@ -281,12 +253,37 @@ "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.", "What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported." ] + }, + "op": { + "type": "string", + "enumDescriptions": [ + "Default no-op.", + "DEPRECATED. Use IN instead.", + "DEPRECATED. Use NOT_IN instead.", + "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", + "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", + "Subject is discharged" + ], + "enum": [ + "NO_OP", + "EQUALS", + "NOT_EQUALS", + "IN", + "NOT_IN", + "DISCHARGED" + ], + "description": "An operator to apply the subject with." + }, + "svc": { + "description": "Trusted attributes discharged by the service.", + "type": "string" } }, "id": "Condition", "description": "A condition to be met." }, "CounterOptions": { + "description": "Options for counters", "type": "object", "properties": { "metric": { @@ -298,8 +295,7 @@ "description": "The field value to attribute." } }, - "id": "CounterOptions", - "description": "Options for counters" + "id": "CounterOptions" }, "AuditLogConfig": { "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", @@ -313,65 +309,59 @@ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members." }, "logType": { - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "description": "The log type that this config enables.", "type": "string", "enumDescriptions": [ "Default case. Should never be this.", "Admin reads. Example: CloudIAM getIamPolicy", "Data writes. Example: CloudSQL Users create", "Data reads. Example: CloudSQL Users list" - ] + ], + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "description": "The log type that this config enables." } }, "id": "AuditLogConfig" }, "Rule": { + "description": "A rule to be applied in a Policy.", "type": "object", "properties": { - "notIn": { - "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", - "type": "array", - "items": { - "type": "string" - } - }, "description": { - "type": "string", - "description": "Human-readable description of the rule." + "description": "Human-readable description of the rule.", + "type": "string" }, "conditions": { - "description": "Additional restrictions that must be met", "type": "array", "items": { "$ref": "Condition" - } + }, + "description": "Additional restrictions that must be met" }, "logConfig": { - "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.", "type": "array", "items": { "$ref": "LogConfig" - } + }, + "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action." }, "in": { + "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", "type": "array", "items": { "type": "string" - }, - "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries." + } }, "permissions": { + "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", "type": "array", "items": { "type": "string" - }, - "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs." + } }, "action": { "enum": [ @@ -392,10 +382,16 @@ "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", "Matching 'Entries' tell IAM.Check callers to generate logs." ] + }, + "notIn": { + "type": "array", + "items": { + "type": "string" + }, + "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto)." } }, - "id": "Rule", - "description": "A rule to be applied in a Policy." + "id": "Rule" }, "LogConfig": { "description": "Specifies what kind of log the caller must write", @@ -417,11 +413,11 @@ "id": "LogConfig" } }, + "protocol": "rest", "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" }, - "protocol": "rest", "canonicalName": "Cloud Source Repositories", "auth": { "oauth2": { @@ -443,57 +439,39 @@ "resources": { "repos": { "methods": { - "getIamPolicy": { - "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "get": { "httpMethod": "GET", "parameterOrder": [ - "resource" + "name" ], "response": { - "$ref": "Policy" + "$ref": "Repo" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "parameters": { - "resource": { + "name": { "location": "path", - "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "description": "The name of the requested repository. Values are of the form\n`projects/\u003cproject\u003e/repos/\u003crepo\u003e`.", "required": true, "type": "string", "pattern": "^projects/[^/]+/repos/.+$" } }, - "flatPath": "v1/projects/{projectsId}/repos/{reposId}:getIamPolicy", - "id": "sourcerepo.projects.repos.getIamPolicy", - "path": "v1/{+resource}:getIamPolicy" - }, - "get": { - "description": "Returns information about a repo.", - "response": { - "$ref": "Repo" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "parameters": { - "name": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/repos/.+$", - "location": "path", - "description": "The name of the requested repository. Values are of the form\n`projects/\u003cproject\u003e/repos/\u003crepo\u003e`." - } - }, "flatPath": "v1/projects/{projectsId}/repos/{reposId}", + "id": "sourcerepo.projects.repos.get", "path": "v1/{+name}", - "id": "sourcerepo.projects.repos.get" + "description": "Returns information about a repo." }, "testIamPermissions": { + "flatPath": "v1/projects/{projectsId}/repos/{reposId}:testIamPermissions", + "id": "sourcerepo.projects.repos.testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.", + "request": { + "$ref": "TestIamPermissionsRequest" + }, "httpMethod": "POST", "parameterOrder": [ "resource" @@ -501,6 +479,9 @@ "response": { "$ref": "TestIamPermissionsResponse" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "resource": { "required": true, @@ -509,17 +490,7 @@ "location": "path", "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field." } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/repos/{reposId}:testIamPermissions", - "id": "sourcerepo.projects.repos.testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error." + } }, "delete": { "response": { @@ -548,22 +519,22 @@ }, "list": { "httpMethod": "GET", - "response": { - "$ref": "ListReposResponse" - }, "parameterOrder": [ "name" ], + "response": { + "$ref": "ListReposResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { + "location": "path", + "description": "The project ID whose repos should be listed. Values are of the form\n`projects/\u003cproject\u003e`.", "required": true, "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "The project ID whose repos should be listed. Values are of the form\n`projects/\u003cproject\u003e`." + "pattern": "^projects/[^/]+$" } }, "flatPath": "v1/projects/{projectsId}/repos", @@ -572,16 +543,13 @@ "description": "Returns all repos belonging to a project." }, "create": { - "httpMethod": "POST", - "parameterOrder": [ - "parent" - ], "response": { "$ref": "Repo" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "parameterOrder": [ + "parent" ], + "httpMethod": "POST", "parameters": { "parent": { "required": true, @@ -591,13 +559,16 @@ "description": "The project in which to create the repo. Values are of the form\n`projects/\u003cproject\u003e`." } }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "flatPath": "v1/projects/{projectsId}/repos", - "id": "sourcerepo.projects.repos.create", "path": "v1/{+parent}/repos", - "description": "Creates a repo in the given project with the given name..\n\nIf the named repository already exists, `CreateRepo` returns\n`ALREADY_EXISTS`.", + "id": "sourcerepo.projects.repos.create", "request": { "$ref": "Repo" - } + }, + "description": "Creates a repo in the given project with the given name..\n\nIf the named repository already exists, `CreateRepo` returns\n`ALREADY_EXISTS`." }, "setIamPolicy": { "httpMethod": "POST", @@ -626,6 +597,31 @@ "request": { "$ref": "SetIamPolicyRequest" } + }, + "getIamPolicy": { + "httpMethod": "GET", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "location": "path", + "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/repos/.+$" + } + }, + "flatPath": "v1/projects/{projectsId}/repos/{reposId}:getIamPolicy", + "id": "sourcerepo.projects.repos.getIamPolicy", + "path": "v1/{+resource}:getIamPolicy", + "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset." } } } @@ -644,20 +640,15 @@ "location": "query", "description": "Returns response with indentations and line breaks." }, - "fields": { + "uploadType": { "location": "query", - "description": "Selector specifying which fields to include in a partial response.", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "uploadType": { + "fields": { "type": "string", "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + "description": "Selector specifying which fields to include in a partial response." }, "$.xgafv": { "location": "query", @@ -672,7 +663,13 @@ "v2 error format" ] }, + "callback": { + "type": "string", + "location": "query", + "description": "JSONP" + }, "alt": { + "default": "json", "enum": [ "json", "media", @@ -685,8 +682,7 @@ "Responses with Content-Type of application/x-protobuf" ], "location": "query", - "description": "Data format for response.", - "default": "json" + "description": "Data format for response." }, "key": { "type": "string", @@ -694,9 +690,9 @@ "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." }, "access_token": { - "type": "string", "location": "query", - "description": "OAuth access token." + "description": "OAuth access token.", + "type": "string" }, "quotaUser": { "type": "string", @@ -704,25 +700,29 @@ "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." }, "pp": { - "type": "boolean", - "default": "true", "location": "query", - "description": "Pretty-print response." + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" }, - "bearer_token": { + "oauth_token": { + "type": "string", "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "description": "OAuth 2.0 token for the current user." }, - "oauth_token": { + "bearer_token": { + "type": "string", "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" + "description": "OAuth bearer token." } }, "version": "v1", "baseUrl": "https://sourcerepo.googleapis.com/", + "servicePath": "", "kind": "discovery#restDescription", "description": "Access source code repositories hosted by Google.", - "servicePath": "" + "basePath": "", + "documentationLink": "https://cloud.google.com/eap/cloud-repositories/cloud-sourcerepo-api", + "id": "sourcerepo:v1", + "revision": "20170327" } diff --git a/DiscoveryJson/spanner_v1.json b/DiscoveryJson/spanner_v1.json index df6e164eca..3261a9b40c 100644 --- a/DiscoveryJson/spanner_v1.json +++ b/DiscoveryJson/spanner_v1.json @@ -1,1414 +1,1409 @@ { - "revision": "20170317", - "documentationLink": "https://cloud.google.com/spanner/", - "id": "spanner:v1", - "discoveryVersion": "v1", - "version_module": "True", "schemas": { - "Operation": { + "ChildLink": { "properties": { - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "response": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object" - }, - "name": { - "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", + "type": { + "description": "The type of the link. For example, in Hash Joins this could be used to\ndistinguish between the build child and the probe child, or in the case\nof the child being an output variable, to represent the tag associated\nwith the output variable.", "type": "string" }, - "error": { - "$ref": "Status", - "description": "The error result of the operation in case of failure or cancellation." + "childIndex": { + "description": "The node to which the link points.", + "format": "int32", + "type": "integer" }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", - "type": "object" + "variable": { + "description": "Only present if the child node is SCALAR and corresponds\nto an output variable of the parent node. The field carries the name of\nthe output variable.\nFor example, a `TableScan` operator that reads rows from a table will\nhave child links to the `SCALAR` nodes representing the output variables\ncreated for each column that is read by the operator. The corresponding\n`variable` fields will be set to the variable names assigned to the\ncolumns.", + "type": "string" } }, - "id": "Operation", - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "id": "ChildLink", + "description": "Metadata associated with a parent-child relationship appearing in a\nPlanNode.", "type": "object" }, - "ResultSet": { - "description": "Results from Read or\nExecuteSql.", - "type": "object", + "CloudAuditOptions": { + "properties": {}, + "id": "CloudAuditOptions", + "description": "Write a Cloud Audit log", + "type": "object" + }, + "Delete": { "properties": { - "rows": { - "description": "Each element in `rows` is a row whose format is defined by\nmetadata.row_type. The ith element\nin each row matches the ith field in\nmetadata.row_type. Elements are\nencoded based on type as described\nhere.", - "type": "array", - "items": { - "type": "array", - "items": { - "type": "any" - } - } - }, - "metadata": { - "$ref": "ResultSetMetadata", - "description": "Metadata about the result set, such as row type information." + "table": { + "description": "Required. The table whose rows will be deleted.", + "type": "string" }, - "stats": { - "$ref": "ResultSetStats", - "description": "Query plan and execution statistics for the query that produced this\nresult set. These can be requested by setting\nExecuteSqlRequest.query_mode." + "keySet": { + "$ref": "KeySet", + "description": "Required. The primary keys of the rows within table to delete." } }, - "id": "ResultSet" + "id": "Delete", + "description": "Arguments to delete operations.", + "type": "object" }, - "Status": { + "CommitRequest": { "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "singleUseTransaction": { + "$ref": "TransactionOptions", + "description": "Execute mutations in a temporary transaction. Note that unlike\ncommit of a previously-started transaction, commit with a\ntemporary transaction is non-idempotent. That is, if the\n`CommitRequest` is sent to Cloud Spanner more than once (for\ninstance, due to retries in the application, or in the\ntransport library), it is possible that the mutations are\nexecuted more than once. If this is undesirable, use\nBeginTransaction and\nCommit instead." + }, + "mutations": { + "description": "The mutations to be executed when this transaction commits. All\nmutations are applied atomically, in the order they appear in\nthis list.", "type": "array", "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" + "$ref": "Mutation" } }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "transactionId": { + "description": "Commit a previously-started transaction.", + "format": "byte", "type": "string" } }, - "id": "Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "id": "CommitRequest", + "description": "The request for Commit.", "type": "object" }, - "Binding": { + "ListInstanceConfigsResponse": { + "description": "The response for ListInstanceConfigs.", + "type": "object", "properties": { - "members": { - "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", + "nextPageToken": { + "description": "`next_page_token` can be sent in a subsequent\nListInstanceConfigs call to\nfetch more of the matching instance configurations.", + "type": "string" + }, + "instanceConfigs": { + "description": "The list of requested instance configurations.", "type": "array", "items": { - "type": "string" + "$ref": "InstanceConfig" } - }, - "role": { - "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", - "type": "string" } }, - "id": "Binding", - "description": "Associates `members` with a `role`.", + "id": "ListInstanceConfigsResponse" + }, + "BeginTransactionRequest": { + "properties": { + "options": { + "description": "Required. Options for the new transaction.", + "$ref": "TransactionOptions" + } + }, + "id": "BeginTransactionRequest", + "description": "The request for BeginTransaction.", "type": "object" }, - "UpdateDatabaseDdlRequest": { + "TestIamPermissionsResponse": { "properties": { - "statements": { - "description": "DDL statements to be applied to the database.", + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", "type": "array", "items": { "type": "string" } - }, - "operationId": { - "description": "If empty, the new update request is assigned an\nautomatically-generated operation ID. Otherwise, `operation_id`\nis used to construct the name of the resulting\nOperation.\n\nSpecifying an explicit operation ID simplifies determining\nwhether the statements were executed in the event that the\nUpdateDatabaseDdl call is replayed,\nor the return value is otherwise lost: the database and\n`operation_id` fields can be combined to form the\nname of the resulting\nlongrunning.Operation: `\u003cdatabase\u003e/operations/\u003coperation_id\u003e`.\n\n`operation_id` should be unique within the database, and must be\na valid identifier: `a-z*`. Note that\nautomatically-generated operation IDs always begin with an\nunderscore. If the named operation already exists,\nUpdateDatabaseDdl returns\n`ALREADY_EXISTS`.", - "type": "string" } }, - "id": "UpdateDatabaseDdlRequest", - "description": "Enqueues the given DDL statements to be applied, in order but not\nnecessarily all at once, to the database schema at some point (or\npoints) in the future. The server checks that the statements\nare executable (syntactically valid, name tables that exist, etc.)\nbefore enqueueing them, but they may still fail upon\nlater execution (e.g., if a statement from another batch of\nstatements is applied first and it conflicts in some way, or if\nthere is some data-related problem like a `NULL` value in a column to\nwhich `NOT NULL` would be added). If a statement fails, all\nsubsequent statements in the batch are automatically cancelled.\n\nEach batch of statements is assigned a name which can be used with\nthe Operations API to monitor\nprogress. See the\noperation_id field for more\ndetails.", + "id": "TestIamPermissionsResponse", + "description": "Response message for `TestIamPermissions` method.", "type": "object" }, - "PartialResultSet": { - "description": "Partial results from a streaming read or SQL query. Streaming reads and\nSQL queries better tolerate large result sets, large rows, and large\nvalues, but are a little trickier to consume.", + "GetIamPolicyRequest": { + "description": "Request message for `GetIamPolicy` method.", "type": "object", + "properties": {}, + "id": "GetIamPolicyRequest" + }, + "CreateDatabaseMetadata": { "properties": { - "chunkedValue": { - "description": "If true, then the final value in values is chunked, and must\nbe combined with more values from subsequent `PartialResultSet`s\nto obtain a complete field value.", - "type": "boolean" + "database": { + "description": "The database being created.", + "type": "string" + } + }, + "id": "CreateDatabaseMetadata", + "description": "Metadata type for the operation returned by\nCreateDatabase.", + "type": "object" + }, + "Rule": { + "properties": { + "description": { + "description": "Human-readable description of the rule.", + "type": "string" }, - "metadata": { - "$ref": "ResultSetMetadata", - "description": "Metadata about the result set, such as row type information.\nOnly present in the first response." + "conditions": { + "description": "Additional restrictions that must be met", + "type": "array", + "items": { + "$ref": "Condition" + } }, - "values": { - "description": "A streamed result set consists of a stream of values, which might\nbe split into many `PartialResultSet` messages to accommodate\nlarge rows and/or large values. Every N complete values defines a\nrow, where N is equal to the number of entries in\nmetadata.row_type.fields.\n\nMost values are encoded based on type as described\nhere.\n\nIt is possible that the last value in values is \"chunked\",\nmeaning that the rest of the value is sent in subsequent\n`PartialResultSet`(s). This is denoted by the chunked_value\nfield. Two or more chunked values can be merged to form a\ncomplete value as follows:\n\n * `bool/number/null`: cannot be chunked\n * `string`: concatenate the strings\n * `list`: concatenate the lists. If the last element in a list is a\n `string`, `list`, or `object`, merge it with the first element in\n the next list by applying these rules recursively.\n * `object`: concatenate the (field name, field value) pairs. If a\n field name is duplicated, then apply these rules recursively\n to merge the field values.\n\nSome examples of merging:\n\n # Strings are concatenated.\n \"foo\", \"bar\" =\u003e \"foobar\"\n\n # Lists of non-strings are concatenated.\n [2, 3], [4] =\u003e [2, 3, 4]\n\n # Lists are concatenated, but the last and first elements are merged\n # because they are strings.\n [\"a\", \"b\"], [\"c\", \"d\"] =\u003e [\"a\", \"bc\", \"d\"]\n\n # Lists are concatenated, but the last and first elements are merged\n # because they are lists. Recursively, the last and first elements\n # of the inner lists are merged because they are strings.\n [\"a\", [\"b\", \"c\"]], [[\"d\"], \"e\"] =\u003e [\"a\", [\"b\", \"cd\"], \"e\"]\n\n # Non-overlapping object fields are combined.\n {\"a\": \"1\"}, {\"b\": \"2\"} =\u003e {\"a\": \"1\", \"b\": 2\"}\n\n # Overlapping object fields are merged.\n {\"a\": \"1\"}, {\"a\": \"2\"} =\u003e {\"a\": \"12\"}\n\n # Examples of merging objects containing lists of strings.\n {\"a\": [\"1\"]}, {\"a\": [\"2\"]} =\u003e {\"a\": [\"12\"]}\n\nFor a more complete example, suppose a streaming SQL query is\nyielding a result set whose rows contain a single string\nfield. The following `PartialResultSet`s might be yielded:\n\n {\n \"metadata\": { ... }\n \"values\": [\"Hello\", \"W\"]\n \"chunked_value\": true\n \"resume_token\": \"Af65...\"\n }\n {\n \"values\": [\"orl\"]\n \"chunked_value\": true\n \"resume_token\": \"Bqp2...\"\n }\n {\n \"values\": [\"d\"]\n \"resume_token\": \"Zx1B...\"\n }\n\nThis sequence of `PartialResultSet`s encodes two rows, one\ncontaining the field value `\"Hello\"`, and a second containing the\nfield value `\"World\" = \"W\" + \"orl\" + \"d\"`.", + "logConfig": { + "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.", "type": "array", "items": { - "type": "any" + "$ref": "LogConfig" } }, - "resumeToken": { - "description": "Streaming calls might be interrupted for a variety of reasons, such\nas TCP connection loss. If this occurs, the stream of results can\nbe resumed by re-sending the original request and including\n`resume_token`. Note that executing any other transaction in the\nsame session invalidates the token.", - "format": "byte", - "type": "string" + "in": { + "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", + "type": "array", + "items": { + "type": "string" + } }, - "stats": { - "$ref": "ResultSetStats", - "description": "Query plan and execution statistics for the query that produced this\nstreaming result set. These can be requested by setting\nExecuteSqlRequest.query_mode and are sent\nonly once with the last response in the stream." - } - }, - "id": "PartialResultSet" - }, - "ListOperationsResponse": { - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", + "permissions": { + "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", + "type": "array", + "items": { + "type": "string" + } + }, + "action": { + "enumDescriptions": [ + "Default no action.", + "Matching 'Entries' grant access.", + "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", + "Matching 'Entries' deny access.", + "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", + "Matching 'Entries' tell IAM.Check callers to generate logs." + ], + "enum": [ + "NO_ACTION", + "ALLOW", + "ALLOW_WITH_LOG", + "DENY", + "DENY_WITH_LOG", + "LOG" + ], + "description": "Required", "type": "string" }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", + "notIn": { + "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", "type": "array", "items": { - "$ref": "Operation" + "type": "string" } } }, - "id": "ListOperationsResponse", - "description": "The response message for Operations.ListOperations.", + "id": "Rule", + "description": "A rule to be applied in a Policy.", "type": "object" }, - "UpdateInstanceMetadata": { + "LogConfig": { "properties": { - "cancelTime": { - "description": "The time at which this operation was cancelled. If set, this operation is\nin the process of undoing itself (which is guaranteed to succeed) and\ncannot be cancelled again.", - "format": "google-datetime", - "type": "string" - }, - "endTime": { - "description": "The time at which this operation failed or was completed successfully.", - "format": "google-datetime", - "type": "string" + "cloudAudit": { + "$ref": "CloudAuditOptions", + "description": "Cloud audit options." }, - "instance": { - "description": "The desired end state of the update.", - "$ref": "Instance" + "counter": { + "$ref": "CounterOptions", + "description": "Counter options." }, - "startTime": { - "description": "The time at which UpdateInstance\nrequest was received.", - "format": "google-datetime", - "type": "string" + "dataAccess": { + "description": "Data access options.", + "$ref": "DataAccessOptions" } }, - "id": "UpdateInstanceMetadata", - "description": "Metadata type for the operation returned by\nUpdateInstance.", + "id": "LogConfig", + "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==\u003e increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1", "type": "object" }, - "ResultSetMetadata": { + "Session": { "properties": { - "rowType": { - "description": "Indicates the field names and types for the rows in the result\nset. For example, a SQL query like `\"SELECT UserId, UserName FROM\nUsers\"` could return a `row_type` value like:\n\n \"fields\": [\n { \"name\": \"UserId\", \"type\": { \"code\": \"INT64\" } },\n { \"name\": \"UserName\", \"type\": { \"code\": \"STRING\" } },\n ]", - "$ref": "StructType" - }, - "transaction": { - "description": "If the read or SQL query began a transaction as a side-effect, the\ninformation about the new transaction is yielded here.", - "$ref": "Transaction" + "name": { + "description": "Required. The name of the session.", + "type": "string" } }, - "id": "ResultSetMetadata", - "description": "Metadata about a ResultSet or PartialResultSet.", + "id": "Session", + "description": "A session in the Cloud Spanner API.", "type": "object" }, - "TransactionSelector": { - "description": "This message is used to select the transaction in which a\nRead or\nExecuteSql call runs.\n\nSee TransactionOptions for more information about transactions.", - "type": "object", + "ListInstancesResponse": { "properties": { - "singleUse": { - "description": "Execute the read or SQL query in a temporary transaction.\nThis is the most efficient way to execute a transaction that\nconsists of a single SQL query.", - "$ref": "TransactionOptions" - }, - "begin": { - "description": "Begin a new transaction and execute this read or SQL query in\nit. The transaction ID of the new transaction is returned in\nResultSetMetadata.transaction, which is a Transaction.", - "$ref": "TransactionOptions" + "instances": { + "description": "The list of requested instances.", + "type": "array", + "items": { + "$ref": "Instance" + } }, - "id": { - "description": "Execute the read or SQL query in a previously-started transaction.", - "format": "byte", + "nextPageToken": { + "description": "`next_page_token` can be sent in a subsequent\nListInstances call to fetch more\nof the matching instances.", "type": "string" } }, - "id": "TransactionSelector" + "id": "ListInstancesResponse", + "description": "The response for ListInstances.", + "type": "object" }, - "Mutation": { - "description": "A modification to one or more Cloud Spanner rows. Mutations can be\napplied to a Cloud Spanner database by sending them in a\nCommit call.", - "type": "object", + "KeyRange": { "properties": { - "delete": { - "$ref": "Delete", - "description": "Delete rows from a table. Succeeds whether or not the named\nrows were present." - }, - "insert": { - "description": "Insert new rows in a table. If any of the rows already exist,\nthe write or transaction fails with error `ALREADY_EXISTS`.", - "$ref": "Write" - }, - "insertOrUpdate": { - "$ref": "Write", - "description": "Like insert, except that if the row already exists, then\nits column values are overwritten with the ones provided. Any\ncolumn values not explicitly written are preserved." - }, - "update": { - "description": "Update existing rows in a table. If any of the rows does not\nalready exist, the transaction fails with error `NOT_FOUND`.", - "$ref": "Write" + "endClosed": { + "description": "If the end is closed, then the range includes all rows whose\nfirst `len(end_closed)` key columns exactly match `end_closed`.", + "type": "array", + "items": { + "type": "any" + } }, - "replace": { - "description": "Like insert, except that if the row already exists, it is\ndeleted, and the column values provided are inserted\ninstead. Unlike insert_or_update, this means any values not\nexplicitly written become `NULL`.", - "$ref": "Write" - } - }, - "id": "Mutation" - }, - "KeySet": { - "properties": { - "ranges": { - "description": "A list of key ranges. See KeyRange for more information about\nkey range specifications.", + "startClosed": { + "description": "If the start is closed, then the range includes all rows whose\nfirst `len(start_closed)` key columns exactly match `start_closed`.", "type": "array", "items": { - "$ref": "KeyRange" + "type": "any" } }, - "keys": { - "description": "A list of specific keys. Entries in `keys` should have exactly as\nmany elements as there are columns in the primary or index key\nwith which this `KeySet` is used. Individual key values are\nencoded as described here.", + "startOpen": { + "description": "If the start is open, then the range excludes rows whose first\n`len(start_open)` key columns exactly match `start_open`.", "type": "array", "items": { - "type": "array", - "items": { - "type": "any" - } + "type": "any" } }, - "all": { - "description": "For convenience `all` can be set to `true` to indicate that this\n`KeySet` matches all keys in the table or index. Note that any keys\nspecified in `keys` or `ranges` are only yielded once.", - "type": "boolean" - } - }, - "id": "KeySet", - "description": "`KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All\nthe keys are expected to be in the same table or index. The keys need\nnot be sorted in any particular way.\n\nIf the same key is specified multiple times in the set (for example\nif two ranges, two keys, or a key and a range overlap), Cloud Spanner\nbehaves as if the key were only specified once.", - "type": "object" - }, - "GetDatabaseDdlResponse": { - "properties": { - "statements": { - "description": "A list of formatted DDL statements defining the schema of the database\nspecified in the request.", + "endOpen": { + "description": "If the end is open, then the range excludes rows whose first\n`len(end_open)` key columns exactly match `end_open`.", "type": "array", "items": { - "type": "string" + "type": "any" } } }, - "id": "GetDatabaseDdlResponse", - "description": "The response for GetDatabaseDdl.", + "id": "KeyRange", + "description": "KeyRange represents a range of rows in a table or index.\n\nA range has a start key and an end key. These keys can be open or\nclosed, indicating if the range includes rows with that key.\n\nKeys are represented by lists, where the ith value in the list\ncorresponds to the ith component of the table or index primary key.\nIndividual values are encoded as described here.\n\nFor example, consider the following table definition:\n\n CREATE TABLE UserEvents (\n UserName STRING(MAX),\n EventDate STRING(10)\n ) PRIMARY KEY(UserName, EventDate);\n\nThe following keys name rows in this table:\n\n \"Bob\", \"2014-09-23\"\n\nSince the `UserEvents` table's `PRIMARY KEY` clause names two\ncolumns, each `UserEvents` key has two elements; the first is the\n`UserName`, and the second is the `EventDate`.\n\nKey ranges with multiple components are interpreted\nlexicographically by component using the table or index key's declared\nsort order. For example, the following range returns all events for\nuser `\"Bob\"` that occurred in the year 2015:\n\n \"start_closed\": [\"Bob\", \"2015-01-01\"]\n \"end_closed\": [\"Bob\", \"2015-12-31\"]\n\nStart and end keys can omit trailing key components. This affects the\ninclusion and exclusion of rows that exactly match the provided key\ncomponents: if the key is closed, then rows that exactly match the\nprovided components are included; if the key is open, then rows\nthat exactly match are not included.\n\nFor example, the following range includes all events for `\"Bob\"` that\noccurred during and after the year 2000:\n\n \"start_closed\": [\"Bob\", \"2000-01-01\"]\n \"end_closed\": [\"Bob\"]\n\nThe next example retrieves all events for `\"Bob\"`:\n\n \"start_closed\": [\"Bob\"]\n \"end_closed\": [\"Bob\"]\n\nTo retrieve events before the year 2000:\n\n \"start_closed\": [\"Bob\"]\n \"end_open\": [\"Bob\", \"2000-01-01\"]\n\nThe following range includes all rows in the table:\n\n \"start_closed\": []\n \"end_closed\": []\n\nThis range returns all users whose `UserName` begins with any\ncharacter from A to C:\n\n \"start_closed\": [\"A\"]\n \"end_open\": [\"D\"]\n\nThis range returns all users whose `UserName` begins with B:\n\n \"start_closed\": [\"B\"]\n \"end_open\": [\"C\"]\n\nKey ranges honor column sort order. For example, suppose a table is\ndefined as follows:\n\n CREATE TABLE DescendingSortedTable {\n Key INT64,\n ...\n ) PRIMARY KEY(Key DESC);\n\nThe following range retrieves all rows with key values between 1\nand 100 inclusive:\n\n \"start_closed\": [\"100\"]\n \"end_closed\": [\"1\"]\n\nNote that 100 is passed as the start, and 1 is passed as the end,\nbecause `Key` is a descending column in the schema.", "type": "object" }, - "Database": { - "description": "A Cloud Spanner database.", + "ShortRepresentation": { + "description": "Condensed representation of a node and its subtree. Only present for\n`SCALAR` PlanNode(s).", "type": "object", "properties": { - "state": { - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "READY" - ], - "description": "Output only. The current database state.", - "type": "string", - "enumDescriptions": [ - "Not specified.", - "The database is still being created. Operations on the database may fail\nwith `FAILED_PRECONDITION` in this state.", - "The database is fully created and ready for use." - ] - }, - "name": { - "description": "Required. The name of the database. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/databases/\u003cdatabase\u003e`,\nwhere `\u003cdatabase\u003e` is as specified in the `CREATE DATABASE`\nstatement. This name can be passed to other API methods to\nidentify the database.", + "description": { + "description": "A string representation of the expression subtree rooted at this node.", "type": "string" + }, + "subqueries": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "A mapping of (subquery variable name) -\u003e (subquery node id) for cases\nwhere the `description` string of this node references a `SCALAR`\nsubquery contained in the expression subtree rooted at this node. The\nreferenced `SCALAR` subquery may not necessarily be a direct child of\nthis node.", + "type": "object" } }, - "id": "Database" + "id": "ShortRepresentation" }, - "Instance": { + "InstanceConfig": { + "description": "A possible configuration for a Cloud Spanner instance. Configurations\ndefine the geographic placement of nodes and their replication.", + "type": "object", "properties": { - "config": { - "description": "Required. The name of the instance's configuration. Values are of the form\n`projects/\u003cproject\u003e/instanceConfigs/\u003cconfiguration\u003e`. See\nalso InstanceConfig and\nListInstanceConfigs.", - "type": "string" - }, - "state": { - "enumDescriptions": [ - "Not specified.", - "The instance is still being created. Resources may not be\navailable yet, and operations such as database creation may not\nwork.", - "The instance is fully created and ready to do work such as\ncreating databases." - ], - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "READY" - ], - "description": "Output only. The current instance state. For\nCreateInstance, the state must be\neither omitted or set to `CREATING`. For\nUpdateInstance, the state must be\neither omitted or set to `READY`.", - "type": "string" - }, "name": { - "description": "Required. A unique identifier for the instance, which cannot be changed\nafter the instance is created. Values are of the form\n`projects/\u003cproject\u003e/instances/a-z*[a-z0-9]`. The final\nsegment of the name must be between 6 and 30 characters in length.", + "description": "A unique identifier for the instance configuration. Values\nare of the form\n`projects/\u003cproject\u003e/instanceConfigs/a-z*`", "type": "string" }, "displayName": { - "description": "Required. The descriptive name for this instance as it appears in UIs.\nMust be unique per project and between 4 and 30 characters in length.", + "description": "The name of this instance configuration as it appears in UIs.", "type": "string" + } + }, + "id": "InstanceConfig" + }, + "UpdateInstanceRequest": { + "properties": { + "instance": { + "$ref": "Instance", + "description": "Required. The instance to update, which must always include the instance\nname. Otherwise, only fields mentioned in [][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] need be included." }, - "nodeCount": { - "description": "Required. The number of nodes allocated to this instance.", - "format": "int32", - "type": "integer" + "fieldMask": { + "description": "Required. A mask specifying which fields in [][google.spanner.admin.instance.v1.UpdateInstanceRequest.instance] should be updated.\nThe field mask must always be specified; this prevents any future fields in\n[][google.spanner.admin.instance.v1.Instance] from being erased accidentally by clients that do not know\nabout them.", + "format": "google-fieldmask", + "type": "string" + } + }, + "id": "UpdateInstanceRequest", + "description": "The request for UpdateInstance.", + "type": "object" + }, + "Empty": { + "properties": {}, + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object" + }, + "TransactionOptions": { + "properties": { + "readWrite": { + "$ref": "ReadWrite", + "description": "Transaction may write.\n\nAuthorization to begin a read-write transaction requires\n`spanner.databases.beginOrRollbackReadWriteTransaction` permission\non the `session` resource." }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Cloud Labels are a flexible and lightweight mechanism for organizing cloud\nresources into groups that reflect a customer's organizational needs and\ndeployment strategies. Cloud Labels can be used to filter collections of\nresources. They can be used to control how resource metrics are aggregated.\nAnd they can be used as arguments to policy management rules (e.g. route,\nfirewall, load balancing, etc.).\n\n * Label keys must be between 1 and 63 characters long and must conform to\n the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n * Label values must be between 0 and 63 characters long and must conform\n to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.\n * No more than 64 labels can be associated with a given resource.\n\nSee https://goo.gl/xmQnxf for more information on and examples of labels.\n\nIf you plan to use labels in your own code, please note that additional\ncharacters may be allowed in the future. And so you are advised to use an\ninternal label representation, such as JSON, which doesn't rely upon\nspecific characters being disallowed. For example, representing labels\nas the string: name + \"_\" + value would prove problematic if we were to\nallow \"_\" in a future release.", - "type": "object" + "readOnly": { + "description": "Transaction will not write.\n\nAuthorization to begin a read-only transaction requires\n`spanner.databases.beginReadOnlyTransaction` permission\non the `session` resource.", + "$ref": "ReadOnly" } }, - "id": "Instance", - "description": "An isolated set of Cloud Spanner resources on which databases can be hosted.", + "id": "TransactionOptions", + "description": "# Transactions\n\n\nEach session can have at most one active transaction at a time. After the\nactive transaction is completed, the session can immediately be\nre-used for the next transaction. It is not necessary to create a\nnew session for each transaction.\n\n# Transaction Modes\n\nCloud Spanner supports two transaction modes:\n\n 1. Locking read-write. This type of transaction is the only way\n to write data into Cloud Spanner. These transactions rely on\n pessimistic locking and, if necessary, two-phase commit.\n Locking read-write transactions may abort, requiring the\n application to retry.\n\n 2. Snapshot read-only. This transaction type provides guaranteed\n consistency across several reads, but does not allow\n writes. Snapshot read-only transactions can be configured to\n read at timestamps in the past. Snapshot read-only\n transactions do not need to be committed.\n\nFor transactions that only read, snapshot read-only transactions\nprovide simpler semantics and are almost always faster. In\nparticular, read-only transactions do not take locks, so they do\nnot conflict with read-write transactions. As a consequence of not\ntaking locks, they also do not abort, so retry loops are not needed.\n\nTransactions may only read/write data in a single database. They\nmay, however, read/write data in different tables within that\ndatabase.\n\n## Locking Read-Write Transactions\n\nLocking transactions may be used to atomically read-modify-write\ndata anywhere in a database. This type of transaction is externally\nconsistent.\n\nClients should attempt to minimize the amount of time a transaction\nis active. Faster transactions commit with higher probability\nand cause less contention. Cloud Spanner attempts to keep read locks\nactive as long as the transaction continues to do reads, and the\ntransaction has not been terminated by\nCommit or\nRollback. Long periods of\ninactivity at the client may cause Cloud Spanner to release a\ntransaction's locks and abort it.\n\nReads performed within a transaction acquire locks on the data\nbeing read. Writes can only be done at commit time, after all reads\nhave been completed.\nConceptually, a read-write transaction consists of zero or more\nreads or SQL queries followed by\nCommit. At any time before\nCommit, the client can send a\nRollback request to abort the\ntransaction.\n\n### Semantics\n\nCloud Spanner can commit the transaction if all read locks it acquired\nare still valid at commit time, and it is able to acquire write\nlocks for all writes. Cloud Spanner can abort the transaction for any\nreason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees\nthat the transaction has not modified any user data in Cloud Spanner.\n\nUnless the transaction commits, Cloud Spanner makes no guarantees about\nhow long the transaction's locks were held for. It is an error to\nuse Cloud Spanner locks for any sort of mutual exclusion other than\nbetween Cloud Spanner transactions themselves.\n\n### Retrying Aborted Transactions\n\nWhen a transaction aborts, the application can choose to retry the\nwhole transaction again. To maximize the chances of successfully\ncommitting the retry, the client should execute the retry in the\nsame session as the original attempt. The original session's lock\npriority increases with each consecutive abort, meaning that each\nattempt has a slightly better chance of success than the previous.\n\nUnder some circumstances (e.g., many transactions attempting to\nmodify the same row(s)), a transaction can abort many times in a\nshort period before successfully committing. Thus, it is not a good\nidea to cap the number of retries a transaction can attempt;\ninstead, it is better to limit the total amount of wall time spent\nretrying.\n\n### Idle Transactions\n\nA transaction is considered idle if it has no outstanding reads or\nSQL queries and has not started a read or SQL query within the last 10\nseconds. Idle transactions can be aborted by Cloud Spanner so that they\ndon't hold on to locks indefinitely. In that case, the commit will\nfail with error `ABORTED`.\n\nIf this behavior is undesirable, periodically executing a simple\nSQL query in the transaction (e.g., `SELECT 1`) prevents the\ntransaction from becoming idle.\n\n## Snapshot Read-Only Transactions\n\nSnapshot read-only transactions provides a simpler method than\nlocking read-write transactions for doing several consistent\nreads. However, this type of transaction does not support writes.\n\nSnapshot transactions do not take locks. Instead, they work by\nchoosing a Cloud Spanner timestamp, then executing all reads at that\ntimestamp. Since they do not acquire locks, they do not block\nconcurrent read-write transactions.\n\nUnlike locking read-write transactions, snapshot read-only\ntransactions never abort. They can fail if the chosen read\ntimestamp is garbage collected; however, the default garbage\ncollection policy is generous enough that most applications do not\nneed to worry about this in practice.\n\nSnapshot read-only transactions do not need to call\nCommit or\nRollback (and in fact are not\npermitted to do so).\n\nTo execute a snapshot transaction, the client specifies a timestamp\nbound, which tells Cloud Spanner how to choose a read timestamp.\n\nThe types of timestamp bound are:\n\n - Strong (the default).\n - Bounded staleness.\n - Exact staleness.\n\nIf the Cloud Spanner database to be read is geographically distributed,\nstale read-only transactions can execute more quickly than strong\nor read-write transaction, because they are able to execute far\nfrom the leader replica.\n\nEach type of timestamp bound is discussed in detail below.\n\n### Strong\n\nStrong reads are guaranteed to see the effects of all transactions\nthat have committed before the start of the read. Furthermore, all\nrows yielded by a single read are consistent with each other -- if\nany part of the read observes a transaction, all parts of the read\nsee the transaction.\n\nStrong reads are not repeatable: two consecutive strong read-only\ntransactions might return inconsistent results if there are\nconcurrent writes. If consistency across reads is required, the\nreads should be executed within a transaction or at an exact read\ntimestamp.\n\nSee TransactionOptions.ReadOnly.strong.\n\n### Exact Staleness\n\nThese timestamp bounds execute reads at a user-specified\ntimestamp. Reads at a timestamp are guaranteed to see a consistent\nprefix of the global transaction history: they observe\nmodifications done by all transactions with a commit timestamp \u003c=\nthe read timestamp, and observe none of the modifications done by\ntransactions with a larger commit timestamp. They will block until\nall conflicting transactions that may be assigned commit timestamps\n\u003c= the read timestamp have finished.\n\nThe timestamp can either be expressed as an absolute Cloud Spanner commit\ntimestamp or a staleness relative to the current time.\n\nThese modes do not require a \"negotiation phase\" to pick a\ntimestamp. As a result, they execute slightly faster than the\nequivalent boundedly stale concurrency modes. On the other hand,\nboundedly stale reads usually return fresher results.\n\nSee TransactionOptions.ReadOnly.read_timestamp and\nTransactionOptions.ReadOnly.exact_staleness.\n\n### Bounded Staleness\n\nBounded staleness modes allow Cloud Spanner to pick the read timestamp,\nsubject to a user-provided staleness bound. Cloud Spanner chooses the\nnewest timestamp within the staleness bound that allows execution\nof the reads at the closest available replica without blocking.\n\nAll rows yielded are consistent with each other -- if any part of\nthe read observes a transaction, all parts of the read see the\ntransaction. Boundedly stale reads are not repeatable: two stale\nreads, even if they use the same staleness bound, can execute at\ndifferent timestamps and thus return inconsistent results.\n\nBoundedly stale reads execute in two phases: the first phase\nnegotiates a timestamp among all replicas needed to serve the\nread. In the second phase, reads are executed at the negotiated\ntimestamp.\n\nAs a result of the two phase execution, bounded staleness reads are\nusually a little slower than comparable exact staleness\nreads. However, they are typically able to return fresher\nresults, and are more likely to execute at the closest replica.\n\nBecause the timestamp negotiation requires up-front knowledge of\nwhich rows will be read, it can only be used with single-use\nread-only transactions.\n\nSee TransactionOptions.ReadOnly.max_staleness and\nTransactionOptions.ReadOnly.min_read_timestamp.\n\n### Old Read Timestamps and Garbage Collection\n\nCloud Spanner continuously garbage collects deleted and overwritten data\nin the background to reclaim storage space. This process is known\nas \"version GC\". By default, version GC reclaims versions after they\nare one hour old. Because of this, Cloud Spanner cannot perform reads\nat read timestamps more than one hour in the past. This\nrestriction also applies to in-progress reads and/or SQL queries whose\ntimestamp become too old while executing. Reads and SQL queries with\ntoo-old read timestamps fail with the error `FAILED_PRECONDITION`.", "type": "object" }, - "ListDatabasesResponse": { - "description": "The response for ListDatabases.", + "CreateDatabaseRequest": { + "description": "The request for CreateDatabase.", "type": "object", "properties": { - "nextPageToken": { - "description": "`next_page_token` can be sent in a subsequent\nListDatabases call to fetch more\nof the matching databases.", + "createStatement": { + "description": "Required. A `CREATE DATABASE` statement, which specifies the ID of the\nnew database. The database ID must conform to the regular expression\n`a-z*[a-z0-9]` and be between 2 and 30 characters in length.", "type": "string" }, - "databases": { - "description": "Databases that matched the request.", + "extraStatements": { + "description": "An optional list of DDL statements to run inside the newly created\ndatabase. Statements can create tables, indexes, etc. These\nstatements execute atomically with the creation of the database:\nif there is an error in any statement, the database is not created.", "type": "array", "items": { - "$ref": "Database" + "type": "string" } } }, - "id": "ListDatabasesResponse" + "id": "CreateDatabaseRequest" }, - "SetIamPolicyRequest": { + "CreateInstanceRequest": { "properties": { - "updateMask": { - "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", - "format": "google-fieldmask", + "instanceId": { + "description": "Required. The ID of the instance to create. Valid identifiers are of the\nform `a-z*[a-z0-9]` and must be between 6 and 30 characters in\nlength.", "type": "string" }, - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." + "instance": { + "description": "Required. The instance to create. The name may be omitted, but if\nspecified must be `\u003cparent\u003e/instances/\u003cinstance_id\u003e`.", + "$ref": "Instance" } }, - "id": "SetIamPolicyRequest", - "description": "Request message for `SetIamPolicy` method.", + "id": "CreateInstanceRequest", + "description": "The request for CreateInstance.", "type": "object" }, - "RollbackRequest": { - "description": "The request for Rollback.", - "type": "object", - "properties": { - "transactionId": { - "description": "Required. The transaction to roll back.", - "format": "byte", - "type": "string" - } - }, - "id": "RollbackRequest" - }, - "Transaction": { - "description": "A transaction.", - "type": "object", + "Condition": { "properties": { - "readTimestamp": { - "description": "For snapshot read-only transactions, the read timestamp chosen\nfor the transaction. Not returned by default: see\nTransactionOptions.ReadOnly.return_read_timestamp.", - "format": "google-datetime", + "svc": { + "description": "Trusted attributes discharged by the service.", "type": "string" }, - "id": { - "description": "`id` may be used to identify the transaction in subsequent\nRead,\nExecuteSql,\nCommit, or\nRollback calls.\n\nSingle-use read-only transactions do not have IDs, because\nsingle-use transactions do not support multiple requests.", - "format": "byte", + "sys": { + "enumDescriptions": [ + "Default non-attribute type", + "Region of the resource", + "Service name", + "Resource name", + "IP address of the caller" + ], + "enum": [ + "NO_ATTR", + "REGION", + "SERVICE", + "NAME", + "IP" + ], + "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", "type": "string" - } - }, - "id": "Transaction" - }, - "UpdateDatabaseDdlMetadata": { - "description": "Metadata type for the operation returned by\nUpdateDatabaseDdl.", - "type": "object", - "properties": { - "statements": { - "description": "For an update this list contains all the statements. For an\nindividual statement, this list contains only that statement.", - "type": "array", - "items": { - "type": "string" - } }, - "commitTimestamps": { - "description": "Reports the commit timestamps of all statements that have\nsucceeded so far, where `commit_timestamps[i]` is the commit\ntimestamp for the statement `statements[i]`.", + "value": { + "description": "DEPRECATED. Use 'values' instead.", + "type": "string" + }, + "values": { + "description": "The objects of the condition. This is mutually exclusive with 'value'.", "type": "array", "items": { - "format": "google-datetime", "type": "string" } }, - "database": { - "description": "The database being modified.", - "type": "string" - } - }, - "id": "UpdateDatabaseDdlMetadata" - }, - "CounterOptions": { - "properties": { - "metric": { - "description": "The metric to update.", + "iam": { + "enumDescriptions": [ + "Default non-attribute.", + "Either principal or (if present) authority selector.", + "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", + "Any of the security realms in the IAMContext (go/security-realms).\nWhen used with IN, the condition indicates \"any of the request's realms\nmatch one of the given values; with NOT_IN, \"none of the realms match\nany of the given values\". It is not permitted to grant access based on\nthe *absence* of a realm, so realm conditions can only be used in\na \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", + "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth." + ], + "enum": [ + "NO_ATTR", + "AUTHORITY", + "ATTRIBUTION", + "SECURITY_REALM", + "APPROVER" + ], + "description": "Trusted attributes supplied by the IAM system.", "type": "string" }, - "field": { - "description": "The field value to attribute.", + "op": { + "enumDescriptions": [ + "Default no-op.", + "DEPRECATED. Use IN instead.", + "DEPRECATED. Use NOT_IN instead.", + "Set-inclusion check.", + "Set-exclusion check.", + "Subject is discharged" + ], + "enum": [ + "NO_OP", + "EQUALS", + "NOT_EQUALS", + "IN", + "NOT_IN", + "DISCHARGED" + ], + "description": "An operator to apply the subject with.", "type": "string" } }, - "id": "CounterOptions", - "description": "Options for counters", - "type": "object" - }, - "StructType": { - "properties": { - "fields": { - "description": "The list of fields that make up this struct. Order is\nsignificant, because values of this struct type are represented as\nlists, where the order of field values matches the order of\nfields in the StructType. In turn, the order of fields\nmatches the order of columns in a read request, or the order of\nfields in the `SELECT` clause of a query.", - "type": "array", - "items": { - "$ref": "Field" - } - } - }, - "id": "StructType", - "description": "`StructType` defines the fields of a STRUCT type.", + "id": "Condition", + "description": "A condition to be met.", "type": "object" }, - "QueryPlan": { + "AuditLogConfig": { "properties": { - "planNodes": { - "description": "The nodes in the query plan. Plan nodes are returned in pre-order starting\nwith the plan root. Each PlanNode's `id` corresponds to its index in\n`plan_nodes`.", + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", "type": "array", "items": { - "$ref": "PlanNode" + "type": "string" } + }, + "logType": { + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "description": "The log type that this config enables.", + "type": "string", + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ] } }, - "id": "QueryPlan", - "description": "Contains an ordered list of nodes appearing in the query plan.", + "id": "AuditLogConfig", + "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", "type": "object" }, - "Field": { + "ReadOnly": { "properties": { - "name": { - "description": "The name of the field. For reads, this is the column name. For\nSQL queries, it is the column alias (e.g., `\"Word\"` in the\nquery `\"SELECT 'hello' AS Word\"`), or the column name (e.g.,\n`\"ColName\"` in the query `\"SELECT ColName FROM Table\"`). Some\ncolumns might have an empty name (e.g., !\"SELECT\nUPPER(ColName)\"`). Note that a query result can contain\nmultiple fields with the same name.", + "minReadTimestamp": { + "description": "Executes all reads at a timestamp \u003e= `min_read_timestamp`.\n\nThis is useful for requesting fresher data than some previous\nread, or data that is fresh enough to observe the effects of some\npreviously committed transaction whose timestamp is known.\n\nNote that this option can only be used in single-use transactions.", + "format": "google-datetime", "type": "string" }, - "type": { - "description": "The type of the field.", - "$ref": "Type" + "maxStaleness": { + "description": "Read data at a timestamp \u003e= `NOW - max_staleness`\nseconds. Guarantees that all writes that have committed more\nthan the specified number of seconds ago are visible. Because\nCloud Spanner chooses the exact timestamp, this mode works even if\nthe client's local clock is substantially skewed from Cloud Spanner\ncommit timestamps.\n\nUseful for reading the freshest data available at a nearby\nreplica, while bounding the possible staleness if the local\nreplica has fallen behind.\n\nNote that this option can only be used in single-use\ntransactions.", + "format": "google-duration", + "type": "string" + }, + "readTimestamp": { + "description": "Executes all reads at the given timestamp. Unlike other modes,\nreads at a specific timestamp are repeatable; the same read at\nthe same timestamp always returns the same data. If the\ntimestamp is in the future, the read will block until the\nspecified timestamp, modulo the read's deadline.\n\nUseful for large scale consistent reads such as mapreduces, or\nfor coordinating many reads against a consistent snapshot of the\ndata.", + "format": "google-datetime", + "type": "string" + }, + "returnReadTimestamp": { + "description": "If true, the Cloud Spanner-selected read timestamp is included in\nthe Transaction message that describes the transaction.", + "type": "boolean" + }, + "exactStaleness": { + "description": "Executes all reads at a timestamp that is `exact_staleness`\nold. The timestamp is chosen soon after the read is started.\n\nGuarantees that all writes that have committed more than the\nspecified number of seconds ago are visible. Because Cloud Spanner\nchooses the exact timestamp, this mode works even if the client's\nlocal clock is substantially skewed from Cloud Spanner commit\ntimestamps.\n\nUseful for reading at nearby replicas without the distributed\ntimestamp negotiation overhead of `max_staleness`.", + "format": "google-duration", + "type": "string" + }, + "strong": { + "description": "Read at a timestamp where all previously committed transactions\nare visible.", + "type": "boolean" } }, - "id": "Field", - "description": "Message representing a single field of a struct.", + "id": "ReadOnly", + "description": "Options for read-only transactions.", "type": "object" }, - "TestIamPermissionsRequest": { - "description": "Request message for `TestIamPermissions` method.", - "type": "object", - "properties": { - "permissions": { - "description": "REQUIRED: The set of permissions to check for 'resource'.\nPermissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "TestIamPermissionsRequest" - }, - "ResultSetStats": { - "description": "Additional statistics about a ResultSet or PartialResultSet.", + "ExecuteSqlRequest": { + "description": "The request for ExecuteSql and\nExecuteStreamingSql.", "type": "object", "properties": { - "queryStats": { + "transaction": { + "description": "The transaction to use. If none is provided, the default is a\ntemporary read-only transaction with strong concurrency.", + "$ref": "TransactionSelector" + }, + "resumeToken": { + "description": "If this request is resuming a previously interrupted SQL query\nexecution, `resume_token` should be copied from the last\nPartialResultSet yielded before the interruption. Doing this\nenables the new SQL query execution to resume where the last one left\noff. The rest of the request parameters must exactly match the\nrequest that yielded this token.", + "format": "byte", + "type": "string" + }, + "paramTypes": { + "additionalProperties": { + "$ref": "Type" + }, + "description": "It is not always possible for Cloud Spanner to infer the right SQL type\nfrom a JSON value. For example, values of type `BYTES` and values\nof type `STRING` both appear in params as JSON strings.\n\nIn these cases, `param_types` can be used to specify the exact\nSQL type for some or all of the SQL query parameters. See the\ndefinition of Type for more information\nabout SQL types.", + "type": "object" + }, + "sql": { + "description": "Required. The SQL query string.", + "type": "string" + }, + "params": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "Aggregated statistics from the execution of the query. Only present when\nthe query is profiled. For example, a query could return the statistics as\nfollows:\n\n {\n \"rows_returned\": \"3\",\n \"elapsed_time\": \"1.22 secs\",\n \"cpu_time\": \"1.19 secs\"\n }", + "description": "The SQL query string can contain parameter placeholders. A parameter\nplaceholder consists of `'@'` followed by the parameter\nname. Parameter names consist of any combination of letters,\nnumbers, and underscores.\n\nParameters can appear anywhere that a literal value is expected. The same\nparameter name can be used more than once, for example:\n `\"WHERE id \u003e @msg_id AND id \u003c @msg_id + 100\"`\n\nIt is an error to execute an SQL query with unbound parameters.\n\nParameter values are specified using `params`, which is a JSON\nobject whose keys are parameter names, and whose values are the\ncorresponding parameter values.", "type": "object" }, - "queryPlan": { - "description": "QueryPlan for the query associated with this result.", - "$ref": "QueryPlan" + "queryMode": { + "enum": [ + "NORMAL", + "PLAN", + "PROFILE" + ], + "description": "Used to control the amount of debugging information returned in\nResultSetStats.", + "type": "string", + "enumDescriptions": [ + "The default mode where only the query result, without any information\nabout the query plan is returned.", + "This mode returns only the query plan, without any result rows or\nexecution statistics information.", + "This mode returns both the query plan and the execution statistics along\nwith the result rows." + ] } }, - "id": "ResultSetStats" + "id": "ExecuteSqlRequest" }, - "CommitResponse": { + "Policy": { + "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", + "type": "object", "properties": { - "commitTimestamp": { - "description": "The Cloud Spanner timestamp at which the transaction committed.", - "format": "google-datetime", + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", + "format": "byte", "type": "string" - } - }, - "id": "CommitResponse", - "description": "The response for Commit.", - "type": "object" - }, - "Type": { - "properties": { - "structType": { - "$ref": "StructType", - "description": "If code == STRUCT, then `struct_type`\nprovides type information for the struct's fields." }, - "arrayElementType": { - "description": "If code == ARRAY, then `array_element_type`\nis the type of the array elements.", - "$ref": "Type" + "iamOwned": { + "type": "boolean" }, - "code": { - "enumDescriptions": [ - "Not specified.", - "Encoded as JSON `true` or `false`.", - "Encoded as `string`, in decimal format.", - "Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or\n`\"-Infinity\"`.", - "Encoded as `string` in RFC 3339 timestamp format. The time zone\nmust be present, and must be `\"Z\"`.", - "Encoded as `string` in RFC 3339 date format.", - "Encoded as `string`.", - "Encoded as a base64-encoded `string`, as described in RFC 4648,\nsection 4.", - "Encoded as `list`, where the list elements are represented\naccording to array_element_type.", - "Encoded as `list`, where list element `i` is represented according\nto [struct_type.fields[i]][google.spanner.v1.StructType.fields]." - ], - "enum": [ - "TYPE_CODE_UNSPECIFIED", - "BOOL", - "INT64", - "FLOAT64", - "TIMESTAMP", - "DATE", - "STRING", - "BYTES", - "ARRAY", - "STRUCT" - ], - "description": "Required. The TypeCode for this type.", - "type": "string" - } - }, - "id": "Type", - "description": "`Type` indicates the type of a Cloud Spanner value, as might be stored in a\ntable cell or returned from an SQL query.", - "type": "object" - }, - "PlanNode": { - "properties": { - "childLinks": { - "description": "List of child node `index`es and their relationship to this parent.", + "rules": { + "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", "type": "array", "items": { - "$ref": "ChildLink" + "$ref": "Rule" } }, - "metadata": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Attributes relevant to the node contained in a group of key-value pairs.\nFor example, a Parameter Reference node could have the following\ninformation in its metadata:\n\n {\n \"parameter_reference\": \"param1\",\n \"parameter_type\": \"array\"\n }", - "type": "object" - }, - "executionStats": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "The execution statistics associated with the node, contained in a group of\nkey-value pairs. Only present if the plan was returned as a result of a\nprofile query. For example, number of executions, number of rows/time per\nexecution etc.", - "type": "object" - }, - "shortRepresentation": { - "$ref": "ShortRepresentation", - "description": "Condensed representation for SCALAR nodes." - }, - "index": { - "description": "The `PlanNode`'s index in node list.", + "version": { + "description": "Version of the `Policy`. The default version is 0.", "format": "int32", "type": "integer" }, - "kind": { - "enumDescriptions": [ - "Not specified.", - "Denotes a Relational operator node in the expression tree. Relational\noperators represent iterative processing of rows during query execution.\nFor example, a `TableScan` operation that reads rows from a table.", - "Denotes a Scalar node in the expression tree. Scalar nodes represent\nnon-iterable entities in the query plan. For example, constants or\narithmetic operators appearing inside predicate expressions or references\nto column names." - ], - "enum": [ - "KIND_UNSPECIFIED", - "RELATIONAL", - "SCALAR" - ], - "description": "Used to determine the type of node. May be needed for visualizing\ndifferent kinds of nodes differently. For example, If the node is a\nSCALAR node, it will have a condensed representation\nwhich can be used to directly embed a description of the node in its\nparent.", - "type": "string" + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "type": "array", + "items": { + "$ref": "AuditConfig" + } }, - "displayName": { - "description": "The display name for the node.", - "type": "string" + "bindings": { + "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "type": "array", + "items": { + "$ref": "Binding" + } } }, - "id": "PlanNode", - "description": "Node information for nodes appearing in a QueryPlan.plan_nodes.", - "type": "object" + "id": "Policy" }, - "CreateInstanceMetadata": { - "description": "Metadata type for the operation returned by\nCreateInstance.", + "ReadRequest": { + "description": "The request for Read and\nStreamingRead.", "type": "object", "properties": { - "cancelTime": { - "description": "The time at which this operation was cancelled. If set, this operation is\nin the process of undoing itself (which is guaranteed to succeed) and\ncannot be cancelled again.", - "format": "google-datetime", + "limit": { + "description": "If greater than zero, only the first `limit` rows are yielded. If `limit`\nis zero, the default is no limit.", + "format": "int64", "type": "string" }, - "endTime": { - "description": "The time at which this operation failed or was completed successfully.", - "format": "google-datetime", + "index": { + "description": "If non-empty, the name of an index on table. This index is\nused instead of the table primary key when interpreting key_set\nand sorting result rows. See key_set for further information.", "type": "string" }, - "instance": { - "description": "The instance being created.", - "$ref": "Instance" + "keySet": { + "$ref": "KeySet", + "description": "Required. `key_set` identifies the rows to be yielded. `key_set` names the\nprimary keys of the rows in table to be yielded, unless index\nis present. If index is present, then key_set instead names\nindex keys in index.\n\nRows are yielded in table primary key order (if index is empty)\nor index key order (if index is non-empty).\n\nIt is not an error for the `key_set` to name rows that do not\nexist in the database. Read yields nothing for nonexistent rows." }, - "startTime": { - "description": "The time at which the\nCreateInstance request was\nreceived.", - "format": "google-datetime", + "columns": { + "description": "The columns of table to be returned for each row matching\nthis request.", + "type": "array", + "items": { + "type": "string" + } + }, + "transaction": { + "$ref": "TransactionSelector", + "description": "The transaction to use. If none is provided, the default is a\ntemporary read-only transaction with strong concurrency." + }, + "resumeToken": { + "description": "If this request is resuming a previously interrupted read,\n`resume_token` should be copied from the last\nPartialResultSet yielded before the interruption. Doing this\nenables the new read to resume where the last read left off. The\nrest of the request parameters must exactly match the request\nthat yielded this token.", + "format": "byte", + "type": "string" + }, + "table": { + "description": "Required. The name of the table in the database to be read.", "type": "string" } }, - "id": "CreateInstanceMetadata" + "id": "ReadRequest" }, - "AuditConfig": { + "Write": { "properties": { - "service": { - "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.", + "table": { + "description": "Required. The table whose rows will be written.", "type": "string" }, - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.\nNext ID: 4", + "columns": { + "description": "The names of the columns in table to be written.\n\nThe list of columns must contain enough columns to allow\nCloud Spanner to derive values for all primary key columns in the\nrow(s) to be modified.", "type": "array", "items": { - "$ref": "AuditLogConfig" + "type": "string" } }, - "exemptedMembers": { - "description": "Specifies the identities that are exempted from \"data access\" audit\nlogging for the `service` specified above.\nFollows the same format of Binding.members.\nThis field is deprecated in favor of per-permission-type exemptions.", + "values": { + "description": "The values to be written. `values` can contain more than one\nlist of values. If it does, then multiple rows are written, one\nfor each entry in `values`. Each list in `values` must have\nexactly as many entries as there are entries in columns\nabove. Sending multiple lists is equivalent to sending multiple\n`Mutation`s, each containing one `values` entry and repeating\ntable and columns. Individual values in each list are\nencoded as described here.", "type": "array", "items": { - "type": "string" + "type": "array", + "items": { + "type": "any" + } } } }, - "id": "AuditConfig", - "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.", - "type": "object" - }, - "ChildLink": { - "properties": { - "childIndex": { - "description": "The node to which the link points.", - "format": "int32", - "type": "integer" - }, - "variable": { - "description": "Only present if the child node is SCALAR and corresponds\nto an output variable of the parent node. The field carries the name of\nthe output variable.\nFor example, a `TableScan` operator that reads rows from a table will\nhave child links to the `SCALAR` nodes representing the output variables\ncreated for each column that is read by the operator. The corresponding\n`variable` fields will be set to the variable names assigned to the\ncolumns.", - "type": "string" - }, - "type": { - "description": "The type of the link. For example, in Hash Joins this could be used to\ndistinguish between the build child and the probe child, or in the case\nof the child being an output variable, to represent the tag associated\nwith the output variable.", - "type": "string" - } - }, - "id": "ChildLink", - "description": "Metadata associated with a parent-child relationship appearing in a\nPlanNode.", + "id": "Write", + "description": "Arguments to insert, update, insert_or_update, and\nreplace operations.", "type": "object" }, - "CloudAuditOptions": { - "description": "Write a Cloud Audit log", + "DataAccessOptions": { + "description": "Write a Data Access (Gin) log", "type": "object", "properties": {}, - "id": "CloudAuditOptions" + "id": "DataAccessOptions" }, - "Delete": { - "description": "Arguments to delete operations.", + "ReadWrite": { + "properties": {}, + "id": "ReadWrite", + "description": "Options for read-write transactions.", + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", "type": "object", "properties": { - "keySet": { - "$ref": "KeySet", - "description": "Required. The primary keys of the rows within table to delete." + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" }, - "table": { - "description": "Required. The table whose rows will be deleted.", + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", "type": "string" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", + "type": "object" } }, - "id": "Delete" + "id": "Operation" }, - "ListInstanceConfigsResponse": { + "Status": { "properties": { - "nextPageToken": { - "description": "`next_page_token` can be sent in a subsequent\nListInstanceConfigs call to\nfetch more of the matching instance configurations.", - "type": "string" - }, - "instanceConfigs": { - "description": "The list of requested instance configurations.", + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "$ref": "InstanceConfig" + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" } }, - "id": "ListInstanceConfigsResponse", - "description": "The response for ListInstanceConfigs.", - "type": "object" - }, - "BeginTransactionRequest": { - "properties": { - "options": { - "description": "Required. Options for the new transaction.", - "$ref": "TransactionOptions" - } - }, - "id": "BeginTransactionRequest", - "description": "The request for BeginTransaction.", + "id": "Status", + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object" }, - "CommitRequest": { + "ResultSet": { + "description": "Results from Read or\nExecuteSql.", + "type": "object", "properties": { - "singleUseTransaction": { - "description": "Execute mutations in a temporary transaction. Note that unlike\ncommit of a previously-started transaction, commit with a\ntemporary transaction is non-idempotent. That is, if the\n`CommitRequest` is sent to Cloud Spanner more than once (for\ninstance, due to retries in the application, or in the\ntransport library), it is possible that the mutations are\nexecuted more than once. If this is undesirable, use\nBeginTransaction and\nCommit instead.", - "$ref": "TransactionOptions" - }, - "mutations": { - "description": "The mutations to be executed when this transaction commits. All\nmutations are applied atomically, in the order they appear in\nthis list.", + "rows": { + "description": "Each element in `rows` is a row whose format is defined by\nmetadata.row_type. The ith element\nin each row matches the ith field in\nmetadata.row_type. Elements are\nencoded based on type as described\nhere.", "type": "array", "items": { - "$ref": "Mutation" + "type": "array", + "items": { + "type": "any" + } } }, - "transactionId": { - "description": "Commit a previously-started transaction.", - "format": "byte", - "type": "string" + "metadata": { + "$ref": "ResultSetMetadata", + "description": "Metadata about the result set, such as row type information." + }, + "stats": { + "$ref": "ResultSetStats", + "description": "Query plan and execution statistics for the query that produced this\nresult set. These can be requested by setting\nExecuteSqlRequest.query_mode." } }, - "id": "CommitRequest", - "description": "The request for Commit.", - "type": "object" - }, - "GetIamPolicyRequest": { - "properties": {}, - "id": "GetIamPolicyRequest", - "description": "Request message for `GetIamPolicy` method.", - "type": "object" + "id": "ResultSet" }, - "TestIamPermissionsResponse": { - "description": "Response message for `TestIamPermissions` method.", - "type": "object", + "UpdateDatabaseDdlRequest": { "properties": { - "permissions": { - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", + "statements": { + "description": "DDL statements to be applied to the database.", "type": "array", "items": { "type": "string" } - } - }, - "id": "TestIamPermissionsResponse" - }, - "CreateDatabaseMetadata": { - "description": "Metadata type for the operation returned by\nCreateDatabase.", - "type": "object", - "properties": { - "database": { - "description": "The database being created.", + }, + "operationId": { + "description": "If empty, the new update request is assigned an\nautomatically-generated operation ID. Otherwise, `operation_id`\nis used to construct the name of the resulting\nOperation.\n\nSpecifying an explicit operation ID simplifies determining\nwhether the statements were executed in the event that the\nUpdateDatabaseDdl call is replayed,\nor the return value is otherwise lost: the database and\n`operation_id` fields can be combined to form the\nname of the resulting\nlongrunning.Operation: `\u003cdatabase\u003e/operations/\u003coperation_id\u003e`.\n\n`operation_id` should be unique within the database, and must be\na valid identifier: `a-z*`. Note that\nautomatically-generated operation IDs always begin with an\nunderscore. If the named operation already exists,\nUpdateDatabaseDdl returns\n`ALREADY_EXISTS`.", "type": "string" } }, - "id": "CreateDatabaseMetadata" + "id": "UpdateDatabaseDdlRequest", + "description": "Enqueues the given DDL statements to be applied, in order but not\nnecessarily all at once, to the database schema at some point (or\npoints) in the future. The server checks that the statements\nare executable (syntactically valid, name tables that exist, etc.)\nbefore enqueueing them, but they may still fail upon\nlater execution (e.g., if a statement from another batch of\nstatements is applied first and it conflicts in some way, or if\nthere is some data-related problem like a `NULL` value in a column to\nwhich `NOT NULL` would be added). If a statement fails, all\nsubsequent statements in the batch are automatically cancelled.\n\nEach batch of statements is assigned a name which can be used with\nthe Operations API to monitor\nprogress. See the\noperation_id field for more\ndetails.", + "type": "object" }, - "Rule": { - "description": "A rule to be applied in a Policy.", - "type": "object", + "Binding": { "properties": { - "logConfig": { - "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries\nthat match the LOG action.", - "type": "array", - "items": { - "$ref": "LogConfig" - } - }, - "in": { - "description": "If one or more 'in' clauses are specified, the rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", "type": "array", "items": { "type": "string" } }, - "permissions": { - "description": "A permission is a string of form '\u003cservice\u003e.\u003cresource type\u003e.\u003cverb\u003e'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", - "type": "array", - "items": { - "type": "string" - } + "role": { + "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", + "type": "string" + } + }, + "id": "Binding", + "description": "Associates `members` with a `role`.", + "type": "object" + }, + "PartialResultSet": { + "properties": { + "chunkedValue": { + "description": "If true, then the final value in values is chunked, and must\nbe combined with more values from subsequent `PartialResultSet`s\nto obtain a complete field value.", + "type": "boolean" }, - "action": { - "enum": [ - "NO_ACTION", - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG" - ], - "description": "Required", - "type": "string", - "enumDescriptions": [ - "Default no action.", - "Matching 'Entries' grant access.", - "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", - "Matching 'Entries' deny access.", - "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", - "Matching 'Entries' tell IAM.Check callers to generate logs." - ] + "metadata": { + "description": "Metadata about the result set, such as row type information.\nOnly present in the first response.", + "$ref": "ResultSetMetadata" }, - "notIn": { - "description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", + "values": { + "description": "A streamed result set consists of a stream of values, which might\nbe split into many `PartialResultSet` messages to accommodate\nlarge rows and/or large values. Every N complete values defines a\nrow, where N is equal to the number of entries in\nmetadata.row_type.fields.\n\nMost values are encoded based on type as described\nhere.\n\nIt is possible that the last value in values is \"chunked\",\nmeaning that the rest of the value is sent in subsequent\n`PartialResultSet`(s). This is denoted by the chunked_value\nfield. Two or more chunked values can be merged to form a\ncomplete value as follows:\n\n * `bool/number/null`: cannot be chunked\n * `string`: concatenate the strings\n * `list`: concatenate the lists. If the last element in a list is a\n `string`, `list`, or `object`, merge it with the first element in\n the next list by applying these rules recursively.\n * `object`: concatenate the (field name, field value) pairs. If a\n field name is duplicated, then apply these rules recursively\n to merge the field values.\n\nSome examples of merging:\n\n # Strings are concatenated.\n \"foo\", \"bar\" =\u003e \"foobar\"\n\n # Lists of non-strings are concatenated.\n [2, 3], [4] =\u003e [2, 3, 4]\n\n # Lists are concatenated, but the last and first elements are merged\n # because they are strings.\n [\"a\", \"b\"], [\"c\", \"d\"] =\u003e [\"a\", \"bc\", \"d\"]\n\n # Lists are concatenated, but the last and first elements are merged\n # because they are lists. Recursively, the last and first elements\n # of the inner lists are merged because they are strings.\n [\"a\", [\"b\", \"c\"]], [[\"d\"], \"e\"] =\u003e [\"a\", [\"b\", \"cd\"], \"e\"]\n\n # Non-overlapping object fields are combined.\n {\"a\": \"1\"}, {\"b\": \"2\"} =\u003e {\"a\": \"1\", \"b\": 2\"}\n\n # Overlapping object fields are merged.\n {\"a\": \"1\"}, {\"a\": \"2\"} =\u003e {\"a\": \"12\"}\n\n # Examples of merging objects containing lists of strings.\n {\"a\": [\"1\"]}, {\"a\": [\"2\"]} =\u003e {\"a\": [\"12\"]}\n\nFor a more complete example, suppose a streaming SQL query is\nyielding a result set whose rows contain a single string\nfield. The following `PartialResultSet`s might be yielded:\n\n {\n \"metadata\": { ... }\n \"values\": [\"Hello\", \"W\"]\n \"chunked_value\": true\n \"resume_token\": \"Af65...\"\n }\n {\n \"values\": [\"orl\"]\n \"chunked_value\": true\n \"resume_token\": \"Bqp2...\"\n }\n {\n \"values\": [\"d\"]\n \"resume_token\": \"Zx1B...\"\n }\n\nThis sequence of `PartialResultSet`s encodes two rows, one\ncontaining the field value `\"Hello\"`, and a second containing the\nfield value `\"World\" = \"W\" + \"orl\" + \"d\"`.", "type": "array", "items": { - "type": "string" + "type": "any" } }, - "description": { - "description": "Human-readable description of the rule.", + "resumeToken": { + "description": "Streaming calls might be interrupted for a variety of reasons, such\nas TCP connection loss. If this occurs, the stream of results can\nbe resumed by re-sending the original request and including\n`resume_token`. Note that executing any other transaction in the\nsame session invalidates the token.", + "format": "byte", "type": "string" }, - "conditions": { - "description": "Additional restrictions that must be met", + "stats": { + "description": "Query plan and execution statistics for the query that produced this\nstreaming result set. These can be requested by setting\nExecuteSqlRequest.query_mode and are sent\nonly once with the last response in the stream.", + "$ref": "ResultSetStats" + } + }, + "id": "PartialResultSet", + "description": "Partial results from a streaming read or SQL query. Streaming reads and\nSQL queries better tolerate large result sets, large rows, and large\nvalues, but are a little trickier to consume.", + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", "type": "array", "items": { - "$ref": "Condition" + "$ref": "Operation" } } }, - "id": "Rule" + "id": "ListOperationsResponse" }, - "LogConfig": { + "UpdateInstanceMetadata": { + "description": "Metadata type for the operation returned by\nUpdateInstance.", + "type": "object", "properties": { - "counter": { - "$ref": "CounterOptions", - "description": "Counter options." + "instance": { + "description": "The desired end state of the update.", + "$ref": "Instance" }, - "dataAccess": { - "description": "Data access options.", - "$ref": "DataAccessOptions" + "startTime": { + "description": "The time at which UpdateInstance\nrequest was received.", + "format": "google-datetime", + "type": "string" }, - "cloudAudit": { - "description": "Cloud audit options.", - "$ref": "CloudAuditOptions" + "cancelTime": { + "description": "The time at which this operation was cancelled. If set, this operation is\nin the process of undoing itself (which is guaranteed to succeed) and\ncannot be cancelled again.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time at which this operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" } }, - "id": "LogConfig", - "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==\u003e increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1", + "id": "UpdateInstanceMetadata" + }, + "ResultSetMetadata": { + "properties": { + "rowType": { + "description": "Indicates the field names and types for the rows in the result\nset. For example, a SQL query like `\"SELECT UserId, UserName FROM\nUsers\"` could return a `row_type` value like:\n\n \"fields\": [\n { \"name\": \"UserId\", \"type\": { \"code\": \"INT64\" } },\n { \"name\": \"UserName\", \"type\": { \"code\": \"STRING\" } },\n ]", + "$ref": "StructType" + }, + "transaction": { + "$ref": "Transaction", + "description": "If the read or SQL query began a transaction as a side-effect, the\ninformation about the new transaction is yielded here." + } + }, + "id": "ResultSetMetadata", + "description": "Metadata about a ResultSet or PartialResultSet.", "type": "object" }, - "Session": { + "TransactionSelector": { "properties": { - "name": { - "description": "Required. The name of the session.", + "id": { + "description": "Execute the read or SQL query in a previously-started transaction.", + "format": "byte", "type": "string" + }, + "singleUse": { + "description": "Execute the read or SQL query in a temporary transaction.\nThis is the most efficient way to execute a transaction that\nconsists of a single SQL query.", + "$ref": "TransactionOptions" + }, + "begin": { + "$ref": "TransactionOptions", + "description": "Begin a new transaction and execute this read or SQL query in\nit. The transaction ID of the new transaction is returned in\nResultSetMetadata.transaction, which is a Transaction." } }, - "id": "Session", - "description": "A session in the Cloud Spanner API.", + "id": "TransactionSelector", + "description": "This message is used to select the transaction in which a\nRead or\nExecuteSql call runs.\n\nSee TransactionOptions for more information about transactions.", "type": "object" }, - "ListInstancesResponse": { - "description": "The response for ListInstances.", - "type": "object", + "Mutation": { "properties": { - "instances": { - "description": "The list of requested instances.", - "type": "array", - "items": { - "$ref": "Instance" - } + "update": { + "description": "Update existing rows in a table. If any of the rows does not\nalready exist, the transaction fails with error `NOT_FOUND`.", + "$ref": "Write" }, - "nextPageToken": { - "description": "`next_page_token` can be sent in a subsequent\nListInstances call to fetch more\nof the matching instances.", - "type": "string" + "replace": { + "description": "Like insert, except that if the row already exists, it is\ndeleted, and the column values provided are inserted\ninstead. Unlike insert_or_update, this means any values not\nexplicitly written become `NULL`.", + "$ref": "Write" + }, + "delete": { + "$ref": "Delete", + "description": "Delete rows from a table. Succeeds whether or not the named\nrows were present." + }, + "insert": { + "$ref": "Write", + "description": "Insert new rows in a table. If any of the rows already exist,\nthe write or transaction fails with error `ALREADY_EXISTS`." + }, + "insertOrUpdate": { + "$ref": "Write", + "description": "Like insert, except that if the row already exists, then\nits column values are overwritten with the ones provided. Any\ncolumn values not explicitly written are preserved." } }, - "id": "ListInstancesResponse" + "id": "Mutation", + "description": "A modification to one or more Cloud Spanner rows. Mutations can be\napplied to a Cloud Spanner database by sending them in a\nCommit call.", + "type": "object" }, - "KeyRange": { - "description": "KeyRange represents a range of rows in a table or index.\n\nA range has a start key and an end key. These keys can be open or\nclosed, indicating if the range includes rows with that key.\n\nKeys are represented by lists, where the ith value in the list\ncorresponds to the ith component of the table or index primary key.\nIndividual values are encoded as described here.\n\nFor example, consider the following table definition:\n\n CREATE TABLE UserEvents (\n UserName STRING(MAX),\n EventDate STRING(10)\n ) PRIMARY KEY(UserName, EventDate);\n\nThe following keys name rows in this table:\n\n \"Bob\", \"2014-09-23\"\n\nSince the `UserEvents` table's `PRIMARY KEY` clause names two\ncolumns, each `UserEvents` key has two elements; the first is the\n`UserName`, and the second is the `EventDate`.\n\nKey ranges with multiple components are interpreted\nlexicographically by component using the table or index key's declared\nsort order. For example, the following range returns all events for\nuser `\"Bob\"` that occurred in the year 2015:\n\n \"start_closed\": [\"Bob\", \"2015-01-01\"]\n \"end_closed\": [\"Bob\", \"2015-12-31\"]\n\nStart and end keys can omit trailing key components. This affects the\ninclusion and exclusion of rows that exactly match the provided key\ncomponents: if the key is closed, then rows that exactly match the\nprovided components are included; if the key is open, then rows\nthat exactly match are not included.\n\nFor example, the following range includes all events for `\"Bob\"` that\noccurred during and after the year 2000:\n\n \"start_closed\": [\"Bob\", \"2000-01-01\"]\n \"end_closed\": [\"Bob\"]\n\nThe next example retrieves all events for `\"Bob\"`:\n\n \"start_closed\": [\"Bob\"]\n \"end_closed\": [\"Bob\"]\n\nTo retrieve events before the year 2000:\n\n \"start_closed\": [\"Bob\"]\n \"end_open\": [\"Bob\", \"2000-01-01\"]\n\nThe following range includes all rows in the table:\n\n \"start_closed\": []\n \"end_closed\": []\n\nThis range returns all users whose `UserName` begins with any\ncharacter from A to C:\n\n \"start_closed\": [\"A\"]\n \"end_open\": [\"D\"]\n\nThis range returns all users whose `UserName` begins with B:\n\n \"start_closed\": [\"B\"]\n \"end_open\": [\"C\"]\n\nKey ranges honor column sort order. For example, suppose a table is\ndefined as follows:\n\n CREATE TABLE DescendingSortedTable {\n Key INT64,\n ...\n ) PRIMARY KEY(Key DESC);\n\nThe following range retrieves all rows with key values between 1\nand 100 inclusive:\n\n \"start_closed\": [\"100\"]\n \"end_closed\": [\"1\"]\n\nNote that 100 is passed as the start, and 1 is passed as the end,\nbecause `Key` is a descending column in the schema.", - "type": "object", + "KeySet": { "properties": { - "endClosed": { - "description": "If the end is closed, then the range includes all rows whose\nfirst `len(end_closed)` key columns exactly match `end_closed`.", - "type": "array", - "items": { - "type": "any" - } - }, - "startClosed": { - "description": "If the start is closed, then the range includes all rows whose\nfirst `len(start_closed)` key columns exactly match `start_closed`.", + "ranges": { + "description": "A list of key ranges. See KeyRange for more information about\nkey range specifications.", "type": "array", "items": { - "type": "any" + "$ref": "KeyRange" } }, - "startOpen": { - "description": "If the start is open, then the range excludes rows whose first\n`len(start_open)` key columns exactly match `start_open`.", + "keys": { + "description": "A list of specific keys. Entries in `keys` should have exactly as\nmany elements as there are columns in the primary or index key\nwith which this `KeySet` is used. Individual key values are\nencoded as described here.", "type": "array", "items": { - "type": "any" + "type": "array", + "items": { + "type": "any" + } } }, - "endOpen": { - "description": "If the end is open, then the range excludes rows whose first\n`len(end_open)` key columns exactly match `end_open`.", - "type": "array", - "items": { - "type": "any" - } + "all": { + "description": "For convenience `all` can be set to `true` to indicate that this\n`KeySet` matches all keys in the table or index. Note that any keys\nspecified in `keys` or `ranges` are only yielded once.", + "type": "boolean" } }, - "id": "KeyRange" + "id": "KeySet", + "description": "`KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All\nthe keys are expected to be in the same table or index. The keys need\nnot be sorted in any particular way.\n\nIf the same key is specified multiple times in the set (for example\nif two ranges, two keys, or a key and a range overlap), Cloud Spanner\nbehaves as if the key were only specified once.", + "type": "object" }, - "ShortRepresentation": { + "GetDatabaseDdlResponse": { "properties": { - "description": { - "description": "A string representation of the expression subtree rooted at this node.", - "type": "string" - }, - "subqueries": { - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "description": "A mapping of (subquery variable name) -\u003e (subquery node id) for cases\nwhere the `description` string of this node references a `SCALAR`\nsubquery contained in the expression subtree rooted at this node. The\nreferenced `SCALAR` subquery may not necessarily be a direct child of\nthis node.", - "type": "object" + "statements": { + "description": "A list of formatted DDL statements defining the schema of the database\nspecified in the request.", + "type": "array", + "items": { + "type": "string" + } } }, - "id": "ShortRepresentation", - "description": "Condensed representation of a node and its subtree. Only present for\n`SCALAR` PlanNode(s).", + "id": "GetDatabaseDdlResponse", + "description": "The response for GetDatabaseDdl.", "type": "object" }, - "InstanceConfig": { - "description": "A possible configuration for a Cloud Spanner instance. Configurations\ndefine the geographic placement of nodes and their replication.", + "Database": { + "description": "A Cloud Spanner database.", "type": "object", "properties": { - "name": { - "description": "A unique identifier for the instance configuration. Values\nare of the form\n`projects/\u003cproject\u003e/instanceConfigs/a-z*`", + "state": { + "enumDescriptions": [ + "Not specified.", + "The database is still being created. Operations on the database may fail\nwith `FAILED_PRECONDITION` in this state.", + "The database is fully created and ready for use." + ], + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY" + ], + "description": "Output only. The current database state.", "type": "string" }, - "displayName": { - "description": "The name of this instance configuration as it appears in UIs.", + "name": { + "description": "Required. The name of the database. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/databases/\u003cdatabase\u003e`,\nwhere `\u003cdatabase\u003e` is as specified in the `CREATE DATABASE`\nstatement. This name can be passed to other API methods to\nidentify the database.", "type": "string" } }, - "id": "InstanceConfig" + "id": "Database" }, - "UpdateInstanceRequest": { - "description": "The request for UpdateInstance.", - "type": "object", + "ListDatabasesResponse": { "properties": { - "instance": { - "description": "Required. The instance to update, which must always include the instance\nname. Otherwise, only fields mentioned in [][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] need be included.", - "$ref": "Instance" - }, - "fieldMask": { - "description": "Required. A mask specifying which fields in [][google.spanner.admin.instance.v1.UpdateInstanceRequest.instance] should be updated.\nThe field mask must always be specified; this prevents any future fields in\n[][google.spanner.admin.instance.v1.Instance] from being erased accidentally by clients that do not know\nabout them.", - "format": "google-fieldmask", + "nextPageToken": { + "description": "`next_page_token` can be sent in a subsequent\nListDatabases call to fetch more\nof the matching databases.", "type": "string" + }, + "databases": { + "description": "Databases that matched the request.", + "type": "array", + "items": { + "$ref": "Database" + } } }, - "id": "UpdateInstanceRequest" - }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "id": "ListDatabasesResponse", + "description": "The response for ListDatabases.", "type": "object" }, - "TransactionOptions": { + "SetIamPolicyRequest": { "properties": { - "readWrite": { - "description": "Transaction may write.\n\nAuthorization to begin a read-write transaction requires\n`spanner.databases.beginOrRollbackReadWriteTransaction` permission\non the `session` resource.", - "$ref": "ReadWrite" + "policy": { + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them.", + "$ref": "Policy" }, - "readOnly": { - "$ref": "ReadOnly", - "description": "Transaction will not write.\n\nAuthorization to begin a read-only transaction requires\n`spanner.databases.beginReadOnlyTransaction` permission\non the `session` resource." + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", + "format": "google-fieldmask", + "type": "string" } }, - "id": "TransactionOptions", - "description": "# Transactions\n\n\nEach session can have at most one active transaction at a time. After the\nactive transaction is completed, the session can immediately be\nre-used for the next transaction. It is not necessary to create a\nnew session for each transaction.\n\n# Transaction Modes\n\nCloud Spanner supports two transaction modes:\n\n 1. Locking read-write. This type of transaction is the only way\n to write data into Cloud Spanner. These transactions rely on\n pessimistic locking and, if necessary, two-phase commit.\n Locking read-write transactions may abort, requiring the\n application to retry.\n\n 2. Snapshot read-only. This transaction type provides guaranteed\n consistency across several reads, but does not allow\n writes. Snapshot read-only transactions can be configured to\n read at timestamps in the past. Snapshot read-only\n transactions do not need to be committed.\n\nFor transactions that only read, snapshot read-only transactions\nprovide simpler semantics and are almost always faster. In\nparticular, read-only transactions do not take locks, so they do\nnot conflict with read-write transactions. As a consequence of not\ntaking locks, they also do not abort, so retry loops are not needed.\n\nTransactions may only read/write data in a single database. They\nmay, however, read/write data in different tables within that\ndatabase.\n\n## Locking Read-Write Transactions\n\nLocking transactions may be used to atomically read-modify-write\ndata anywhere in a database. This type of transaction is externally\nconsistent.\n\nClients should attempt to minimize the amount of time a transaction\nis active. Faster transactions commit with higher probability\nand cause less contention. Cloud Spanner attempts to keep read locks\nactive as long as the transaction continues to do reads, and the\ntransaction has not been terminated by\nCommit or\nRollback. Long periods of\ninactivity at the client may cause Cloud Spanner to release a\ntransaction's locks and abort it.\n\nReads performed within a transaction acquire locks on the data\nbeing read. Writes can only be done at commit time, after all reads\nhave been completed.\nConceptually, a read-write transaction consists of zero or more\nreads or SQL queries followed by\nCommit. At any time before\nCommit, the client can send a\nRollback request to abort the\ntransaction.\n\n### Semantics\n\nCloud Spanner can commit the transaction if all read locks it acquired\nare still valid at commit time, and it is able to acquire write\nlocks for all writes. Cloud Spanner can abort the transaction for any\nreason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees\nthat the transaction has not modified any user data in Cloud Spanner.\n\nUnless the transaction commits, Cloud Spanner makes no guarantees about\nhow long the transaction's locks were held for. It is an error to\nuse Cloud Spanner locks for any sort of mutual exclusion other than\nbetween Cloud Spanner transactions themselves.\n\n### Retrying Aborted Transactions\n\nWhen a transaction aborts, the application can choose to retry the\nwhole transaction again. To maximize the chances of successfully\ncommitting the retry, the client should execute the retry in the\nsame session as the original attempt. The original session's lock\npriority increases with each consecutive abort, meaning that each\nattempt has a slightly better chance of success than the previous.\n\nUnder some circumstances (e.g., many transactions attempting to\nmodify the same row(s)), a transaction can abort many times in a\nshort period before successfully committing. Thus, it is not a good\nidea to cap the number of retries a transaction can attempt;\ninstead, it is better to limit the total amount of wall time spent\nretrying.\n\n### Idle Transactions\n\nA transaction is considered idle if it has no outstanding reads or\nSQL queries and has not started a read or SQL query within the last 10\nseconds. Idle transactions can be aborted by Cloud Spanner so that they\ndon't hold on to locks indefinitely. In that case, the commit will\nfail with error `ABORTED`.\n\nIf this behavior is undesirable, periodically executing a simple\nSQL query in the transaction (e.g., `SELECT 1`) prevents the\ntransaction from becoming idle.\n\n## Snapshot Read-Only Transactions\n\nSnapshot read-only transactions provides a simpler method than\nlocking read-write transactions for doing several consistent\nreads. However, this type of transaction does not support writes.\n\nSnapshot transactions do not take locks. Instead, they work by\nchoosing a Cloud Spanner timestamp, then executing all reads at that\ntimestamp. Since they do not acquire locks, they do not block\nconcurrent read-write transactions.\n\nUnlike locking read-write transactions, snapshot read-only\ntransactions never abort. They can fail if the chosen read\ntimestamp is garbage collected; however, the default garbage\ncollection policy is generous enough that most applications do not\nneed to worry about this in practice.\n\nSnapshot read-only transactions do not need to call\nCommit or\nRollback (and in fact are not\npermitted to do so).\n\nTo execute a snapshot transaction, the client specifies a timestamp\nbound, which tells Cloud Spanner how to choose a read timestamp.\n\nThe types of timestamp bound are:\n\n - Strong (the default).\n - Bounded staleness.\n - Exact staleness.\n\nIf the Cloud Spanner database to be read is geographically distributed,\nstale read-only transactions can execute more quickly than strong\nor read-write transaction, because they are able to execute far\nfrom the leader replica.\n\nEach type of timestamp bound is discussed in detail below.\n\n### Strong\n\nStrong reads are guaranteed to see the effects of all transactions\nthat have committed before the start of the read. Furthermore, all\nrows yielded by a single read are consistent with each other -- if\nany part of the read observes a transaction, all parts of the read\nsee the transaction.\n\nStrong reads are not repeatable: two consecutive strong read-only\ntransactions might return inconsistent results if there are\nconcurrent writes. If consistency across reads is required, the\nreads should be executed within a transaction or at an exact read\ntimestamp.\n\nSee TransactionOptions.ReadOnly.strong.\n\n### Exact Staleness\n\nThese timestamp bounds execute reads at a user-specified\ntimestamp. Reads at a timestamp are guaranteed to see a consistent\nprefix of the global transaction history: they observe\nmodifications done by all transactions with a commit timestamp \u003c=\nthe read timestamp, and observe none of the modifications done by\ntransactions with a larger commit timestamp. They will block until\nall conflicting transactions that may be assigned commit timestamps\n\u003c= the read timestamp have finished.\n\nThe timestamp can either be expressed as an absolute Cloud Spanner commit\ntimestamp or a staleness relative to the current time.\n\nThese modes do not require a \"negotiation phase\" to pick a\ntimestamp. As a result, they execute slightly faster than the\nequivalent boundedly stale concurrency modes. On the other hand,\nboundedly stale reads usually return fresher results.\n\nSee TransactionOptions.ReadOnly.read_timestamp and\nTransactionOptions.ReadOnly.exact_staleness.\n\n### Bounded Staleness\n\nBounded staleness modes allow Cloud Spanner to pick the read timestamp,\nsubject to a user-provided staleness bound. Cloud Spanner chooses the\nnewest timestamp within the staleness bound that allows execution\nof the reads at the closest available replica without blocking.\n\nAll rows yielded are consistent with each other -- if any part of\nthe read observes a transaction, all parts of the read see the\ntransaction. Boundedly stale reads are not repeatable: two stale\nreads, even if they use the same staleness bound, can execute at\ndifferent timestamps and thus return inconsistent results.\n\nBoundedly stale reads execute in two phases: the first phase\nnegotiates a timestamp among all replicas needed to serve the\nread. In the second phase, reads are executed at the negotiated\ntimestamp.\n\nAs a result of the two phase execution, bounded staleness reads are\nusually a little slower than comparable exact staleness\nreads. However, they are typically able to return fresher\nresults, and are more likely to execute at the closest replica.\n\nBecause the timestamp negotiation requires up-front knowledge of\nwhich rows will be read, it can only be used with single-use\nread-only transactions.\n\nSee TransactionOptions.ReadOnly.max_staleness and\nTransactionOptions.ReadOnly.min_read_timestamp.\n\n### Old Read Timestamps and Garbage Collection\n\nCloud Spanner continuously garbage collects deleted and overwritten data\nin the background to reclaim storage space. This process is known\nas \"version GC\". By default, version GC reclaims versions after they\nare one hour old. Because of this, Cloud Spanner cannot perform reads\nat read timestamps more than one hour in the past. This\nrestriction also applies to in-progress reads and/or SQL queries whose\ntimestamp become too old while executing. Reads and SQL queries with\ntoo-old read timestamps fail with the error `FAILED_PRECONDITION`.", + "id": "SetIamPolicyRequest", + "description": "Request message for `SetIamPolicy` method.", "type": "object" }, - "CreateDatabaseRequest": { + "Instance": { + "description": "An isolated set of Cloud Spanner resources on which databases can be hosted.", + "type": "object", "properties": { - "createStatement": { - "description": "Required. A `CREATE DATABASE` statement, which specifies the ID of the\nnew database. The database ID must conform to the regular expression\n`a-z*[a-z0-9]` and be between 2 and 30 characters in length.", + "displayName": { + "description": "Required. The descriptive name for this instance as it appears in UIs.\nMust be unique per project and between 4 and 30 characters in length.", "type": "string" }, - "extraStatements": { - "description": "An optional list of DDL statements to run inside the newly created\ndatabase. Statements can create tables, indexes, etc. These\nstatements execute atomically with the creation of the database:\nif there is an error in any statement, the database is not created.", - "type": "array", - "items": { + "nodeCount": { + "description": "Required. The number of nodes allocated to this instance.", + "format": "int32", + "type": "integer" + }, + "labels": { + "additionalProperties": { "type": "string" - } + }, + "description": "Cloud Labels are a flexible and lightweight mechanism for organizing cloud\nresources into groups that reflect a customer's organizational needs and\ndeployment strategies. Cloud Labels can be used to filter collections of\nresources. They can be used to control how resource metrics are aggregated.\nAnd they can be used as arguments to policy management rules (e.g. route,\nfirewall, load balancing, etc.).\n\n * Label keys must be between 1 and 63 characters long and must conform to\n the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.\n * Label values must be between 0 and 63 characters long and must conform\n to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.\n * No more than 64 labels can be associated with a given resource.\n\nSee https://goo.gl/xmQnxf for more information on and examples of labels.\n\nIf you plan to use labels in your own code, please note that additional\ncharacters may be allowed in the future. And so you are advised to use an\ninternal label representation, such as JSON, which doesn't rely upon\nspecific characters being disallowed. For example, representing labels\nas the string: name + \"_\" + value would prove problematic if we were to\nallow \"_\" in a future release.", + "type": "object" + }, + "config": { + "description": "Required. The name of the instance's configuration. Values are of the form\n`projects/\u003cproject\u003e/instanceConfigs/\u003cconfiguration\u003e`. See\nalso InstanceConfig and\nListInstanceConfigs.", + "type": "string" + }, + "state": { + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY" + ], + "description": "Output only. The current instance state. For\nCreateInstance, the state must be\neither omitted or set to `CREATING`. For\nUpdateInstance, the state must be\neither omitted or set to `READY`.", + "type": "string", + "enumDescriptions": [ + "Not specified.", + "The instance is still being created. Resources may not be\navailable yet, and operations such as database creation may not\nwork.", + "The instance is fully created and ready to do work such as\ncreating databases." + ] + }, + "name": { + "description": "Required. A unique identifier for the instance, which cannot be changed\nafter the instance is created. Values are of the form\n`projects/\u003cproject\u003e/instances/a-z*[a-z0-9]`. The final\nsegment of the name must be between 6 and 30 characters in length.", + "type": "string" } }, - "id": "CreateDatabaseRequest", - "description": "The request for CreateDatabase.", - "type": "object" + "id": "Instance" }, - "CreateInstanceRequest": { - "description": "The request for CreateInstance.", - "type": "object", + "RollbackRequest": { "properties": { - "instanceId": { - "description": "Required. The ID of the instance to create. Valid identifiers are of the\nform `a-z*[a-z0-9]` and must be between 6 and 30 characters in\nlength.", + "transactionId": { + "description": "Required. The transaction to roll back.", + "format": "byte", "type": "string" - }, - "instance": { - "$ref": "Instance", - "description": "Required. The instance to create. The name may be omitted, but if\nspecified must be `\u003cparent\u003e/instances/\u003cinstance_id\u003e`." } }, - "id": "CreateInstanceRequest" + "id": "RollbackRequest", + "description": "The request for Rollback.", + "type": "object" }, - "Condition": { - "description": "A condition to be met.", - "type": "object", + "Transaction": { "properties": { - "op": { - "enumDescriptions": [ - "Default no-op.", - "DEPRECATED. Use IN instead.", - "DEPRECATED. Use NOT_IN instead.", - "Set-inclusion check.", - "Set-exclusion check.", - "Subject is discharged" - ], - "enum": [ - "NO_OP", - "EQUALS", - "NOT_EQUALS", - "IN", - "NOT_IN", - "DISCHARGED" - ], - "description": "An operator to apply the subject with.", - "type": "string" - }, - "svc": { - "description": "Trusted attributes discharged by the service.", + "readTimestamp": { + "description": "For snapshot read-only transactions, the read timestamp chosen\nfor the transaction. Not returned by default: see\nTransactionOptions.ReadOnly.return_read_timestamp.", + "format": "google-datetime", "type": "string" }, - "sys": { - "enumDescriptions": [ - "Default non-attribute type", - "Region of the resource", - "Service name", - "Resource name", - "IP address of the caller" - ], - "enum": [ - "NO_ATTR", - "REGION", - "SERVICE", - "NAME", - "IP" - ], - "description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", + "id": { + "description": "`id` may be used to identify the transaction in subsequent\nRead,\nExecuteSql,\nCommit, or\nRollback calls.\n\nSingle-use read-only transactions do not have IDs, because\nsingle-use transactions do not support multiple requests.", + "format": "byte", "type": "string" - }, - "value": { - "description": "DEPRECATED. Use 'values' instead.", + } + }, + "id": "Transaction", + "description": "A transaction.", + "type": "object" + }, + "UpdateDatabaseDdlMetadata": { + "description": "Metadata type for the operation returned by\nUpdateDatabaseDdl.", + "type": "object", + "properties": { + "database": { + "description": "The database being modified.", "type": "string" }, - "iam": { - "enumDescriptions": [ - "Default non-attribute.", - "Either principal or (if present) authority selector.", - "The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", - "Any of the security realms in the IAMContext (go/security-realms).\nWhen used with IN, the condition indicates \"any of the request's realms\nmatch one of the given values; with NOT_IN, \"none of the realms match\nany of the given values\". It is not permitted to grant access based on\nthe *absence* of a realm, so realm conditions can only be used in\na \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", - "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth." - ], - "enum": [ - "NO_ATTR", - "AUTHORITY", - "ATTRIBUTION", - "SECURITY_REALM", - "APPROVER" - ], - "description": "Trusted attributes supplied by the IAM system.", - "type": "string" + "statements": { + "description": "For an update this list contains all the statements. For an\nindividual statement, this list contains only that statement.", + "type": "array", + "items": { + "type": "string" + } }, - "values": { - "description": "The objects of the condition. This is mutually exclusive with 'value'.", + "commitTimestamps": { + "description": "Reports the commit timestamps of all statements that have\nsucceeded so far, where `commit_timestamps[i]` is the commit\ntimestamp for the statement `statements[i]`.", "type": "array", "items": { + "format": "google-datetime", "type": "string" } } }, - "id": "Condition" + "id": "UpdateDatabaseDdlMetadata" }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", + "CounterOptions": { + "description": "Options for counters", "type": "object", "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", - "type": "array", - "items": { - "type": "string" - } - }, - "logType": { - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "description": "The log type that this config enables.", - "type": "string", - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ] + "metric": { + "description": "The metric to update.", + "type": "string" + }, + "field": { + "description": "The field value to attribute.", + "type": "string" } }, - "id": "AuditLogConfig" + "id": "CounterOptions" }, - "ReadOnly": { - "description": "Options for read-only transactions.", + "QueryPlan": { + "description": "Contains an ordered list of nodes appearing in the query plan.", "type": "object", "properties": { - "strong": { - "description": "Read at a timestamp where all previously committed transactions\nare visible.", - "type": "boolean" - }, - "minReadTimestamp": { - "description": "Executes all reads at a timestamp \u003e= `min_read_timestamp`.\n\nThis is useful for requesting fresher data than some previous\nread, or data that is fresh enough to observe the effects of some\npreviously committed transaction whose timestamp is known.\n\nNote that this option can only be used in single-use transactions.", - "format": "google-datetime", - "type": "string" - }, - "maxStaleness": { - "description": "Read data at a timestamp \u003e= `NOW - max_staleness`\nseconds. Guarantees that all writes that have committed more\nthan the specified number of seconds ago are visible. Because\nCloud Spanner chooses the exact timestamp, this mode works even if\nthe client's local clock is substantially skewed from Cloud Spanner\ncommit timestamps.\n\nUseful for reading the freshest data available at a nearby\nreplica, while bounding the possible staleness if the local\nreplica has fallen behind.\n\nNote that this option can only be used in single-use\ntransactions.", - "format": "google-duration", - "type": "string" - }, - "readTimestamp": { - "description": "Executes all reads at the given timestamp. Unlike other modes,\nreads at a specific timestamp are repeatable; the same read at\nthe same timestamp always returns the same data. If the\ntimestamp is in the future, the read will block until the\nspecified timestamp, modulo the read's deadline.\n\nUseful for large scale consistent reads such as mapreduces, or\nfor coordinating many reads against a consistent snapshot of the\ndata.", - "format": "google-datetime", - "type": "string" - }, - "returnReadTimestamp": { - "description": "If true, the Cloud Spanner-selected read timestamp is included in\nthe Transaction message that describes the transaction.", - "type": "boolean" - }, - "exactStaleness": { - "description": "Executes all reads at a timestamp that is `exact_staleness`\nold. The timestamp is chosen soon after the read is started.\n\nGuarantees that all writes that have committed more than the\nspecified number of seconds ago are visible. Because Cloud Spanner\nchooses the exact timestamp, this mode works even if the client's\nlocal clock is substantially skewed from Cloud Spanner commit\ntimestamps.\n\nUseful for reading at nearby replicas without the distributed\ntimestamp negotiation overhead of `max_staleness`.", - "format": "google-duration", - "type": "string" + "planNodes": { + "description": "The nodes in the query plan. Plan nodes are returned in pre-order starting\nwith the plan root. Each PlanNode's `id` corresponds to its index in\n`plan_nodes`.", + "type": "array", + "items": { + "$ref": "PlanNode" + } } }, - "id": "ReadOnly" + "id": "QueryPlan" }, - "ExecuteSqlRequest": { - "description": "The request for ExecuteSql and\nExecuteStreamingSql.", + "StructType": { + "description": "`StructType` defines the fields of a STRUCT type.", "type": "object", "properties": { - "transaction": { - "description": "The transaction to use. If none is provided, the default is a\ntemporary read-only transaction with strong concurrency.", - "$ref": "TransactionSelector" - }, - "resumeToken": { - "description": "If this request is resuming a previously interrupted SQL query\nexecution, `resume_token` should be copied from the last\nPartialResultSet yielded before the interruption. Doing this\nenables the new SQL query execution to resume where the last one left\noff. The rest of the request parameters must exactly match the\nrequest that yielded this token.", - "format": "byte", + "fields": { + "description": "The list of fields that make up this struct. Order is\nsignificant, because values of this struct type are represented as\nlists, where the order of field values matches the order of\nfields in the StructType. In turn, the order of fields\nmatches the order of columns in a read request, or the order of\nfields in the `SELECT` clause of a query.", + "type": "array", + "items": { + "$ref": "Field" + } + } + }, + "id": "StructType" + }, + "Field": { + "properties": { + "name": { + "description": "The name of the field. For reads, this is the column name. For\nSQL queries, it is the column alias (e.g., `\"Word\"` in the\nquery `\"SELECT 'hello' AS Word\"`), or the column name (e.g.,\n`\"ColName\"` in the query `\"SELECT ColName FROM Table\"`). Some\ncolumns might have an empty name (e.g., !\"SELECT\nUPPER(ColName)\"`). Note that a query result can contain\nmultiple fields with the same name.", "type": "string" }, - "paramTypes": { - "additionalProperties": { - "$ref": "Type" - }, - "description": "It is not always possible for Cloud Spanner to infer the right SQL type\nfrom a JSON value. For example, values of type `BYTES` and values\nof type `STRING` both appear in params as JSON strings.\n\nIn these cases, `param_types` can be used to specify the exact\nSQL type for some or all of the SQL query parameters. See the\ndefinition of Type for more information\nabout SQL types.", - "type": "object" - }, - "sql": { - "description": "Required. The SQL query string.", - "type": "string" + "type": { + "$ref": "Type", + "description": "The type of the field." + } + }, + "id": "Field", + "description": "Message representing a single field of a struct.", + "type": "object" + }, + "ResultSetStats": { + "description": "Additional statistics about a ResultSet or PartialResultSet.", + "type": "object", + "properties": { + "queryPlan": { + "description": "QueryPlan for the query associated with this result.", + "$ref": "QueryPlan" }, - "params": { + "queryStats": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "The SQL query string can contain parameter placeholders. A parameter\nplaceholder consists of `'@'` followed by the parameter\nname. Parameter names consist of any combination of letters,\nnumbers, and underscores.\n\nParameters can appear anywhere that a literal value is expected. The same\nparameter name can be used more than once, for example:\n `\"WHERE id \u003e @msg_id AND id \u003c @msg_id + 100\"`\n\nIt is an error to execute an SQL query with unbound parameters.\n\nParameter values are specified using `params`, which is a JSON\nobject whose keys are parameter names, and whose values are the\ncorresponding parameter values.", + "description": "Aggregated statistics from the execution of the query. Only present when\nthe query is profiled. For example, a query could return the statistics as\nfollows:\n\n {\n \"rows_returned\": \"3\",\n \"elapsed_time\": \"1.22 secs\",\n \"cpu_time\": \"1.19 secs\"\n }", "type": "object" - }, - "queryMode": { - "enumDescriptions": [ - "The default mode where only the query result, without any information\nabout the query plan is returned.", - "This mode returns only the query plan, without any result rows or\nexecution statistics information.", - "This mode returns both the query plan and the execution statistics along\nwith the result rows." - ], - "enum": [ - "NORMAL", - "PLAN", - "PROFILE" - ], - "description": "Used to control the amount of debugging information returned in\nResultSetStats.", - "type": "string" } }, - "id": "ExecuteSqlRequest" + "id": "ResultSetStats" }, - "Policy": { - "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", - "type": "object", + "TestIamPermissionsRequest": { "properties": { - "etag": { - "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", - "format": "byte", - "type": "string" - }, - "iamOwned": { - "type": "boolean" - }, - "rules": { - "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", - "type": "array", - "items": { - "$ref": "Rule" - } - }, - "version": { - "description": "Version of the `Policy`. The default version is 0.", - "format": "int32", - "type": "integer" - }, - "auditConfigs": { - "description": "Specifies cloud audit logging configuration for this policy.", - "type": "array", - "items": { - "$ref": "AuditConfig" - } - }, - "bindings": { - "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", + "permissions": { + "description": "REQUIRED: The set of permissions to check for 'resource'.\nPermissions with wildcards (such as '*', 'spanner.*', 'spanner.instances.*') are not allowed.", "type": "array", "items": { - "$ref": "Binding" + "type": "string" } } }, - "id": "Policy" + "id": "TestIamPermissionsRequest", + "description": "Request message for `TestIamPermissions` method.", + "type": "object" }, - "ReadRequest": { - "description": "The request for Read and\nStreamingRead.", + "CommitResponse": { + "description": "The response for Commit.", "type": "object", "properties": { - "limit": { - "description": "If greater than zero, only the first `limit` rows are yielded. If `limit`\nis zero, the default is no limit.", - "format": "int64", - "type": "string" - }, - "index": { - "description": "If non-empty, the name of an index on table. This index is\nused instead of the table primary key when interpreting key_set\nand sorting result rows. See key_set for further information.", + "commitTimestamp": { + "description": "The Cloud Spanner timestamp at which the transaction committed.", + "format": "google-datetime", "type": "string" + } + }, + "id": "CommitResponse" + }, + "Type": { + "properties": { + "structType": { + "description": "If code == STRUCT, then `struct_type`\nprovides type information for the struct's fields.", + "$ref": "StructType" }, - "keySet": { - "description": "Required. `key_set` identifies the rows to be yielded. `key_set` names the\nprimary keys of the rows in table to be yielded, unless index\nis present. If index is present, then key_set instead names\nindex keys in index.\n\nRows are yielded in table primary key order (if index is empty)\nor index key order (if index is non-empty).\n\nIt is not an error for the `key_set` to name rows that do not\nexist in the database. Read yields nothing for nonexistent rows.", - "$ref": "KeySet" - }, - "columns": { - "description": "The columns of table to be returned for each row matching\nthis request.", - "type": "array", - "items": { - "type": "string" - } - }, - "transaction": { - "description": "The transaction to use. If none is provided, the default is a\ntemporary read-only transaction with strong concurrency.", - "$ref": "TransactionSelector" - }, - "resumeToken": { - "description": "If this request is resuming a previously interrupted read,\n`resume_token` should be copied from the last\nPartialResultSet yielded before the interruption. Doing this\nenables the new read to resume where the last read left off. The\nrest of the request parameters must exactly match the request\nthat yielded this token.", - "format": "byte", - "type": "string" + "arrayElementType": { + "description": "If code == ARRAY, then `array_element_type`\nis the type of the array elements.", + "$ref": "Type" }, - "table": { - "description": "Required. The name of the table in the database to be read.", - "type": "string" + "code": { + "enum": [ + "TYPE_CODE_UNSPECIFIED", + "BOOL", + "INT64", + "FLOAT64", + "TIMESTAMP", + "DATE", + "STRING", + "BYTES", + "ARRAY", + "STRUCT" + ], + "description": "Required. The TypeCode for this type.", + "type": "string", + "enumDescriptions": [ + "Not specified.", + "Encoded as JSON `true` or `false`.", + "Encoded as `string`, in decimal format.", + "Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or\n`\"-Infinity\"`.", + "Encoded as `string` in RFC 3339 timestamp format. The time zone\nmust be present, and must be `\"Z\"`.", + "Encoded as `string` in RFC 3339 date format.", + "Encoded as `string`.", + "Encoded as a base64-encoded `string`, as described in RFC 4648,\nsection 4.", + "Encoded as `list`, where the list elements are represented\naccording to array_element_type.", + "Encoded as `list`, where list element `i` is represented according\nto [struct_type.fields[i]][google.spanner.v1.StructType.fields]." + ] } }, - "id": "ReadRequest" + "id": "Type", + "description": "`Type` indicates the type of a Cloud Spanner value, as might be stored in a\ntable cell or returned from an SQL query.", + "type": "object" }, - "Write": { - "description": "Arguments to insert, update, insert_or_update, and\nreplace operations.", + "PlanNode": { + "description": "Node information for nodes appearing in a QueryPlan.plan_nodes.", "type": "object", "properties": { - "columns": { - "description": "The names of the columns in table to be written.\n\nThe list of columns must contain enough columns to allow\nCloud Spanner to derive values for all primary key columns in the\nrow(s) to be modified.", + "childLinks": { + "description": "List of child node `index`es and their relationship to this parent.", "type": "array", "items": { - "type": "string" + "$ref": "ChildLink" } }, - "values": { - "description": "The values to be written. `values` can contain more than one\nlist of values. If it does, then multiple rows are written, one\nfor each entry in `values`. Each list in `values` must have\nexactly as many entries as there are entries in columns\nabove. Sending multiple lists is equivalent to sending multiple\n`Mutation`s, each containing one `values` entry and repeating\ntable and columns. Individual values in each list are\nencoded as described here.", - "type": "array", - "items": { - "type": "array", - "items": { - "type": "any" - } - } + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Attributes relevant to the node contained in a group of key-value pairs.\nFor example, a Parameter Reference node could have the following\ninformation in its metadata:\n\n {\n \"parameter_reference\": \"param1\",\n \"parameter_type\": \"array\"\n }", + "type": "object" }, - "table": { - "description": "Required. The table whose rows will be written.", + "executionStats": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The execution statistics associated with the node, contained in a group of\nkey-value pairs. Only present if the plan was returned as a result of a\nprofile query. For example, number of executions, number of rows/time per\nexecution etc.", + "type": "object" + }, + "shortRepresentation": { + "$ref": "ShortRepresentation", + "description": "Condensed representation for SCALAR nodes." + }, + "index": { + "description": "The `PlanNode`'s index in node list.", + "format": "int32", + "type": "integer" + }, + "kind": { + "enum": [ + "KIND_UNSPECIFIED", + "RELATIONAL", + "SCALAR" + ], + "description": "Used to determine the type of node. May be needed for visualizing\ndifferent kinds of nodes differently. For example, If the node is a\nSCALAR node, it will have a condensed representation\nwhich can be used to directly embed a description of the node in its\nparent.", + "type": "string", + "enumDescriptions": [ + "Not specified.", + "Denotes a Relational operator node in the expression tree. Relational\noperators represent iterative processing of rows during query execution.\nFor example, a `TableScan` operation that reads rows from a table.", + "Denotes a Scalar node in the expression tree. Scalar nodes represent\nnon-iterable entities in the query plan. For example, constants or\narithmetic operators appearing inside predicate expressions or references\nto column names." + ] + }, + "displayName": { + "description": "The display name for the node.", "type": "string" } }, - "id": "Write" + "id": "PlanNode" }, - "DataAccessOptions": { - "properties": {}, - "id": "DataAccessOptions", - "description": "Write a Data Access (Gin) log", + "CreateInstanceMetadata": { + "properties": { + "instance": { + "$ref": "Instance", + "description": "The instance being created." + }, + "startTime": { + "description": "The time at which the\nCreateInstance request was\nreceived.", + "format": "google-datetime", + "type": "string" + }, + "cancelTime": { + "description": "The time at which this operation was cancelled. If set, this operation is\nin the process of undoing itself (which is guaranteed to succeed) and\ncannot be cancelled again.", + "format": "google-datetime", + "type": "string" + }, + "endTime": { + "description": "The time at which this operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + } + }, + "id": "CreateInstanceMetadata", + "description": "Metadata type for the operation returned by\nCreateInstance.", "type": "object" }, - "ReadWrite": { - "description": "Options for read-write transactions.", + "AuditConfig": { + "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, are exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.", "type": "object", - "properties": {}, - "id": "ReadWrite" + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that are exempted from \"data access\" audit\nlogging for the `service` specified above.\nFollows the same format of Binding.members.\nThis field is deprecated in favor of per-permission-type exemptions.", + "type": "array", + "items": { + "type": "string" + } + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServices` is a special value that covers all services.", + "type": "string" + }, + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.\nNext ID: 4", + "type": "array", + "items": { + "$ref": "AuditLogConfig" + } + } + }, + "id": "AuditConfig" } }, "protocol": "rest", @@ -1436,521 +1431,186 @@ "projects": { "resources": { "instances": { - "methods": { - "delete": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "Required. The name of the instance to be deleted. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e`", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}", - "path": "v1/{+name}", - "id": "spanner.projects.instances.delete", - "description": "Deletes an instance.\n\nImmediately upon completion of the request:\n\n * Billing ceases for all of the instance's reserved resources.\n\nSoon afterward:\n\n * The instance and *all of its databases* immediately and\n irrevocably disappear from the API. All data in the databases\n is permanently deleted." - }, - "list": { - "id": "spanner.projects.instances.list", - "path": "v1/{+parent}/instances", - "description": "Lists all instances in the given project.", - "httpMethod": "GET", - "response": { - "$ref": "ListInstancesResponse" - }, - "parameterOrder": [ - "parent" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageToken": { - "description": "If non-empty, `page_token` should contain a\nnext_page_token from a\nprevious ListInstancesResponse.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "Number of instances to be returned in the response. If 0 or less, defaults\nto the server's maximum allowed page size.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "parent": { - "description": "Required. The name of the project for which a list of instances is\nrequested. Values are of the form `projects/\u003cproject\u003e`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - }, - "filter": { - "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n * name\n * display_name\n * labels.key where key is the name of a label\n\nSome examples of using filters are:\n\n * name:* --\u003e The instance has a name.\n * name:Howl --\u003e The instance's name contains the string \"howl\".\n * name:HOWL --\u003e Equivalent to above.\n * NAME:howl --\u003e Equivalent to above.\n * labels.env:* --\u003e The instance has the label \"env\".\n * labels.env:dev --\u003e The instance has the label \"env\" and the value of\n the label contains the string \"dev\".\n * name:howl labels.env:dev --\u003e The instance's name contains \"howl\" and\n it has the label \"env\" with its value\n containing \"dev\".", - "type": "string", - "location": "query" - } - }, - "flatPath": "v1/projects/{projectsId}/instances" - }, - "create": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "parent" - ], - "httpMethod": "POST", - "parameters": { - "parent": { - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "Required. The name of the project in which to create the instance. Values\nare of the form `projects/\u003cproject\u003e`.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances", - "path": "v1/{+parent}/instances", - "id": "spanner.projects.instances.create", - "request": { - "$ref": "CreateInstanceRequest" - }, - "description": "Creates an instance and begins preparing it to begin serving. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance. The instance name is assigned by the caller. If the\nnamed instance already exists, `CreateInstance` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request:\n\n * The instance is readable via the API, with all requested attributes\n but no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation renders the instance immediately unreadable\n via the API.\n * The instance can be deleted.\n * All other attempts to modify the instance are rejected.\n\nUpon completion of the returned operation:\n\n * Billing for all successfully-allocated resources begins (some types\n may have lower than the requested levels).\n * Databases can be created in the instance.\n * The instance's allocated resource levels are readable via the API.\n * The instance's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format `\u003cinstance_name\u003e/operations/\u003coperation_id\u003e` and\ncan be used to track creation of the instance. The\nmetadata field type is\nCreateInstanceMetadata.\nThe response field type is\nInstance, if successful." - }, - "setIamPolicy": { - "id": "spanner.projects.instances.setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "description": "Sets the access control policy on an instance resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.instances.setIamPolicy` on\nresource.", - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path", - "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for databases resources.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:setIamPolicy" - }, - "getIamPolicy": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "parameters": { - "resource": { - "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:getIamPolicy", - "id": "spanner.projects.instances.getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "request": { - "$ref": "GetIamPolicyRequest" - }, - "description": "Gets the access control policy for an instance resource. Returns an empty\npolicy if an instance exists but does not have a policy set.\n\nAuthorization requires `spanner.instances.getIamPolicy` on\nresource." - }, - "get": { - "description": "Gets information about a particular instance.", - "httpMethod": "GET", - "response": { - "$ref": "Instance" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the requested instance. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}", - "id": "spanner.projects.instances.get", - "path": "v1/{+name}" - }, - "patch": { - "httpMethod": "PATCH", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Operation" - }, - "parameters": { - "name": { - "description": "Required. A unique identifier for the instance, which cannot be changed\nafter the instance is created. Values are of the form\n`projects/\u003cproject\u003e/instances/a-z*[a-z0-9]`. The final\nsegment of the name must be between 6 and 30 characters in length.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}", - "id": "spanner.projects.instances.patch", - "path": "v1/{+name}", - "request": { - "$ref": "UpdateInstanceRequest" - }, - "description": "Updates an instance, and begins allocating or releasing resources\nas requested. The returned long-running\noperation can be used to track the\nprogress of updating the instance. If the named instance does not\nexist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request:\n\n * For resource types for which a decrease in the instance's allocation\n has been requested, billing is based on the newly-requested level.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation sets its metadata's\n cancel_time, and begins\n restoring resources to their pre-request values. The operation\n is guaranteed to succeed at undoing all resource changes,\n after which point it terminates with a `CANCELLED` status.\n * All other attempts to modify the instance are rejected.\n * Reading the instance via the API continues to give the pre-request\n resource levels.\n\nUpon completion of the returned operation:\n\n * Billing begins for all successfully-allocated resources (some types\n may have lower than the requested levels).\n * All newly-reserved resources are available for serving the instance's\n tables.\n * The instance's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format `\u003cinstance_name\u003e/operations/\u003coperation_id\u003e` and\ncan be used to track the instance modification. The\nmetadata field type is\nUpdateInstanceMetadata.\nThe response field type is\nInstance, if successful.\n\nAuthorization requires `spanner.instances.update` permission on\nresource name." - }, - "testIamPermissions": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path", - "description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:testIamPermissions", - "id": "spanner.projects.instances.testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "description": "Returns permissions that the caller has on the specified instance resource.\n\nAttempting this RPC on a non-existent Cloud Spanner instance resource will\nresult in a NOT_FOUND error if the user has `spanner.instances.list`\npermission on the containing Google Cloud Project. Otherwise returns an\nempty set of permissions.", - "request": { - "$ref": "TestIamPermissionsRequest" - } - } - }, "resources": { "databases": { - "methods": { - "create": { - "description": "Creates a new Cloud Spanner database and starts to prepare it for serving.\nThe returned long-running operation will\nhave a name of the format `\u003cdatabase_name\u003e/operations/\u003coperation_id\u003e` and\ncan be used to track preparation of the database. The\nmetadata field type is\nCreateDatabaseMetadata. The\nresponse field type is\nDatabase, if successful.", - "request": { - "$ref": "CreateDatabaseRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "parent": { - "description": "Required. The name of the instance that will serve the new database.\nValues are of the form `projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", - "id": "spanner.projects.instances.databases.create", - "path": "v1/{+parent}/databases" - }, - "setIamPolicy": { - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", - "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for databases resources.", - "required": true, - "type": "string" + "resources": { + "operations": { + "methods": { + "cancel": { + "httpMethod": "POST", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", + "location": "path", + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}:cancel", + "id": "spanner.projects.instances.databases.operations.cancel", + "path": "v1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`." + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}", + "path": "v1/{+name}", + "id": "spanner.projects.instances.databases.operations.delete", + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`." + }, + "list": { + "path": "v1/{+name}", + "id": "spanner.projects.instances.databases.operations.list", + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", + "response": { + "$ref": "ListOperationsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "filter": { + "location": "query", + "description": "The standard list filter.", + "type": "string" + }, + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations$", + "location": "path", + "description": "The name of the operation collection.", + "required": true, + "type": "string" + }, + "pageToken": { + "location": "query", + "description": "The standard list page token.", + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "type": "integer", + "location": "query" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations" + }, + "get": { + "path": "v1/{+name}", + "id": "spanner.projects.instances.databases.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "description": "The name of the operation resource.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}" } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:setIamPolicy", - "path": "v1/{+resource}:setIamPolicy", - "id": "spanner.projects.instances.databases.setIamPolicy", - "description": "Sets the access control policy on a database resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.databases.setIamPolicy` permission on\nresource.", - "request": { - "$ref": "SetIamPolicyRequest" } }, - "getIamPolicy": { - "httpMethod": "POST", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", - "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:getIamPolicy", - "id": "spanner.projects.instances.databases.getIamPolicy", - "path": "v1/{+resource}:getIamPolicy", - "description": "Gets the access control policy for a database resource. Returns an empty\npolicy if a database exists but does not have a policy set.\n\nAuthorization requires `spanner.databases.getIamPolicy` permission on\nresource.", - "request": { - "$ref": "GetIamPolicyRequest" - } - }, - "get": { - "description": "Gets the state of a Cloud Spanner database.", - "httpMethod": "GET", - "response": { - "$ref": "Database" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the requested database. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/databases/\u003cdatabase\u003e`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", - "id": "spanner.projects.instances.databases.get", - "path": "v1/{+name}" - }, - "dropDatabase": { - "description": "Drops (aka deletes) a Cloud Spanner database.", - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "database" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "database": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", - "description": "Required. The database to be dropped.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", - "id": "spanner.projects.instances.databases.dropDatabase", - "path": "v1/{+database}" - }, - "updateDdl": { - "description": "Updates the schema of a Cloud Spanner database by\ncreating/altering/dropping tables, columns, indexes, etc. The returned\nlong-running operation will have a name of\nthe format `\u003cdatabase_name\u003e/operations/\u003coperation_id\u003e` and can be used to\ntrack execution of the schema change(s). The\nmetadata field type is\nUpdateDatabaseDdlMetadata. The operation has no response.", - "request": { - "$ref": "UpdateDatabaseDdlRequest" - }, - "httpMethod": "PATCH", - "parameterOrder": [ - "database" - ], - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "database": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", - "description": "Required. The database to update.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/ddl", - "id": "spanner.projects.instances.databases.updateDdl", - "path": "v1/{+database}/ddl" - }, - "testIamPermissions": { - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "parameterOrder": [ - "resource" - ], - "httpMethod": "POST", - "parameters": { - "resource": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", - "description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:testIamPermissions", - "path": "v1/{+resource}:testIamPermissions", - "id": "spanner.projects.instances.databases.testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "description": "Returns permissions that the caller has on the specified database resource.\n\nAttempting this RPC on a non-existent Cloud Spanner database will result in\na NOT_FOUND error if the user has `spanner.databases.list` permission on\nthe containing Cloud Spanner instance. Otherwise returns an empty set of\npermissions." - }, - "getDdl": { - "response": { - "$ref": "GetDatabaseDdlResponse" - }, - "parameterOrder": [ - "database" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "database": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", - "description": "Required. The database whose schema we wish to get.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/ddl", - "path": "v1/{+database}/ddl", - "id": "spanner.projects.instances.databases.getDdl", - "description": "Returns the schema of a Cloud Spanner database as a list of formatted\nDDL statements. This method does not show pending schema updates, those may\nbe queried using the Operations API." - }, - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListDatabasesResponse" - }, - "parameterOrder": [ - "parent" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "pageToken": { - "description": "If non-empty, `page_token` should contain a\nnext_page_token from a\nprevious ListDatabasesResponse.", - "type": "string", - "location": "query" - }, - "pageSize": { - "description": "Number of databases to be returned in the response. If 0 or less,\ndefaults to the server's maximum allowed page size.", - "format": "int32", - "type": "integer", - "location": "query" - }, - "parent": { - "pattern": "^projects/[^/]+/instances/[^/]+$", - "location": "path", - "description": "Required. The instance whose databases should be listed.\nValues are of the form `projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", - "id": "spanner.projects.instances.databases.list", - "path": "v1/{+parent}/databases", - "description": "Lists Cloud Spanner databases." - } - }, - "resources": { - "operations": { + "sessions": { "methods": { - "cancel": { - "path": "v1/{+name}:cancel", - "id": "spanner.projects.instances.databases.operations.cancel", - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "commit": { + "request": { + "$ref": "CommitRequest" + }, + "description": "Commits a transaction. The request includes the mutations to be\napplied to rows in the database.\n\n`Commit` might return an `ABORTED` error. This can occur at any time;\ncommonly, the cause is conflicts with concurrent\ntransactions. However, it can also happen for a variety of other\nreasons. If `Commit` returns `ABORTED`, the caller should re-attempt\nthe transaction from the beginning, re-using the same session.", + "httpMethod": "POST", + "parameterOrder": [ + "session" + ], "response": { - "$ref": "Empty" + "$ref": "CommitResponse" + }, + "parameters": { + "session": { + "description": "Required. The session in which the transaction to be committed is running.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:commit", + "id": "spanner.projects.instances.databases.sessions.commit", + "path": "v1/{+session}:commit" + }, + "beginTransaction": { + "path": "v1/{+session}:beginTransaction", + "id": "spanner.projects.instances.databases.sessions.beginTransaction", + "description": "Begins a new transaction. This step can often be skipped:\nRead, ExecuteSql and\nCommit can begin a new transaction as a\nside-effect.", + "request": { + "$ref": "BeginTransactionRequest" + }, + "response": { + "$ref": "Transaction" }, "parameterOrder": [ - "name" + "session" ], "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "name": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", + "session": { + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", "location": "path", - "description": "The name of the operation resource to be cancelled.", + "description": "Required. The session in which the transaction runs.", "required": true, "type": "string" } }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}:cancel" + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:beginTransaction" }, "delete": { "response": { @@ -1960,135 +1620,40 @@ "name" ], "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "name": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", "location": "path", - "description": "The name of the operation resource to be deleted.", + "description": "Required. The name of the session to delete.", "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}", + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}", "path": "v1/{+name}", - "id": "spanner.projects.instances.databases.operations.delete", - "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`." + "id": "spanner.projects.instances.databases.sessions.delete", + "description": "Ends a session, releasing server resources associated with it." }, - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListOperationsResponse" - }, + "executeStreamingSql": { + "httpMethod": "POST", "parameterOrder": [ - "name" + "session" ], + "response": { + "$ref": "PartialResultSet" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { - "filter": { - "location": "query", - "description": "The standard list filter.", - "type": "string" - }, - "name": { - "description": "The name of the operation collection.", + "session": { + "description": "Required. The session in which the SQL query should be performed.", "required": true, "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations$", - "location": "path" - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "type": "integer", - "location": "query" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations", - "id": "spanner.projects.instances.databases.operations.list", - "path": "v1/{+name}", - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`." - }, - "get": { - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/operations/[^/]+$", - "location": "path" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}", - "path": "v1/{+name}", - "id": "spanner.projects.instances.databases.operations.get", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." - } - } - }, - "sessions": { - "methods": { - "delete": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", - "location": "path", - "description": "Required. The name of the session to delete.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}", - "path": "v1/{+name}", - "id": "spanner.projects.instances.databases.sessions.delete", - "description": "Ends a session, releasing server resources associated with it." - }, - "executeStreamingSql": { - "httpMethod": "POST", - "parameterOrder": [ - "session" - ], - "response": { - "$ref": "PartialResultSet" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "session": { - "description": "Required. The session in which the SQL query should be performed.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", "location": "path" } }, @@ -2100,70 +1665,14 @@ "$ref": "ExecuteSqlRequest" } }, - "commit": { - "id": "spanner.projects.instances.databases.sessions.commit", - "path": "v1/{+session}:commit", - "description": "Commits a transaction. The request includes the mutations to be\napplied to rows in the database.\n\n`Commit` might return an `ABORTED` error. This can occur at any time;\ncommonly, the cause is conflicts with concurrent\ntransactions. However, it can also happen for a variety of other\nreasons. If `Commit` returns `ABORTED`, the caller should re-attempt\nthe transaction from the beginning, re-using the same session.", - "request": { - "$ref": "CommitRequest" - }, - "httpMethod": "POST", - "parameterOrder": [ - "session" - ], - "response": { - "$ref": "CommitResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "session": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", - "location": "path", - "description": "Required. The session in which the transaction to be committed is running.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:commit" - }, - "beginTransaction": { + "executeSql": { "httpMethod": "POST", "parameterOrder": [ "session" ], - "response": { - "$ref": "Transaction" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "session": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", - "location": "path", - "description": "Required. The session in which the transaction runs.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:beginTransaction", - "id": "spanner.projects.instances.databases.sessions.beginTransaction", - "path": "v1/{+session}:beginTransaction", - "description": "Begins a new transaction. This step can often be skipped:\nRead, ExecuteSql and\nCommit can begin a new transaction as a\nside-effect.", - "request": { - "$ref": "BeginTransactionRequest" - } - }, - "executeSql": { "response": { "$ref": "ResultSet" }, - "parameterOrder": [ - "session" - ], - "httpMethod": "POST", "parameters": { "session": { "description": "Required. The session in which the SQL query should be performed.", @@ -2177,46 +1686,42 @@ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:executeSql", - "path": "v1/{+session}:executeSql", "id": "spanner.projects.instances.databases.sessions.executeSql", + "path": "v1/{+session}:executeSql", "request": { "$ref": "ExecuteSqlRequest" }, "description": "Executes an SQL query, returning all rows in a single reply. This\nmethod cannot be used to return a result set larger than 10 MiB;\nif the query yields more data than that, the query fails with\na `FAILED_PRECONDITION` error.\n\nQueries inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See Transaction for more details.\n\nLarger result sets can be fetched in streaming fashion by calling\nExecuteStreamingSql instead." }, "streamingRead": { - "id": "spanner.projects.instances.databases.sessions.streamingRead", - "path": "v1/{+session}:streamingRead", "description": "Like Read, except returns the result set as a\nstream. Unlike Read, there is no limit on the\nsize of the returned result set. However, no individual row in\nthe result set can exceed 100 MiB, and no column value can exceed\n10 MiB.", "request": { "$ref": "ReadRequest" }, - "httpMethod": "POST", - "parameterOrder": [ - "session" - ], "response": { "$ref": "PartialResultSet" }, + "parameterOrder": [ + "session" + ], + "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "session": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", - "location": "path", "description": "Required. The session in which the read should be performed.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", + "location": "path" } }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:streamingRead" + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:streamingRead", + "path": "v1/{+session}:streamingRead", + "id": "spanner.projects.instances.databases.sessions.streamingRead" }, "rollback": { - "request": { - "$ref": "RollbackRequest" - }, - "description": "Rolls back a transaction, releasing any locks it holds. It is a good\nidea to call this for any transaction that includes one or more\nRead or ExecuteSql requests and\nultimately decides not to commit.\n\n`Rollback` returns `OK` if it successfully aborts the transaction, the\ntransaction was already aborted, or the transaction is not\nfound. `Rollback` never returns `ABORTED`.", "response": { "$ref": "Empty" }, @@ -2224,6 +1729,9 @@ "session" ], "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { "session": { "description": "Required. The session in which the transaction to roll back is running.", @@ -2233,31 +1741,32 @@ "location": "path" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:rollback", "path": "v1/{+session}:rollback", - "id": "spanner.projects.instances.databases.sessions.rollback" + "id": "spanner.projects.instances.databases.sessions.rollback", + "description": "Rolls back a transaction, releasing any locks it holds. It is a good\nidea to call this for any transaction that includes one or more\nRead or ExecuteSql requests and\nultimately decides not to commit.\n\n`Rollback` returns `OK` if it successfully aborts the transaction, the\ntransaction was already aborted, or the transaction is not\nfound. `Rollback` never returns `ABORTED`.", + "request": { + "$ref": "RollbackRequest" + } }, "create": { - "path": "v1/{+database}/sessions", "id": "spanner.projects.instances.databases.sessions.create", + "path": "v1/{+database}/sessions", "description": "Creates a new session. A session can be used to perform\ntransactions that read and/or modify data in a Cloud Spanner database.\nSessions are meant to be reused for many consecutive\ntransactions.\n\nSessions can only execute one transaction at a time. To execute\nmultiple concurrent read-write/write-only transactions, create\nmultiple sessions. Note that standalone reads and queries use a\ntransaction internally, and count toward the one transaction\nlimit.\n\nCloud Spanner limits the number of sessions that can exist at any given\ntime; thus, it is a good idea to delete idle and/or unneeded sessions.\nAside from explicit deletes, Cloud Spanner can delete sessions for which no\noperations are sent for more than an hour. If a session is deleted,\nrequests to it return `NOT_FOUND`.\n\nIdle sessions can be kept alive by sending a trivial SQL query\nperiodically, e.g., `\"SELECT 1\"`.", + "httpMethod": "POST", "response": { "$ref": "Session" }, "parameterOrder": [ "database" ], - "httpMethod": "POST", "parameters": { "database": { - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", - "location": "path", "description": "Required. The database in which the new session is created.", "required": true, - "type": "string" + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" } }, "scopes": [ @@ -2266,22 +1775,13 @@ "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions" }, "read": { - "path": "v1/{+session}:read", - "id": "spanner.projects.instances.databases.sessions.read", - "description": "Reads rows from the database using key lookups and scans, as a\nsimple key/value style alternative to\nExecuteSql. This method cannot be used to\nreturn a result set larger than 10 MiB; if the read matches more\ndata than that, the read fails with a `FAILED_PRECONDITION`\nerror.\n\nReads inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See Transaction for more details.\n\nLarger result sets can be yielded in streaming fashion by calling\nStreamingRead instead.", - "request": { - "$ref": "ReadRequest" - }, - "response": { - "$ref": "ResultSet" - }, + "httpMethod": "POST", "parameterOrder": [ "session" ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], + "response": { + "$ref": "ResultSet" + }, "parameters": { "session": { "description": "Required. The session in which the read should be performed.", @@ -2291,156 +1791,651 @@ "location": "path" } }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:read" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:read", + "id": "spanner.projects.instances.databases.sessions.read", + "path": "v1/{+session}:read", + "request": { + "$ref": "ReadRequest" + }, + "description": "Reads rows from the database using key lookups and scans, as a\nsimple key/value style alternative to\nExecuteSql. This method cannot be used to\nreturn a result set larger than 10 MiB; if the read matches more\ndata than that, the read fails with a `FAILED_PRECONDITION`\nerror.\n\nReads inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See Transaction for more details.\n\nLarger result sets can be yielded in streaming fashion by calling\nStreamingRead instead." }, "get": { + "parameterOrder": [ + "name" + ], "httpMethod": "GET", "response": { "$ref": "Session" }, - "parameterOrder": [ - "name" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", + "location": "path", "description": "Required. The name of the session to retrieve.", "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/sessions/[^/]+$", - "location": "path" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}", - "id": "spanner.projects.instances.databases.sessions.get", "path": "v1/{+name}", + "id": "spanner.projects.instances.databases.sessions.get", "description": "Gets a session. Returns `NOT_FOUND` if the session does not exist.\nThis is mainly useful for determining whether a session is still\nalive." } } } - } + }, + "methods": { + "create": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "POST", + "parameters": { + "parent": { + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path", + "description": "Required. The name of the instance that will serve the new database.\nValues are of the form `projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", + "path": "v1/{+parent}/databases", + "id": "spanner.projects.instances.databases.create", + "request": { + "$ref": "CreateDatabaseRequest" + }, + "description": "Creates a new Cloud Spanner database and starts to prepare it for serving.\nThe returned long-running operation will\nhave a name of the format `\u003cdatabase_name\u003e/operations/\u003coperation_id\u003e` and\ncan be used to track preparation of the database. The\nmetadata field type is\nCreateDatabaseMetadata. The\nresponse field type is\nDatabase, if successful." + }, + "setIamPolicy": { + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path", + "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for databases resources.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "id": "spanner.projects.instances.databases.setIamPolicy", + "description": "Sets the access control policy on a database resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.databases.setIamPolicy` permission on\nresource.", + "request": { + "$ref": "SetIamPolicyRequest" + } + }, + "getIamPolicy": { + "path": "v1/{+resource}:getIamPolicy", + "id": "spanner.projects.instances.databases.getIamPolicy", + "description": "Gets the access control policy for a database resource. Returns an empty\npolicy if a database exists but does not have a policy set.\n\nAuthorization requires `spanner.databases.getIamPolicy` permission on\nresource.", + "request": { + "$ref": "GetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:getIamPolicy" + }, + "get": { + "httpMethod": "GET", + "response": { + "$ref": "Database" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the requested database. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/databases/\u003cdatabase\u003e`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", + "id": "spanner.projects.instances.databases.get", + "path": "v1/{+name}", + "description": "Gets the state of a Cloud Spanner database." + }, + "dropDatabase": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "database" + ], + "httpMethod": "DELETE", + "parameters": { + "database": { + "description": "Required. The database to be dropped.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}", + "path": "v1/{+database}", + "id": "spanner.projects.instances.databases.dropDatabase", + "description": "Drops (aka deletes) a Cloud Spanner database." + }, + "updateDdl": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "database" + ], + "httpMethod": "PATCH", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "database": { + "description": "Required. The database to update.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/ddl", + "path": "v1/{+database}/ddl", + "id": "spanner.projects.instances.databases.updateDdl", + "description": "Updates the schema of a Cloud Spanner database by\ncreating/altering/dropping tables, columns, indexes, etc. The returned\nlong-running operation will have a name of\nthe format `\u003cdatabase_name\u003e/operations/\u003coperation_id\u003e` and can be used to\ntrack execution of the schema change(s). The\nmetadata field type is\nUpdateDatabaseDdlMetadata. The operation has no response.", + "request": { + "$ref": "UpdateDatabaseDdlRequest" + } + }, + "testIamPermissions": { + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "parameters": { + "resource": { + "description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "id": "spanner.projects.instances.databases.testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that the caller has on the specified database resource.\n\nAttempting this RPC on a non-existent Cloud Spanner database will result in\na NOT_FOUND error if the user has `spanner.databases.list` permission on\nthe containing Cloud Spanner instance. Otherwise returns an empty set of\npermissions." + }, + "getDdl": { + "description": "Returns the schema of a Cloud Spanner database as a list of formatted\nDDL statements. This method does not show pending schema updates, those may\nbe queried using the Operations API.", + "response": { + "$ref": "GetDatabaseDdlResponse" + }, + "parameterOrder": [ + "database" + ], + "httpMethod": "GET", + "parameters": { + "database": { + "description": "Required. The database whose schema we wish to get.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/ddl", + "path": "v1/{+database}/ddl", + "id": "spanner.projects.instances.databases.getDdl" + }, + "list": { + "id": "spanner.projects.instances.databases.list", + "path": "v1/{+parent}/databases", + "description": "Lists Cloud Spanner databases.", + "httpMethod": "GET", + "response": { + "$ref": "ListDatabasesResponse" + }, + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageToken": { + "description": "If non-empty, `page_token` should contain a\nnext_page_token from a\nprevious ListDatabasesResponse.", + "type": "string", + "location": "query" + }, + "pageSize": { + "location": "query", + "description": "Number of databases to be returned in the response. If 0 or less,\ndefaults to the server's maximum allowed page size.", + "format": "int32", + "type": "integer" + }, + "parent": { + "description": "Required. The instance whose databases should be listed.\nValues are of the form `projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases" + } + } + }, + "operations": { + "methods": { + "cancel": { + "id": "spanner.projects.instances.operations.cancel", + "path": "v1/{+name}:cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`.", + "httpMethod": "POST", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", + "location": "path", + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}:cancel" + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", + "location": "path", + "description": "The name of the operation resource to be deleted.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}", + "path": "v1/{+name}", + "id": "spanner.projects.instances.operations.delete" + }, + "list": { + "path": "v1/{+name}", + "id": "spanner.projects.instances.operations.list", + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", + "response": { + "$ref": "ListOperationsResponse" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "GET", + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/operations$", + "location": "path", + "description": "The name of the operation collection.", + "required": true, + "type": "string" + }, + "pageToken": { + "description": "The standard list page token.", + "type": "string", + "location": "query" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "filter": { + "location": "query", + "description": "The standard list filter.", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations" + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "httpMethod": "GET", + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "name" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", + "location": "path", + "description": "The name of the operation resource.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}", + "id": "spanner.projects.instances.operations.get", + "path": "v1/{+name}" + } + } + } + }, + "methods": { + "delete": { + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path", + "description": "Required. The name of the instance to be deleted. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e`", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}", + "path": "v1/{+name}", + "id": "spanner.projects.instances.delete", + "description": "Deletes an instance.\n\nImmediately upon completion of the request:\n\n * Billing ceases for all of the instance's reserved resources.\n\nSoon afterward:\n\n * The instance and *all of its databases* immediately and\n irrevocably disappear from the API. All data in the databases\n is permanently deleted." + }, + "list": { + "description": "Lists all instances in the given project.", + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", + "response": { + "$ref": "ListInstancesResponse" + }, + "parameters": { + "parent": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Required. The name of the project for which a list of instances is\nrequested. Values are of the form `projects/\u003cproject\u003e`.", + "required": true, + "type": "string" + }, + "filter": { + "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n * name\n * display_name\n * labels.key where key is the name of a label\n\nSome examples of using filters are:\n\n * name:* --\u003e The instance has a name.\n * name:Howl --\u003e The instance's name contains the string \"howl\".\n * name:HOWL --\u003e Equivalent to above.\n * NAME:howl --\u003e Equivalent to above.\n * labels.env:* --\u003e The instance has the label \"env\".\n * labels.env:dev --\u003e The instance has the label \"env\" and the value of\n the label contains the string \"dev\".\n * name:howl labels.env:dev --\u003e The instance's name contains \"howl\" and\n it has the label \"env\" with its value\n containing \"dev\".", + "type": "string", + "location": "query" + }, + "pageToken": { + "description": "If non-empty, `page_token` should contain a\nnext_page_token from a\nprevious ListInstancesResponse.", + "type": "string", + "location": "query" + }, + "pageSize": { + "description": "Number of instances to be returned in the response. If 0 or less, defaults\nto the server's maximum allowed page size.", + "format": "int32", + "type": "integer", + "location": "query" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances", + "path": "v1/{+parent}/instances", + "id": "spanner.projects.instances.list" + }, + "create": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "parent": { + "description": "Required. The name of the project in which to create the instance. Values\nare of the form `projects/\u003cproject\u003e`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "flatPath": "v1/projects/{projectsId}/instances", + "path": "v1/{+parent}/instances", + "id": "spanner.projects.instances.create", + "description": "Creates an instance and begins preparing it to begin serving. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance. The instance name is assigned by the caller. If the\nnamed instance already exists, `CreateInstance` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request:\n\n * The instance is readable via the API, with all requested attributes\n but no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation renders the instance immediately unreadable\n via the API.\n * The instance can be deleted.\n * All other attempts to modify the instance are rejected.\n\nUpon completion of the returned operation:\n\n * Billing for all successfully-allocated resources begins (some types\n may have lower than the requested levels).\n * Databases can be created in the instance.\n * The instance's allocated resource levels are readable via the API.\n * The instance's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format `\u003cinstance_name\u003e/operations/\u003coperation_id\u003e` and\ncan be used to track creation of the instance. The\nmetadata field type is\nCreateInstanceMetadata.\nThe response field type is\nInstance, if successful.", + "request": { + "$ref": "CreateInstanceRequest" + } + }, + "setIamPolicy": { + "response": { + "$ref": "Policy" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "resource": { + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path", + "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for databases resources.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:setIamPolicy", + "path": "v1/{+resource}:setIamPolicy", + "id": "spanner.projects.instances.setIamPolicy", + "description": "Sets the access control policy on an instance resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.instances.setIamPolicy` on\nresource.", + "request": { + "$ref": "SetIamPolicyRequest" + } + }, + "getIamPolicy": { + "request": { + "$ref": "GetIamPolicyRequest" + }, + "description": "Gets the access control policy for an instance resource. Returns an empty\npolicy if an instance exists but does not have a policy set.\n\nAuthorization requires `spanner.instances.getIamPolicy` on\nresource.", + "httpMethod": "POST", + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "parameters": { + "resource": { + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path", + "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:getIamPolicy", + "id": "spanner.projects.instances.getIamPolicy", + "path": "v1/{+resource}:getIamPolicy" + }, + "get": { + "description": "Gets information about a particular instance.", + "httpMethod": "GET", + "response": { + "$ref": "Instance" + }, + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path", + "description": "Required. The name of the requested instance. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.", + "required": true, + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}", + "id": "spanner.projects.instances.get", + "path": "v1/{+name}" + }, + "patch": { + "response": { + "$ref": "Operation" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "PATCH", + "parameters": { + "name": { + "description": "Required. A unique identifier for the instance, which cannot be changed\nafter the instance is created. Values are of the form\n`projects/\u003cproject\u003e/instances/a-z*[a-z0-9]`. The final\nsegment of the name must be between 6 and 30 characters in length.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}", + "path": "v1/{+name}", + "id": "spanner.projects.instances.patch", + "request": { + "$ref": "UpdateInstanceRequest" + }, + "description": "Updates an instance, and begins allocating or releasing resources\nas requested. The returned long-running\noperation can be used to track the\nprogress of updating the instance. If the named instance does not\nexist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request:\n\n * For resource types for which a decrease in the instance's allocation\n has been requested, billing is based on the newly-requested level.\n\nUntil completion of the returned operation:\n\n * Cancelling the operation sets its metadata's\n cancel_time, and begins\n restoring resources to their pre-request values. The operation\n is guaranteed to succeed at undoing all resource changes,\n after which point it terminates with a `CANCELLED` status.\n * All other attempts to modify the instance are rejected.\n * Reading the instance via the API continues to give the pre-request\n resource levels.\n\nUpon completion of the returned operation:\n\n * Billing begins for all successfully-allocated resources (some types\n may have lower than the requested levels).\n * All newly-reserved resources are available for serving the instance's\n tables.\n * The instance's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format `\u003cinstance_name\u003e/operations/\u003coperation_id\u003e` and\ncan be used to track the instance modification. The\nmetadata field type is\nUpdateInstanceMetadata.\nThe response field type is\nInstance, if successful.\n\nAuthorization requires `spanner.instances.update` permission on\nresource name." }, - "operations": { - "methods": { - "cancel": { - "httpMethod": "POST", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}:cancel", - "id": "spanner.projects.instances.operations.cancel", - "path": "v1/{+name}:cancel", - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`." - }, - "delete": { - "id": "spanner.projects.instances.operations.delete", - "path": "v1/{+name}", - "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "name" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource to be deleted.", - "required": true, - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}" - }, - "list": { - "httpMethod": "GET", - "response": { - "$ref": "ListOperationsResponse" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation collection.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/instances/[^/]+/operations$", - "location": "path" - }, - "pageToken": { - "location": "query", - "description": "The standard list page token.", - "type": "string" - }, - "pageSize": { - "location": "query", - "description": "The standard list page size.", - "format": "int32", - "type": "integer" - }, - "filter": { - "description": "The standard list filter.", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations", - "id": "spanner.projects.instances.operations.list", - "path": "v1/{+name}", - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`." - }, - "get": { - "id": "spanner.projects.instances.operations.get", - "path": "v1/{+name}", - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "httpMethod": "GET", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "pattern": "^projects/[^/]+/instances/[^/]+/operations/[^/]+$", - "location": "path", - "description": "The name of the operation resource.", - "required": true, - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}" + "testIamPermissions": { + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "parameterOrder": [ + "resource" + ], + "httpMethod": "POST", + "parameters": { + "resource": { + "description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e` for instance resources and `projects/\u003cproject ID\u003e/instances/\u003cinstance ID\u003e/databases/\u003cdatabase ID\u003e` for database resources.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/instances/[^/]+$", + "location": "path" } - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:testIamPermissions", + "path": "v1/{+resource}:testIamPermissions", + "id": "spanner.projects.instances.testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "description": "Returns permissions that the caller has on the specified instance resource.\n\nAttempting this RPC on a non-existent Cloud Spanner instance resource will\nresult in a NOT_FOUND error if the user has `spanner.instances.list`\npermission on the containing Google Cloud Project. Otherwise returns an\nempty set of permissions." } } }, @@ -2454,14 +2449,10 @@ "parent" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], "parameters": { - "parent": { - "description": "Required. The name of the project for which a list of supported instance\nconfigurations is requested. Values are of the form\n`projects/\u003cproject\u003e`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - }, "pageToken": { "location": "query", "description": "If non-empty, `page_token` should contain a\nnext_page_token\nfrom a previous ListInstanceConfigsResponse.", @@ -2472,24 +2463,28 @@ "description": "Number of instance configurations to be returned in the response. If 0 or\nless, defaults to the server's maximum allowed page size.", "format": "int32", "type": "integer" + }, + "parent": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "Required. The name of the project for which a list of supported instance\nconfigurations is requested. Values are of the form\n`projects/\u003cproject\u003e`.", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], "flatPath": "v1/projects/{projectsId}/instanceConfigs", "path": "v1/{+parent}/instanceConfigs", "id": "spanner.projects.instanceConfigs.list", "description": "Lists the supported instance configurations for a given project." }, "get": { - "response": { - "$ref": "InstanceConfig" - }, "parameterOrder": [ "name" ], "httpMethod": "GET", + "response": { + "$ref": "InstanceConfig" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], @@ -2513,16 +2508,6 @@ } }, "parameters": { - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, "upload_protocol": { "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string", @@ -2534,35 +2519,41 @@ "default": "true", "location": "query" }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" + }, "fields": { "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" }, - "uploadType": { - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" - }, "$.xgafv": { - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", "enum": [ "1", "2" ], "description": "V1 error format.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" }, "callback": { + "location": "query", "description": "JSONP", - "type": "string", - "location": "query" + "type": "string" }, "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -2570,40 +2561,49 @@ ], "location": "query", "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string" - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" + "default": "json" }, "key": { "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.", "type": "string", "location": "query" }, - "quotaUser": { + "access_token": { "location": "query", - "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.", + "description": "OAuth access token.", "type": "string" }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, "pp": { + "location": "query", "description": "Pretty-print response.", "type": "boolean", - "default": "true", + "default": "true" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", "location": "query" } }, "version": "v1", "baseUrl": "https://spanner.googleapis.com/", + "servicePath": "", "description": "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", "kind": "discovery#restDescription", - "servicePath": "", - "basePath": "" + "basePath": "", + "id": "spanner:v1", + "revision": "20170317", + "documentationLink": "https://cloud.google.com/spanner/", + "discoveryVersion": "v1", + "version_module": "True" } diff --git a/DiscoveryJson/speech_v1beta1.json b/DiscoveryJson/speech_v1beta1.json index bb8f849f60..f063c2f4a3 100644 --- a/DiscoveryJson/speech_v1beta1.json +++ b/DiscoveryJson/speech_v1beta1.json @@ -1,15 +1,41 @@ { - "revision": "20170327", - "documentationLink": "https://cloud.google.com/speech/", - "id": "speech:v1beta1", - "title": "Google Cloud Speech API", - "discoveryVersion": "v1", - "ownerName": "Google", - "version_module": "True", "resources": { "operations": { "methods": { + "cancel": { + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "POST", + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "required": true, + "type": "string", + "pattern": "^[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "flatPath": "v1beta1/operations/{operationsId}:cancel", + "path": "v1beta1/operations/{+name}:cancel", + "id": "speech.operations.cancel", + "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`." + }, "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "name" + ], + "httpMethod": "DELETE", "parameters": { "name": { "pattern": "^[^/]+$", @@ -24,43 +50,34 @@ ], "flatPath": "v1beta1/operations/{operationsId}", "path": "v1beta1/operations/{+name}", - "id": "speech.operations.delete", - "description": "Deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", - "parameterOrder": [ - "name" - ], - "httpMethod": "DELETE", - "response": { - "$ref": "Empty" - } + "id": "speech.operations.delete" }, "list": { - "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`.", "response": { "$ref": "ListOperationsResponse" }, - "httpMethod": "GET", "parameterOrder": [], + "httpMethod": "GET", "parameters": { + "filter": { + "location": "query", + "description": "The standard list filter.", + "type": "string" + }, "name": { "location": "query", "description": "The name of the operation collection.", "type": "string" }, "pageToken": { + "location": "query", "description": "The standard list page token.", - "type": "string", - "location": "query" + "type": "string" }, "pageSize": { - "location": "query", "description": "The standard list page size.", "format": "int32", - "type": "integer" - }, - "filter": { - "description": "The standard list filter.", - "type": "string", + "type": "integer", "location": "query" } }, @@ -68,45 +85,21 @@ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1beta1/operations", + "id": "speech.operations.list", "path": "v1beta1/operations", - "id": "speech.operations.list" + "description": "Lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to override the binding\nto use different resource name schemes, such as `users/*/operations`." }, "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "name" ], "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "required": true, - "type": "string", - "pattern": "^[^/]+$", - "location": "path" - } - }, - "flatPath": "v1beta1/operations/{operationsId}", - "path": "v1beta1/operations/{+name}", - "id": "speech.operations.get" - }, - "cancel": { - "httpMethod": "POST", "response": { - "$ref": "Empty" + "$ref": "Operation" }, - "parameterOrder": [ - "name" - ], "parameters": { "name": { - "description": "The name of the operation resource to be cancelled.", + "description": "The name of the operation resource.", "required": true, "type": "string", "pattern": "^[^/]+$", @@ -116,49 +109,49 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], - "flatPath": "v1beta1/operations/{operationsId}:cancel", - "id": "speech.operations.cancel", - "path": "v1beta1/operations/{+name}:cancel", - "description": "Starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOperation or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan Operation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`." + "flatPath": "v1beta1/operations/{operationsId}", + "path": "v1beta1/operations/{+name}", + "id": "speech.operations.get", + "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice." } } }, "speech": { "methods": { "asyncrecognize": { - "httpMethod": "POST", - "parameterOrder": [], "response": { "$ref": "Operation" }, + "parameterOrder": [], + "httpMethod": "POST", "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1beta1/speech:asyncrecognize", - "id": "speech.speech.asyncrecognize", "path": "v1beta1/speech:asyncrecognize", + "id": "speech.speech.asyncrecognize", "request": { "$ref": "AsyncRecognizeRequest" }, "description": "Performs asynchronous speech recognition: receive results via the\n[google.longrunning.Operations]\n(/speech/reference/rest/v1beta1/operations#Operation)\ninterface. Returns either an\n`Operation.error` or an `Operation.response` which contains\nan `AsyncRecognizeResponse` message." }, "syncrecognize": { - "path": "v1beta1/speech:syncrecognize", "id": "speech.speech.syncrecognize", + "path": "v1beta1/speech:syncrecognize", + "description": "Performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.", "request": { "$ref": "SyncRecognizeRequest" }, - "description": "Performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.", + "httpMethod": "POST", + "parameterOrder": [], "response": { "$ref": "SyncRecognizeResponse" }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": {}, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], + "parameters": {}, "flatPath": "v1beta1/speech:syncrecognize" } } @@ -166,9 +159,9 @@ }, "parameters": { "upload_protocol": { - "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "prettyPrint": { "location": "query", @@ -177,14 +170,14 @@ "default": "true" }, "uploadType": { - "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "type": "string" + "type": "string", + "location": "query" }, "fields": { + "location": "query", "description": "Selector specifying which fields to include in a partial response.", - "type": "string", - "location": "query" + "type": "string" }, "callback": { "location": "query", @@ -205,12 +198,6 @@ "type": "string" }, "alt": { - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", @@ -218,16 +205,22 @@ ], "location": "query", "description": "Data format for response.", - "default": "json" - }, - "key": { - "location": "query", - "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.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], "type": "string" }, "access_token": { - "location": "query", "description": "OAuth access token.", + "type": "string", + "location": "query" + }, + "key": { + "location": "query", + "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.", "type": "string" }, "quotaUser": { @@ -247,29 +240,27 @@ "location": "query" }, "oauth_token": { - "location": "query", "description": "OAuth 2.0 token for the current user.", - "type": "string" + "type": "string", + "location": "query" } }, "schemas": { - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "type": "object", + "SpeechRecognitionAlternative": { "properties": { - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "type": "array", - "items": { - "$ref": "Operation" - } + "confidence": { + "description": "*Output-only* The confidence estimate between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. This field is typically provided only for the top hypothesis, and\nonly for `is_final=true` results. Clients should not rely on the\n`confidence` field as it is not guaranteed to be accurate, or even set, in\nany of the results.\nThe default of 0.0 is a sentinel value indicating `confidence` was not set.", + "format": "float", + "type": "number" }, - "nextPageToken": { - "description": "The standard List next-page token.", + "transcript": { + "description": "*Output-only* Transcript text representing the words that the user spoke.", "type": "string" } }, - "id": "ListOperationsResponse" + "id": "SpeechRecognitionAlternative", + "description": "Alternative hypotheses (a.k.a. n-best list).", + "type": "object" }, "SpeechContext": { "description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases\nin the results.", @@ -285,25 +276,25 @@ }, "id": "SpeechContext" }, - "SpeechRecognitionAlternative": { - "description": "Alternative hypotheses (a.k.a. n-best list).", - "type": "object", + "ListOperationsResponse": { "properties": { - "confidence": { - "description": "*Output-only* The confidence estimate between 0.0 and 1.0. A higher number\nindicates an estimated greater likelihood that the recognized words are\ncorrect. This field is typically provided only for the top hypothesis, and\nonly for `is_final=true` results. Clients should not rely on the\n`confidence` field as it is not guaranteed to be accurate, or even set, in\nany of the results.\nThe default of 0.0 is a sentinel value indicating `confidence` was not set.", - "format": "float", - "type": "number" - }, - "transcript": { - "description": "*Output-only* Transcript text representing the words that the user spoke.", + "nextPageToken": { + "description": "The standard List next-page token.", "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "type": "array", + "items": { + "$ref": "Operation" + } } }, - "id": "SpeechRecognitionAlternative" + "id": "ListOperationsResponse", + "description": "The response message for Operations.ListOperations.", + "type": "object" }, "SpeechRecognitionResult": { - "description": "A speech recognition result corresponding to a portion of the audio.", - "type": "object", "properties": { "alternatives": { "description": "*Output-only* May contain one or more recognition hypotheses (up to the\nmaximum specified in `max_alternatives`).", @@ -313,22 +304,24 @@ } } }, - "id": "SpeechRecognitionResult" + "id": "SpeechRecognitionResult", + "description": "A speech recognition result corresponding to a portion of the audio.", + "type": "object" }, "AsyncRecognizeRequest": { - "description": "The top-level message sent by the client for the `AsyncRecognize` method.", - "type": "object", "properties": { "config": { - "description": "*Required* Provides information to the recognizer that specifies how to\nprocess the request.", - "$ref": "RecognitionConfig" + "$ref": "RecognitionConfig", + "description": "*Required* Provides information to the recognizer that specifies how to\nprocess the request." }, "audio": { "$ref": "RecognitionAudio", "description": "*Required* The audio data to be recognized." } }, - "id": "AsyncRecognizeRequest" + "id": "AsyncRecognizeRequest", + "description": "The top-level message sent by the client for the `AsyncRecognize` method.", + "type": "object" }, "RecognitionAudio": { "description": "Contains audio data in the encoding specified in the `RecognitionConfig`.\nEither `content` or `uri` must be supplied. Supplying both or neither\nreturns google.rpc.Code.INVALID_ARGUMENT. See\n[audio limits](https://cloud.google.com/speech/limits#content).", @@ -347,16 +340,26 @@ "id": "RecognitionAudio" }, "Operation": { - "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", - "type": "object", "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", + "type": "boolean" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", + "type": "object" + }, "name": { "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", "type": "string" }, "error": { - "description": "The error result of the operation in case of failure or cancellation.", - "$ref": "Status" + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." }, "metadata": { "additionalProperties": { @@ -365,25 +368,13 @@ }, "description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", "type": "object" - }, - "done": { - "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", - "type": "boolean" - }, - "response": { - "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", - "type": "object", - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - } } }, - "id": "Operation" + "id": "Operation", + "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", + "type": "object" }, "RecognitionConfig": { - "description": "Provides information to the recognizer that specifies how to process the\nrequest.", - "type": "object", "properties": { "maxAlternatives": { "description": "*Optional* Maximum number of recognition hypotheses to be returned.\nSpecifically, the maximum number of `SpeechRecognitionAlternative` messages\nwithin each `SpeechRecognitionResult`.\nThe server may return fewer than `max_alternatives`.\nValid values are `0`-`30`. A value of `0` or `1` will return a maximum of\none. If omitted, will return a maximum of one.", @@ -404,14 +395,6 @@ "description": "*Optional* A means to provide context to assist the speech recognition." }, "encoding": { - "enumDescriptions": [ - "Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.", - "Uncompressed 16-bit signed little-endian samples (Linear PCM).\nThis is the only encoding that may be used by `AsyncRecognize`.", - "This is the recommended encoding for `SyncRecognize` and\n`StreamingRecognize` because it uses lossless compression; therefore\nrecognition accuracy is not compromised by a lossy codec.\n\nThe stream FLAC (Free Lossless Audio Codec) encoding is specified at:\nhttp://flac.sourceforge.net/documentation.html.\n16-bit and 24-bit samples are supported.\nNot all fields in STREAMINFO are supported.", - "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", - "Adaptive Multi-Rate Narrowband codec. `sample_rate` must be 8000 Hz.", - "Adaptive Multi-Rate Wideband codec. `sample_rate` must be 16000 Hz." - ], "enum": [ "ENCODING_UNSPECIFIED", "LINEAR16", @@ -421,76 +404,86 @@ "AMR_WB" ], "description": "*Required* Encoding of audio data sent in all `RecognitionAudio` messages.", - "type": "string" + "type": "string", + "enumDescriptions": [ + "Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).\nThis is the only encoding that may be used by `AsyncRecognize`.", + "This is the recommended encoding for `SyncRecognize` and\n`StreamingRecognize` because it uses lossless compression; therefore\nrecognition accuracy is not compromised by a lossy codec.\n\nThe stream FLAC (Free Lossless Audio Codec) encoding is specified at:\nhttp://flac.sourceforge.net/documentation.html.\n16-bit and 24-bit samples are supported.\nNot all fields in STREAMINFO are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate` must be 8000 Hz.", + "Adaptive Multi-Rate Wideband codec. `sample_rate` must be 16000 Hz." + ] }, "profanityFilter": { "description": "*Optional* If set to `true`, the server will attempt to filter out\nprofanities, replacing all but the initial character in each filtered word\nwith asterisks, e.g. \"f***\". If set to `false` or omitted, profanities\nwon't be filtered out.", "type": "boolean" } }, - "id": "RecognitionConfig" + "id": "RecognitionConfig", + "description": "Provides information to the recognizer that specifies how to process the\nrequest.", + "type": "object" }, "SyncRecognizeRequest": { - "id": "SyncRecognizeRequest", - "description": "The top-level message sent by the client for the `SyncRecognize` method.", - "type": "object", "properties": { "config": { - "description": "*Required* Provides information to the recognizer that specifies how to\nprocess the request.", - "$ref": "RecognitionConfig" + "$ref": "RecognitionConfig", + "description": "*Required* Provides information to the recognizer that specifies how to\nprocess the request." }, "audio": { "description": "*Required* The audio data to be recognized.", "$ref": "RecognitionAudio" } - } + }, + "id": "SyncRecognizeRequest", + "description": "The top-level message sent by the client for the `SyncRecognize` method.", + "type": "object" + }, + "SyncRecognizeResponse": { + "description": "The only message returned to the client by `SyncRecognize`. method. It\ncontains the result as zero or more sequential `SpeechRecognitionResult`\nmessages.", + "type": "object", + "properties": { + "results": { + "description": "*Output-only* Sequential list of transcription results corresponding to\nsequential portions of audio.", + "type": "array", + "items": { + "$ref": "SpeechRecognitionResult" + } + } + }, + "id": "SyncRecognizeResponse" }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" - }, "details": { "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", "items": { - "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" - } + }, + "type": "object" } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" } }, "id": "Status" }, - "SyncRecognizeResponse": { - "id": "SyncRecognizeResponse", - "description": "The only message returned to the client by `SyncRecognize`. method. It\ncontains the result as zero or more sequential `SpeechRecognitionResult`\nmessages.", - "type": "object", - "properties": { - "results": { - "description": "*Output-only* Sequential list of transcription results corresponding to\nsequential portions of audio.", - "type": "array", - "items": { - "$ref": "SpeechRecognitionResult" - } - } - } - }, "Empty": { - "id": "Empty", "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", - "properties": {} + "properties": {}, + "id": "Empty" } }, "protocol": "rest", @@ -516,5 +509,12 @@ "basePath": "", "ownerDomain": "google.com", "name": "speech", - "batchPath": "batch" + "batchPath": "batch", + "documentationLink": "https://cloud.google.com/speech/", + "revision": "20170327", + "id": "speech:v1beta1", + "title": "Google Cloud Speech API", + "ownerName": "Google", + "discoveryVersion": "v1", + "version_module": "True" } diff --git a/DiscoveryJson/tracing_v1.json b/DiscoveryJson/tracing_v1.json index 8a1ca7eec6..0e53d8f5fc 100644 --- a/DiscoveryJson/tracing_v1.json +++ b/DiscoveryJson/tracing_v1.json @@ -1,294 +1,288 @@ { - "schemas": { - "Trace": { - "type": "object", - "properties": { - "name": { - "description": "A globally unique identifier for the trace in the format\n`projects/PROJECT_NUMBER/traces/TRACE_ID`. `TRACE_ID` is a base16-encoded\nstring of a 128-bit number and is required to be 32 char long.", - "type": "string" - } - }, - "id": "Trace", - "description": "A trace describes how long it takes for an application to perform some\noperations. It consists of a set of spans, each representing\nan operation and including time information and operation details." - }, - "Module": { - "description": "Binary module.", - "type": "object", - "properties": { - "module": { - "type": "string", - "description": "E.g. main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so" - }, - "buildId": { - "description": "Build_id is a unique identifier for the module,\nusually a hash of its contents", - "type": "string" - } - }, - "id": "Module" - }, - "Status": { - "properties": { - "details": { - "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", - "type": "array", - "items": { - "additionalProperties": { - "description": "Properties of the object. Contains field @type with type URL.", - "type": "any" - }, - "type": "object" - } + "canonicalName": "Tracing", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/trace.readonly": { + "description": "Read Trace data for a project or application" }, - "code": { - "description": "The status code, which should be an enum value of google.rpc.Code.", - "format": "int32", - "type": "integer" + "https://www.googleapis.com/auth/trace.append": { + "description": "Write Trace data for a project or application" }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" } - }, - "id": "Status", - "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", - "type": "object" - }, - "ListTracesResponse": { - "properties": { + } + } + }, + "rootUrl": "https://tracing.googleapis.com/", + "ownerDomain": "google.com", + "name": "tracing", + "batchPath": "batch", + "title": "Google Tracing API", + "ownerName": "Google", + "resources": { + "projects": { + "resources": { "traces": { - "description": "List of trace records returned.", - "type": "array", - "items": { - "$ref": "Trace" + "methods": { + "batchUpdate": { + "httpMethod": "POST", + "parameterOrder": [ + "parent" + ], + "response": { + "$ref": "Empty" + }, + "parameters": { + "parent": { + "description": "ID of the Cloud project where the trace data is stored.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+$", + "location": "path" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/trace.append" + ], + "flatPath": "v1/projects/{projectsId}/traces:batchUpdate", + "id": "tracing.projects.traces.batchUpdate", + "path": "v1/{+parent}/traces:batchUpdate", + "request": { + "$ref": "BatchUpdateSpansRequest" + }, + "description": "Sends new spans to Stackdriver Trace or updates existing spans. If the\nname of a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nname does not match, a new trace is created with given set of spans." + }, + "listSpans": { + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "ListSpansResponse" + }, + "parameters": { + "name": { + "description": "ID of the trace for which to list child spans. Format is\n`projects/PROJECT_ID/traces/TRACE_ID`.", + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/traces/[^/]+$", + "location": "path" + }, + "pageToken": { + "location": "query", + "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `nextPageToken` field from a previous request. Optional.", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/trace.readonly" + ], + "flatPath": "v1/projects/{projectsId}/traces/{tracesId}:listSpans", + "id": "tracing.projects.traces.listSpans", + "path": "v1/{+name}:listSpans", + "description": "Returns a list of spans within a trace." + }, + "list": { + "response": { + "$ref": "ListTracesResponse" + }, + "parameterOrder": [ + "parent" + ], + "httpMethod": "GET", + "parameters": { + "pageSize": { + "location": "query", + "description": "Maximum number of traces to return. If not specified or \u003c= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.", + "format": "int32", + "type": "integer" + }, + "parent": { + "pattern": "^projects/[^/]+$", + "location": "path", + "description": "ID of the Cloud project where the trace data is stored.", + "required": true, + "type": "string" + }, + "orderBy": { + "location": "query", + "description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.", + "type": "string" + }, + "filter": { + "location": "query", + "description": "An optional filter for the request.\nExample:\n`version_label_key:a some_label:some_label_key`\nreturns traces from version `a` and has `some_label` with `some_label_key`.", + "type": "string" + }, + "endTime": { + "type": "string", + "location": "query", + "description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.", + "format": "google-datetime" + }, + "startTime": { + "description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.", + "format": "google-datetime", + "type": "string", + "location": "query" + }, + "pageToken": { + "location": "query", + "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/trace.readonly" + ], + "flatPath": "v1/projects/{projectsId}/traces", + "path": "v1/{+parent}/traces", + "id": "tracing.projects.traces.list", + "description": "Returns of a list of traces that match the specified filter conditions." + }, + "get": { + "description": "Returns a specific trace.", + "httpMethod": "GET", + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Trace" + }, + "parameters": { + "name": { + "required": true, + "type": "string", + "pattern": "^projects/[^/]+/traces/[^/]+$", + "location": "path", + "description": "ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/trace.readonly" + ], + "flatPath": "v1/projects/{projectsId}/traces/{tracesId}", + "id": "tracing.projects.traces.get", + "path": "v1/{+name}" + } } - }, - "nextPageToken": { - "description": "If defined, indicates that there are more traces that match the request\nand that this value should be passed to the next request to continue\nretrieving additional traces.", - "type": "string" } - }, - "id": "ListTracesResponse", - "description": "The response message for the `ListTraces` method.", - "type": "object" + } + } + }, + "parameters": { + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string", + "location": "query" }, - "Span": { - "properties": { - "localStartTime": { - "description": "Start time of the span.\nOn the client side, this is the local machine clock time at which the span\nexecution was started; on the server\nside, this is the time at which the server application handler started\nrunning.", - "format": "google-datetime", - "type": "string" - }, - "hasRemoteParent": { - "description": "True if this span has a remote parent (is an RPC server span).", - "type": "boolean" - }, - "timeEvents": { - "description": "A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation\non the span, consisting of either user-supplied key:value pairs, or\ndetails of an RPC message sent/received on the network.", - "type": "array", - "items": { - "$ref": "TimeEvent" - } - }, - "localEndTime": { - "description": "End time of the span.\nOn the client side, this is the local machine clock time at which the span\nexecution was ended; on the server\nside, this is the time at which the server application handler stopped\nrunning.", - "format": "google-datetime", - "type": "string" - }, - "parentId": { - "description": "ID of the parent span. If this is a root span, the value must be `0` or\nempty.", - "format": "uint64", - "type": "string" - }, - "status": { - "$ref": "Status", - "description": "An optional final status for this span." - }, - "name": { - "description": "Name of the span. The span name is sanitized and displayed in the\nStackdriver Trace tool in the {% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.", - "type": "string" - }, - "stackTrace": { - "description": "Stack trace captured at the start of the span.", - "$ref": "StackTrace" - }, - "links": { - "type": "array", - "items": { - "$ref": "Link" - }, - "description": "A collection of links, which are references from this span to another span\nin a different trace." - }, - "attributes": { - "description": "Properties of a span in key:value format. The maximum length for the\nkey is 128 characters. The value can be a string (up to 2000 characters),\nint, or boolean.\n\nSome common pair examples:\n\n \"/instance_id\": \"my-instance\"\n \"/zone\": \"us-central1-a\"\n \"/grpc/peer_address\": \"ip:port\" (dns, etc.)\n \"/grpc/deadline\": \"Duration\"\n \"/http/user_agent\"\n \"/http/request_bytes\": 300\n \"/http/response_bytes\": 1200\n \"/http/url\": google.com/apis\n \"abc.com/myattribute\": true", - "type": "object", - "additionalProperties": { - "$ref": "AttributeValue" - } - }, - "id": { - "description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.", - "format": "uint64", - "type": "string" - } - }, - "id": "Span", - "description": "A span represents a single operation within a trace. Spans can be nested\nto form a trace tree. Often, a trace contains a root span that\ndescribes the end-to-end latency and, optionally, one or more subspans for\nits sub-operations. (A trace could alternatively contain multiple root spans,\nor none at all.) Spans do not need to be contiguous. There may be gaps\nand/or overlaps between spans in a trace.", - "type": "object" + "prettyPrint": { + "location": "query", + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" }, - "Empty": { - "properties": {}, - "id": "Empty", - "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", - "type": "object" + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "type": "string", + "location": "query" }, - "AttributeValue": { - "id": "AttributeValue", - "description": "The allowed types for the value side of an attribute key:value pair.", - "type": "object", - "properties": { - "intValue": { - "description": "An integer value.", - "format": "int64", - "type": "string" - }, - "stringValue": { - "type": "string", - "description": "A string value." - }, - "boolValue": { - "description": "A boolean value.", - "type": "boolean" - } - } + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "type": "string", + "location": "query" }, - "BatchUpdateSpansRequest": { - "description": "The request message for the `BatchUpdateSpans` method.", - "type": "object", - "properties": { - "spanUpdates": { - "additionalProperties": { - "$ref": "SpanUpdates" - }, - "description": "A map from trace name to spans to be stored or updated.", - "type": "object" - } - }, - "id": "BatchUpdateSpansRequest" + "callback": { + "type": "string", + "location": "query", + "description": "JSONP" }, - "StackTrace": { - "id": "StackTrace", - "description": "StackTrace collected in a trace.", - "type": "object", - "properties": { - "stackFrame": { - "description": "Stack frames of this stack trace.", - "type": "array", - "items": { - "$ref": "StackFrame" - } - }, - "stackTraceHashId": { - "type": "string", - "description": "The hash ID is used to conserve network bandwidth for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurance of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSubsequent spans within the same request can refer\nto that stack trace by only setting `stackTraceHashId`.", - "format": "uint64" - } - } + "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" }, - "TimeEvent": { - "description": "A time-stamped annotation in the Span.", - "type": "object", - "properties": { - "networkEvent": { - "description": "An event describing an RPC message sent/received on the network.", - "$ref": "NetworkEvent" - }, - "annotation": { - "description": "One or more key:value pairs.", - "$ref": "Annotation" - }, - "localTime": { - "description": "The timestamp indicating the time the event occurred.", - "format": "google-datetime", - "type": "string" - } - }, - "id": "TimeEvent" + "alt": { + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" }, - "NetworkEvent": { - "properties": { - "kernelTime": { - "description": "If available, this is the kernel time:\n\n* For sent messages, this is the time at which the first bit was sent.\n* For received messages, this is the time at which the last bit was\n received.", - "format": "google-datetime", - "type": "string" - }, - "type": { - "description": "Type of NetworkEvent. Indicates whether the RPC message was sent or\nreceived.", - "type": "string", - "enumDescriptions": [ - "Unknown event type.", - "Indicates a sent RPC message.", - "Indicates a received RPC message." - ], - "enum": [ - "TYPE_UNSPECIFIED", - "SENT", - "RECV" - ] - }, - "messageId": { - "type": "string", - "description": "An identifier for the message, which must be unique in this span.", - "format": "uint64" - }, - "messageSize": { - "description": "The number of bytes sent or received.", - "format": "uint64", - "type": "string" - } - }, - "id": "NetworkEvent", - "description": "An event describing an RPC message sent/received on the network.", - "type": "object" + "key": { + "location": "query", + "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.", + "type": "string" }, - "SpanUpdates": { - "description": "Collection of spans to update.", - "type": "object", - "properties": { - "spans": { - "type": "array", - "items": { - "$ref": "Span" - }, - "description": "A collection of spans." - } - }, - "id": "SpanUpdates" + "access_token": { + "description": "OAuth access token.", + "type": "string", + "location": "query" }, - "ListSpansResponse": { - "type": "object", - "properties": { - "spans": { - "description": "The requested spans if there are any in the specified trace.", - "type": "array", - "items": { - "$ref": "Span" - } - }, - "nextPageToken": { - "description": "If defined, indicates that there are more spans that match the request.\nPass this as the value of `pageToken` in a subsequent request to retrieve\nadditional spans.", - "type": "string" - } - }, - "id": "ListSpansResponse", - "description": "The response message for the `ListSpans` method." + "quotaUser": { + "type": "string", + "location": "query", + "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." + }, + "pp": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Pretty-print response." + }, + "bearer_token": { + "description": "OAuth bearer token.", + "type": "string", + "location": "query" }, + "oauth_token": { + "type": "string", + "location": "query", + "description": "OAuth 2.0 token for the current user." + } + }, + "version": "v1", + "baseUrl": "https://tracing.googleapis.com/", + "servicePath": "", + "description": "Send and retrieve trace data from Google Stackdriver Trace.\n", + "kind": "discovery#restDescription", + "basePath": "", + "revision": "20170320", + "id": "tracing:v1", + "documentationLink": "https://cloud.google.com/trace", + "discoveryVersion": "v1", + "version_module": "True", + "schemas": { "StackFrame": { "description": "Represents a single stack frame in a stack trace.", "type": "object", "properties": { "originalFunctionName": { - "description": "Used when the function name is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). May be\nfully-qualified.", - "type": "string" + "type": "string", + "description": "Used when the function name is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). May be\nfully-qualified." }, "functionName": { "description": "The fully-qualified name that uniquely identifies this function or\nmethod.", @@ -300,8 +294,8 @@ "type": "string" }, "loadModule": { - "$ref": "Module", - "description": "Binary module the code is loaded from." + "description": "Binary module the code is loaded from.", + "$ref": "Module" }, "columnNumber": { "description": "Column number is important in JavaScript (anonymous functions).\nMay not be available in some languages.", @@ -323,330 +317,336 @@ "description": "A pointer from this span to another span in a different `Trace`. Used\n(for example) in batching operations, where a single batch handler\nprocesses multiple requests from different traces.", "type": "object", "properties": { - "type": { - "type": "string", - "enumDescriptions": [ - "The relationship of the two spans is unknown.", - "The current span is a child of the linked span.", - "The current span is the parent of the linked span." - ], - "enum": [ - "TYPE_UNSPECIFIED", - "CHILD", - "PARENT" - ], - "description": "The relationship of the current span relative to the linked span." - }, "traceId": { "description": "The ID of the parent trace of the linked span.", "type": "string" }, "spanId": { + "description": "The `id` of the linked span.", + "format": "uint64", + "type": "string" + }, + "type": { + "enum": [ + "TYPE_UNSPECIFIED", + "CHILD", + "PARENT" + ], + "description": "The relationship of the current span relative to the linked span.", "type": "string", - "description": "The `id` of the linked span.", - "format": "uint64" + "enumDescriptions": [ + "The relationship of the two spans is unknown.", + "The current span is a child of the linked span.", + "The current span is the parent of the linked span." + ] } }, "id": "Link" }, "Annotation": { + "description": "Text annotation with a set of attributes.", + "type": "object", "properties": { "description": { "description": "A user-supplied message describing the event.", "type": "string" }, "attributes": { + "description": "A set of attributes on the annotation.", + "type": "object", "additionalProperties": { "$ref": "AttributeValue" - }, - "description": "A set of attributes on the annotation.", - "type": "object" + } } }, - "id": "Annotation", - "description": "Text annotation with a set of attributes.", - "type": "object" - } - }, - "protocol": "rest", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "canonicalName": "Tracing", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/trace.append": { - "description": "Write Trace data for a project or application" + "id": "Annotation" + }, + "Trace": { + "description": "A trace describes how long it takes for an application to perform some\noperations. It consists of a set of spans, each representing\nan operation and including time information and operation details.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A globally unique identifier for the trace in the format\n`projects/PROJECT_NUMBER/traces/TRACE_ID`. `TRACE_ID` is a base16-encoded\nstring of a 128-bit number and is required to be 32 char long." + } + }, + "id": "Trace" + }, + "Module": { + "description": "Binary module.", + "type": "object", + "properties": { + "buildId": { + "description": "Build_id is a unique identifier for the module,\nusually a hash of its contents", + "type": "string" }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "View and manage your data across Google Cloud Platform services" + "module": { + "description": "E.g. main binary, kernel modules, and dynamic libraries\nsuch as libc.so, sharedlib.so", + "type": "string" + } + }, + "id": "Module" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", + "type": "object", + "properties": { + "message": { + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", + "type": "string" }, - "https://www.googleapis.com/auth/trace.readonly": { - "description": "Read Trace data for a project or application" + "details": { + "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", + "type": "array", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + } + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" } - } - } - }, - "rootUrl": "https://tracing.googleapis.com/", - "ownerDomain": "google.com", - "name": "tracing", - "batchPath": "batch", - "title": "Google Tracing API", - "ownerName": "Google", - "resources": { - "projects": { - "resources": { + }, + "id": "Status" + }, + "ListTracesResponse": { + "description": "The response message for the `ListTraces` method.", + "type": "object", + "properties": { "traces": { - "methods": { - "listSpans": { - "description": "Returns a list of spans within a trace.", - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "ListSpansResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/trace.readonly" - ], - "parameters": { - "name": { - "description": "ID of the trace for which to list child spans. Format is\n`projects/PROJECT_ID/traces/TRACE_ID`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/traces/[^/]+$", - "location": "path" - }, - "pageToken": { - "type": "string", - "location": "query", - "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `nextPageToken` field from a previous request. Optional." - } - }, - "flatPath": "v1/projects/{projectsId}/traces/{tracesId}:listSpans", - "id": "tracing.projects.traces.listSpans", - "path": "v1/{+name}:listSpans" - }, - "list": { - "description": "Returns of a list of traces that match the specified filter conditions.", - "httpMethod": "GET", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "ListTracesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/trace.readonly" - ], - "parameters": { - "endTime": { - "location": "query", - "description": "End of the time interval (inclusive) during which the trace data was\ncollected from the application.", - "format": "google-datetime", - "type": "string" - }, - "pageToken": { - "location": "query", - "description": "Token identifying the page of results to return. If provided, use the\nvalue of the `next_page_token` field from a previous request. Optional.", - "type": "string" - }, - "startTime": { - "description": "Start of the time interval (inclusive) during which the trace data was\ncollected from the application.", - "format": "google-datetime", - "type": "string", - "location": "query" - }, - "pageSize": { - "type": "integer", - "location": "query", - "description": "Maximum number of traces to return. If not specified or \u003c= 0, the\nimplementation selects a reasonable value. The implementation may\nreturn fewer traces than the requested page size. Optional.", - "format": "int32" - }, - "parent": { - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path", - "description": "ID of the Cloud project where the trace data is stored." - }, - "orderBy": { - "location": "query", - "description": "Field used to sort the returned traces. Optional.\nCan be one of the following:\n\n* `trace_id`\n* `name` (`name` field of root span in the trace)\n* `duration` (difference between `end_time` and `start_time` fields of\n the root span)\n* `start` (`start_time` field of the root span)\n\nDescending order can be specified by appending `desc` to the sort field\n(for example, `name desc`).\n\nOnly one sort field is permitted.", - "type": "string" - }, - "filter": { - "location": "query", - "description": "An optional filter for the request.\nExample:\n`version_label_key:a some_label:some_label_key`\nreturns traces from version `a` and has `some_label` with `some_label_key`.", - "type": "string" - } - }, - "flatPath": "v1/projects/{projectsId}/traces", - "id": "tracing.projects.traces.list", - "path": "v1/{+parent}/traces" - }, - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "name" - ], - "response": { - "$ref": "Trace" - }, - "parameters": { - "name": { - "description": "ID of the trace. Format is `projects/PROJECT_ID/traces/TRACE_ID`.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+/traces/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/trace.readonly" - ], - "flatPath": "v1/projects/{projectsId}/traces/{tracesId}", - "id": "tracing.projects.traces.get", - "path": "v1/{+name}", - "description": "Returns a specific trace." - }, - "batchUpdate": { - "flatPath": "v1/projects/{projectsId}/traces:batchUpdate", - "id": "tracing.projects.traces.batchUpdate", - "path": "v1/{+parent}/traces:batchUpdate", - "request": { - "$ref": "BatchUpdateSpansRequest" - }, - "description": "Sends new spans to Stackdriver Trace or updates existing spans. If the\nname of a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nname does not match, a new trace is created with given set of spans.", - "httpMethod": "POST", - "parameterOrder": [ - "parent" - ], - "response": { - "$ref": "Empty" - }, - "parameters": { - "parent": { - "description": "ID of the Cloud project where the trace data is stored.", - "required": true, - "type": "string", - "pattern": "^projects/[^/]+$", - "location": "path" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/trace.append" - ] - } + "description": "List of trace records returned.", + "type": "array", + "items": { + "$ref": "Trace" + } + }, + "nextPageToken": { + "description": "If defined, indicates that there are more traces that match the request\nand that this value should be passed to the next request to continue\nretrieving additional traces.", + "type": "string" + } + }, + "id": "ListTracesResponse" + }, + "Span": { + "description": "A span represents a single operation within a trace. Spans can be nested\nto form a trace tree. Often, a trace contains a root span that\ndescribes the end-to-end latency and, optionally, one or more subspans for\nits sub-operations. (A trace could alternatively contain multiple root spans,\nor none at all.) Spans do not need to be contiguous. There may be gaps\nand/or overlaps between spans in a trace.", + "type": "object", + "properties": { + "timeEvents": { + "description": "A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation\non the span, consisting of either user-supplied key:value pairs, or\ndetails of an RPC message sent/received on the network.", + "type": "array", + "items": { + "$ref": "TimeEvent" + } + }, + "parentId": { + "description": "ID of the parent span. If this is a root span, the value must be `0` or\nempty.", + "format": "uint64", + "type": "string" + }, + "localEndTime": { + "description": "End time of the span.\nOn the client side, this is the local machine clock time at which the span\nexecution was ended; on the server\nside, this is the time at which the server application handler stopped\nrunning.", + "format": "google-datetime", + "type": "string" + }, + "status": { + "description": "An optional final status for this span.", + "$ref": "Status" + }, + "name": { + "description": "Name of the span. The span name is sanitized and displayed in the\nStackdriver Trace tool in the {% dynamic print site_values.console_name %}.\nThe name may be a method name or some other per-call site name.\nFor the same executable and the same call point, a best practice is\nto use a consistent name, which makes it easier to correlate\ncross-trace spans.", + "type": "string" + }, + "stackTrace": { + "$ref": "StackTrace", + "description": "Stack trace captured at the start of the span." + }, + "links": { + "type": "array", + "items": { + "$ref": "Link" + }, + "description": "A collection of links, which are references from this span to another span\nin a different trace." + }, + "attributes": { + "description": "Properties of a span in key:value format. The maximum length for the\nkey is 128 characters. The value can be a string (up to 2000 characters),\nint, or boolean.\n\nSome common pair examples:\n\n \"/instance_id\": \"my-instance\"\n \"/zone\": \"us-central1-a\"\n \"/grpc/peer_address\": \"ip:port\" (dns, etc.)\n \"/grpc/deadline\": \"Duration\"\n \"/http/user_agent\"\n \"/http/request_bytes\": 300\n \"/http/response_bytes\": 1200\n \"/http/url\": google.com/apis\n \"abc.com/myattribute\": true", + "type": "object", + "additionalProperties": { + "$ref": "AttributeValue" } + }, + "id": { + "type": "string", + "description": "Identifier for the span. Must be a 64-bit integer other than 0 and\nunique within a trace.", + "format": "uint64" + }, + "localStartTime": { + "description": "Start time of the span.\nOn the client side, this is the local machine clock time at which the span\nexecution was started; on the server\nside, this is the time at which the server application handler started\nrunning.", + "format": "google-datetime", + "type": "string" + }, + "hasRemoteParent": { + "description": "True if this span has a remote parent (is an RPC server span).", + "type": "boolean" } - } - } - }, - "parameters": { - "prettyPrint": { - "location": "query", - "description": "Returns response with indentations and line breaks.", - "type": "boolean", - "default": "true" - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "uploadType": { - "type": "string", - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." - }, - "$.xgafv": { - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" + }, + "id": "Span" }, - "alt": { - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response." + "Empty": { + "id": "Empty", + "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object", + "properties": {} }, - "access_token": { - "description": "OAuth access token.", - "type": "string", - "location": "query" + "AttributeValue": { + "properties": { + "intValue": { + "description": "An integer value.", + "format": "int64", + "type": "string" + }, + "stringValue": { + "description": "A string value.", + "type": "string" + }, + "boolValue": { + "description": "A boolean value.", + "type": "boolean" + } + }, + "id": "AttributeValue", + "description": "The allowed types for the value side of an attribute key:value pair.", + "type": "object" }, - "key": { - "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.", - "type": "string", - "location": "query" + "BatchUpdateSpansRequest": { + "description": "The request message for the `BatchUpdateSpans` method.", + "type": "object", + "properties": { + "spanUpdates": { + "additionalProperties": { + "$ref": "SpanUpdates" + }, + "description": "A map from trace name to spans to be stored or updated.", + "type": "object" + } + }, + "id": "BatchUpdateSpansRequest" }, - "quotaUser": { - "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.", - "type": "string", - "location": "query" + "StackTrace": { + "description": "StackTrace collected in a trace.", + "type": "object", + "properties": { + "stackFrame": { + "description": "Stack frames of this stack trace.", + "type": "array", + "items": { + "$ref": "StackFrame" + } + }, + "stackTraceHashId": { + "description": "The hash ID is used to conserve network bandwidth for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurance of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSubsequent spans within the same request can refer\nto that stack trace by only setting `stackTraceHashId`.", + "format": "uint64", + "type": "string" + } + }, + "id": "StackTrace" }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" + "TimeEvent": { + "description": "A time-stamped annotation in the Span.", + "type": "object", + "properties": { + "localTime": { + "description": "The timestamp indicating the time the event occurred.", + "format": "google-datetime", + "type": "string" + }, + "networkEvent": { + "description": "An event describing an RPC message sent/received on the network.", + "$ref": "NetworkEvent" + }, + "annotation": { + "$ref": "Annotation", + "description": "One or more key:value pairs." + } + }, + "id": "TimeEvent" }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" + "NetworkEvent": { + "description": "An event describing an RPC message sent/received on the network.", + "type": "object", + "properties": { + "kernelTime": { + "description": "If available, this is the kernel time:\n\n* For sent messages, this is the time at which the first bit was sent.\n* For received messages, this is the time at which the last bit was\n received.", + "format": "google-datetime", + "type": "string" + }, + "type": { + "enum": [ + "TYPE_UNSPECIFIED", + "SENT", + "RECV" + ], + "description": "Type of NetworkEvent. Indicates whether the RPC message was sent or\nreceived.", + "type": "string", + "enumDescriptions": [ + "Unknown event type.", + "Indicates a sent RPC message.", + "Indicates a received RPC message." + ] + }, + "messageId": { + "description": "An identifier for the message, which must be unique in this span.", + "format": "uint64", + "type": "string" + }, + "messageSize": { + "description": "The number of bytes sent or received.", + "format": "uint64", + "type": "string" + } + }, + "id": "NetworkEvent" }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" + "SpanUpdates": { + "id": "SpanUpdates", + "description": "Collection of spans to update.", + "type": "object", + "properties": { + "spans": { + "description": "A collection of spans.", + "type": "array", + "items": { + "$ref": "Span" + } + } + } }, - "upload_protocol": { - "type": "string", - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + "ListSpansResponse": { + "description": "The response message for the `ListSpans` method.", + "type": "object", + "properties": { + "nextPageToken": { + "description": "If defined, indicates that there are more spans that match the request.\nPass this as the value of `pageToken` in a subsequent request to retrieve\nadditional spans.", + "type": "string" + }, + "spans": { + "type": "array", + "items": { + "$ref": "Span" + }, + "description": "The requested spans if there are any in the specified trace." + } + }, + "id": "ListSpansResponse" } }, - "version": "v1", - "baseUrl": "https://tracing.googleapis.com/", - "description": "Send and retrieve trace data from Google Stackdriver Trace.\n", - "servicePath": "", - "kind": "discovery#restDescription", - "basePath": "", - "documentationLink": "https://cloud.google.com/trace", - "revision": "20170320", - "id": "tracing:v1", - "discoveryVersion": "v1", - "version_module": "True" + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "protocol": "rest" } diff --git a/DiscoveryJson/vision_v1.json b/DiscoveryJson/vision_v1.json index 57f4d1d548..64f66db821 100644 --- a/DiscoveryJson/vision_v1.json +++ b/DiscoveryJson/vision_v1.json @@ -1,278 +1,33 @@ { - "batchPath": "batch", - "title": "Google Cloud Vision API", - "ownerName": "Google", - "resources": { - "images": { - "methods": { - "annotate": { - "flatPath": "v1/images:annotate", - "id": "vision.images.annotate", - "path": "v1/images:annotate", - "description": "Run image detection and annotation for a batch of images.", - "request": { - "$ref": "BatchAnnotateImagesRequest" - }, - "httpMethod": "POST", - "parameterOrder": [], - "response": { - "$ref": "BatchAnnotateImagesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ], - "parameters": {} - } - } - } - }, - "parameters": { - "alt": { - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ] - }, - "key": { - "location": "query", - "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.", - "type": "string" - }, - "access_token": { - "type": "string", - "location": "query", - "description": "OAuth access token." - }, - "quotaUser": { - "type": "string", - "location": "query", - "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." - }, - "pp": { - "location": "query", - "description": "Pretty-print response.", - "type": "boolean", - "default": "true" - }, - "bearer_token": { - "location": "query", - "description": "OAuth bearer token.", - "type": "string" - }, - "oauth_token": { - "location": "query", - "description": "OAuth 2.0 token for the current user.", - "type": "string" - }, - "upload_protocol": { - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "type": "string" - }, - "prettyPrint": { - "type": "boolean", - "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "uploadType": { - "type": "string", - "location": "query", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." - }, - "fields": { - "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "$.xgafv": { - "location": "query", - "enum": [ - "1", - "2" - ], - "description": "V1 error format.", - "type": "string", - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ] - } - }, - "version": "v1", - "baseUrl": "https://vision.googleapis.com/", - "kind": "discovery#restDescription", - "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", - "servicePath": "", "basePath": "", - "documentationLink": "https://cloud.google.com/vision/", "revision": "20170328", + "documentationLink": "https://cloud.google.com/vision/", "id": "vision:v1", "discoveryVersion": "v1", "version_module": "True", "schemas": { - "WebEntity": { - "type": "object", - "properties": { - "entityId": { - "type": "string", - "description": "Opaque entity ID." - }, - "description": { - "type": "string", - "description": "Canonical description of the entity, in English." - }, - "score": { - "description": "Overall relevancy score for the entity.\nNot normalized and not comparable across different image queries.", - "format": "float", - "type": "number" - } - }, - "id": "WebEntity", - "description": "Entity deduced from similar images on the Internet." - }, - "BoundingPoly": { - "description": "A bounding polygon for the detected image annotation.", - "type": "object", - "properties": { - "vertices": { - "description": "The bounding polygon vertices.", - "type": "array", - "items": { - "$ref": "Vertex" - } - } - }, - "id": "BoundingPoly" - }, - "TextProperty": { - "description": "Additional information detected on the structural component.", - "type": "object", - "properties": { - "detectedBreak": { - "$ref": "DetectedBreak", - "description": "Detected start or end of a text segment." - }, - "detectedLanguages": { - "description": "A list of detected languages together with confidence.", - "type": "array", - "items": { - "$ref": "DetectedLanguage" - } - } - }, - "id": "TextProperty" - }, - "AnnotateImageResponse": { - "description": "Response to an image annotation request.", - "type": "object", - "properties": { - "imagePropertiesAnnotation": { - "$ref": "ImageProperties", - "description": "If present, image properties were extracted successfully." - }, - "faceAnnotations": { - "type": "array", - "items": { - "$ref": "FaceAnnotation" - }, - "description": "If present, face detection has completed successfully." - }, - "logoAnnotations": { - "type": "array", - "items": { - "$ref": "EntityAnnotation" - }, - "description": "If present, logo detection has completed successfully." - }, - "cropHintsAnnotation": { - "$ref": "CropHintsAnnotation", - "description": "If present, crop hints have completed successfully." - }, - "webDetection": { - "$ref": "WebDetection", - "description": "If present, web detection has completed successfully." - }, - "labelAnnotations": { - "type": "array", - "items": { - "$ref": "EntityAnnotation" - }, - "description": "If present, label detection has completed successfully." - }, - "safeSearchAnnotation": { - "$ref": "SafeSearchAnnotation", - "description": "If present, safe-search annotation has completed successfully." - }, - "error": { - "$ref": "Status", - "description": "If set, represents the error message for the operation.\nNote that filled-in image annotations are guaranteed to be\ncorrect, even when `error` is set." - }, - "fullTextAnnotation": { - "$ref": "TextAnnotation", - "description": "If present, text (OCR) detection or document (OCR) text detection has\ncompleted successfully.\nThis annotation provides the structural hierarchy for the OCR detected\ntext." - }, - "landmarkAnnotations": { - "type": "array", - "items": { - "$ref": "EntityAnnotation" - }, - "description": "If present, landmark detection has completed successfully." - }, - "textAnnotations": { - "description": "If present, text (OCR) detection has completed successfully.", - "type": "array", - "items": { - "$ref": "EntityAnnotation" - } - } - }, - "id": "AnnotateImageResponse" - }, "CropHintsParams": { + "description": "Parameters for crop hints annotation request.", "type": "object", "properties": { "aspectRatios": { + "description": "Aspect ratios in floats, representing the ratio of the width to the height\nof the image. For example, if the desired aspect ratio is 4/3, the\ncorresponding float value should be 1.33333. If not specified, the\nbest possible crop is returned. The number of provided aspect ratios is\nlimited to a maximum of 16; any aspect ratios provided after the 16th are\nignored.", "type": "array", "items": { - "type": "number", - "format": "float" - }, - "description": "Aspect ratios in floats, representing the ratio of the width to the height\nof the image. For example, if the desired aspect ratio is 4/3, the\ncorresponding float value should be 1.33333. If not specified, the\nbest possible crop is returned. The number of provided aspect ratios is\nlimited to a maximum of 16; any aspect ratios provided after the 16th are\nignored." + "format": "float", + "type": "number" + } } }, - "id": "CropHintsParams", - "description": "Parameters for crop hints annotation request." + "id": "CropHintsParams" }, "Block": { - "description": "Logical element on the page.", - "type": "object", "properties": { + "property": { + "$ref": "TextProperty", + "description": "Additional information detected for the block." + }, "blockType": { - "type": "string", - "enumDescriptions": [ - "Unknown block type.", - "Regular text block.", - "Table block.", - "Image block.", - "Horizontal/vertical line box.", - "Barcode block." - ], "enum": [ "UNKNOWN", "TEXT", @@ -281,27 +36,35 @@ "RULER", "BARCODE" ], - "description": "Detected block type (text, image etc) for this block." + "description": "Detected block type (text, image etc) for this block.", + "type": "string", + "enumDescriptions": [ + "Unknown block type.", + "Regular text block.", + "Table block.", + "Image block.", + "Horizontal/vertical line box.", + "Barcode block." + ] }, "boundingBox": { "$ref": "BoundingPoly", "description": "The bounding box for the block.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)." }, "paragraphs": { + "description": "List of paragraphs in this block (if this blocks is of type text).", "type": "array", "items": { "$ref": "Paragraph" - }, - "description": "List of paragraphs in this block (if this blocks is of type text)." - }, - "property": { - "$ref": "TextProperty", - "description": "Additional information detected for the block." + } } }, - "id": "Block" + "id": "Block", + "description": "Logical element on the page.", + "type": "object" }, "Property": { + "description": "A `Property` consists of a user-supplied name/value pair.", "type": "object", "properties": { "value": { @@ -309,20 +72,18 @@ "type": "string" }, "uint64Value": { - "type": "string", "description": "Value of numeric properties.", - "format": "uint64" + "format": "uint64", + "type": "string" }, "name": { "description": "Name of the property.", "type": "string" } }, - "id": "Property", - "description": "A `Property` consists of a user-supplied name/value pair." + "id": "Property" }, "LocationInfo": { - "type": "object", "properties": { "latLng": { "$ref": "LatLng", @@ -330,9 +91,11 @@ } }, "id": "LocationInfo", - "description": "Detected entity location information." + "description": "Detected entity location information.", + "type": "object" }, "ImageSource": { + "id": "ImageSource", "description": "External image source (Google Cloud Storage image location).", "type": "object", "properties": { @@ -341,98 +104,93 @@ "type": "string" }, "imageUri": { - "type": "string", - "description": "Image URI which supports:\n1) Google Cloud Storage image URI, which must be in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Google Cloud Storage Request\nURIs](https://cloud.google.com/storage/docs/reference-uris)).\nNOTE: Cloud Storage object versioning is not supported.\n2) Publicly accessible image HTTP/HTTPS URL.\nThis is preferred over the legacy `gcs_image_uri` above. When both\n`gcs_image_uri` and `image_uri` are specified, `image_uri` takes\nprecedence." + "description": "Image URI which supports:\n1) Google Cloud Storage image URI, which must be in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Google Cloud Storage Request\nURIs](https://cloud.google.com/storage/docs/reference-uris)).\nNOTE: Cloud Storage object versioning is not supported.\n2) Publicly accessible image HTTP/HTTPS URL.\nThis is preferred over the legacy `gcs_image_uri` above. When both\n`gcs_image_uri` and `image_uri` are specified, `image_uri` takes\nprecedence.", + "type": "string" } - }, - "id": "ImageSource" + } + }, + "BatchAnnotateImagesResponse": { + "id": "BatchAnnotateImagesResponse", + "description": "Response to a batch image annotation request.", + "type": "object", + "properties": { + "responses": { + "type": "array", + "items": { + "$ref": "AnnotateImageResponse" + }, + "description": "Individual responses to image annotation requests within the batch." + } + } }, "WebDetection": { "description": "Relevant information for the image from the Internet.", "type": "object", "properties": { - "fullMatchingImages": { + "partialMatchingImages": { "type": "array", "items": { "$ref": "WebImage" }, - "description": "Fully matching images from the Internet.\nThey're definite neardups and most often a copy of the query image with\nmerely a size change." + "description": "Partial matching images from the Internet.\nThose images are similar enough to share some key-point features. For\nexample an original image will likely have partial matching for its crops." }, - "webEntities": { + "visuallySimilarImages": { "type": "array", "items": { - "$ref": "WebEntity" + "$ref": "WebImage" }, - "description": "Deduced entities from similar images on the Internet." - }, - "pagesWithMatchingImages": { - "description": "Web pages containing the matching images from the Internet.", - "type": "array", - "items": { - "$ref": "WebPage" - } + "description": "The visually similar image results." }, - "partialMatchingImages": { + "fullMatchingImages": { "type": "array", "items": { "$ref": "WebImage" }, - "description": "Partial matching images from the Internet.\nThose images are similar enough to share some key-point features. For\nexample an original image will likely have partial matching for its crops." + "description": "Fully matching images from the Internet.\nThey're definite neardups and most often a copy of the query image with\nmerely a size change." }, - "visuallySimilarImages": { + "webEntities": { + "description": "Deduced entities from similar images on the Internet.", "type": "array", "items": { - "$ref": "WebImage" - }, - "description": "The visually similar image results." - } - }, - "id": "WebDetection" - }, - "BatchAnnotateImagesResponse": { - "description": "Response to a batch image annotation request.", - "type": "object", - "properties": { - "responses": { - "description": "Individual responses to image annotation requests within the batch.", + "$ref": "WebEntity" + } + }, + "pagesWithMatchingImages": { + "description": "Web pages containing the matching images from the Internet.", "type": "array", "items": { - "$ref": "AnnotateImageResponse" + "$ref": "WebPage" } } }, - "id": "BatchAnnotateImagesResponse" + "id": "WebDetection" }, "Position": { + "description": "A 3D position in the image, used primarily for Face detection landmarks.\nA valid Position must have both x and y coordinates.\nThe position coordinates are in the same scale as the original image.", "type": "object", "properties": { + "y": { + "description": "Y coordinate.", + "format": "float", + "type": "number" + }, "x": { - "type": "number", "description": "X coordinate.", - "format": "float" + "format": "float", + "type": "number" }, "z": { "description": "Z coordinate (or depth).", "format": "float", "type": "number" - }, - "y": { - "type": "number", - "description": "Y coordinate.", - "format": "float" } }, - "id": "Position", - "description": "A 3D position in the image, used primarily for Face detection landmarks.\nA valid Position must have both x and y coordinates.\nThe position coordinates are in the same scale as the original image." + "id": "Position" }, "ColorInfo": { + "description": "Color information consists of RGB channels, score, and the fraction of\nthe image that the color occupies in the image.", "type": "object", "properties": { - "score": { - "description": "Image-specific score for this color. Value in range [0, 1].", - "format": "float", - "type": "number" - }, "pixelFraction": { "description": "The fraction of pixels the color occupies in the image.\nValue in range [0, 1].", "format": "float", @@ -441,19 +199,23 @@ "color": { "$ref": "Color", "description": "RGB components of the color." + }, + "score": { + "description": "Image-specific score for this color. Value in range [0, 1].", + "format": "float", + "type": "number" } }, - "id": "ColorInfo", - "description": "Color information consists of RGB channels, score, and the fraction of\nthe image that the color occupies in the image." + "id": "ColorInfo" }, "WebPage": { "description": "Metadata for web pages.", "type": "object", "properties": { "score": { - "type": "number", "description": "Overall relevancy score for the web page.\nNot normalized and not comparable across different image queries.", - "format": "float" + "format": "float", + "type": "number" }, "url": { "type": "string", @@ -463,34 +225,45 @@ "id": "WebPage" }, "EntityAnnotation": { - "description": "Set of detected entity features.", "type": "object", "properties": { + "score": { + "description": "Overall score of the result. Range [0, 1].", + "format": "float", + "type": "number" + }, + "locations": { + "description": "The location information for the detected entity. Multiple\n`LocationInfo` elements can be present because one location may\nindicate the location of the scene in the image, and another location\nmay indicate the location of the place where the image was taken.\nLocation information is usually present for landmarks.", + "type": "array", + "items": { + "$ref": "LocationInfo" + } + }, "mid": { - "description": "Opaque entity ID. Some IDs may be available in\n[Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).", - "type": "string" + "type": "string", + "description": "Opaque entity ID. Some IDs may be available in\n[Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/)." }, "confidence": { - "type": "number", "description": "The accuracy of the entity detection in an image.\nFor example, for an image in which the \"Eiffel Tower\" entity is detected,\nthis field represents the confidence that there is a tower in the query\nimage. Range [0, 1].", - "format": "float" - }, - "locale": { - "type": "string", - "description": "The language code for the locale in which the entity textual\n`description` is expressed." + "format": "float", + "type": "number" }, "boundingPoly": { "$ref": "BoundingPoly", "description": "Image region to which this entity belongs. Currently not produced\nfor `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s\nare produced for the entire text detected in an image region, followed by\n`boundingPoly`s for each word within the detected text." }, + "locale": { + "description": "The language code for the locale in which the entity textual\n`description` is expressed.", + "type": "string" + }, "description": { - "type": "string", - "description": "Entity textual description, expressed in its `locale` language." + "description": "Entity textual description, expressed in its `locale` language.", + "type": "string" }, "topicality": { - "type": "number", "description": "The relevancy of the ICA (Image Content Annotation) label to the\nimage. For example, the relevancy of \"tower\" is likely higher to an image\ncontaining the detected \"Eiffel Tower\" than to an image containing a\ndetected distant towering building, even though the confidence that\nthere is a tower in each image may be the same. Range [0, 1].", - "format": "float" + "format": "float", + "type": "number" }, "properties": { "type": "array", @@ -498,30 +271,19 @@ "$ref": "Property" }, "description": "Some entities may have optional user-supplied `Property` (name/value)\nfields, such a score or string that qualifies the entity." - }, - "score": { - "type": "number", - "description": "Overall score of the result. Range [0, 1].", - "format": "float" - }, - "locations": { - "type": "array", - "items": { - "$ref": "LocationInfo" - }, - "description": "The location information for the detected entity. Multiple\n`LocationInfo` elements can be present because one location may\nindicate the location of the scene in the image, and another location\nmay indicate the location of the place where the image was taken.\nLocation information is usually present for landmarks." } }, - "id": "EntityAnnotation" + "id": "EntityAnnotation", + "description": "Set of detected entity features." }, "CropHint": { "description": "Single crop hint that is used to generate a new crop when serving an image.", "type": "object", "properties": { "confidence": { - "type": "number", "description": "Confidence of this being a salient region. Range [0, 1].", - "format": "float" + "format": "float", + "type": "number" }, "importanceFraction": { "type": "number", @@ -529,14 +291,13 @@ "format": "float" }, "boundingPoly": { - "$ref": "BoundingPoly", - "description": "The bounding polygon for the crop region. The coordinates of the bounding\nbox are in the original image's scale, as returned in `ImageParams`." + "description": "The bounding polygon for the crop region. The coordinates of the bounding\nbox are in the original image's scale, as returned in `ImageParams`.", + "$ref": "BoundingPoly" } }, "id": "CropHint" }, "Landmark": { - "description": "A face-specific landmark (for example, a face feature).\nLandmark positions may fall outside the bounds of the image\nif the face is near one or more edges of the image.\nTherefore it is NOT guaranteed that `0 \u003c= x \u003c width` or\n`0 \u003c= y \u003c height`.", "type": "object", "properties": { "position": { @@ -544,6 +305,7 @@ "description": "Face landmark position." }, "type": { + "description": "Face landmark type.", "type": "string", "enumDescriptions": [ "Unknown face landmark detected. Should not be filled.", @@ -618,13 +380,14 @@ "CHIN_GNATHION", "CHIN_LEFT_GONION", "CHIN_RIGHT_GONION" - ], - "description": "Face landmark type." + ] } }, - "id": "Landmark" + "id": "Landmark", + "description": "A face-specific landmark (for example, a face feature).\nLandmark positions may fall outside the bounds of the image\nif the face is near one or more edges of the image.\nTherefore it is NOT guaranteed that `0 \u003c= x \u003c width` or\n`0 \u003c= y \u003c height`." }, "WebImage": { + "description": "Metadata for online images.", "type": "object", "properties": { "score": { @@ -633,52 +396,36 @@ "type": "number" }, "url": { - "type": "string", - "description": "The result image URL." + "description": "The result image URL.", + "type": "string" } }, - "id": "WebImage", - "description": "Metadata for online images." + "id": "WebImage" }, "Word": { "type": "object", "properties": { + "symbols": { + "description": "List of symbols in the word.\nThe order of the symbols follows the natural reading order.", + "type": "array", + "items": { + "$ref": "Symbol" + } + }, "property": { - "$ref": "TextProperty", - "description": "Additional information detected for the word." + "description": "Additional information detected for the word.", + "$ref": "TextProperty" }, "boundingBox": { "$ref": "BoundingPoly", "description": "The bounding box for the word.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)." - }, - "symbols": { - "type": "array", - "items": { - "$ref": "Symbol" - }, - "description": "List of symbols in the word.\nThe order of the symbols follows the natural reading order." } }, "id": "Word", "description": "A word representation." }, - "Image": { - "description": "Client image to perform Google Cloud Vision API tasks over.", - "type": "object", - "properties": { - "content": { - "description": "Image content, represented as a stream of bytes.\nNote: as with all `bytes` fields, protobuffers use a pure binary\nrepresentation, whereas JSON representations use base64.", - "format": "byte", - "type": "string" - }, - "source": { - "$ref": "ImageSource", - "description": "Google Cloud Storage image location. If both `content` and `source`\nare provided for an image, `content` takes precedence and is\nused to perform the image annotation request." - } - }, - "id": "Image" - }, "Paragraph": { + "description": "Structural unit of text representing a number of words in certain order.", "type": "object", "properties": { "boundingBox": { @@ -697,13 +444,39 @@ "description": "Additional information detected for the paragraph." } }, - "id": "Paragraph", - "description": "Structural unit of text representing a number of words in certain order." + "id": "Paragraph" + }, + "Image": { + "description": "Client image to perform Google Cloud Vision API tasks over.", + "type": "object", + "properties": { + "content": { + "description": "Image content, represented as a stream of bytes.\nNote: as with all `bytes` fields, protobuffers use a pure binary\nrepresentation, whereas JSON representations use base64.", + "format": "byte", + "type": "string" + }, + "source": { + "description": "Google Cloud Storage image location. If both `content` and `source`\nare provided for an image, `content` takes precedence and is\nused to perform the image annotation request.", + "$ref": "ImageSource" + } + }, + "id": "Image" }, "FaceAnnotation": { + "description": "A face annotation object contains the results of face detection.", "type": "object", "properties": { - "surpriseLikelihood": { + "sorrowLikelihood": { + "description": "Sorrow likelihood.", + "type": "string", + "enumDescriptions": [ + "Unknown likelihood.", + "It is very unlikely that the image belongs to the specified vertical.", + "It is unlikely that the image belongs to the specified vertical.", + "It is possible that the image belongs to the specified vertical.", + "It is likely that the image belongs to the specified vertical.", + "It is very likely that the image belongs to the specified vertical." + ], "enum": [ "UNKNOWN", "VERY_UNLIKELY", @@ -711,7 +484,18 @@ "POSSIBLE", "LIKELY", "VERY_LIKELY" - ], + ] + }, + "tiltAngle": { + "description": "Pitch angle, which indicates the upwards/downwards angle that the face is\npointing relative to the image's horizontal plane. Range [-180,180].", + "format": "float", + "type": "number" + }, + "fdBoundingPoly": { + "$ref": "BoundingPoly", + "description": "The `fd_bounding_poly` bounding polygon is tighter than the\n`boundingPoly`, and encloses only the skin part of the face. Typically, it\nis used to eliminate the face from any image analysis that detects the\n\"amount of skin\" visible in an image. It is not based on the\nlandmarker results, only on the initial face detection, hence\nthe \u003ccode\u003efd\u003c/code\u003e (face detection) prefix." + }, + "surpriseLikelihood": { "description": "Surprise likelihood.", "type": "string", "enumDescriptions": [ @@ -721,16 +505,32 @@ "It is possible that the image belongs to the specified vertical.", "It is likely that the image belongs to the specified vertical.", "It is very likely that the image belongs to the specified vertical." + ], + "enum": [ + "UNKNOWN", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY" ] }, "landmarks": { + "description": "Detected face landmarks.", "type": "array", "items": { "$ref": "Landmark" - }, - "description": "Detected face landmarks." + } }, "angerLikelihood": { + "enumDescriptions": [ + "Unknown likelihood.", + "It is very unlikely that the image belongs to the specified vertical.", + "It is unlikely that the image belongs to the specified vertical.", + "It is possible that the image belongs to the specified vertical.", + "It is likely that the image belongs to the specified vertical.", + "It is very likely that the image belongs to the specified vertical." + ], "enum": [ "UNKNOWN", "VERY_UNLIKELY", @@ -740,7 +540,14 @@ "VERY_LIKELY" ], "description": "Anger likelihood.", - "type": "string", + "type": "string" + }, + "landmarkingConfidence": { + "description": "Face landmarking confidence. Range [0, 1].", + "format": "float", + "type": "number" + }, + "joyLikelihood": { "enumDescriptions": [ "Unknown likelihood.", "It is very unlikely that the image belongs to the specified vertical.", @@ -748,14 +555,7 @@ "It is possible that the image belongs to the specified vertical.", "It is likely that the image belongs to the specified vertical.", "It is very likely that the image belongs to the specified vertical." - ] - }, - "landmarkingConfidence": { - "type": "number", - "description": "Face landmarking confidence. Range [0, 1].", - "format": "float" - }, - "joyLikelihood": { + ], "enum": [ "UNKNOWN", "VERY_UNLIKELY", @@ -765,6 +565,20 @@ "VERY_LIKELY" ], "description": "Joy likelihood.", + "type": "string" + }, + "detectionConfidence": { + "description": "Detection confidence. Range [0, 1].", + "format": "float", + "type": "number" + }, + "panAngle": { + "description": "Yaw angle, which indicates the leftward/rightward angle that the face is\npointing relative to the vertical plane perpendicular to the image. Range\n[-180,180].", + "format": "float", + "type": "number" + }, + "underExposedLikelihood": { + "description": "Under-exposed likelihood.", "type": "string", "enumDescriptions": [ "Unknown likelihood.", @@ -773,10 +587,17 @@ "It is possible that the image belongs to the specified vertical.", "It is likely that the image belongs to the specified vertical.", "It is very likely that the image belongs to the specified vertical." + ], + "enum": [ + "UNKNOWN", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY" ] }, - "underExposedLikelihood": { - "type": "string", + "blurredLikelihood": { "enumDescriptions": [ "Unknown likelihood.", "It is very unlikely that the image belongs to the specified vertical.", @@ -793,19 +614,10 @@ "LIKELY", "VERY_LIKELY" ], - "description": "Under-exposed likelihood." - }, - "panAngle": { - "type": "number", - "description": "Yaw angle, which indicates the leftward/rightward angle that the face is\npointing relative to the vertical plane perpendicular to the image. Range\n[-180,180].", - "format": "float" - }, - "detectionConfidence": { - "description": "Detection confidence. Range [0, 1].", - "format": "float", - "type": "number" + "description": "Blurred likelihood.", + "type": "string" }, - "blurredLikelihood": { + "headwearLikelihood": { "enum": [ "UNKNOWN", "VERY_UNLIKELY", @@ -814,7 +626,7 @@ "LIKELY", "VERY_LIKELY" ], - "description": "Blurred likelihood.", + "description": "Headwear likelihood.", "type": "string", "enumDescriptions": [ "Unknown likelihood.", @@ -825,26 +637,6 @@ "It is very likely that the image belongs to the specified vertical." ] }, - "headwearLikelihood": { - "type": "string", - "enumDescriptions": [ - "Unknown likelihood.", - "It is very unlikely that the image belongs to the specified vertical.", - "It is unlikely that the image belongs to the specified vertical.", - "It is possible that the image belongs to the specified vertical.", - "It is likely that the image belongs to the specified vertical.", - "It is very likely that the image belongs to the specified vertical." - ], - "enum": [ - "UNKNOWN", - "VERY_UNLIKELY", - "UNLIKELY", - "POSSIBLE", - "LIKELY", - "VERY_LIKELY" - ], - "description": "Headwear likelihood." - }, "boundingPoly": { "$ref": "BoundingPoly", "description": "The bounding polygon around the face. The coordinates of the bounding box\nare in the original image's scale, as returned in `ImageParams`.\nThe bounding box is computed to \"frame\" the face in accordance with human\nexpectations. It is based on the landmarker results.\nNote that one or more x and/or y coordinates may not be generated in the\n`BoundingPoly` (the polygon will be unbounded) if only a partial face\nappears in the image to be annotated." @@ -853,58 +645,37 @@ "description": "Roll angle, which indicates the amount of clockwise/anti-clockwise rotation\nof the face relative to the image vertical about the axis perpendicular to\nthe face. Range [-180,180].", "format": "float", "type": "number" - }, - "sorrowLikelihood": { - "type": "string", - "enumDescriptions": [ - "Unknown likelihood.", - "It is very unlikely that the image belongs to the specified vertical.", - "It is unlikely that the image belongs to the specified vertical.", - "It is possible that the image belongs to the specified vertical.", - "It is likely that the image belongs to the specified vertical.", - "It is very likely that the image belongs to the specified vertical." - ], - "enum": [ - "UNKNOWN", - "VERY_UNLIKELY", - "UNLIKELY", - "POSSIBLE", - "LIKELY", - "VERY_LIKELY" - ], - "description": "Sorrow likelihood." - }, - "tiltAngle": { - "type": "number", - "description": "Pitch angle, which indicates the upwards/downwards angle that the face is\npointing relative to the image's horizontal plane. Range [-180,180].", - "format": "float" - }, - "fdBoundingPoly": { - "$ref": "BoundingPoly", - "description": "The `fd_bounding_poly` bounding polygon is tighter than the\n`boundingPoly`, and encloses only the skin part of the face. Typically, it\nis used to eliminate the face from any image analysis that detects the\n\"amount of skin\" visible in an image. It is not based on the\nlandmarker results, only on the initial face detection, hence\nthe \u003ccode\u003efd\u003c/code\u003e (face detection) prefix." } }, - "id": "FaceAnnotation", - "description": "A face annotation object contains the results of face detection." + "id": "FaceAnnotation" }, "BatchAnnotateImagesRequest": { "description": "Multiple image annotation requests are batched into a single service call.", "type": "object", "properties": { "requests": { + "description": "Individual image annotation requests for this batch.", "type": "array", "items": { "$ref": "AnnotateImageRequest" - }, - "description": "Individual image annotation requests for this batch." + } } }, "id": "BatchAnnotateImagesRequest" }, "DetectedBreak": { + "description": "Detected start or end of a structural component.", "type": "object", "properties": { "type": { + "enumDescriptions": [ + "Unknown break label type.", + "Regular space.", + "Sure space (very wide).", + "Line-wrapping break.", + "End-line hyphen that is not present in text; does", + "not co-occur with SPACE, LEADER_SPACE, or\nLINE_BREAK.\nLine break that ends a paragraph." + ], "enum": [ "UNKNOWN", "SPACE", @@ -914,59 +685,48 @@ "LINE_BREAK" ], "description": "Detected break type.", - "type": "string", - "enumDescriptions": [ - "Unknown break label type.", - "Regular space.", - "Sure space (very wide).", - "Line-wrapping break.", - "End-line hyphen that is not present in text; does", - "not co-occur with SPACE, LEADER_SPACE, or\nLINE_BREAK.\nLine break that ends a paragraph." - ] + "type": "string" }, "isPrefix": { "description": "True if break prepends the element.", "type": "boolean" } }, - "id": "DetectedBreak", - "description": "Detected start or end of a structural component." + "id": "DetectedBreak" }, "ImageContext": { + "description": "Image context and/or feature-specific parameters.", "type": "object", "properties": { + "cropHintsParams": { + "description": "Parameters for crop hints annotation request.", + "$ref": "CropHintsParams" + }, "languageHints": { + "description": "List of languages to use for TEXT_DETECTION. In most cases, an empty value\nyields the best results since it enables automatic language detection. For\nlanguages based on the Latin alphabet, setting `language_hints` is not\nneeded. In rare cases, when the language of the text in the image is known,\nsetting a hint will help get better results (although it will be a\nsignificant hindrance if the hint is wrong). Text detection returns an\nerror if one or more of the specified languages is not one of the\n[supported languages](/vision/docs/languages).", "type": "array", "items": { "type": "string" - }, - "description": "List of languages to use for TEXT_DETECTION. In most cases, an empty value\nyields the best results since it enables automatic language detection. For\nlanguages based on the Latin alphabet, setting `language_hints` is not\nneeded. In rare cases, when the language of the text in the image is known,\nsetting a hint will help get better results (although it will be a\nsignificant hindrance if the hint is wrong). Text detection returns an\nerror if one or more of the specified languages is not one of the\n[supported languages](/vision/docs/languages)." + } }, "latLongRect": { - "$ref": "LatLongRect", - "description": "lat/long rectangle that specifies the location of the image." - }, - "cropHintsParams": { - "$ref": "CropHintsParams", - "description": "Parameters for crop hints annotation request." + "description": "lat/long rectangle that specifies the location of the image.", + "$ref": "LatLongRect" } }, - "id": "ImageContext", - "description": "Image context and/or feature-specific parameters." + "id": "ImageContext" }, "Page": { - "description": "Detected page from OCR.", - "type": "object", "properties": { "height": { - "type": "integer", "description": "Page height in pixels.", - "format": "int32" + "format": "int32", + "type": "integer" }, "width": { - "type": "integer", "description": "Page width in pixels.", - "format": "int32" + "format": "int32", + "type": "integer" }, "blocks": { "description": "List of blocks of text, images etc on this page.", @@ -980,12 +740,18 @@ "description": "Additional information detected on the page." } }, - "id": "Page" + "id": "Page", + "description": "Detected page from OCR.", + "type": "object" }, "AnnotateImageRequest": { "description": "Request for performing Google Cloud Vision API tasks over a user-provided\nimage, with user-requested features.", "type": "object", "properties": { + "imageContext": { + "$ref": "ImageContext", + "description": "Additional context that may accompany the image." + }, "image": { "$ref": "Image", "description": "The image to be processed." @@ -996,10 +762,6 @@ "items": { "$ref": "Feature" } - }, - "imageContext": { - "$ref": "ImageContext", - "description": "Additional context that may accompany the image." } }, "id": "AnnotateImageRequest" @@ -1008,6 +770,10 @@ "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", "type": "object", "properties": { + "message": { + "type": "string", + "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client." + }, "details": { "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", "type": "array", @@ -1023,18 +789,16 @@ "type": "integer", "description": "The status code, which should be an enum value of google.rpc.Code.", "format": "int32" - }, - "message": { - "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", - "type": "string" } }, "id": "Status" }, "Symbol": { - "description": "A single symbol representation.", - "type": "object", "properties": { + "boundingBox": { + "$ref": "BoundingPoly", + "description": "The bounding box for the symbol.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)." + }, "text": { "description": "The actual UTF-8 representation of the symbol.", "type": "string" @@ -1042,25 +806,23 @@ "property": { "$ref": "TextProperty", "description": "Additional information detected for the symbol." - }, - "boundingBox": { - "$ref": "BoundingPoly", - "description": "The bounding box for the symbol.\nThe vertices are in the order of top-left, top-right, bottom-right,\nbottom-left. When a rotation of the bounding box is detected the rotation\nis represented as around the top-left corner as defined when the text is\nread in the 'natural' orientation.\nFor example:\n * when the text is horizontal it might look like:\n 0----1\n | |\n 3----2\n * when it's rotated 180 degrees around the top-left corner it becomes:\n 2----3\n | |\n 1----0\n and the vertice order will still be (0, 1, 2, 3)." } }, - "id": "Symbol" + "id": "Symbol", + "description": "A single symbol representation.", + "type": "object" }, "LatLongRect": { "description": "Rectangle determined by min and max `LatLng` pairs.", "type": "object", "properties": { - "minLatLng": { - "$ref": "LatLng", - "description": "Min lat/long pair." - }, "maxLatLng": { "$ref": "LatLng", "description": "Max lat/long pair." + }, + "minLatLng": { + "$ref": "LatLng", + "description": "Min lat/long pair." } }, "id": "LatLongRect" @@ -1070,63 +832,88 @@ "type": "object", "properties": { "cropHints": { + "description": "Crop hint results.", "type": "array", "items": { "$ref": "CropHint" - }, - "description": "Crop hint results." + } } }, "id": "CropHintsAnnotation" }, "LatLng": { + "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION.", "type": "object", "properties": { - "latitude": { - "type": "number", - "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", - "format": "double" - }, "longitude": { "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", "format": "double", "type": "number" + }, + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "type": "number" } }, - "id": "LatLng", - "description": "An object representing a latitude/longitude pair. This is expressed as a pair\nof doubles representing degrees latitude and degrees longitude. Unless\nspecified otherwise, this must conform to the\n\u003ca href=\"http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf\"\u003eWGS84\nstandard\u003c/a\u003e. Values must be within normalized ranges.\n\nExample of normalization code in Python:\n\n def NormalizeLongitude(longitude):\n \"\"\"Wraps decimal degrees longitude to [-180.0, 180.0].\"\"\"\n q, r = divmod(longitude, 360.0)\n if r \u003e 180.0 or (r == 180.0 and q \u003c= -1.0):\n return r - 360.0\n return r\n\n def NormalizeLatLng(latitude, longitude):\n \"\"\"Wraps decimal degrees latitude and longitude to\n [-90.0, 90.0] and [-180.0, 180.0], respectively.\"\"\"\n r = latitude % 360.0\n if r \u003c= 90.0:\n return r, NormalizeLongitude(longitude)\n elif r \u003e= 270.0:\n return r - 360, NormalizeLongitude(longitude)\n else:\n return 180 - r, NormalizeLongitude(longitude + 180.0)\n\n assert 180.0 == NormalizeLongitude(180.0)\n assert -180.0 == NormalizeLongitude(-180.0)\n assert -179.0 == NormalizeLongitude(181.0)\n assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)\n assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)\n assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)\n assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)\n assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)\n assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)\n assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)\n assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)\n assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)\n\nThe code in logs/storage/validator/logs_validator_traits.cc treats this type\nas if it were annotated as ST_LOCATION." + "id": "LatLng" }, "Color": { + "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples:\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha \u003c= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i \u003c missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ...", "type": "object", "properties": { + "red": { + "description": "The amount of red in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, "green": { - "type": "number", "description": "The amount of green in the color as a value in the interval [0, 1].", - "format": "float" + "format": "float", + "type": "number" }, "blue": { - "type": "number", "description": "The amount of blue in the color as a value in the interval [0, 1].", - "format": "float" - }, - "alpha": { - "description": "The fraction of this color that should be applied to the pixel. That is,\nthe final pixel color is defined by the equation:\n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish between a default value and the value being unset.\nIf omitted, this color object is to be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).", "format": "float", "type": "number" }, - "red": { + "alpha": { "type": "number", - "description": "The amount of red in the color as a value in the interval [0, 1].", + "description": "The fraction of this color that should be applied to the pixel. That is,\nthe final pixel color is defined by the equation:\n\n pixel color = alpha * (this color) + (1.0 - alpha) * (background color)\n\nThis means that a value of 1.0 corresponds to a solid color, whereas\na value of 0.0 corresponds to a completely transparent color. This\nuses a wrapper message rather than a simple float scalar so that it is\npossible to distinguish between a default value and the value being unset.\nIf omitted, this color object is to be rendered as a solid color\n(as if the alpha value had been explicitly given with a value of 1.0).", "format": "float" } }, - "id": "Color", - "description": "Represents a color in the RGBA color space. This representation is designed\nfor simplicity of conversion to/from color representations in various\nlanguages over compactness; for example, the fields of this representation\ncan be trivially provided to the constructor of \"java.awt.Color\" in Java; it\ncan also be trivially provided to UIColor's \"+colorWithRed:green:blue:alpha\"\nmethod in iOS; and, with just a little work, it can be easily formatted into\na CSS \"rgba()\" string in JavaScript, as well. Here are some examples:\n\nExample (Java):\n\n import com.google.type.Color;\n\n // ...\n public static java.awt.Color fromProto(Color protocolor) {\n float alpha = protocolor.hasAlpha()\n ? protocolor.getAlpha().getValue()\n : 1.0;\n\n return new java.awt.Color(\n protocolor.getRed(),\n protocolor.getGreen(),\n protocolor.getBlue(),\n alpha);\n }\n\n public static Color toProto(java.awt.Color color) {\n float red = (float) color.getRed();\n float green = (float) color.getGreen();\n float blue = (float) color.getBlue();\n float denominator = 255.0;\n Color.Builder resultBuilder =\n Color\n .newBuilder()\n .setRed(red / denominator)\n .setGreen(green / denominator)\n .setBlue(blue / denominator);\n int alpha = color.getAlpha();\n if (alpha != 255) {\n result.setAlpha(\n FloatValue\n .newBuilder()\n .setValue(((float) alpha) / denominator)\n .build());\n }\n return resultBuilder.build();\n }\n // ...\n\nExample (iOS / Obj-C):\n\n // ...\n static UIColor* fromProto(Color* protocolor) {\n float red = [protocolor red];\n float green = [protocolor green];\n float blue = [protocolor blue];\n FloatValue* alpha_wrapper = [protocolor alpha];\n float alpha = 1.0;\n if (alpha_wrapper != nil) {\n alpha = [alpha_wrapper value];\n }\n return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n }\n\n static Color* toProto(UIColor* color) {\n CGFloat red, green, blue, alpha;\n if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {\n return nil;\n }\n Color* result = [Color alloc] init];\n [result setRed:red];\n [result setGreen:green];\n [result setBlue:blue];\n if (alpha \u003c= 0.9999) {\n [result setAlpha:floatWrapperWithValue(alpha)];\n }\n [result autorelease];\n return result;\n }\n // ...\n\n Example (JavaScript):\n\n // ...\n\n var protoToCssColor = function(rgb_color) {\n var redFrac = rgb_color.red || 0.0;\n var greenFrac = rgb_color.green || 0.0;\n var blueFrac = rgb_color.blue || 0.0;\n var red = Math.floor(redFrac * 255);\n var green = Math.floor(greenFrac * 255);\n var blue = Math.floor(blueFrac * 255);\n\n if (!('alpha' in rgb_color)) {\n return rgbToCssColor_(red, green, blue);\n }\n\n var alphaFrac = rgb_color.alpha.value || 0.0;\n var rgbParams = [red, green, blue].join(',');\n return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');\n };\n\n var rgbToCssColor_ = function(red, green, blue) {\n var rgbNumber = new Number((red \u003c\u003c 16) | (green \u003c\u003c 8) | blue);\n var hexString = rgbNumber.toString(16);\n var missingZeros = 6 - hexString.length;\n var resultBuilder = ['#'];\n for (var i = 0; i \u003c missingZeros; i++) {\n resultBuilder.push('0');\n }\n resultBuilder.push(hexString);\n return resultBuilder.join('');\n };\n\n // ..." + "id": "Color" + }, + "ImageProperties": { + "description": "Stores image properties, such as dominant colors.", + "type": "object", + "properties": { + "dominantColors": { + "$ref": "DominantColorsAnnotation", + "description": "If present, dominant colors completed successfully." + } + }, + "id": "ImageProperties" }, "Feature": { + "description": "Users describe the type of Google Cloud Vision API tasks to perform over\nimages by using *Feature*s. Each Feature indicates a type of image\ndetection task to perform. Features encode the Cloud Vision API\nvertical to operate on and the number of top-scoring results to return.", "type": "object", "properties": { "type": { + "enumDescriptions": [ + "Unspecified feature type.", + "Run face detection.", + "Run landmark detection.", + "Run logo detection.", + "Run label detection.", + "Run OCR.", + "Run dense text document OCR. Takes precedence when both\nDOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.", + "Run computer vision models to compute image safe-search properties.", + "Compute a set of image properties, such as the image's dominant colors.", + "Run crop hints.", + "Run web detection." + ], "enum": [ "TYPE_UNSPECIFIED", "FACE_DETECTION", @@ -1141,20 +928,7 @@ "WEB_DETECTION" ], "description": "The feature type.", - "type": "string", - "enumDescriptions": [ - "Unspecified feature type.", - "Run face detection.", - "Run landmark detection.", - "Run logo detection.", - "Run label detection.", - "Run OCR.", - "Run dense text document OCR. Takes precedence when both\nDOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.", - "Run computer vision models to compute image safe-search properties.", - "Compute a set of image properties, such as the image's dominant colors.", - "Run crop hints.", - "Run web detection." - ] + "type": "string" }, "maxResults": { "description": "Maximum number of results of this type.", @@ -1162,25 +936,21 @@ "type": "integer" } }, - "id": "Feature", - "description": "Users describe the type of Google Cloud Vision API tasks to perform over\nimages by using *Feature*s. Each Feature indicates a type of image\ndetection task to perform. Features encode the Cloud Vision API\nvertical to operate on and the number of top-scoring results to return." - }, - "ImageProperties": { - "description": "Stores image properties, such as dominant colors.", - "type": "object", - "properties": { - "dominantColors": { - "$ref": "DominantColorsAnnotation", - "description": "If present, dominant colors completed successfully." - } - }, - "id": "ImageProperties" + "id": "Feature" }, "SafeSearchAnnotation": { "description": "Set of features pertaining to the image, computed by computer vision\nmethods over safe-search verticals (for example, adult, spoof, medical,\nviolence).", "type": "object", "properties": { "adult": { + "enumDescriptions": [ + "Unknown likelihood.", + "It is very unlikely that the image belongs to the specified vertical.", + "It is unlikely that the image belongs to the specified vertical.", + "It is possible that the image belongs to the specified vertical.", + "It is likely that the image belongs to the specified vertical.", + "It is very likely that the image belongs to the specified vertical." + ], "enum": [ "UNKNOWN", "VERY_UNLIKELY", @@ -1190,18 +960,9 @@ "VERY_LIKELY" ], "description": "Represents the adult content likelihood for the image.", - "type": "string", - "enumDescriptions": [ - "Unknown likelihood.", - "It is very unlikely that the image belongs to the specified vertical.", - "It is unlikely that the image belongs to the specified vertical.", - "It is possible that the image belongs to the specified vertical.", - "It is likely that the image belongs to the specified vertical.", - "It is very likely that the image belongs to the specified vertical." - ] + "type": "string" }, "spoof": { - "type": "string", "enumDescriptions": [ "Unknown likelihood.", "It is very unlikely that the image belongs to the specified vertical.", @@ -1218,7 +979,8 @@ "LIKELY", "VERY_LIKELY" ], - "description": "Spoof likelihood. The likelihood that an modification\nwas made to the image's canonical version to make it appear\nfunny or offensive." + "description": "Spoof likelihood. The likelihood that an modification\nwas made to the image's canonical version to make it appear\nfunny or offensive.", + "type": "string" }, "medical": { "enum": [ @@ -1241,14 +1003,6 @@ ] }, "violence": { - "enum": [ - "UNKNOWN", - "VERY_UNLIKELY", - "UNLIKELY", - "POSSIBLE", - "LIKELY", - "VERY_LIKELY" - ], "description": "Violence likelihood.", "type": "string", "enumDescriptions": [ @@ -1258,12 +1012,21 @@ "It is possible that the image belongs to the specified vertical.", "It is likely that the image belongs to the specified vertical.", "It is very likely that the image belongs to the specified vertical." + ], + "enum": [ + "UNKNOWN", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY" ] } }, "id": "SafeSearchAnnotation" }, "DominantColorsAnnotation": { + "description": "Set of dominant colors and their corresponding scores.", "type": "object", "properties": { "colors": { @@ -1274,50 +1037,50 @@ } } }, - "id": "DominantColorsAnnotation", - "description": "Set of dominant colors and their corresponding scores." + "id": "DominantColorsAnnotation" }, "TextAnnotation": { + "description": "TextAnnotation contains a structured representation of OCR extracted text.\nThe hierarchy of an OCR extracted text structure is like this:\n TextAnnotation -\u003e Page -\u003e Block -\u003e Paragraph -\u003e Word -\u003e Symbol\nEach structural component, starting from Page, may further have their own\nproperties. Properties describe detected languages, breaks etc.. Please\nrefer to the google.cloud.vision.v1.TextAnnotation.TextProperty message\ndefinition below for more detail.", "type": "object", "properties": { "pages": { + "description": "List of pages detected by OCR.", "type": "array", "items": { "$ref": "Page" - }, - "description": "List of pages detected by OCR." + } }, "text": { - "type": "string", - "description": "UTF-8 text detected on the pages." + "description": "UTF-8 text detected on the pages.", + "type": "string" } }, - "id": "TextAnnotation", - "description": "TextAnnotation contains a structured representation of OCR extracted text.\nThe hierarchy of an OCR extracted text structure is like this:\n TextAnnotation -\u003e Page -\u003e Block -\u003e Paragraph -\u003e Word -\u003e Symbol\nEach structural component, starting from Page, may further have their own\nproperties. Properties describe detected languages, breaks etc.. Please\nrefer to the google.cloud.vision.v1.TextAnnotation.TextProperty message\ndefinition below for more detail." + "id": "TextAnnotation" }, "Vertex": { - "type": "object", "properties": { "y": { - "type": "integer", "description": "Y coordinate.", - "format": "int32" + "format": "int32", + "type": "integer" }, "x": { - "type": "integer", "description": "X coordinate.", - "format": "int32" + "format": "int32", + "type": "integer" } }, "id": "Vertex", - "description": "A vertex represents a 2D point in the image.\nNOTE: the vertex coordinates are in the same scale as the original image." + "description": "A vertex represents a 2D point in the image.\nNOTE: the vertex coordinates are in the same scale as the original image.", + "type": "object" }, "DetectedLanguage": { + "description": "Detected language for a structural component.", "type": "object", "properties": { "languageCode": { - "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more\ninformation, see\nhttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier.", - "type": "string" + "type": "string", + "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more\ninformation, see\nhttp://www.unicode.org/reports/tr35/#Unicode_locale_identifier." }, "confidence": { "description": "Confidence of detected language. Range [0, 1].", @@ -1325,15 +1088,132 @@ "type": "number" } }, - "id": "DetectedLanguage", - "description": "Detected language for a structural component." + "id": "DetectedLanguage" + }, + "TextProperty": { + "id": "TextProperty", + "description": "Additional information detected on the structural component.", + "type": "object", + "properties": { + "detectedBreak": { + "description": "Detected start or end of a text segment.", + "$ref": "DetectedBreak" + }, + "detectedLanguages": { + "description": "A list of detected languages together with confidence.", + "type": "array", + "items": { + "$ref": "DetectedLanguage" + } + } + } + }, + "BoundingPoly": { + "description": "A bounding polygon for the detected image annotation.", + "type": "object", + "properties": { + "vertices": { + "description": "The bounding polygon vertices.", + "type": "array", + "items": { + "$ref": "Vertex" + } + } + }, + "id": "BoundingPoly" + }, + "WebEntity": { + "description": "Entity deduced from similar images on the Internet.", + "type": "object", + "properties": { + "entityId": { + "description": "Opaque entity ID.", + "type": "string" + }, + "description": { + "description": "Canonical description of the entity, in English.", + "type": "string" + }, + "score": { + "description": "Overall relevancy score for the entity.\nNot normalized and not comparable across different image queries.", + "format": "float", + "type": "number" + } + }, + "id": "WebEntity" + }, + "AnnotateImageResponse": { + "description": "Response to an image annotation request.", + "type": "object", + "properties": { + "webDetection": { + "$ref": "WebDetection", + "description": "If present, web detection has completed successfully." + }, + "cropHintsAnnotation": { + "description": "If present, crop hints have completed successfully.", + "$ref": "CropHintsAnnotation" + }, + "safeSearchAnnotation": { + "description": "If present, safe-search annotation has completed successfully.", + "$ref": "SafeSearchAnnotation" + }, + "labelAnnotations": { + "description": "If present, label detection has completed successfully.", + "type": "array", + "items": { + "$ref": "EntityAnnotation" + } + }, + "error": { + "description": "If set, represents the error message for the operation.\nNote that filled-in image annotations are guaranteed to be\ncorrect, even when `error` is set.", + "$ref": "Status" + }, + "fullTextAnnotation": { + "$ref": "TextAnnotation", + "description": "If present, text (OCR) detection or document (OCR) text detection has\ncompleted successfully.\nThis annotation provides the structural hierarchy for the OCR detected\ntext." + }, + "landmarkAnnotations": { + "description": "If present, landmark detection has completed successfully.", + "type": "array", + "items": { + "$ref": "EntityAnnotation" + } + }, + "textAnnotations": { + "description": "If present, text (OCR) detection has completed successfully.", + "type": "array", + "items": { + "$ref": "EntityAnnotation" + } + }, + "faceAnnotations": { + "description": "If present, face detection has completed successfully.", + "type": "array", + "items": { + "$ref": "FaceAnnotation" + } + }, + "imagePropertiesAnnotation": { + "description": "If present, image properties were extracted successfully.", + "$ref": "ImageProperties" + }, + "logoAnnotations": { + "description": "If present, logo detection has completed successfully.", + "type": "array", + "items": { + "$ref": "EntityAnnotation" + } + } + }, + "id": "AnnotateImageResponse" } }, - "protocol": "rest", "icons": { "x32": "http://www.google.com/images/icons/product/search-32.gif", "x16": "http://www.google.com/images/icons/product/search-16.gif" }, + "protocol": "rest", "canonicalName": "Vision", "auth": { "oauth2": { @@ -1346,5 +1226,125 @@ }, "rootUrl": "https://vision.googleapis.com/", "ownerDomain": "google.com", - "name": "vision" + "name": "vision", + "batchPath": "batch", + "title": "Google Cloud Vision API", + "ownerName": "Google", + "resources": { + "images": { + "methods": { + "annotate": { + "id": "vision.images.annotate", + "path": "v1/images:annotate", + "description": "Run image detection and annotation for a batch of images.", + "request": { + "$ref": "BatchAnnotateImagesRequest" + }, + "httpMethod": "POST", + "parameterOrder": [], + "response": { + "$ref": "BatchAnnotateImagesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": {}, + "flatPath": "v1/images:annotate" + } + } + } + }, + "parameters": { + "upload_protocol": { + "location": "query", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" + }, + "prettyPrint": { + "type": "boolean", + "default": "true", + "location": "query", + "description": "Returns response with indentations and line breaks." + }, + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "uploadType": { + "type": "string", + "location": "query", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")." + }, + "callback": { + "description": "JSONP", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" + }, + "alt": { + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ] + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "key": { + "location": "query", + "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.", + "type": "string" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "description": "Pretty-print response.", + "type": "boolean", + "default": "true", + "location": "query" + }, + "bearer_token": { + "location": "query", + "description": "OAuth bearer token.", + "type": "string" + }, + "oauth_token": { + "type": "string", + "location": "query", + "description": "OAuth 2.0 token for the current user." + } + }, + "version": "v1", + "baseUrl": "https://vision.googleapis.com/", + "kind": "discovery#restDescription", + "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", + "servicePath": "" } diff --git a/DiscoveryJson/youtubeAnalytics_v1.json b/DiscoveryJson/youtubeAnalytics_v1.json index 5d87ef3758..c0ec011ed8 100644 --- a/DiscoveryJson/youtubeAnalytics_v1.json +++ b/DiscoveryJson/youtubeAnalytics_v1.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/5zHCPCn1GE1z7hS_rtZHkCSjr2U\"", + "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/m722JGujNkO7p4IXXCoBzuz7e84\"", "discoveryVersion": "v1", "id": "youtubeAnalytics:v1", "name": "youtubeAnalytics", "canonicalName": "YouTube Analytics", "version": "v1", - "revision": "20170328", + "revision": "20170329", "title": "YouTube Analytics API", "description": "Retrieves your YouTube Analytics data.", "ownerDomain": "google.com", diff --git a/DiscoveryJson/youtubeAnalytics_v1beta1.json b/DiscoveryJson/youtubeAnalytics_v1beta1.json index 88c90b24ce..acc5417804 100644 --- a/DiscoveryJson/youtubeAnalytics_v1beta1.json +++ b/DiscoveryJson/youtubeAnalytics_v1beta1.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/xrizlw2NWfCHa1Xq-7d5Qq15IzE\"", + "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/_H58y5Iho7xDbVHOTvK4KKdqUuM\"", "discoveryVersion": "v1", "id": "youtubeAnalytics:v1beta1", "name": "youtubeAnalytics", "canonicalName": "YouTube Analytics", "version": "v1beta1", - "revision": "20170328", + "revision": "20170329", "title": "YouTube Analytics API", "description": "Retrieves your YouTube Analytics data.", "ownerDomain": "google.com", diff --git a/DiscoveryJson/youtubereporting_v1.json b/DiscoveryJson/youtubereporting_v1.json index 88b564657a..200ff5549d 100644 --- a/DiscoveryJson/youtubereporting_v1.json +++ b/DiscoveryJson/youtubereporting_v1.json @@ -1,166 +1,11 @@ { "resources": { - "media": { - "methods": { - "download": { - "description": "Method for media download. Download is supported\non the URI `/v1/media/{+name}?alt=media`.", - "supportsMediaDownload": true, - "response": { - "$ref": "Media" - }, - "parameterOrder": [ - "resourceName" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - "https://www.googleapis.com/auth/yt-analytics.readonly" - ], - "parameters": { - "resourceName": { - "location": "path", - "description": "Name of the media that is being downloaded. See\nReadRequest.resource_name.", - "required": true, - "type": "string", - "pattern": "^.+$" - } - }, - "flatPath": "v1/media/{mediaId}", - "path": "v1/media/{+resourceName}", - "id": "youtubereporting.media.download" - } - } - }, "jobs": { - "methods": { - "list": { - "response": { - "$ref": "ListJobsResponse" - }, - "parameterOrder": [], - "httpMethod": "GET", - "parameters": { - "onBehalfOfContentOwner": { - "type": "string", - "location": "query", - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel)." - }, - "pageToken": { - "location": "query", - "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListJobs` method.", - "type": "string" - }, - "includeSystemManaged": { - "location": "query", - "description": "If set to true, also system-managed jobs will be returned; otherwise only\nuser-created jobs will be returned. System-managed jobs can neither be\nmodified nor deleted.", - "type": "boolean" - }, - "pageSize": { - "location": "query", - "description": "Requested page size. Server may return fewer jobs than requested.\nIf unspecified, server will pick an appropriate default.", - "format": "int32", - "type": "integer" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - "https://www.googleapis.com/auth/yt-analytics.readonly" - ], - "flatPath": "v1/jobs", - "path": "v1/jobs", - "id": "youtubereporting.jobs.list", - "description": "Lists jobs." - }, - "get": { - "flatPath": "v1/jobs/{jobId}", - "id": "youtubereporting.jobs.get", - "path": "v1/jobs/{jobId}", - "description": "Gets a job.", - "httpMethod": "GET", - "parameterOrder": [ - "jobId" - ], - "response": { - "$ref": "Job" - }, - "scopes": [ - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - "https://www.googleapis.com/auth/yt-analytics.readonly" - ], - "parameters": { - "jobId": { - "location": "path", - "description": "The ID of the job to retrieve.", - "required": true, - "type": "string" - }, - "onBehalfOfContentOwner": { - "type": "string", - "location": "query", - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel)." - } - } - }, - "create": { - "response": { - "$ref": "Job" - }, - "parameterOrder": [], - "httpMethod": "POST", - "parameters": { - "onBehalfOfContentOwner": { - "type": "string", - "location": "query", - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel)." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - "https://www.googleapis.com/auth/yt-analytics.readonly" - ], - "flatPath": "v1/jobs", - "path": "v1/jobs", - "id": "youtubereporting.jobs.create", - "request": { - "$ref": "Job" - }, - "description": "Creates a job and returns it." - }, - "delete": { - "response": { - "$ref": "Empty" - }, - "parameterOrder": [ - "jobId" - ], - "httpMethod": "DELETE", - "parameters": { - "jobId": { - "location": "path", - "description": "The ID of the job to delete.", - "required": true, - "type": "string" - }, - "onBehalfOfContentOwner": { - "location": "query", - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", - "type": "string" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - "https://www.googleapis.com/auth/yt-analytics.readonly" - ], - "flatPath": "v1/jobs/{jobId}", - "path": "v1/jobs/{jobId}", - "id": "youtubereporting.jobs.delete", - "description": "Deletes a job." - } - }, "resources": { "reports": { "methods": { "list": { + "description": "Lists reports created by a specific job.\nReturns NOT_FOUND if the job does not exist.", "response": { "$ref": "ListReportsResponse" }, @@ -168,29 +13,27 @@ "jobId" ], "httpMethod": "GET", + "scopes": [ + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", + "https://www.googleapis.com/auth/yt-analytics.readonly" + ], "parameters": { - "jobId": { - "location": "path", - "description": "The ID of the job.", - "required": true, - "type": "string" - }, "createdAfter": { - "type": "string", "location": "query", "description": "If set, only reports created after the specified date/time are returned.", - "format": "google-datetime" + "format": "google-datetime", + "type": "string" }, "startTimeAtOrAfter": { - "location": "query", "description": "If set, only reports whose start time is greater than or equal the\nspecified date/time are returned.", "format": "google-datetime", - "type": "string" + "type": "string", + "location": "query" }, "pageToken": { - "type": "string", "location": "query", - "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportsResponse.next_page_token\nreturned in response to the previous call to the `ListReports` method." + "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportsResponse.next_page_token\nreturned in response to the previous call to the `ListReports` method.", + "type": "string" }, "pageSize": { "location": "query", @@ -204,66 +47,191 @@ "type": "string" }, "startTimeBefore": { - "location": "query", "description": "If set, only reports whose start time is smaller than the specified\ndate/time are returned.", "format": "google-datetime", + "type": "string", + "location": "query" + }, + "jobId": { + "location": "path", + "description": "The ID of the job.", + "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", - "https://www.googleapis.com/auth/yt-analytics.readonly" - ], "flatPath": "v1/jobs/{jobId}/reports", "path": "v1/jobs/{jobId}/reports", - "id": "youtubereporting.jobs.reports.list", - "description": "Lists reports created by a specific job.\nReturns NOT_FOUND if the job does not exist." + "id": "youtubereporting.jobs.reports.list" }, "get": { - "response": { - "$ref": "Report" - }, + "description": "Gets the metadata of a specific report.", "parameterOrder": [ "jobId", "reportId" ], "httpMethod": "GET", + "response": { + "$ref": "Report" + }, "scopes": [ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", "https://www.googleapis.com/auth/yt-analytics.readonly" ], "parameters": { - "jobId": { - "location": "path", - "description": "The ID of the job.", - "required": true, - "type": "string" - }, "onBehalfOfContentOwner": { + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", "type": "string", - "location": "query", - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel)." + "location": "query" }, "reportId": { + "location": "path", + "description": "The ID of the report to retrieve.", "required": true, - "type": "string", + "type": "string" + }, + "jobId": { "location": "path", - "description": "The ID of the report to retrieve." + "description": "The ID of the job.", + "required": true, + "type": "string" } }, "flatPath": "v1/jobs/{jobId}/reports/{reportId}", "path": "v1/jobs/{jobId}/reports/{reportId}", - "id": "youtubereporting.jobs.reports.get", - "description": "Gets the metadata of a specific report." + "id": "youtubereporting.jobs.reports.get" } } } + }, + "methods": { + "create": { + "response": { + "$ref": "Job" + }, + "parameterOrder": [], + "httpMethod": "POST", + "parameters": { + "onBehalfOfContentOwner": { + "location": "query", + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", + "type": "string" + } + }, + "scopes": [ + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", + "https://www.googleapis.com/auth/yt-analytics.readonly" + ], + "flatPath": "v1/jobs", + "path": "v1/jobs", + "id": "youtubereporting.jobs.create", + "request": { + "$ref": "Job" + }, + "description": "Creates a job and returns it." + }, + "delete": { + "path": "v1/jobs/{jobId}", + "id": "youtubereporting.jobs.delete", + "description": "Deletes a job.", + "response": { + "$ref": "Empty" + }, + "parameterOrder": [ + "jobId" + ], + "httpMethod": "DELETE", + "scopes": [ + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", + "https://www.googleapis.com/auth/yt-analytics.readonly" + ], + "parameters": { + "onBehalfOfContentOwner": { + "location": "query", + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", + "type": "string" + }, + "jobId": { + "location": "path", + "description": "The ID of the job to delete.", + "required": true, + "type": "string" + } + }, + "flatPath": "v1/jobs/{jobId}" + }, + "list": { + "description": "Lists jobs.", + "parameterOrder": [], + "httpMethod": "GET", + "response": { + "$ref": "ListJobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", + "https://www.googleapis.com/auth/yt-analytics.readonly" + ], + "parameters": { + "pageToken": { + "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListJobs` method.", + "type": "string", + "location": "query" + }, + "includeSystemManaged": { + "description": "If set to true, also system-managed jobs will be returned; otherwise only\nuser-created jobs will be returned. System-managed jobs can neither be\nmodified nor deleted.", + "type": "boolean", + "location": "query" + }, + "pageSize": { + "description": "Requested page size. Server may return fewer jobs than requested.\nIf unspecified, server will pick an appropriate default.", + "format": "int32", + "type": "integer", + "location": "query" + }, + "onBehalfOfContentOwner": { + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", + "type": "string", + "location": "query" + } + }, + "flatPath": "v1/jobs", + "path": "v1/jobs", + "id": "youtubereporting.jobs.list" + }, + "get": { + "id": "youtubereporting.jobs.get", + "path": "v1/jobs/{jobId}", + "description": "Gets a job.", + "httpMethod": "GET", + "response": { + "$ref": "Job" + }, + "parameterOrder": [ + "jobId" + ], + "scopes": [ + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", + "https://www.googleapis.com/auth/yt-analytics.readonly" + ], + "parameters": { + "jobId": { + "location": "path", + "description": "The ID of the job to retrieve.", + "required": true, + "type": "string" + }, + "onBehalfOfContentOwner": { + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", + "type": "string", + "location": "query" + } + }, + "flatPath": "v1/jobs/{jobId}" + } } }, "reportTypes": { "methods": { "list": { - "description": "Lists report types.", "response": { "$ref": "ListReportTypesResponse" }, @@ -274,111 +242,100 @@ "https://www.googleapis.com/auth/yt-analytics.readonly" ], "parameters": { + "pageToken": { + "location": "query", + "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListReportTypes` method.", + "type": "string" + }, + "includeSystemManaged": { + "location": "query", + "description": "If set to true, also system-managed report types will be returned;\notherwise only the report types that can be used to create new reporting\njobs will be returned.", + "type": "boolean" + }, + "pageSize": { + "location": "query", + "description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.", + "format": "int32", + "type": "integer" + }, "onBehalfOfContentOwner": { + "location": "query", + "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel).", + "type": "string" + } + }, + "flatPath": "v1/reportTypes", + "path": "v1/reportTypes", + "id": "youtubereporting.reportTypes.list", + "description": "Lists report types." + } + } + }, + "media": { + "methods": { + "download": { + "supportsMediaDownload": true, + "httpMethod": "GET", + "parameterOrder": [ + "resourceName" + ], + "response": { + "$ref": "Media" + }, + "parameters": { + "resourceName": { + "description": "Name of the media that is being downloaded. See\nReadRequest.resource_name.", + "required": true, "type": "string", - "location": "query", - "description": "The content owner's external ID on which behalf the user is acting on. If\nnot set, the user is acting for himself (his own channel)." - }, - "pageToken": { - "location": "query", - "description": "A token identifying a page of results the server should return. Typically,\nthis is the value of\nListReportTypesResponse.next_page_token\nreturned in response to the previous call to the `ListReportTypes` method.", - "type": "string" - }, - "includeSystemManaged": { - "location": "query", - "description": "If set to true, also system-managed report types will be returned;\notherwise only the report types that can be used to create new reporting\njobs will be returned.", - "type": "boolean" - }, - "pageSize": { - "location": "query", - "description": "Requested page size. Server may return fewer report types than requested.\nIf unspecified, server will pick an appropriate default.", - "format": "int32", - "type": "integer" + "pattern": "^.+$", + "location": "path" } }, - "flatPath": "v1/reportTypes", - "path": "v1/reportTypes", - "id": "youtubereporting.reportTypes.list" + "scopes": [ + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly", + "https://www.googleapis.com/auth/yt-analytics.readonly" + ], + "flatPath": "v1/media/{mediaId}", + "id": "youtubereporting.media.download", + "path": "v1/media/{+resourceName}", + "description": "Method for media download. Download is supported\non the URI `/v1/media/{+name}?alt=media`." } } } }, "parameters": { - "alt": { - "location": "query", - "description": "Data format for response.", - "default": "json", - "enum": [ - "json", - "media", - "proto" - ], - "type": "string", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ] - }, - "access_token": { - "location": "query", - "description": "OAuth access token.", - "type": "string" - }, - "key": { - "type": "string", - "location": "query", - "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." - }, - "quotaUser": { + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", "type": "string", - "location": "query", - "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." - }, - "pp": { - "type": "boolean", - "default": "true", - "location": "query", - "description": "Pretty-print response." + "location": "query" }, "bearer_token": { + "description": "OAuth bearer token.", "type": "string", - "location": "query", - "description": "OAuth bearer token." - }, - "oauth_token": { - "type": "string", - "location": "query", - "description": "OAuth 2.0 token for the current user." + "location": "query" }, "upload_protocol": { - "type": "string", "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "type": "string" }, "prettyPrint": { - "type": "boolean", - "default": "true", - "location": "query", - "description": "Returns response with indentations and line breaks." - }, - "fields": { "location": "query", - "description": "Selector specifying which fields to include in a partial response.", - "type": "string" + "description": "Returns response with indentations and line breaks.", + "type": "boolean", + "default": "true" }, "uploadType": { "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, - "callback": { + "fields": { "location": "query", - "description": "JSONP", + "description": "Selector specifying which fields to include in a partial response.", "type": "string" }, "$.xgafv": { - "location": "query", "enum": [ "1", "2" @@ -388,34 +345,135 @@ "enumDescriptions": [ "v1 error format", "v2 error format" - ] + ], + "location": "query" + }, + "callback": { + "location": "query", + "description": "JSONP", + "type": "string" + }, + "alt": { + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "description": "Data format for response.", + "default": "json" + }, + "key": { + "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.", + "type": "string", + "location": "query" + }, + "access_token": { + "location": "query", + "description": "OAuth access token.", + "type": "string" + }, + "quotaUser": { + "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.", + "type": "string", + "location": "query" + }, + "pp": { + "location": "query", + "description": "Pretty-print response.", + "type": "boolean", + "default": "true" } }, "schemas": { - "Media": { - "type": "object", + "ListJobsResponse": { "properties": { - "resourceName": { - "type": "string", - "description": "Name of the media resource." + "jobs": { + "description": "The list of jobs.", + "type": "array", + "items": { + "$ref": "Job" + } + }, + "nextPageToken": { + "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results.", + "type": "string" } }, - "id": "Media", - "description": "Media resource." + "id": "ListJobsResponse", + "description": "Response message for ReportingService.ListJobs.", + "type": "object" }, - "ReportType": { - "description": "A report type.", + "Job": { + "description": "A job creating reports of a specific type.", "type": "object", "properties": { - "deprecateTime": { - "description": "The date/time when this report type was/will be deprecated.", + "createTime": { + "description": "The creation date/time of the job.", + "format": "google-datetime", + "type": "string" + }, + "reportTypeId": { + "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType.", + "type": "string" + }, + "expireTime": { + "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.", "format": "google-datetime", "type": "string" }, "name": { - "type": "string", - "description": "The name of the report type (max. 100 characters)." + "description": "The name of the job (max. 100 characters).", + "type": "string" + }, + "id": { + "description": "The server-generated ID of the job (max. 40 characters).", + "type": "string" }, + "systemManaged": { + "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.", + "type": "boolean" + } + }, + "id": "Job" + }, + "ListReportsResponse": { + "properties": { + "nextPageToken": { + "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results.", + "type": "string" + }, + "reports": { + "description": "The list of report types.", + "type": "array", + "items": { + "$ref": "Report" + } + } + }, + "id": "ListReportsResponse", + "description": "Response message for ReportingService.ListReports.", + "type": "object" + }, + "Media": { + "description": "Media resource.", + "type": "object", + "properties": { + "resourceName": { + "description": "Name of the media resource.", + "type": "string" + } + }, + "id": "Media" + }, + "ReportType": { + "properties": { "id": { "description": "The ID of the report type (max. 100 characters).", "type": "string" @@ -423,27 +481,38 @@ "systemManaged": { "description": "True if this a system-managed report type; otherwise false. Reporting jobs\nfor system-managed report types are created automatically and can thus not\nbe used in the `CreateJob` method.", "type": "boolean" + }, + "deprecateTime": { + "description": "The date/time when this report type was/will be deprecated.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "The name of the report type (max. 100 characters).", + "type": "string" } }, - "id": "ReportType" + "id": "ReportType", + "description": "A report type.", + "type": "object" }, "ListReportTypesResponse": { - "description": "Response message for ReportingService.ListReportTypes.", - "type": "object", "properties": { "nextPageToken": { - "type": "string", - "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results." + "description": "A token to retrieve next page of results.\nPass this value in the\nListReportTypesRequest.page_token\nfield in the subsequent call to `ListReportTypes` method to retrieve the next\npage of results.", + "type": "string" }, "reportTypes": { + "description": "The list of report types.", "type": "array", "items": { "$ref": "ReportType" - }, - "description": "The list of report types." + } } }, - "id": "ListReportTypesResponse" + "id": "ListReportTypesResponse", + "description": "Response message for ReportingService.ListReportTypes.", + "type": "object" }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", @@ -455,10 +524,6 @@ "description": "A report's metadata including the URL from which the report itself can be\ndownloaded.", "type": "object", "properties": { - "jobId": { - "type": "string", - "description": "The ID of the job that created this report." - }, "id": { "description": "The server-generated ID of the report.", "type": "string" @@ -474,90 +539,25 @@ "type": "string" }, "downloadUrl": { - "type": "string", - "description": "The URL from which the report can be downloaded (max. 1000 characters)." + "description": "The URL from which the report can be downloaded (max. 1000 characters).", + "type": "string" }, "startTime": { - "type": "string", "description": "The start of the time period that the report instance covers. The value is\ninclusive.", - "format": "google-datetime" - }, - "createTime": { - "description": "The date/time when this report was created.", "format": "google-datetime", "type": "string" - } - }, - "id": "Report" - }, - "ListJobsResponse": { - "type": "object", - "properties": { - "jobs": { - "type": "array", - "items": { - "$ref": "Job" - }, - "description": "The list of jobs." - }, - "nextPageToken": { - "type": "string", - "description": "A token to retrieve next page of results.\nPass this value in the\nListJobsRequest.page_token\nfield in the subsequent call to `ListJobs` method to retrieve the next\npage of results." - } - }, - "id": "ListJobsResponse", - "description": "Response message for ReportingService.ListJobs." - }, - "Job": { - "type": "object", - "properties": { - "reportTypeId": { - "type": "string", - "description": "The type of reports this job creates. Corresponds to the ID of a\nReportType." }, - "expireTime": { - "description": "The date/time when this job will expire/expired. After a job expired, no\nnew reports are generated.", + "createTime": { + "description": "The date/time when this report was created.", "format": "google-datetime", "type": "string" }, - "name": { - "description": "The name of the job (max. 100 characters).", - "type": "string" - }, - "id": { - "description": "The server-generated ID of the job (max. 40 characters).", + "jobId": { + "description": "The ID of the job that created this report.", "type": "string" - }, - "systemManaged": { - "description": "True if this a system-managed job that cannot be modified by the user;\notherwise false.", - "type": "boolean" - }, - "createTime": { - "type": "string", - "description": "The creation date/time of the job.", - "format": "google-datetime" - } - }, - "id": "Job", - "description": "A job creating reports of a specific type." - }, - "ListReportsResponse": { - "description": "Response message for ReportingService.ListReports.", - "type": "object", - "properties": { - "reports": { - "type": "array", - "items": { - "$ref": "Report" - }, - "description": "The list of report types." - }, - "nextPageToken": { - "type": "string", - "description": "A token to retrieve next page of results.\nPass this value in the\nListReportsRequest.page_token\nfield in the subsequent call to `ListReports` method to retrieve the next\npage of results." } }, - "id": "ListReportsResponse" + "id": "Report" } }, "icons": { @@ -580,16 +580,16 @@ } } }, - "description": "Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.", - "servicePath": "", "kind": "discovery#restDescription", + "servicePath": "", + "description": "Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.", "rootUrl": "https://youtubereporting.googleapis.com/", "basePath": "", "ownerDomain": "google.com", "name": "youtubereporting", "batchPath": "batch", - "revision": "20170329", "documentationLink": "https://developers.google.com/youtube/reporting/v1/reports/", + "revision": "20170329", "id": "youtubereporting:v1", "title": "YouTube Reporting API", "discoveryVersion": "v1", diff --git a/NuGet.Config b/NuGet.Config index 4ce54b738f..1de4e48345 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -1,7 +1,7 @@ - + diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs index f518689edc..5817fce6cf 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.nuspec b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.nuspec index b3ca3cbdc0..b976a14f3d 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.nuspec +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Acceleratedmobilepageurl.v1 - 1.24.0.818 + 1.24.1.818 Google.Apis.Acceleratedmobilepageurl.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/Google.Apis.Acceleratedmobilepageurl.v1.csproj b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/Google.Apis.Acceleratedmobilepageurl.v1.csproj index 5d9a9c5c84..4dab1ce5e1 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/Google.Apis.Acceleratedmobilepageurl.v1.csproj +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/Google.Apis.Acceleratedmobilepageurl.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/packages.config b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/Google.Apis.Acceleratedmobilepageurl.v1.csproj b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/Google.Apis.Acceleratedmobilepageurl.v1.csproj index cc0a9ebf32..dc65d792a5 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/Google.Apis.Acceleratedmobilepageurl.v1.csproj +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/Google.Apis.Acceleratedmobilepageurl.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Properties/AssemblyInfo.cs index 8c5f9abebb..58a96decd6 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/project.json b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/project.json +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.cs b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.cs index e930582d86..3b93a19992 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.nuspec b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.nuspec index 7a8341c811..b286de78c7 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Google.Apis.AdExchangeBuyer.v1_2.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeBuyer.v1_2 - 1.24.0.776 + 1.24.1.776 Google.Apis.AdExchangeBuyer.v1_2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/Google.Apis.AdExchangeBuyer.v1_2.csproj b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/Google.Apis.AdExchangeBuyer.v1_2.csproj index 6d504d7b5a..fe20b5071d 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/Google.Apis.AdExchangeBuyer.v1_2.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/Google.Apis.AdExchangeBuyer.v1_2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/Google.Apis.AdExchangeBuyer.v1_2.csproj b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/Google.Apis.AdExchangeBuyer.v1_2.csproj index 050de4ebfd..aad8de5967 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/Google.Apis.AdExchangeBuyer.v1_2.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/Google.Apis.AdExchangeBuyer.v1_2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Properties/AssemblyInfo.cs index ad54e15aa1..8bb82259f4 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.776")] +[assembly: AssemblyVersion("1.24.1.776")] diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/project.json b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.cs b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.cs index 7084f2b554..54b4a061b9 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.nuspec b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.nuspec index 463eb8069e..3adc3ecdce 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Google.Apis.AdExchangeBuyer.v1_3.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeBuyer.v1_3 - 1.24.0.776 + 1.24.1.776 Google.Apis.AdExchangeBuyer.v1_3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/Google.Apis.AdExchangeBuyer.v1_3.csproj b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/Google.Apis.AdExchangeBuyer.v1_3.csproj index 84fd101b73..967deb40b5 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/Google.Apis.AdExchangeBuyer.v1_3.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/Google.Apis.AdExchangeBuyer.v1_3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/Google.Apis.AdExchangeBuyer.v1_3.csproj b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/Google.Apis.AdExchangeBuyer.v1_3.csproj index 1cc36f5c90..d158089d32 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/Google.Apis.AdExchangeBuyer.v1_3.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/Google.Apis.AdExchangeBuyer.v1_3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Properties/AssemblyInfo.cs index dbf3ce1fb6..51cf3d480d 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.776")] +[assembly: AssemblyVersion("1.24.1.776")] diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/project.json b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.cs b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.cs index 5dc8ada2d0..f43c0d160e 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.nuspec b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.nuspec index 9c48d30d28..a9315e5a21 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Google.Apis.AdExchangeBuyer.v1_4.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeBuyer.v1_4 - 1.24.0.776 + 1.24.1.776 Google.Apis.AdExchangeBuyer.v1_4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/Google.Apis.AdExchangeBuyer.v1_4.csproj b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/Google.Apis.AdExchangeBuyer.v1_4.csproj index addc8406e0..49e4d9df34 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/Google.Apis.AdExchangeBuyer.v1_4.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/Google.Apis.AdExchangeBuyer.v1_4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/Google.Apis.AdExchangeBuyer.v1_4.csproj b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/Google.Apis.AdExchangeBuyer.v1_4.csproj index 5a0519553f..ccfaee40af 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/Google.Apis.AdExchangeBuyer.v1_4.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/Google.Apis.AdExchangeBuyer.v1_4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Properties/AssemblyInfo.cs index ae221800f5..1f63f1a173 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.776")] +[assembly: AssemblyVersion("1.24.1.776")] diff --git a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/project.json b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyer.v1_4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs index 98bb6b58ac..b23efde530 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -26,7 +26,7 @@ * API * Ad Exchange Buyer API II * API Versionv2beta1 - * API Rev20170328 (817) + * API Rev20170329 (818) * API Docs * * https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.nuspec b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.nuspec index c6a7b06b8a..e99af1811c 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeBuyerII.v2beta1 - 1.24.0.817 + 1.24.1.818 Google.Apis.AdExchangeBuyerII.v2beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/Google.Apis.AdExchangeBuyerII.v2beta1.csproj b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/Google.Apis.AdExchangeBuyerII.v2beta1.csproj index 1aa5090f3d..f9b529d4b8 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/Google.Apis.AdExchangeBuyerII.v2beta1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/Google.Apis.AdExchangeBuyerII.v2beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/Google.Apis.AdExchangeBuyerII.v2beta1.csproj b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/Google.Apis.AdExchangeBuyerII.v2beta1.csproj index 80bb25b9f0..1622437853 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/Google.Apis.AdExchangeBuyerII.v2beta1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/Google.Apis.AdExchangeBuyerII.v2beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Properties/AssemblyInfo.cs index 3071dbfd48..a7d4b72f10 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/project.json b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/project.json +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.cs b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.cs index e98b84ae8e..2d766cfbff 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.cs +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.nuspec b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.nuspec index 5abebf7db2..0a3463fa93 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Google.Apis.AdExchangeSeller.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeSeller.v1 - 1.24.0.582 + 1.24.1.582 Google.Apis.AdExchangeSeller.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/Google.Apis.AdExchangeSeller.v1.csproj b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/Google.Apis.AdExchangeSeller.v1.csproj index e2ed0e22ba..e4a8716563 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/Google.Apis.AdExchangeSeller.v1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/Google.Apis.AdExchangeSeller.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeSeller.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/Google.Apis.AdExchangeSeller.v1.csproj b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/Google.Apis.AdExchangeSeller.v1.csproj index 2a0fe2b716..6a6701b4ee 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/Google.Apis.AdExchangeSeller.v1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/Google.Apis.AdExchangeSeller.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Properties/AssemblyInfo.cs index 7730ed2d64..4458e8be1e 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.582")] +[assembly: AssemblyVersion("1.24.1.582")] diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1/project.json b/Src/Generated/Google.Apis.AdExchangeSeller.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1/project.json +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.cs b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.cs index 46608aab52..4a3ef6eae0 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.cs +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.nuspec b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.nuspec index b20b3100f2..4c84770909 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Google.Apis.AdExchangeSeller.v1_1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeSeller.v1_1 - 1.24.0.582 + 1.24.1.582 Google.Apis.AdExchangeSeller.v1_1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/Google.Apis.AdExchangeSeller.v1_1.csproj b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/Google.Apis.AdExchangeSeller.v1_1.csproj index b2ff90e7b7..2963c27c16 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/Google.Apis.AdExchangeSeller.v1_1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/Google.Apis.AdExchangeSeller.v1_1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/Google.Apis.AdExchangeSeller.v1_1.csproj b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/Google.Apis.AdExchangeSeller.v1_1.csproj index 12d8d1d179..62f21b4d4b 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/Google.Apis.AdExchangeSeller.v1_1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/Google.Apis.AdExchangeSeller.v1_1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Properties/AssemblyInfo.cs index fe5e2c3fff..e7eb17054e 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.582")] +[assembly: AssemblyVersion("1.24.1.582")] diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/project.json b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/project.json +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v1_1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.cs b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.cs index b143267f4b..ba679ba575 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.cs +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.nuspec b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.nuspec index ece95aff67..167308519b 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.nuspec +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Google.Apis.AdExchangeSeller.v2_0.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdExchangeSeller.v2_0 - 1.24.0.582 + 1.24.1.582 Google.Apis.AdExchangeSeller.v2_0 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/Google.Apis.AdExchangeSeller.v2_0.csproj b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/Google.Apis.AdExchangeSeller.v2_0.csproj index 891e648390..7963781641 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/Google.Apis.AdExchangeSeller.v2_0.csproj +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/Google.Apis.AdExchangeSeller.v2_0.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/packages.config b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/NetStandard/project.json b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/Google.Apis.AdExchangeSeller.v2_0.csproj b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/Google.Apis.AdExchangeSeller.v2_0.csproj index dd9f693f15..8296caf821 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/Google.Apis.AdExchangeSeller.v2_0.csproj +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/Google.Apis.AdExchangeSeller.v2_0.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/packages.config b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Properties/AssemblyInfo.cs index 058840476b..c2d332be04 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.582")] +[assembly: AssemblyVersion("1.24.1.582")] diff --git a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/project.json b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/project.json +++ b/Src/Generated/Google.Apis.AdExchangeSeller.v2_0/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.cs b/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.cs index 88927b43e5..47ef28a7b4 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.cs +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.nuspec b/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.nuspec index 47bde15375..d16cb699ab 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.nuspec +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Google.Apis.AdSense.v1_3.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdSense.v1_3 - 1.24.0.817 + 1.24.1.817 Google.Apis.AdSense.v1_3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Net45/Google.Apis.AdSense.v1_3.csproj b/Src/Generated/Google.Apis.AdSense.v1_3/Net45/Google.Apis.AdSense.v1_3.csproj index c51b5665c7..7507cf33cf 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Net45/Google.Apis.AdSense.v1_3.csproj +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Net45/Google.Apis.AdSense.v1_3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Net45/packages.config b/Src/Generated/Google.Apis.AdSense.v1_3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/NetStandard/project.json b/Src/Generated/Google.Apis.AdSense.v1_3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdSense.v1_3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/Google.Apis.AdSense.v1_3.csproj b/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/Google.Apis.AdSense.v1_3.csproj index e5feedcfff..7ce3bd6b6c 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/Google.Apis.AdSense.v1_3.csproj +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/Google.Apis.AdSense.v1_3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/packages.config b/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdSense.v1_3/Properties/AssemblyInfo.cs index f5d1547e7a..f0882e65d4 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdSense.v1_3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.AdSense.v1_3/project.json b/Src/Generated/Google.Apis.AdSense.v1_3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_3/project.json +++ b/Src/Generated/Google.Apis.AdSense.v1_3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs index b4757b2139..6b6ecffc84 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.nuspec b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.nuspec index eb6f58ab1a..9ff96dee22 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.nuspec +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Google.Apis.AdSense.v1_4.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdSense.v1_4 - 1.24.0.817 + 1.24.1.817 Google.Apis.AdSense.v1_4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Net45/Google.Apis.AdSense.v1_4.csproj b/Src/Generated/Google.Apis.AdSense.v1_4/Net45/Google.Apis.AdSense.v1_4.csproj index b0d3d5feb1..de0945647c 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Net45/Google.Apis.AdSense.v1_4.csproj +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Net45/Google.Apis.AdSense.v1_4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Net45/packages.config b/Src/Generated/Google.Apis.AdSense.v1_4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/NetStandard/project.json b/Src/Generated/Google.Apis.AdSense.v1_4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdSense.v1_4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/Google.Apis.AdSense.v1_4.csproj b/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/Google.Apis.AdSense.v1_4.csproj index 88e9744f3f..3aa9cd744e 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/Google.Apis.AdSense.v1_4.csproj +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/Google.Apis.AdSense.v1_4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/packages.config b/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdSense.v1_4/Properties/AssemblyInfo.cs index 771dccdfa4..b389b81189 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdSense.v1_4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.AdSense.v1_4/project.json b/Src/Generated/Google.Apis.AdSense.v1_4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdSense.v1_4/project.json +++ b/Src/Generated/Google.Apis.AdSense.v1_4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs index 21ec9e59c2..7028fffc15 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.nuspec b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.nuspec index a847e95955..857166d4c5 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.nuspec +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AdSenseHost.v4_1 - 1.24.0.817 + 1.24.1.817 Google.Apis.AdSenseHost.v4_1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/Google.Apis.AdSenseHost.v4_1.csproj b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/Google.Apis.AdSenseHost.v4_1.csproj index 2702f04296..ca3d01bd2c 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/Google.Apis.AdSenseHost.v4_1.csproj +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/Google.Apis.AdSenseHost.v4_1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/packages.config b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/NetStandard/project.json b/Src/Generated/Google.Apis.AdSenseHost.v4_1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/Google.Apis.AdSenseHost.v4_1.csproj b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/Google.Apis.AdSenseHost.v4_1.csproj index c3e9af66a3..e388671ad4 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/Google.Apis.AdSenseHost.v4_1.csproj +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/Google.Apis.AdSenseHost.v4_1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/packages.config b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Properties/AssemblyInfo.cs index a8bb00865f..137d325c66 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/project.json b/Src/Generated/Google.Apis.AdSenseHost.v4_1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/project.json +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj index 29ee6d22d5..cc75bba2d9 100644 --- a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/packages.config b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/NetStandard/project.json b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/project.json b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/project.json +++ b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/Google.Apis.Admin.Directory.directory_v1.csproj b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/Google.Apis.Admin.Directory.directory_v1.csproj index 27324e9a74..5824e4d971 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/Google.Apis.Admin.Directory.directory_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/Google.Apis.Admin.Directory.directory_v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/packages.config b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/NetStandard/project.json b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/project.json b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/project.json +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/Google.Apis.Admin.Reports.reports_v1.csproj b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/Google.Apis.Admin.Reports.reports_v1.csproj index 3842772f98..3113c61236 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/Google.Apis.Admin.Reports.reports_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/Google.Apis.Admin.Reports.reports_v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/packages.config b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/NetStandard/project.json b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/project.json b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/project.json +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.cs b/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.cs index 69c03bd8d4..859fde877d 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.cs +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.nuspec b/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.nuspec index aac098f2cb..4a6b2a63ce 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.nuspec +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Google.Apis.Analytics.v2_4.nuspec @@ -2,7 +2,7 @@ Google.Apis.Analytics.v2_4 - 1.24.0.810 + 1.24.1.810 Google.Apis.Analytics.v2_4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Net45/Google.Apis.Analytics.v2_4.csproj b/Src/Generated/Google.Apis.Analytics.v2_4/Net45/Google.Apis.Analytics.v2_4.csproj index 150041ca50..90119e821a 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Net45/Google.Apis.Analytics.v2_4.csproj +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Net45/Google.Apis.Analytics.v2_4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Net45/packages.config b/Src/Generated/Google.Apis.Analytics.v2_4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Net45/packages.config +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/NetStandard/project.json b/Src/Generated/Google.Apis.Analytics.v2_4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Analytics.v2_4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/Google.Apis.Analytics.v2_4.csproj b/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/Google.Apis.Analytics.v2_4.csproj index 9613a2ec97..d7a5f35f06 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/Google.Apis.Analytics.v2_4.csproj +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/Google.Apis.Analytics.v2_4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/packages.config b/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Analytics.v2_4/Properties/AssemblyInfo.cs index 78e594f77d..d7c0220cbf 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Analytics.v2_4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Analytics.v2_4/project.json b/Src/Generated/Google.Apis.Analytics.v2_4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Analytics.v2_4/project.json +++ b/Src/Generated/Google.Apis.Analytics.v2_4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs index 491a71cbdb..71ebfc3ad8 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs +++ b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.nuspec b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.nuspec index 5d37b0263d..44cda41766 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.nuspec +++ b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Analytics.v3 - 1.24.0.810 + 1.24.1.810 Google.Apis.Analytics.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v3/Net45/Google.Apis.Analytics.v3.csproj b/Src/Generated/Google.Apis.Analytics.v3/Net45/Google.Apis.Analytics.v3.csproj index edf024ed41..33fb3af4c6 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Net45/Google.Apis.Analytics.v3.csproj +++ b/Src/Generated/Google.Apis.Analytics.v3/Net45/Google.Apis.Analytics.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Analytics.v3/Net45/packages.config b/Src/Generated/Google.Apis.Analytics.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Analytics.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v3/NetStandard/project.json b/Src/Generated/Google.Apis.Analytics.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Analytics.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Analytics.v3/Profile259/Google.Apis.Analytics.v3.csproj b/Src/Generated/Google.Apis.Analytics.v3/Profile259/Google.Apis.Analytics.v3.csproj index 24fcc50223..424a54a85d 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Profile259/Google.Apis.Analytics.v3.csproj +++ b/Src/Generated/Google.Apis.Analytics.v3/Profile259/Google.Apis.Analytics.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Analytics.v3/Profile259/packages.config b/Src/Generated/Google.Apis.Analytics.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Analytics.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Analytics.v3/Properties/AssemblyInfo.cs index dbb81d8e17..306e1b6f05 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Analytics.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Analytics.v3/project.json b/Src/Generated/Google.Apis.Analytics.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/project.json +++ b/Src/Generated/Google.Apis.Analytics.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs index 684ae530f1..360d49c9aa 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.nuspec b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.nuspec index d0040bec69..0e8efc1119 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.nuspec +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.nuspec @@ -2,7 +2,7 @@ Google.Apis.AnalyticsReporting.v4 - 1.24.0.798 + 1.24.1.798 Google.Apis.AnalyticsReporting.v4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/Google.Apis.AnalyticsReporting.v4.csproj b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/Google.Apis.AnalyticsReporting.v4.csproj index 495faf4c68..d77e29da23 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/Google.Apis.AnalyticsReporting.v4.csproj +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/Google.Apis.AnalyticsReporting.v4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/packages.config b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/packages.config +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/NetStandard/project.json b/Src/Generated/Google.Apis.AnalyticsReporting.v4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/Google.Apis.AnalyticsReporting.v4.csproj b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/Google.Apis.AnalyticsReporting.v4.csproj index 8eefb77b06..272348f05b 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/Google.Apis.AnalyticsReporting.v4.csproj +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/Google.Apis.AnalyticsReporting.v4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/packages.config b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Properties/AssemblyInfo.cs index 7efcedc0e8..d909e9ae08 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.798")] +[assembly: AssemblyVersion("1.24.1.798")] diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/project.json b/Src/Generated/Google.Apis.AnalyticsReporting.v4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/project.json +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs index 70ab10ca87..9ccc1892eb 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.nuspec b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.nuspec index ec52ace4cd..656b5946b6 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.nuspec +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AndroidEnterprise.v1 - 1.24.0.811 + 1.24.1.811 Google.Apis.AndroidEnterprise.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/Google.Apis.AndroidEnterprise.v1.csproj b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/Google.Apis.AndroidEnterprise.v1.csproj index 54fb9c5e49..b50892a56a 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/Google.Apis.AndroidEnterprise.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/Google.Apis.AndroidEnterprise.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/packages.config b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/NetStandard/project.json b/Src/Generated/Google.Apis.AndroidEnterprise.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/Google.Apis.AndroidEnterprise.v1.csproj b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/Google.Apis.AndroidEnterprise.v1.csproj index cbed051462..008b59d3c3 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/Google.Apis.AndroidEnterprise.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/Google.Apis.AndroidEnterprise.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/packages.config b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Properties/AssemblyInfo.cs index 47b9408897..c644f99ca6 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.811")] +[assembly: AssemblyVersion("1.24.1.811")] diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/project.json b/Src/Generated/Google.Apis.AndroidEnterprise.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/project.json +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs index 435624d2a0..82950eb947 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.nuspec b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.nuspec index 684bc4e857..271b1081fd 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.nuspec +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Google.Apis.AndroidPublisher.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AndroidPublisher.v1 - 1.24.0.783 + 1.24.1.783 Google.Apis.AndroidPublisher.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/Google.Apis.AndroidPublisher.v1.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/Google.Apis.AndroidPublisher.v1.csproj index 549f836af6..ad4bab00b0 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/Google.Apis.AndroidPublisher.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/Google.Apis.AndroidPublisher.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/packages.config b/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/NetStandard/project.json b/Src/Generated/Google.Apis.AndroidPublisher.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/Google.Apis.AndroidPublisher.v1.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/Google.Apis.AndroidPublisher.v1.csproj index b99397150a..36f737b5c7 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/Google.Apis.AndroidPublisher.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/Google.Apis.AndroidPublisher.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/packages.config b/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AndroidPublisher.v1/Properties/AssemblyInfo.cs index 55b7265bb8..31662b15ab 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.783")] +[assembly: AssemblyVersion("1.24.1.783")] diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1/project.json b/Src/Generated/Google.Apis.AndroidPublisher.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1/project.json +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs index 9580a73e75..c09851f699 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.nuspec b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.nuspec index 4a63628a01..776977ce04 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.nuspec +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Google.Apis.AndroidPublisher.v1_1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AndroidPublisher.v1_1 - 1.24.0.783 + 1.24.1.783 Google.Apis.AndroidPublisher.v1_1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/Google.Apis.AndroidPublisher.v1_1.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/Google.Apis.AndroidPublisher.v1_1.csproj index b4d0149e9e..b28a12ec47 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/Google.Apis.AndroidPublisher.v1_1.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/Google.Apis.AndroidPublisher.v1_1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/packages.config b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/NetStandard/project.json b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/Google.Apis.AndroidPublisher.v1_1.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/Google.Apis.AndroidPublisher.v1_1.csproj index c4d4a5db33..ad07caa955 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/Google.Apis.AndroidPublisher.v1_1.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/Google.Apis.AndroidPublisher.v1_1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/packages.config b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Properties/AssemblyInfo.cs index 448ab8f214..c0fc781cf5 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.783")] +[assembly: AssemblyVersion("1.24.1.783")] diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/project.json b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v1_1/project.json +++ b/Src/Generated/Google.Apis.AndroidPublisher.v1_1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs index 8a6d9eaeb9..46c08cb5a1 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.nuspec b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.nuspec index e8ca05d705..8d36574462 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.nuspec +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Google.Apis.AndroidPublisher.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.AndroidPublisher.v2 - 1.24.0.783 + 1.24.1.783 Google.Apis.AndroidPublisher.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/Google.Apis.AndroidPublisher.v2.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/Google.Apis.AndroidPublisher.v2.csproj index b0e4260803..077cd56778 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/Google.Apis.AndroidPublisher.v2.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/Google.Apis.AndroidPublisher.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/packages.config b/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/NetStandard/project.json b/Src/Generated/Google.Apis.AndroidPublisher.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/Google.Apis.AndroidPublisher.v2.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/Google.Apis.AndroidPublisher.v2.csproj index 00fbe85da1..b183ee4ec0 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/Google.Apis.AndroidPublisher.v2.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/Google.Apis.AndroidPublisher.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/packages.config b/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AndroidPublisher.v2/Properties/AssemblyInfo.cs index 06eda0b2ec..0b1968b86d 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.783")] +[assembly: AssemblyVersion("1.24.1.783")] diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v2/project.json b/Src/Generated/Google.Apis.AndroidPublisher.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v2/project.json +++ b/Src/Generated/Google.Apis.AndroidPublisher.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.cs b/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.cs index c1cbb5bf29..5b0366b6cc 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.cs +++ b/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.nuspec b/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.nuspec index f77ce95750..dac1dcc2d0 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.nuspec +++ b/Src/Generated/Google.Apis.AppState.v1/Google.Apis.AppState.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.AppState.v1 - 1.24.0.812 + 1.24.1.812 Google.Apis.AppState.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.AppState.v1/Net45/Google.Apis.AppState.v1.csproj b/Src/Generated/Google.Apis.AppState.v1/Net45/Google.Apis.AppState.v1.csproj index 55915768e4..2a92728be7 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Net45/Google.Apis.AppState.v1.csproj +++ b/Src/Generated/Google.Apis.AppState.v1/Net45/Google.Apis.AppState.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.AppState.v1/Net45/packages.config b/Src/Generated/Google.Apis.AppState.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.AppState.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AppState.v1/NetStandard/project.json b/Src/Generated/Google.Apis.AppState.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.AppState.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.AppState.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.AppState.v1/Profile259/Google.Apis.AppState.v1.csproj b/Src/Generated/Google.Apis.AppState.v1/Profile259/Google.Apis.AppState.v1.csproj index 0d9d6f10c3..1127e481ab 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Profile259/Google.Apis.AppState.v1.csproj +++ b/Src/Generated/Google.Apis.AppState.v1/Profile259/Google.Apis.AppState.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.AppState.v1/Profile259/packages.config b/Src/Generated/Google.Apis.AppState.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.AppState.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.AppState.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.AppState.v1/Properties/AssemblyInfo.cs index e60beaf056..7591388db1 100644 --- a/Src/Generated/Google.Apis.AppState.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.AppState.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.AppState.v1/project.json b/Src/Generated/Google.Apis.AppState.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.AppState.v1/project.json +++ b/Src/Generated/Google.Apis.AppState.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs index 3fe7c4ee55..8e971f6a51 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs +++ b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.nuspec b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.nuspec index d7fda15bfa..d2ad9d2f85 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.nuspec +++ b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Appengine.v1 - 1.24.0.813 + 1.24.1.813 Google.Apis.Appengine.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1/Net45/Google.Apis.Appengine.v1.csproj b/Src/Generated/Google.Apis.Appengine.v1/Net45/Google.Apis.Appengine.v1.csproj index d278993ab0..4ed0345b1f 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Net45/Google.Apis.Appengine.v1.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1/Net45/Google.Apis.Appengine.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Appengine.v1/Net45/packages.config b/Src/Generated/Google.Apis.Appengine.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Appengine.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1/Profile259/Google.Apis.Appengine.v1.csproj b/Src/Generated/Google.Apis.Appengine.v1/Profile259/Google.Apis.Appengine.v1.csproj index 89f6bc430d..7af8baece4 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Profile259/Google.Apis.Appengine.v1.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1/Profile259/Google.Apis.Appengine.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Appengine.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Appengine.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Appengine.v1/Properties/AssemblyInfo.cs index 9f43d0c48c..3210d447be 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Appengine.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.813")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Appengine.v1/project.json b/Src/Generated/Google.Apis.Appengine.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs index 6fa8a8e75d..56e0126034 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.nuspec b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.nuspec index 8a238dacbf..a8714fc9cb 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.nuspec +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.nuspec @@ -2,7 +2,7 @@ Google.Apis.Appengine.v1alpha - 1.24.0.813 + 1.24.1.813 Google.Apis.Appengine.v1alpha Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/Google.Apis.Appengine.v1alpha.csproj b/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/Google.Apis.Appengine.v1alpha.csproj index d3223fe8d6..4b49f73290 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/Google.Apis.Appengine.v1alpha.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/Google.Apis.Appengine.v1alpha.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/packages.config b/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/NetStandard/project.json b/Src/Generated/Google.Apis.Appengine.v1alpha/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/Google.Apis.Appengine.v1alpha.csproj b/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/Google.Apis.Appengine.v1alpha.csproj index a7eb7bfd95..8fac881d4d 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/Google.Apis.Appengine.v1alpha.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/Google.Apis.Appengine.v1alpha.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/packages.config b/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Appengine.v1alpha/Properties/AssemblyInfo.cs index a565d4cd39..0a62385522 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.813")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/project.json b/Src/Generated/Google.Apis.Appengine.v1alpha/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs index 17d0f50187..675573415a 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.nuspec b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.nuspec index ddb9a5f6bf..e026e02983 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.nuspec +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.nuspec @@ -2,7 +2,7 @@ Google.Apis.Appengine.v1beta - 1.24.0.813 + 1.24.1.813 Google.Apis.Appengine.v1beta Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Net45/Google.Apis.Appengine.v1beta.csproj b/Src/Generated/Google.Apis.Appengine.v1beta/Net45/Google.Apis.Appengine.v1beta.csproj index 50e577c33c..207be61481 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Net45/Google.Apis.Appengine.v1beta.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Net45/Google.Apis.Appengine.v1beta.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Net45/packages.config b/Src/Generated/Google.Apis.Appengine.v1beta/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Net45/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/NetStandard/project.json b/Src/Generated/Google.Apis.Appengine.v1beta/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1beta/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/Google.Apis.Appengine.v1beta.csproj b/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/Google.Apis.Appengine.v1beta.csproj index c1dac22e53..bce251a9bb 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/Google.Apis.Appengine.v1beta.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/Google.Apis.Appengine.v1beta.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/packages.config b/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Appengine.v1beta/Properties/AssemblyInfo.cs index 51efb98e53..40857171d1 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.813")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/project.json b/Src/Generated/Google.Apis.Appengine.v1beta/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1beta/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.cs b/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.cs index 2312e10cd2..7e5097750c 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.nuspec b/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.nuspec index fcd658c7af..0579f77749 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.nuspec +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Google.Apis.Appengine.v1beta4.nuspec @@ -2,7 +2,7 @@ Google.Apis.Appengine.v1beta4 - 1.24.0.813 + 1.24.1.813 Google.Apis.Appengine.v1beta4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/Google.Apis.Appengine.v1beta4.csproj b/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/Google.Apis.Appengine.v1beta4.csproj index cd09a3ead7..258559c9e2 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/Google.Apis.Appengine.v1beta4.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/Google.Apis.Appengine.v1beta4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/packages.config b/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/NetStandard/project.json b/Src/Generated/Google.Apis.Appengine.v1beta4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/Google.Apis.Appengine.v1beta4.csproj b/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/Google.Apis.Appengine.v1beta4.csproj index 8c82f4f9c2..911318ce33 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/Google.Apis.Appengine.v1beta4.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/Google.Apis.Appengine.v1beta4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/packages.config b/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Appengine.v1beta4/Properties/AssemblyInfo.cs index 77245e69a1..c18f351b21 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.813")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Appengine.v1beta4/project.json b/Src/Generated/Google.Apis.Appengine.v1beta4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta4/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1beta4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.cs b/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.cs index 3433b4e55d..606ef9cce0 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.nuspec b/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.nuspec index 245935cdb5..b795df521c 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.nuspec +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Google.Apis.Appengine.v1beta5.nuspec @@ -2,7 +2,7 @@ Google.Apis.Appengine.v1beta5 - 1.24.0.813 + 1.24.1.813 Google.Apis.Appengine.v1beta5 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/Google.Apis.Appengine.v1beta5.csproj b/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/Google.Apis.Appengine.v1beta5.csproj index d6324e54f7..8d0c128cf6 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/Google.Apis.Appengine.v1beta5.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/Google.Apis.Appengine.v1beta5.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/packages.config b/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/NetStandard/project.json b/Src/Generated/Google.Apis.Appengine.v1beta5/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/Google.Apis.Appengine.v1beta5.csproj b/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/Google.Apis.Appengine.v1beta5.csproj index f73dd24e0d..79fc14c669 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/Google.Apis.Appengine.v1beta5.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/Google.Apis.Appengine.v1beta5.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/packages.config b/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Appengine.v1beta5/Properties/AssemblyInfo.cs index e366a6e361..fc8bc867bf 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.813")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Appengine.v1beta5/project.json b/Src/Generated/Google.Apis.Appengine.v1beta5/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta5/project.json +++ b/Src/Generated/Google.Apis.Appengine.v1beta5/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs index f6d0324c67..ac5a87a91f 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.nuspec b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.nuspec index aa8363c9da..3281645f3d 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.nuspec +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Google.Apis.Appsactivity.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Appsactivity.v1 - 1.24.0.776 + 1.24.1.776 Google.Apis.Appsactivity.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Net45/Google.Apis.Appsactivity.v1.csproj b/Src/Generated/Google.Apis.Appsactivity.v1/Net45/Google.Apis.Appsactivity.v1.csproj index b3145027c7..0e596fc7e5 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Net45/Google.Apis.Appsactivity.v1.csproj +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Net45/Google.Apis.Appsactivity.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Net45/packages.config b/Src/Generated/Google.Apis.Appsactivity.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Appsactivity.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Appsactivity.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/Google.Apis.Appsactivity.v1.csproj b/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/Google.Apis.Appsactivity.v1.csproj index 16e0a92358..2d78e79d98 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/Google.Apis.Appsactivity.v1.csproj +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/Google.Apis.Appsactivity.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Appsactivity.v1/Properties/AssemblyInfo.cs index 2883193182..8328717964 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Appsactivity.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.776")] +[assembly: AssemblyVersion("1.24.1.776")] diff --git a/Src/Generated/Google.Apis.Appsactivity.v1/project.json b/Src/Generated/Google.Apis.Appsactivity.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Appsactivity.v1/project.json +++ b/Src/Generated/Google.Apis.Appsactivity.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs index 0265d157f7..418f57cbc2 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.nuspec b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.nuspec index 792bef49d1..51b543d58f 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.nuspec +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Bigquery.v2 - 1.24.0.808 + 1.24.1.808 Google.Apis.Bigquery.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Net45/Google.Apis.Bigquery.v2.csproj b/Src/Generated/Google.Apis.Bigquery.v2/Net45/Google.Apis.Bigquery.v2.csproj index de10cfe603..7688eed9c7 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Net45/Google.Apis.Bigquery.v2.csproj +++ b/Src/Generated/Google.Apis.Bigquery.v2/Net45/Google.Apis.Bigquery.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Net45/packages.config b/Src/Generated/Google.Apis.Bigquery.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Bigquery.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Bigquery.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Bigquery.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Bigquery.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Profile259/Google.Apis.Bigquery.v2.csproj b/Src/Generated/Google.Apis.Bigquery.v2/Profile259/Google.Apis.Bigquery.v2.csproj index 4e9d00dc94..6c1cfb4100 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Profile259/Google.Apis.Bigquery.v2.csproj +++ b/Src/Generated/Google.Apis.Bigquery.v2/Profile259/Google.Apis.Bigquery.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Bigquery.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Bigquery.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Bigquery.v2/Properties/AssemblyInfo.cs index 828f28fded..113ffe29a5 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Bigquery.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.808")] +[assembly: AssemblyVersion("1.24.1.808")] diff --git a/Src/Generated/Google.Apis.Bigquery.v2/project.json b/Src/Generated/Google.Apis.Bigquery.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/project.json +++ b/Src/Generated/Google.Apis.Bigquery.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs index dc0e3ea8e0..a184426c26 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs +++ b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.nuspec b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.nuspec index 52a7ea39f4..7ffe0b7e42 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.nuspec +++ b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Blogger.v2 - 1.24.0.111 + 1.24.1.111 Google.Apis.Blogger.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v2/Net45/Google.Apis.Blogger.v2.csproj b/Src/Generated/Google.Apis.Blogger.v2/Net45/Google.Apis.Blogger.v2.csproj index 77bc993c08..0285c2c696 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Net45/Google.Apis.Blogger.v2.csproj +++ b/Src/Generated/Google.Apis.Blogger.v2/Net45/Google.Apis.Blogger.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Blogger.v2/Net45/packages.config b/Src/Generated/Google.Apis.Blogger.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Blogger.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Blogger.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Blogger.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Blogger.v2/Profile259/Google.Apis.Blogger.v2.csproj b/Src/Generated/Google.Apis.Blogger.v2/Profile259/Google.Apis.Blogger.v2.csproj index 55c7401073..4608a64864 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Profile259/Google.Apis.Blogger.v2.csproj +++ b/Src/Generated/Google.Apis.Blogger.v2/Profile259/Google.Apis.Blogger.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Blogger.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Blogger.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Blogger.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Blogger.v2/Properties/AssemblyInfo.cs index d3bc50271d..cd02373405 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Blogger.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.111")] +[assembly: AssemblyVersion("1.24.1.111")] diff --git a/Src/Generated/Google.Apis.Blogger.v2/project.json b/Src/Generated/Google.Apis.Blogger.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/project.json +++ b/Src/Generated/Google.Apis.Blogger.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs index db83edc1e5..e9699aad84 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs +++ b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.nuspec b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.nuspec index 25d7ed615b..272617cde5 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.nuspec +++ b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Blogger.v3 - 1.24.0.111 + 1.24.1.111 Google.Apis.Blogger.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v3/Net45/Google.Apis.Blogger.v3.csproj b/Src/Generated/Google.Apis.Blogger.v3/Net45/Google.Apis.Blogger.v3.csproj index ef1e94c282..709bfedf89 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Net45/Google.Apis.Blogger.v3.csproj +++ b/Src/Generated/Google.Apis.Blogger.v3/Net45/Google.Apis.Blogger.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Blogger.v3/Net45/packages.config b/Src/Generated/Google.Apis.Blogger.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Blogger.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v3/NetStandard/project.json b/Src/Generated/Google.Apis.Blogger.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Blogger.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Blogger.v3/Profile259/Google.Apis.Blogger.v3.csproj b/Src/Generated/Google.Apis.Blogger.v3/Profile259/Google.Apis.Blogger.v3.csproj index 665442e30b..8948dbc827 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Profile259/Google.Apis.Blogger.v3.csproj +++ b/Src/Generated/Google.Apis.Blogger.v3/Profile259/Google.Apis.Blogger.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Blogger.v3/Profile259/packages.config b/Src/Generated/Google.Apis.Blogger.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Blogger.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Blogger.v3/Properties/AssemblyInfo.cs index e3c2801a7d..fa71126b3e 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Blogger.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.111")] +[assembly: AssemblyVersion("1.24.1.111")] diff --git a/Src/Generated/Google.Apis.Blogger.v3/project.json b/Src/Generated/Google.Apis.Blogger.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/project.json +++ b/Src/Generated/Google.Apis.Blogger.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs index c428f4cdb6..43ba1f0b71 100644 --- a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs +++ b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.nuspec b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.nuspec index b806e9cf1b..50ba4727e2 100644 --- a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.nuspec +++ b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Books.v1 - 1.24.0.802 + 1.24.1.802 Google.Apis.Books.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Books.v1/Net45/Google.Apis.Books.v1.csproj b/Src/Generated/Google.Apis.Books.v1/Net45/Google.Apis.Books.v1.csproj index d62e9770ef..339f4234e7 100644 --- a/Src/Generated/Google.Apis.Books.v1/Net45/Google.Apis.Books.v1.csproj +++ b/Src/Generated/Google.Apis.Books.v1/Net45/Google.Apis.Books.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Books.v1/Net45/packages.config b/Src/Generated/Google.Apis.Books.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Books.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Books.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Books.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Books.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Books.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Books.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Books.v1/Profile259/Google.Apis.Books.v1.csproj b/Src/Generated/Google.Apis.Books.v1/Profile259/Google.Apis.Books.v1.csproj index bef5aa25eb..7f0dad1043 100644 --- a/Src/Generated/Google.Apis.Books.v1/Profile259/Google.Apis.Books.v1.csproj +++ b/Src/Generated/Google.Apis.Books.v1/Profile259/Google.Apis.Books.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Books.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Books.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Books.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Books.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Books.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Books.v1/Properties/AssemblyInfo.cs index c6d92b6b8a..cdd28a5ccf 100644 --- a/Src/Generated/Google.Apis.Books.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Books.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.802")] +[assembly: AssemblyVersion("1.24.1.802")] diff --git a/Src/Generated/Google.Apis.Books.v1/project.json b/Src/Generated/Google.Apis.Books.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Books.v1/project.json +++ b/Src/Generated/Google.Apis.Books.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs index 216ffea2b8..f7be2158c0 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs +++ b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.nuspec b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.nuspec index 5bdb298428..dff31b1278 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.nuspec +++ b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Calendar.v3 - 1.24.0.810 + 1.24.1.810 Google.Apis.Calendar.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Calendar.v3/Net45/Google.Apis.Calendar.v3.csproj b/Src/Generated/Google.Apis.Calendar.v3/Net45/Google.Apis.Calendar.v3.csproj index 3246ab5304..c59597cc5c 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Net45/Google.Apis.Calendar.v3.csproj +++ b/Src/Generated/Google.Apis.Calendar.v3/Net45/Google.Apis.Calendar.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Calendar.v3/Net45/packages.config b/Src/Generated/Google.Apis.Calendar.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Calendar.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Calendar.v3/NetStandard/project.json b/Src/Generated/Google.Apis.Calendar.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Calendar.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Calendar.v3/Profile259/Google.Apis.Calendar.v3.csproj b/Src/Generated/Google.Apis.Calendar.v3/Profile259/Google.Apis.Calendar.v3.csproj index 5547022f8a..701aa566ae 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Profile259/Google.Apis.Calendar.v3.csproj +++ b/Src/Generated/Google.Apis.Calendar.v3/Profile259/Google.Apis.Calendar.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Calendar.v3/Profile259/packages.config b/Src/Generated/Google.Apis.Calendar.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Calendar.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Calendar.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Calendar.v3/Properties/AssemblyInfo.cs index 2d7da4e554..bbe14a5693 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Calendar.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Calendar.v3/project.json b/Src/Generated/Google.Apis.Calendar.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/project.json +++ b/Src/Generated/Google.Apis.Calendar.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs index 21d140889f..47c1d58399 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.nuspec b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.nuspec index c3ecc16625..d872abf587 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.nuspec +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.CivicInfo.v2 - 1.24.0.671 + 1.24.1.671 Google.Apis.CivicInfo.v2 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Net45/Google.Apis.CivicInfo.v2.csproj b/Src/Generated/Google.Apis.CivicInfo.v2/Net45/Google.Apis.CivicInfo.v2.csproj index da53bc4654..8fcd066884 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Net45/Google.Apis.CivicInfo.v2.csproj +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Net45/Google.Apis.CivicInfo.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Net45/packages.config b/Src/Generated/Google.Apis.CivicInfo.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/NetStandard/project.json b/Src/Generated/Google.Apis.CivicInfo.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CivicInfo.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/Google.Apis.CivicInfo.v2.csproj b/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/Google.Apis.CivicInfo.v2.csproj index 0f724a2322..a6eea5a6fd 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/Google.Apis.CivicInfo.v2.csproj +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/Google.Apis.CivicInfo.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/packages.config b/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CivicInfo.v2/Properties/AssemblyInfo.cs index 0143a2b219..4cf639ca8f 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.671")] +[assembly: AssemblyVersion("1.24.1.671")] diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/project.json b/Src/Generated/Google.Apis.CivicInfo.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/project.json +++ b/Src/Generated/Google.Apis.CivicInfo.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs index 1a9bfbac34..6f32b0e7f4 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs +++ b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.nuspec b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.nuspec index 23ec6ac0d8..90f4f914f9 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.nuspec +++ b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Classroom.v1 - 1.24.0.816 + 1.24.1.816 Google.Apis.Classroom.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Classroom.v1/Net45/Google.Apis.Classroom.v1.csproj b/Src/Generated/Google.Apis.Classroom.v1/Net45/Google.Apis.Classroom.v1.csproj index ee003f62c3..58e34b90c7 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Net45/Google.Apis.Classroom.v1.csproj +++ b/Src/Generated/Google.Apis.Classroom.v1/Net45/Google.Apis.Classroom.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Classroom.v1/Net45/packages.config b/Src/Generated/Google.Apis.Classroom.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Classroom.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Classroom.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Classroom.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Classroom.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Classroom.v1/Profile259/Google.Apis.Classroom.v1.csproj b/Src/Generated/Google.Apis.Classroom.v1/Profile259/Google.Apis.Classroom.v1.csproj index 16e510afe9..a997d59979 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Profile259/Google.Apis.Classroom.v1.csproj +++ b/Src/Generated/Google.Apis.Classroom.v1/Profile259/Google.Apis.Classroom.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Classroom.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Classroom.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Classroom.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Classroom.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Classroom.v1/Properties/AssemblyInfo.cs index be9c839ba3..68fb4ca360 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Classroom.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.Classroom.v1/project.json b/Src/Generated/Google.Apis.Classroom.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/project.json +++ b/Src/Generated/Google.Apis.Classroom.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs index 7441d4f4a6..055b9a9e5a 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -536,10 +536,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// The standard list page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// The standard list filter. [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } @@ -548,6 +544,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -582,27 +582,27 @@ protected override void InitParameters() Pattern = @"^operations$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -921,6 +921,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectId { get; private set; } + /// Token to provide to skip to a particular spot in the list. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + /// Number of results to return in the list. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } @@ -929,10 +933,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } - /// Token to provide to skip to a particular spot in the list. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - ///Gets the method name. public override string MethodName @@ -967,27 +967,27 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.nuspec b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.nuspec index a51c1b7794..5169e76343 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudBuild.v1 - 1.24.0.818 + 1.24.1.818 Google.Apis.CloudBuild.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Net45/Google.Apis.CloudBuild.v1.csproj b/Src/Generated/Google.Apis.CloudBuild.v1/Net45/Google.Apis.CloudBuild.v1.csproj index 667acea262..d108c18f76 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Net45/Google.Apis.CloudBuild.v1.csproj +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Net45/Google.Apis.CloudBuild.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudBuild.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudBuild.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudBuild.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/Google.Apis.CloudBuild.v1.csproj b/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/Google.Apis.CloudBuild.v1.csproj index fc170a4f26..3a87e6647e 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/Google.Apis.CloudBuild.v1.csproj +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/Google.Apis.CloudBuild.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudBuild.v1/Properties/AssemblyInfo.cs index 19511f2758..1c55967259 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/project.json b/Src/Generated/Google.Apis.CloudBuild.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/project.json +++ b/Src/Generated/Google.Apis.CloudBuild.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/Google.Apis.CloudDebugger.v2.csproj b/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/Google.Apis.CloudDebugger.v2.csproj index b0a26e80eb..a5971ed684 100644 --- a/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/Google.Apis.CloudDebugger.v2.csproj +++ b/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/Google.Apis.CloudDebugger.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/packages.config b/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudDebugger.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudDebugger.v2/NetStandard/project.json b/Src/Generated/Google.Apis.CloudDebugger.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudDebugger.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudDebugger.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudDebugger.v2/project.json b/Src/Generated/Google.Apis.CloudDebugger.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudDebugger.v2/project.json +++ b/Src/Generated/Google.Apis.CloudDebugger.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs index f395e54ee0..060eef3828 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.nuspec b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.nuspec index 70e8a9e4eb..0e96620cf0 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudFunctions.v1 - 1.24.0.817 + 1.24.1.817 Google.Apis.CloudFunctions.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/Google.Apis.CloudFunctions.v1.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/Google.Apis.CloudFunctions.v1.csproj index 1fd561dece..e2bb448c0d 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/Google.Apis.CloudFunctions.v1.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/Google.Apis.CloudFunctions.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudFunctions.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/Google.Apis.CloudFunctions.v1.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/Google.Apis.CloudFunctions.v1.csproj index 2ee1bdfc8e..a2ade1a170 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/Google.Apis.CloudFunctions.v1.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/Google.Apis.CloudFunctions.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudFunctions.v1/Properties/AssemblyInfo.cs index a773bceedb..88f0288eae 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/project.json b/Src/Generated/Google.Apis.CloudFunctions.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/project.json +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs index d24a92cdff..bd85b4ae50 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -452,6 +452,10 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + /// The standard list filter. [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } @@ -464,10 +468,6 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// The standard list page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - ///Gets the method name. public override string MethodName @@ -493,36 +493,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "name", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "name", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "name", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.nuspec b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.nuspec index 19b6d41c13..0c045461e2 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Google.Apis.CloudFunctions.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudFunctions.v1beta2 - 1.24.0.817 + 1.24.1.817 Google.Apis.CloudFunctions.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/Google.Apis.CloudFunctions.v1beta2.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/Google.Apis.CloudFunctions.v1beta2.csproj index 4bb2374a7f..744852b501 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/Google.Apis.CloudFunctions.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/Google.Apis.CloudFunctions.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/Google.Apis.CloudFunctions.v1beta2.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/Google.Apis.CloudFunctions.v1beta2.csproj index f9e0183bff..bc5e9084dd 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/Google.Apis.CloudFunctions.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/Google.Apis.CloudFunctions.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Properties/AssemblyInfo.cs index d7af86b3f6..8b10cd4033 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/project.json b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1beta2/project.json +++ b/Src/Generated/Google.Apis.CloudFunctions.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs index 6a2576e464..4679e51465 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -694,6 +694,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } + /// Optional pagination token, returned earlier via + /// ListCryptoKeyVersionsResponse.next_page_token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + /// Optional limit on the number of CryptoKeyVersions to include in the response. /// Further CryptoKeyVersions can subsequently be obtained by including the /// ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. If unspecified, @@ -701,11 +706,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// Optional pagination token, returned earlier via - /// ListCryptoKeyVersionsResponse.next_page_token. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - ///Gets the method name. public override string MethodName @@ -740,18 +740,18 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2207,10 +2207,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// The standard list filter. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - /// The standard list page token. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -2219,6 +2215,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + ///Gets the method name. public override string MethodName @@ -2253,27 +2253,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.nuspec b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.nuspec index 0b971d30d6..90a417fc9a 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudKMS.v1 - 1.24.0.809 + 1.24.1.809 Google.Apis.CloudKMS.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Net45/Google.Apis.CloudKMS.v1.csproj b/Src/Generated/Google.Apis.CloudKMS.v1/Net45/Google.Apis.CloudKMS.v1.csproj index c086dc4f6b..ec13b875e9 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Net45/Google.Apis.CloudKMS.v1.csproj +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Net45/Google.Apis.CloudKMS.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudKMS.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudKMS.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudKMS.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/Google.Apis.CloudKMS.v1.csproj b/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/Google.Apis.CloudKMS.v1.csproj index c6b68feee8..519d12164b 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/Google.Apis.CloudKMS.v1.csproj +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/Google.Apis.CloudKMS.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudKMS.v1/Properties/AssemblyInfo.cs index 9ceb9ad9d4..e04f29be14 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/project.json b/Src/Generated/Google.Apis.CloudKMS.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/project.json +++ b/Src/Generated/Google.Apis.CloudKMS.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs index c08d4b88d7..dfcfff442b 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -617,6 +617,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } + /// Optional. Specifies the subset of jobs to retrieve. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + /// Optional. A page token to request the next page of results. /// /// You get the token from the `next_page_token` field of the response from the previous call. @@ -631,10 +635,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// Optional. Specifies the subset of jobs to retrieve. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - ///Gets the method name. public override string MethodName @@ -669,27 +669,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.nuspec b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.nuspec index aef15ff3da..01690df8a6 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudMachineLearningEngine.v1 - 1.24.0.816 + 1.24.1.816 Google.Apis.CloudMachineLearningEngine.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/Google.Apis.CloudMachineLearningEngine.v1.csproj b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/Google.Apis.CloudMachineLearningEngine.v1.csproj index 8bdafc5dcf..2a102620d6 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/Google.Apis.CloudMachineLearningEngine.v1.csproj +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/Google.Apis.CloudMachineLearningEngine.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/Google.Apis.CloudMachineLearningEngine.v1.csproj b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/Google.Apis.CloudMachineLearningEngine.v1.csproj index 29b324334d..49ff4bb304 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/Google.Apis.CloudMachineLearningEngine.v1.csproj +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/Google.Apis.CloudMachineLearningEngine.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Properties/AssemblyInfo.cs index 90b6da22a0..e5bc792c29 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/project.json b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/project.json +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.cs b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.cs index 82240192a6..a8e303584b 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1015,6 +1015,13 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } + /// Optional. A page token to request the next page of results. + /// + /// You get the token from the `next_page_token` field of the response from the previous + /// call. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + /// Optional. The number of versions to retrieve per "page" of results. If there are more /// remaining results than this number, the response message will contain a valid value in the /// `next_page_token` field. @@ -1023,13 +1030,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// Optional. A page token to request the next page of results. - /// - /// You get the token from the `next_page_token` field of the response from the previous - /// call. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - ///Gets the method name. public override string MethodName @@ -1064,18 +1064,18 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+/models/[^/]+$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1423,12 +1423,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Optional. A page token to request the next page of results. - /// - /// You get the token from the `next_page_token` field of the response from the previous call. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - /// Optional. The number of models to retrieve per "page" of results. If there are more /// remaining results than this number, the response message will contain a valid value in the /// `next_page_token` field. @@ -1437,6 +1431,12 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// Optional. A page token to request the next page of results. + /// + /// You get the token from the `next_page_token` field of the response from the previous call. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -1471,18 +1471,18 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1743,10 +1743,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// The standard list page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// The standard list filter. [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } @@ -1755,6 +1751,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -1789,27 +1789,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.nuspec b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.nuspec index 831bcbeece..070bf79a1f 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Google.Apis.CloudMachineLearningEngine.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudMachineLearningEngine.v1beta1 - 1.24.0.816 + 1.24.1.816 Google.Apis.CloudMachineLearningEngine.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj index cd96321f12..b645cd32dc 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj index e0b56802ae..1a4fa0133b 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/Google.Apis.CloudMachineLearningEngine.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Properties/AssemblyInfo.cs index 2145568764..1c7a2ee074 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/project.json b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/project.json +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.cs b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.cs index 53699ad7fe..64b7371be0 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.cs +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.nuspec b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.nuspec index 9752e84e01..46bc3ec343 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.nuspec +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Google.Apis.CloudMonitoring.v2beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudMonitoring.v2beta2 - 1.24.0.812 + 1.24.1.812 Google.Apis.CloudMonitoring.v2beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/Google.Apis.CloudMonitoring.v2beta2.csproj b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/Google.Apis.CloudMonitoring.v2beta2.csproj index 2aa2f4a2ac..bcaa0a3abd 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/Google.Apis.CloudMonitoring.v2beta2.csproj +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/Google.Apis.CloudMonitoring.v2beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/packages.config b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/NetStandard/project.json b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/Google.Apis.CloudMonitoring.v2beta2.csproj b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/Google.Apis.CloudMonitoring.v2beta2.csproj index cfe293c6bb..8b346ce0e1 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/Google.Apis.CloudMonitoring.v2beta2.csproj +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/Google.Apis.CloudMonitoring.v2beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/packages.config b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Properties/AssemblyInfo.cs index 784cee76e2..3d887547a4 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/project.json b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/project.json +++ b/Src/Generated/Google.Apis.CloudMonitoring.v2beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs index 32e7b5bb73..f27d262b15 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.nuspec b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.nuspec index 884b5e3031..cbfe169d89 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudNaturalLanguage.v1 - 1.24.0.809 + 1.24.1.809 Google.Apis.CloudNaturalLanguage.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/Google.Apis.CloudNaturalLanguage.v1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/Google.Apis.CloudNaturalLanguage.v1.csproj index e968fb49d4..b3b31128fb 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/Google.Apis.CloudNaturalLanguage.v1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/Google.Apis.CloudNaturalLanguage.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/Google.Apis.CloudNaturalLanguage.v1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/Google.Apis.CloudNaturalLanguage.v1.csproj index 7493e1bad7..740fa6ca71 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/Google.Apis.CloudNaturalLanguage.v1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/Google.Apis.CloudNaturalLanguage.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Properties/AssemblyInfo.cs index 7c61e04aea..076577ae33 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/project.json b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/project.json +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs index 93e2f31b7d..aa43acd7f9 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.nuspec b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.nuspec index 7914b444a1..af55c1e955 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Google.Apis.CloudNaturalLanguage.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudNaturalLanguage.v1beta1 - 1.24.0.809 + 1.24.1.809 Google.Apis.CloudNaturalLanguage.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/Google.Apis.CloudNaturalLanguage.v1beta1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/Google.Apis.CloudNaturalLanguage.v1beta1.csproj index 13a1a84096..ab57807dc0 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/Google.Apis.CloudNaturalLanguage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/Google.Apis.CloudNaturalLanguage.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/Google.Apis.CloudNaturalLanguage.v1beta1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/Google.Apis.CloudNaturalLanguage.v1beta1.csproj index 692df853ec..155a2e1231 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/Google.Apis.CloudNaturalLanguage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/Google.Apis.CloudNaturalLanguage.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Properties/AssemblyInfo.cs index 3a293b0e8e..2678c2fc18 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/project.json b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/project.json +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/Google.Apis.CloudResourceManager.v1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/Google.Apis.CloudResourceManager.v1.csproj index 8cfe299468..f0aa8223da 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/Google.Apis.CloudResourceManager.v1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/Google.Apis.CloudResourceManager.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudResourceManager.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/project.json b/Src/Generated/Google.Apis.CloudResourceManager.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/project.json +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/Google.Apis.CloudResourceManager.v1beta1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/Google.Apis.CloudResourceManager.v1beta1.csproj index 2c18d01fb0..8591275045 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/Google.Apis.CloudResourceManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/Google.Apis.CloudResourceManager.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/project.json b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/project.json +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs index f835b5fbbf..b110215fd0 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -532,6 +532,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + /// The standard list page token. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -540,10 +544,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// The standard list filter. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - ///Gets the method name. public override string MethodName @@ -578,27 +578,27 @@ protected override void InitParameters() Pattern = @"^operations$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.nuspec b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.nuspec index 3d18349cf0..7b761fba08 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudRuntimeConfig.v1 - 1.24.0.816 + 1.24.1.816 Google.Apis.CloudRuntimeConfig.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/Google.Apis.CloudRuntimeConfig.v1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/Google.Apis.CloudRuntimeConfig.v1.csproj index 31717600ef..4cbfa42105 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/Google.Apis.CloudRuntimeConfig.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/Google.Apis.CloudRuntimeConfig.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/Google.Apis.CloudRuntimeConfig.v1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/Google.Apis.CloudRuntimeConfig.v1.csproj index 1ba3f4b900..2bd99da438 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/Google.Apis.CloudRuntimeConfig.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/Google.Apis.CloudRuntimeConfig.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Properties/AssemblyInfo.cs index e58e2d8047..f908d1c533 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/project.json b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/project.json +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs index 28c483a117..d53cfe8956 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -858,6 +858,12 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } + /// Filters variables by matching the specified filter. For example: + /// + /// `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + /// Specifies a page token to use. Set `pageToken` to a `nextPageToken` returned by a /// previous list request to get the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] @@ -874,12 +880,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// Filters variables by matching the specified filter. For example: - /// - /// `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - ///Gets the method name. public override string MethodName @@ -914,36 +914,36 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+/configs/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "returnValues", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "returnValues", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "returnValues", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "returnValues", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1927,16 +1927,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Specifies a page token to use. Set `pageToken` to a `nextPageToken` returned by a previous - /// list request to get the next page of results. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - /// Specifies the number of results to return per page. If there are fewer elements than the /// specified number, returns all elements. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// Specifies a page token to use. Set `pageToken` to a `nextPageToken` returned by a previous + /// list request to get the next page of results. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -1971,18 +1971,18 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.nuspec b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.nuspec index b7dfebe547..e916038817 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudRuntimeConfig.v1beta1 - 1.24.0.816 + 1.24.1.816 Google.Apis.CloudRuntimeConfig.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/Google.Apis.CloudRuntimeConfig.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/Google.Apis.CloudRuntimeConfig.v1beta1.csproj index d63a69dcc1..eee84fc7a9 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/Google.Apis.CloudRuntimeConfig.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/Google.Apis.CloudRuntimeConfig.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/Google.Apis.CloudRuntimeConfig.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/Google.Apis.CloudRuntimeConfig.v1beta1.csproj index 14ad1dab2a..1b79f6b2da 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/Google.Apis.CloudRuntimeConfig.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/Google.Apis.CloudRuntimeConfig.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Properties/AssemblyInfo.cs index fc201f06c9..7d8dc5488a 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/project.json b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/project.json +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs index af8aabb935..eb211e85b8 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -26,7 +26,7 @@ * API * Cloud Source Repositories API * API Versionv1 - * API Rev20170321 (810) + * API Rev20170327 (816) * API Docs * * https://cloud.google.com/eap/cloud-repositories/cloud-sourcerepo-api diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.nuspec b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.nuspec index c771a33158..cab6290452 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.nuspec +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudSourceRepositories.v1 - 1.24.0.810 + 1.24.1.816 Google.Apis.CloudSourceRepositories.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/Google.Apis.CloudSourceRepositories.v1.csproj b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/Google.Apis.CloudSourceRepositories.v1.csproj index 6ed1deff66..9fa4b52b7a 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/Google.Apis.CloudSourceRepositories.v1.csproj +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/Google.Apis.CloudSourceRepositories.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/Google.Apis.CloudSourceRepositories.v1.csproj b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/Google.Apis.CloudSourceRepositories.v1.csproj index 45e74f99e4..62a207ee59 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/Google.Apis.CloudSourceRepositories.v1.csproj +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/Google.Apis.CloudSourceRepositories.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/packages.config b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Properties/AssemblyInfo.cs index 0f31b52e21..b204bdc784 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/project.json b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/project.json +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudTrace.v1/Net45/Google.Apis.CloudTrace.v1.csproj b/Src/Generated/Google.Apis.CloudTrace.v1/Net45/Google.Apis.CloudTrace.v1.csproj index 4c71dde114..638c831650 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v1/Net45/Google.Apis.CloudTrace.v1.csproj +++ b/Src/Generated/Google.Apis.CloudTrace.v1/Net45/Google.Apis.CloudTrace.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudTrace.v1/Net45/packages.config b/Src/Generated/Google.Apis.CloudTrace.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudTrace.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudTrace.v1/NetStandard/project.json b/Src/Generated/Google.Apis.CloudTrace.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudTrace.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudTrace.v1/project.json b/Src/Generated/Google.Apis.CloudTrace.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v1/project.json +++ b/Src/Generated/Google.Apis.CloudTrace.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.cs b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.cs index a5c66e891d..e08440f5b6 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.nuspec b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.nuspec index 7c137d146e..3e7a76b5d1 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.nuspec +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Google.Apis.CloudUserAccounts.alpha.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudUserAccounts.alpha - 1.24.0.440 + 1.24.1.440 Google.Apis.CloudUserAccounts.alpha Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/Google.Apis.CloudUserAccounts.alpha.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/Google.Apis.CloudUserAccounts.alpha.csproj index 93ff7810d5..88db765038 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/Google.Apis.CloudUserAccounts.alpha.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/Google.Apis.CloudUserAccounts.alpha.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/NetStandard/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/Google.Apis.CloudUserAccounts.alpha.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/Google.Apis.CloudUserAccounts.alpha.csproj index 8b51d3567b..7e35d7dd4d 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/Google.Apis.CloudUserAccounts.alpha.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/Google.Apis.CloudUserAccounts.alpha.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Properties/AssemblyInfo.cs index 96335a6170..7fb78161cc 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.440")] +[assembly: AssemblyVersion("1.24.1.440")] diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.alpha/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.alpha/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.cs b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.cs index a46093e672..173aea00ab 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.nuspec b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.nuspec index d1d2bb40c1..bcea85593c 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.nuspec +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Google.Apis.CloudUserAccounts.beta.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudUserAccounts.beta - 1.24.0.440 + 1.24.1.440 Google.Apis.CloudUserAccounts.beta Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/Google.Apis.CloudUserAccounts.beta.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/Google.Apis.CloudUserAccounts.beta.csproj index be9414a17c..898a1d51ad 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/Google.Apis.CloudUserAccounts.beta.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/Google.Apis.CloudUserAccounts.beta.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/NetStandard/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.beta/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/Google.Apis.CloudUserAccounts.beta.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/Google.Apis.CloudUserAccounts.beta.csproj index 1b4c9ace51..7db70bd71b 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/Google.Apis.CloudUserAccounts.beta.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/Google.Apis.CloudUserAccounts.beta.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Properties/AssemblyInfo.cs index 7ed2331098..81776083c7 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.440")] +[assembly: AssemblyVersion("1.24.1.440")] diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.beta/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.beta/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.beta/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.beta/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.cs b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.cs index d67aa6ab37..45484ee6cc 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.nuspec b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.nuspec index b96564cdce..a9133a5673 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.nuspec +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Google.Apis.CloudUserAccounts.vm_alpha.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudUserAccounts.vm_alpha - 1.24.0.440 + 1.24.1.440 Google.Apis.CloudUserAccounts.vm_alpha Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/Google.Apis.CloudUserAccounts.vm_alpha.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/Google.Apis.CloudUserAccounts.vm_alpha.csproj index 4d0d814fc9..fcc618aab3 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/Google.Apis.CloudUserAccounts.vm_alpha.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/Google.Apis.CloudUserAccounts.vm_alpha.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/NetStandard/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/Google.Apis.CloudUserAccounts.vm_alpha.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/Google.Apis.CloudUserAccounts.vm_alpha.csproj index 8212fbc0c4..a2557e3838 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/Google.Apis.CloudUserAccounts.vm_alpha.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/Google.Apis.CloudUserAccounts.vm_alpha.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Properties/AssemblyInfo.cs index 09f855e9f1..4adce14997 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.440")] +[assembly: AssemblyVersion("1.24.1.440")] diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_alpha/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.cs b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.cs index e73421ece7..3b41e9ac80 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.nuspec b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.nuspec index e7da7a3360..a29b4b35e4 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.nuspec +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Google.Apis.CloudUserAccounts.vm_beta.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudUserAccounts.vm_beta - 1.24.0.440 + 1.24.1.440 Google.Apis.CloudUserAccounts.vm_beta Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/Google.Apis.CloudUserAccounts.vm_beta.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/Google.Apis.CloudUserAccounts.vm_beta.csproj index fe62d33ad3..53baf1ec66 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/Google.Apis.CloudUserAccounts.vm_beta.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/Google.Apis.CloudUserAccounts.vm_beta.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/NetStandard/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/NetStandard/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/Google.Apis.CloudUserAccounts.vm_beta.csproj b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/Google.Apis.CloudUserAccounts.vm_beta.csproj index 7fa38441df..4da7bf2dc2 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/Google.Apis.CloudUserAccounts.vm_beta.csproj +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/Google.Apis.CloudUserAccounts.vm_beta.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/packages.config b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/packages.config +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Properties/AssemblyInfo.cs index 522b23e4e6..9b614a218e 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.440")] +[assembly: AssemblyVersion("1.24.1.440")] diff --git a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/project.json b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/project.json +++ b/Src/Generated/Google.Apis.CloudUserAccounts.vm_beta/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs index 995ffe9e37..2cf8e6c876 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.nuspec b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.nuspec index 965550cecd..f9f4f56de8 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.nuspec +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Cloudbilling.v1 - 1.24.0.771 + 1.24.1.771 Google.Apis.Cloudbilling.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/Google.Apis.Cloudbilling.v1.csproj b/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/Google.Apis.Cloudbilling.v1.csproj index 2e298548b7..a0b8623f58 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/Google.Apis.Cloudbilling.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/Google.Apis.Cloudbilling.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/packages.config b/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Cloudbilling.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/Google.Apis.Cloudbilling.v1.csproj b/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/Google.Apis.Cloudbilling.v1.csproj index 11771751d8..054989b308 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/Google.Apis.Cloudbilling.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/Google.Apis.Cloudbilling.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Cloudbilling.v1/Properties/AssemblyInfo.cs index e389cccdfe..9745c55854 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.771")] +[assembly: AssemblyVersion("1.24.1.771")] diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/project.json b/Src/Generated/Google.Apis.Cloudbilling.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/project.json +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.cs b/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.cs index 8206a3a88d..d07faeb25c 100644 --- a/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.cs +++ b/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -991,16 +991,16 @@ public enum ActionValueEnum LOG, } - /// When set to `true`, the response includes active and inactive breakpoints. Otherwise, - /// it includes only active breakpoints. - [Google.Apis.Util.RequestParameterAttribute("includeInactive", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable IncludeInactive { get; set; } - /// When set to `true`, the response includes the list of breakpoints set by any user. /// Otherwise, it includes only breakpoints set by the caller. [Google.Apis.Util.RequestParameterAttribute("includeAllUsers", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable IncludeAllUsers { get; set; } + /// When set to `true`, the response includes active and inactive breakpoints. Otherwise, + /// it includes only active breakpoints. + [Google.Apis.Util.RequestParameterAttribute("includeInactive", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IncludeInactive { get; set; } + ///Gets the method name. public override string MethodName @@ -1071,18 +1071,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "includeInactive", new Google.Apis.Discovery.Parameter + "includeAllUsers", new Google.Apis.Discovery.Parameter { - Name = "includeInactive", + Name = "includeAllUsers", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "includeAllUsers", new Google.Apis.Discovery.Parameter + "includeInactive", new Google.Apis.Discovery.Parameter { - Name = "includeAllUsers", + Name = "includeInactive", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1192,11 +1192,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// The client version making the call. Following: `domain/type/version` (e.g., - /// `google.com/intellij/v1`). - [Google.Apis.Util.RequestParameterAttribute("clientVersion", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ClientVersion { get; set; } - /// When set to `true`, the result includes all debuggees. Otherwise, the result includes only /// debuggees that are active. [Google.Apis.Util.RequestParameterAttribute("includeInactive", Google.Apis.Util.RequestParameterType.Query)] @@ -1206,6 +1201,11 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Query)] public virtual string Project { get; set; } + /// The client version making the call. Following: `domain/type/version` (e.g., + /// `google.com/intellij/v1`). + [Google.Apis.Util.RequestParameterAttribute("clientVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ClientVersion { get; set; } + ///Gets the method name. public override string MethodName @@ -1231,27 +1231,27 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "clientVersion", new Google.Apis.Discovery.Parameter + "includeInactive", new Google.Apis.Discovery.Parameter { - Name = "clientVersion", + Name = "includeInactive", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "includeInactive", new Google.Apis.Discovery.Parameter + "project", new Google.Apis.Discovery.Parameter { - Name = "includeInactive", + Name = "project", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "project", new Google.Apis.Discovery.Parameter + "clientVersion", new Google.Apis.Discovery.Parameter { - Name = "project", + Name = "clientVersion", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.nuspec b/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.nuspec index e9cbf2e5a3..6f4eab4c05 100644 --- a/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.nuspec +++ b/Src/Generated/Google.Apis.Clouddebugger.v2/Google.Apis.Clouddebugger.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudDebugger.v2 - 1.24.0.811 + 1.24.1.811 Google.Apis.CloudDebugger.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/Google.Apis.Clouddebugger.v2.csproj b/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/Google.Apis.Clouddebugger.v2.csproj index 86ab6d4cd9..b60309ef76 100644 --- a/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/Google.Apis.Clouddebugger.v2.csproj +++ b/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/Google.Apis.Clouddebugger.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Clouddebugger.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Clouddebugger.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Clouddebugger.v2/Properties/AssemblyInfo.cs index 6e74112b38..0e6bce1e07 100644 --- a/Src/Generated/Google.Apis.Clouddebugger.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Clouddebugger.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.811")] +[assembly: AssemblyVersion("1.24.1.811")] diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs index b381ab1c20..2ce80d7ff6 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -409,6 +409,28 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectNa [Google.Apis.Util.RequestParameterAttribute("projectName", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectName { get; private set; } + /// [Required] The group for which events shall be returned. + [Google.Apis.Util.RequestParameterAttribute("groupId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string GroupId { get; set; } + + /// [Optional] The exact value to match against [`ServiceContext.service`](/error- + /// reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + [Google.Apis.Util.RequestParameterAttribute("serviceFilter.service", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ServiceFilterService { get; set; } + + /// [Optional] A `next_page_token` provided by a previous response. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// [Optional] The maximum number of results to return per response. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// [Optional] The exact value to match against [`ServiceContext.version`](/error- + /// reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + [Google.Apis.Util.RequestParameterAttribute("serviceFilter.version", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ServiceFilterVersion { get; set; } + /// [Optional] The exact value to match against [`ServiceContext.resource_type`](/error- /// reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). [Google.Apis.Util.RequestParameterAttribute("serviceFilter.resourceType", Google.Apis.Util.RequestParameterType.Query)] @@ -435,28 +457,6 @@ public enum TimeRangePeriodEnum PERIOD30DAYS, } - /// [Required] The group for which events shall be returned. - [Google.Apis.Util.RequestParameterAttribute("groupId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string GroupId { get; set; } - - /// [Optional] The exact value to match against [`ServiceContext.service`](/error- - /// reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). - [Google.Apis.Util.RequestParameterAttribute("serviceFilter.service", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ServiceFilterService { get; set; } - - /// [Optional] A `next_page_token` provided by a previous response. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// [Optional] The maximum number of results to return per response. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// [Optional] The exact value to match against [`ServiceContext.version`](/error- - /// reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). - [Google.Apis.Util.RequestParameterAttribute("serviceFilter.version", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ServiceFilterVersion { get; set; } - ///Gets the method name. public override string MethodName @@ -491,63 +491,63 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "serviceFilter.resourceType", new Google.Apis.Discovery.Parameter + "groupId", new Google.Apis.Discovery.Parameter { - Name = "serviceFilter.resourceType", + Name = "groupId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "timeRange.period", new Google.Apis.Discovery.Parameter + "serviceFilter.service", new Google.Apis.Discovery.Parameter { - Name = "timeRange.period", + Name = "serviceFilter.service", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "groupId", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "groupId", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "serviceFilter.service", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "serviceFilter.service", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "serviceFilter.version", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "serviceFilter.version", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "serviceFilter.resourceType", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "serviceFilter.resourceType", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "serviceFilter.version", new Google.Apis.Discovery.Parameter + "timeRange.period", new Google.Apis.Discovery.Parameter { - Name = "serviceFilter.version", + Name = "timeRange.period", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -692,6 +692,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectNa [Google.Apis.Util.RequestParameterAttribute("projectName", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectName { get; private set; } + /// [Optional] The preferred duration for a single returned `TimedCount`. If not set, no timed + /// counts are returned. + [Google.Apis.Util.RequestParameterAttribute("timedCountDuration", Google.Apis.Util.RequestParameterType.Query)] + public virtual object TimedCountDuration { get; set; } + /// [Optional] A `next_page_token` provided by a previous response. To view additional results, /// pass this token along with the identical query parameters as the first request. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] @@ -774,20 +779,15 @@ public enum OrderEnum [Google.Apis.Util.RequestParameterAttribute("serviceFilter.version", Google.Apis.Util.RequestParameterType.Query)] public virtual string ServiceFilterVersion { get; set; } - /// [Optional] Time where the timed counts shall be aligned if rounded alignment is chosen. - /// Default is 00:00 UTC. - [Google.Apis.Util.RequestParameterAttribute("alignmentTime", Google.Apis.Util.RequestParameterType.Query)] - public virtual object AlignmentTime { get; set; } - /// [Optional] The exact value to match against [`ServiceContext.resource_type`](/error- /// reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). [Google.Apis.Util.RequestParameterAttribute("serviceFilter.resourceType", Google.Apis.Util.RequestParameterType.Query)] public virtual string ServiceFilterResourceType { get; set; } - /// [Optional] The preferred duration for a single returned `TimedCount`. If not set, no timed - /// counts are returned. - [Google.Apis.Util.RequestParameterAttribute("timedCountDuration", Google.Apis.Util.RequestParameterType.Query)] - public virtual object TimedCountDuration { get; set; } + /// [Optional] Time where the timed counts shall be aligned if rounded alignment is chosen. + /// Default is 00:00 UTC. + [Google.Apis.Util.RequestParameterAttribute("alignmentTime", Google.Apis.Util.RequestParameterType.Query)] + public virtual object AlignmentTime { get; set; } ///Gets the method name. @@ -822,6 +822,15 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+$", }); + RequestParameters.Add( + "timedCountDuration", new Google.Apis.Discovery.Parameter + { + Name = "timedCountDuration", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add( "pageToken", new Google.Apis.Discovery.Parameter { @@ -894,15 +903,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add( - "alignmentTime", new Google.Apis.Discovery.Parameter - { - Name = "alignmentTime", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); RequestParameters.Add( "serviceFilter.resourceType", new Google.Apis.Discovery.Parameter { @@ -913,9 +913,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "timedCountDuration", new Google.Apis.Discovery.Parameter + "alignmentTime", new Google.Apis.Discovery.Parameter { - Name = "timedCountDuration", + Name = "alignmentTime", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.nuspec b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.nuspec index 8cf185e94a..74f7d98c01 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Clouderrorreporting.v1beta1 - 1.24.0.803 + 1.24.1.803 Google.Apis.Clouderrorreporting.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/Google.Apis.Clouderrorreporting.v1beta1.csproj b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/Google.Apis.Clouderrorreporting.v1beta1.csproj index e1796fe979..f4f4d1d79e 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/Google.Apis.Clouderrorreporting.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/Google.Apis.Clouderrorreporting.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/Google.Apis.Clouderrorreporting.v1beta1.csproj b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/Google.Apis.Clouderrorreporting.v1beta1.csproj index ec993cd18a..25c797d1c3 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/Google.Apis.Clouderrorreporting.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/Google.Apis.Clouderrorreporting.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Properties/AssemblyInfo.cs index 4bc03a8983..655ead8b9c 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.803")] +[assembly: AssemblyVersion("1.24.1.803")] diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/project.json b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.cs b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.cs index f294b182f4..66277820cd 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.cs +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1280,10 +1280,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// The name of the resource to list all attached Liens. For example, `projects/1234`. - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Parent { get; set; } - /// The `next_page_token` value returned from a previous List request, if any. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1292,6 +1288,10 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// The name of the resource to list all attached Liens. For example, `projects/1234`. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Parent { get; set; } + ///Gets the method name. public override string MethodName @@ -1317,27 +1317,27 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "parent", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "parent", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "parent", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "parent", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.nuspec b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.nuspec index 7c3f28bdfc..67ec2a63e8 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.nuspec +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Google.Apis.Cloudresourcemanager.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudResourceManager.v1 - 1.24.0.816 + 1.24.1.816 Google.Apis.CloudResourceManager.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/Google.Apis.CloudResourceManager.v1.csproj b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/Google.Apis.CloudResourceManager.v1.csproj index 4bbe76826f..0002fe4429 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/Google.Apis.CloudResourceManager.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/Google.Apis.CloudResourceManager.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Properties/AssemblyInfo.cs index 544c15fc37..70900edb7f 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.cs b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.cs index 073cdf1237..a872ef363a 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.cs +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.nuspec b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.nuspec index ee12dcced6..873b800e05 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Google.Apis.Cloudresourcemanager.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudResourceManager.v1beta1 - 1.24.0.816 + 1.24.1.816 Google.Apis.CloudResourceManager.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/Google.Apis.CloudResourceManager.v1beta1.csproj b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/Google.Apis.CloudResourceManager.v1beta1.csproj index 7e7a3241de..9737060f2c 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/Google.Apis.CloudResourceManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/Google.Apis.CloudResourceManager.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Properties/AssemblyInfo.cs index 4be1b5e140..f488e1a82e 100644 --- a/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Cloudresourcemanager.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.cs b/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.cs index de5978e9de..5dd95ef6f8 100644 --- a/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.cs +++ b/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.nuspec b/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.nuspec index e910ec8960..919311e8bf 100644 --- a/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.nuspec +++ b/Src/Generated/Google.Apis.Cloudtrace.v1/Google.Apis.Cloudtrace.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.CloudTrace.v1 - 1.24.0.809 + 1.24.1.809 Google.Apis.CloudTrace.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/Google.Apis.Cloudtrace.v1.csproj b/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/Google.Apis.Cloudtrace.v1.csproj index 0f8e297894..29cf83435f 100644 --- a/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/Google.Apis.Cloudtrace.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/Google.Apis.Cloudtrace.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Cloudtrace.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Cloudtrace.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Cloudtrace.v1/Properties/AssemblyInfo.cs index 1919777faf..68f399301b 100644 --- a/Src/Generated/Google.Apis.Cloudtrace.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Cloudtrace.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs index f880afe06a..52ea2dc6ae 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.nuspec b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.nuspec index a905c75136..b4793ef006 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.nuspec +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.nuspec @@ -2,7 +2,7 @@ Google.Apis.Compute.alpha - 1.24.0.802 + 1.24.1.802 Google.Apis.Compute.alpha Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Compute.alpha/Net45/Google.Apis.Compute.alpha.csproj b/Src/Generated/Google.Apis.Compute.alpha/Net45/Google.Apis.Compute.alpha.csproj index f6f774b904..db9c2b02a7 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Net45/Google.Apis.Compute.alpha.csproj +++ b/Src/Generated/Google.Apis.Compute.alpha/Net45/Google.Apis.Compute.alpha.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Compute.alpha/Net45/packages.config b/Src/Generated/Google.Apis.Compute.alpha/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Net45/packages.config +++ b/Src/Generated/Google.Apis.Compute.alpha/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Compute.alpha/NetStandard/project.json b/Src/Generated/Google.Apis.Compute.alpha/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Compute.alpha/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Compute.alpha/Profile259/Google.Apis.Compute.alpha.csproj b/Src/Generated/Google.Apis.Compute.alpha/Profile259/Google.Apis.Compute.alpha.csproj index c84597e76e..c694ab1ad1 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Profile259/Google.Apis.Compute.alpha.csproj +++ b/Src/Generated/Google.Apis.Compute.alpha/Profile259/Google.Apis.Compute.alpha.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Compute.alpha/Profile259/packages.config b/Src/Generated/Google.Apis.Compute.alpha/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Compute.alpha/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Compute.alpha/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Compute.alpha/Properties/AssemblyInfo.cs index 5a63ac7435..400f14f2bd 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Compute.alpha/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.802")] +[assembly: AssemblyVersion("1.24.1.802")] diff --git a/Src/Generated/Google.Apis.Compute.alpha/project.json b/Src/Generated/Google.Apis.Compute.alpha/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/project.json +++ b/Src/Generated/Google.Apis.Compute.alpha/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs index dbedea63d1..05a171d0a1 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.nuspec b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.nuspec index 49307bbcbf..e0fb92fb58 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.nuspec +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.nuspec @@ -2,7 +2,7 @@ Google.Apis.Compute.beta - 1.24.0.802 + 1.24.1.802 Google.Apis.Compute.beta Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Compute.beta/Net45/Google.Apis.Compute.beta.csproj b/Src/Generated/Google.Apis.Compute.beta/Net45/Google.Apis.Compute.beta.csproj index 1b31d16bdb..95d0704f26 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Net45/Google.Apis.Compute.beta.csproj +++ b/Src/Generated/Google.Apis.Compute.beta/Net45/Google.Apis.Compute.beta.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Compute.beta/Net45/packages.config b/Src/Generated/Google.Apis.Compute.beta/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Net45/packages.config +++ b/Src/Generated/Google.Apis.Compute.beta/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Compute.beta/NetStandard/project.json b/Src/Generated/Google.Apis.Compute.beta/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Compute.beta/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Compute.beta/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Compute.beta/Profile259/Google.Apis.Compute.beta.csproj b/Src/Generated/Google.Apis.Compute.beta/Profile259/Google.Apis.Compute.beta.csproj index 0f0164de71..1a5ef16983 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Profile259/Google.Apis.Compute.beta.csproj +++ b/Src/Generated/Google.Apis.Compute.beta/Profile259/Google.Apis.Compute.beta.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Compute.beta/Profile259/packages.config b/Src/Generated/Google.Apis.Compute.beta/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Compute.beta/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Compute.beta/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Compute.beta/Properties/AssemblyInfo.cs index 16450c2807..a7a39ca06f 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Compute.beta/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.802")] +[assembly: AssemblyVersion("1.24.1.802")] diff --git a/Src/Generated/Google.Apis.Compute.beta/project.json b/Src/Generated/Google.Apis.Compute.beta/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Compute.beta/project.json +++ b/Src/Generated/Google.Apis.Compute.beta/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs index 2b7e469ba1..875ddf411a 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.nuspec b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.nuspec index 09d4f3fe34..7eb657c11d 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.nuspec +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Compute.v1 - 1.24.0.802 + 1.24.1.802 Google.Apis.Compute.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Compute.v1/Net45/Google.Apis.Compute.v1.csproj b/Src/Generated/Google.Apis.Compute.v1/Net45/Google.Apis.Compute.v1.csproj index 5a6d36f90c..3b5bf46399 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Net45/Google.Apis.Compute.v1.csproj +++ b/Src/Generated/Google.Apis.Compute.v1/Net45/Google.Apis.Compute.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Compute.v1/Net45/packages.config b/Src/Generated/Google.Apis.Compute.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Compute.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Compute.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Compute.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Compute.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Compute.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Compute.v1/Profile259/Google.Apis.Compute.v1.csproj b/Src/Generated/Google.Apis.Compute.v1/Profile259/Google.Apis.Compute.v1.csproj index 3d2cc573ce..36372d8692 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Profile259/Google.Apis.Compute.v1.csproj +++ b/Src/Generated/Google.Apis.Compute.v1/Profile259/Google.Apis.Compute.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Compute.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Compute.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Compute.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Compute.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Compute.v1/Properties/AssemblyInfo.cs index c1ce0fd65f..4269baa2c4 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Compute.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.802")] +[assembly: AssemblyVersion("1.24.1.802")] diff --git a/Src/Generated/Google.Apis.Compute.v1/project.json b/Src/Generated/Google.Apis.Compute.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Compute.v1/project.json +++ b/Src/Generated/Google.Apis.Compute.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/Google.Apis.ConsumerSurveys.v2.csproj b/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/Google.Apis.ConsumerSurveys.v2.csproj index 9e94d6851e..590276db52 100644 --- a/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/Google.Apis.ConsumerSurveys.v2.csproj +++ b/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/Google.Apis.ConsumerSurveys.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/packages.config b/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.ConsumerSurveys.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ConsumerSurveys.v2/NetStandard/project.json b/Src/Generated/Google.Apis.ConsumerSurveys.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ConsumerSurveys.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ConsumerSurveys.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ConsumerSurveys.v2/project.json b/Src/Generated/Google.Apis.ConsumerSurveys.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ConsumerSurveys.v2/project.json +++ b/Src/Generated/Google.Apis.ConsumerSurveys.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.cs b/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.cs index 84964d4864..9eca20bcd6 100644 --- a/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.cs +++ b/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.nuspec b/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.nuspec index 67059749c6..87a0fb3d2e 100644 --- a/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.nuspec +++ b/Src/Generated/Google.Apis.Consumersurveys.v2/Google.Apis.Consumersurveys.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.ConsumerSurveys.v2 - 1.24.0.670 + 1.24.1.670 Google.Apis.ConsumerSurveys.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/Google.Apis.Consumersurveys.v2.csproj b/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/Google.Apis.Consumersurveys.v2.csproj index 9a8e9dca85..5d0f0e31a1 100644 --- a/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/Google.Apis.Consumersurveys.v2.csproj +++ b/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/Google.Apis.Consumersurveys.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Consumersurveys.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Consumersurveys.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Consumersurveys.v2/Properties/AssemblyInfo.cs index baf5ff5b5a..e39057aa75 100644 --- a/Src/Generated/Google.Apis.Consumersurveys.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Consumersurveys.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.670")] +[assembly: AssemblyVersion("1.24.1.670")] diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs index e99a9846eb..a9aaa3c67c 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.nuspec b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.nuspec index 76f13dcaff..efc6363953 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.nuspec +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Container.v1 - 1.24.0.662 + 1.24.1.662 Google.Apis.Container.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Container.v1/Net45/Google.Apis.Container.v1.csproj b/Src/Generated/Google.Apis.Container.v1/Net45/Google.Apis.Container.v1.csproj index d36d068a82..d208a43a5e 100644 --- a/Src/Generated/Google.Apis.Container.v1/Net45/Google.Apis.Container.v1.csproj +++ b/Src/Generated/Google.Apis.Container.v1/Net45/Google.Apis.Container.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Container.v1/Net45/packages.config b/Src/Generated/Google.Apis.Container.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Container.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Container.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Container.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Container.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Container.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Container.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Container.v1/Profile259/Google.Apis.Container.v1.csproj b/Src/Generated/Google.Apis.Container.v1/Profile259/Google.Apis.Container.v1.csproj index ce2bcc9d23..519d2fea15 100644 --- a/Src/Generated/Google.Apis.Container.v1/Profile259/Google.Apis.Container.v1.csproj +++ b/Src/Generated/Google.Apis.Container.v1/Profile259/Google.Apis.Container.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Container.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Container.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Container.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Container.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Container.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Container.v1/Properties/AssemblyInfo.cs index 78ae5b4139..eccdb589b5 100644 --- a/Src/Generated/Google.Apis.Container.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Container.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.662")] +[assembly: AssemblyVersion("1.24.1.662")] diff --git a/Src/Generated/Google.Apis.Container.v1/project.json b/Src/Generated/Google.Apis.Container.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Container.v1/project.json +++ b/Src/Generated/Google.Apis.Container.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.cs b/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.cs index 8301c1430e..3cc5e96250 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.cs +++ b/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.nuspec b/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.nuspec index ff5cf8c20e..4ea29cef1f 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.nuspec +++ b/Src/Generated/Google.Apis.Customsearch.v1/Google.Apis.Customsearch.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Customsearch.v1 - 1.24.0.466 + 1.24.1.466 Google.Apis.Customsearch.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Net45/Google.Apis.Customsearch.v1.csproj b/Src/Generated/Google.Apis.Customsearch.v1/Net45/Google.Apis.Customsearch.v1.csproj index da1edb2771..160eeec87f 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Net45/Google.Apis.Customsearch.v1.csproj +++ b/Src/Generated/Google.Apis.Customsearch.v1/Net45/Google.Apis.Customsearch.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Net45/packages.config b/Src/Generated/Google.Apis.Customsearch.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Customsearch.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Customsearch.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Customsearch.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Customsearch.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Profile259/Google.Apis.Customsearch.v1.csproj b/Src/Generated/Google.Apis.Customsearch.v1/Profile259/Google.Apis.Customsearch.v1.csproj index 55de4dcf32..d7446625c6 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Profile259/Google.Apis.Customsearch.v1.csproj +++ b/Src/Generated/Google.Apis.Customsearch.v1/Profile259/Google.Apis.Customsearch.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Customsearch.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Customsearch.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Customsearch.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Customsearch.v1/Properties/AssemblyInfo.cs index 8fc366eb81..63ed6738c6 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Customsearch.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.466")] +[assembly: AssemblyVersion("1.24.1.466")] diff --git a/Src/Generated/Google.Apis.Customsearch.v1/project.json b/Src/Generated/Google.Apis.Customsearch.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Customsearch.v1/project.json +++ b/Src/Generated/Google.Apis.Customsearch.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.cs b/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.cs index 6b371912f5..bd72d16d86 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.cs +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.nuspec b/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.nuspec index 7c779f81b9..e2dd3a59c5 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.nuspec +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Google.Apis.DLP.v2beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.DLP.v2beta1 - 1.24.0.817 + 1.24.1.817 Google.Apis.DLP.v2beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Net45/Google.Apis.DLP.v2beta1.csproj b/Src/Generated/Google.Apis.DLP.v2beta1/Net45/Google.Apis.DLP.v2beta1.csproj index 3bf0df005a..1874ec0d43 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Net45/Google.Apis.DLP.v2beta1.csproj +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Net45/Google.Apis.DLP.v2beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Net45/packages.config b/Src/Generated/Google.Apis.DLP.v2beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/NetStandard/project.json b/Src/Generated/Google.Apis.DLP.v2beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.DLP.v2beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/Google.Apis.DLP.v2beta1.csproj b/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/Google.Apis.DLP.v2beta1.csproj index aa98ebf89f..2c6fb34e2e 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/Google.Apis.DLP.v2beta1.csproj +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/Google.Apis.DLP.v2beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/packages.config b/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.DLP.v2beta1/Properties/AssemblyInfo.cs index 767c573843..3db1f84173 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.DLP.v2beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.DLP.v2beta1/project.json b/Src/Generated/Google.Apis.DLP.v2beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.DLP.v2beta1/project.json +++ b/Src/Generated/Google.Apis.DLP.v2beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs index 6ebfcedd77..fecc86b33e 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -640,16 +640,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("endTime", Google.Apis.Util.RequestParameterType.Query)] public virtual object EndTime { get; set; } - /// If specified, return only messages with timestamps >= start_time. The default is the - /// job creation time (i.e. beginning of messages). - [Google.Apis.Util.RequestParameterAttribute("startTime", Google.Apis.Util.RequestParameterType.Query)] - public virtual object StartTime { get; set; } - /// If supplied, this should be the value of next_page_token returned by an earlier call. /// This will cause the next page of results to be returned. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// If specified, return only messages with timestamps >= start_time. The default is the + /// job creation time (i.e. beginning of messages). + [Google.Apis.Util.RequestParameterAttribute("startTime", Google.Apis.Util.RequestParameterType.Query)] + public virtual object StartTime { get; set; } + /// If specified, determines the maximum number of messages to return. If unspecified, the /// service may choose an appropriate default, or may return an arbitrarily large number of /// results. @@ -738,18 +738,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "startTime", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "startTime", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "startTime", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "startTime", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -995,10 +995,6 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Da [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectId { get; private set; } - /// Deprecated. This field is now in the Job message. - [Google.Apis.Util.RequestParameterAttribute("replaceJobId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ReplaceJobId { get; set; } - /// The level of information requested in response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } @@ -1020,6 +1016,10 @@ public enum ViewEnum [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Query)] public virtual string Location { get; set; } + /// Deprecated. This field is now in the Job message. + [Google.Apis.Util.RequestParameterAttribute("replaceJobId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ReplaceJobId { get; set; } + /// Gets or sets the body of this request. Google.Apis.Dataflow.v1b3.Data.Job Body { get; set; } @@ -1060,27 +1060,27 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "replaceJobId", new Google.Apis.Discovery.Parameter + "view", new Google.Apis.Discovery.Parameter { - Name = "replaceJobId", + Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "view", new Google.Apis.Discovery.Parameter + "location", new Google.Apis.Discovery.Parameter { - Name = "view", + Name = "location", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "location", new Google.Apis.Discovery.Parameter + "replaceJobId", new Google.Apis.Discovery.Parameter { - Name = "location", + Name = "replaceJobId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1120,10 +1120,6 @@ public GetRequest(Google.Apis.Services.IClientService service, string projectId, [Google.Apis.Util.RequestParameterAttribute("jobId", Google.Apis.Util.RequestParameterType.Path)] public virtual string JobId { get; private set; } - /// The location that contains this job. - [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Location { get; set; } - /// The level of information requested in response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } @@ -1141,6 +1137,10 @@ public enum ViewEnum JOBVIEWDESCRIPTION, } + /// The location that contains this job. + [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Location { get; set; } + ///Gets the method name. public override string MethodName @@ -1184,18 +1184,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "location", new Google.Apis.Discovery.Parameter + "view", new Google.Apis.Discovery.Parameter { - Name = "location", + Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "view", new Google.Apis.Discovery.Parameter + "location", new Google.Apis.Discovery.Parameter { - Name = "view", + Name = "location", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1330,6 +1330,27 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectId { get; private set; } + /// The kind of filter to use. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Filter { get; set; } + + /// The kind of filter to use. + public enum FilterEnum + { + [Google.Apis.Util.StringValueAttribute("UNKNOWN")] + UNKNOWN, + [Google.Apis.Util.StringValueAttribute("ALL")] + ALL, + [Google.Apis.Util.StringValueAttribute("TERMINATED")] + TERMINATED, + [Google.Apis.Util.StringValueAttribute("ACTIVE")] + ACTIVE, + } + + /// The location that contains this job. + [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Location { get; set; } + /// Set this to the 'next_page_token' field of a previous response to request additional /// results in a long list. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] @@ -1357,27 +1378,6 @@ public enum ViewEnum JOBVIEWDESCRIPTION, } - /// The kind of filter to use. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Filter { get; set; } - - /// The kind of filter to use. - public enum FilterEnum - { - [Google.Apis.Util.StringValueAttribute("UNKNOWN")] - UNKNOWN, - [Google.Apis.Util.StringValueAttribute("ALL")] - ALL, - [Google.Apis.Util.StringValueAttribute("TERMINATED")] - TERMINATED, - [Google.Apis.Util.StringValueAttribute("ACTIVE")] - ACTIVE, - } - - /// The location that contains this job. - [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Location { get; set; } - ///Gets the method name. public override string MethodName @@ -1412,45 +1412,45 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "location", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "location", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "view", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "view", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "location", new Google.Apis.Discovery.Parameter + "view", new Google.Apis.Discovery.Parameter { - Name = "location", + Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1666,21 +1666,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("jobId", Google.Apis.Util.RequestParameterType.Path)] public virtual string JobId { get; private set; } - /// Return only messages with timestamps < end_time. The default is now (i.e. return up - /// to the latest messages available). - [Google.Apis.Util.RequestParameterAttribute("endTime", Google.Apis.Util.RequestParameterType.Query)] - public virtual object EndTime { get; set; } - - /// If supplied, this should be the value of next_page_token returned by an earlier - /// call. This will cause the next page of results to be returned. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// If specified, return only messages with timestamps >= start_time. The default is - /// the job creation time (i.e. beginning of messages). - [Google.Apis.Util.RequestParameterAttribute("startTime", Google.Apis.Util.RequestParameterType.Query)] - public virtual object StartTime { get; set; } - /// If specified, determines the maximum number of messages to return. If unspecified, /// the service may choose an appropriate default, or may return an arbitrarily large number of /// results. @@ -1708,6 +1693,21 @@ public enum MinimumImportanceEnum JOBMESSAGEERROR, } + /// Return only messages with timestamps < end_time. The default is now (i.e. return up + /// to the latest messages available). + [Google.Apis.Util.RequestParameterAttribute("endTime", Google.Apis.Util.RequestParameterType.Query)] + public virtual object EndTime { get; set; } + + /// If supplied, this should be the value of next_page_token returned by an earlier + /// call. This will cause the next page of results to be returned. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// If specified, return only messages with timestamps >= start_time. The default is + /// the job creation time (i.e. beginning of messages). + [Google.Apis.Util.RequestParameterAttribute("startTime", Google.Apis.Util.RequestParameterType.Query)] + public virtual object StartTime { get; set; } + ///Gets the method name. public override string MethodName @@ -1760,45 +1760,45 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "endTime", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "endTime", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "minimumImportance", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "minimumImportance", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "startTime", new Google.Apis.Discovery.Parameter + "endTime", new Google.Apis.Discovery.Parameter { - Name = "startTime", + Name = "endTime", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "minimumImportance", new Google.Apis.Discovery.Parameter + "startTime", new Google.Apis.Discovery.Parameter { - Name = "minimumImportance", + Name = "startTime", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2845,16 +2845,16 @@ public LaunchRequest(Google.Apis.Services.IClientService service, Google.Apis.Da [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectId { get; private set; } - /// Required. A Cloud Storage path to the template from which to create the job. Must be valid - /// Cloud Storage URL, beginning with 'gs://'. - [Google.Apis.Util.RequestParameterAttribute("gcsPath", Google.Apis.Util.RequestParameterType.Query)] - public virtual string GcsPath { get; set; } - /// Whether or not the job should actually be executed after validating parameters. Defaults to /// false. Validation errors do not cause the HTTP request to fail if true. [Google.Apis.Util.RequestParameterAttribute("dryRun", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable DryRun { get; set; } + /// Required. A Cloud Storage path to the template from which to create the job. Must be valid + /// Cloud Storage URL, beginning with 'gs://'. + [Google.Apis.Util.RequestParameterAttribute("gcsPath", Google.Apis.Util.RequestParameterType.Query)] + public virtual string GcsPath { get; set; } + /// Gets or sets the body of this request. Google.Apis.Dataflow.v1b3.Data.LaunchTemplateParameters Body { get; set; } @@ -2895,18 +2895,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "gcsPath", new Google.Apis.Discovery.Parameter + "dryRun", new Google.Apis.Discovery.Parameter { - Name = "gcsPath", + Name = "dryRun", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "dryRun", new Google.Apis.Discovery.Parameter + "gcsPath", new Google.Apis.Discovery.Parameter { - Name = "dryRun", + Name = "gcsPath", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.nuspec b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.nuspec index 3b7a4fd29f..e1ad2ad79a 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.nuspec +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dataflow.v1b3 - 1.24.0.807 + 1.24.1.807 Google.Apis.Dataflow.v1b3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/Google.Apis.Dataflow.v1b3.csproj b/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/Google.Apis.Dataflow.v1b3.csproj index 0b15d11d88..1a50a256a0 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/Google.Apis.Dataflow.v1b3.csproj +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/Google.Apis.Dataflow.v1b3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/packages.config b/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/NetStandard/project.json b/Src/Generated/Google.Apis.Dataflow.v1b3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/Google.Apis.Dataflow.v1b3.csproj b/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/Google.Apis.Dataflow.v1b3.csproj index a9597635e3..02a075ef11 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/Google.Apis.Dataflow.v1b3.csproj +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/Google.Apis.Dataflow.v1b3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/packages.config b/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dataflow.v1b3/Properties/AssemblyInfo.cs index 9f274c9098..3238b134d4 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.807")] +[assembly: AssemblyVersion("1.24.1.807")] diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/project.json b/Src/Generated/Google.Apis.Dataflow.v1b3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/project.json +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs index ced7d279e0..43262e0445 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -813,10 +813,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] public virtual string Region { get; private set; } - /// Optional The standard List page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// Optional A filter constraining the clusters to list. Filters are case-sensitive and /// have the following syntax:field = value AND field = value ...where field is one of status.state, /// clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. @@ -833,6 +829,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional The standard List page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -876,27 +876,27 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1951,10 +1951,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// The standard list page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// The standard list filter. [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } @@ -1963,6 +1959,10 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -1997,27 +1997,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+/regions/[^/]+/operations$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.nuspec b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.nuspec index d325bb190b..ddb8f1eb39 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.nuspec +++ b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dataproc.v1 - 1.24.0.810 + 1.24.1.810 Google.Apis.Dataproc.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Net45/Google.Apis.Dataproc.v1.csproj b/Src/Generated/Google.Apis.Dataproc.v1/Net45/Google.Apis.Dataproc.v1.csproj index ce54b4ad32..d3737cdb96 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Net45/Google.Apis.Dataproc.v1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1/Net45/Google.Apis.Dataproc.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Net45/packages.config b/Src/Generated/Google.Apis.Dataproc.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dataproc.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Dataproc.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dataproc.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Profile259/Google.Apis.Dataproc.v1.csproj b/Src/Generated/Google.Apis.Dataproc.v1/Profile259/Google.Apis.Dataproc.v1.csproj index 60f1aabbfb..196b6d807a 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Profile259/Google.Apis.Dataproc.v1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1/Profile259/Google.Apis.Dataproc.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Dataproc.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dataproc.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dataproc.v1/Properties/AssemblyInfo.cs index 79539009e1..d9619f1d22 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Dataproc.v1/project.json b/Src/Generated/Google.Apis.Dataproc.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/project.json +++ b/Src/Generated/Google.Apis.Dataproc.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.cs b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.cs index bae37307be..6fb4d721dc 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -588,14 +588,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// The standard List page token. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The standard List page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// Required A JSON object that contains filters for the list operation, in the format /// {"key1":"value1","key2":"value2", ..., }. Possible keys include project_id, cluster_name, and /// operation_state_matcher.If project_id is set, requests the list of operations that belong to the @@ -606,6 +598,14 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } + /// The standard List page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// The standard List page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -640,27 +640,27 @@ protected override void InitParameters() Pattern = @"^operations$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1038,11 +1038,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] public virtual string Region { get; private set; } - /// Optional A filter constraining which clusters to list. Valid filters contain label - /// terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3) - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - /// The standard List page token. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1051,6 +1046,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// Optional A filter constraining which clusters to list. Valid filters contain label + /// terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3) + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + ///Gets the method name. public override string MethodName @@ -1094,27 +1094,27 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.nuspec b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.nuspec index ead31f725f..4dcaa89b88 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.nuspec +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Google.Apis.Dataproc.v1alpha1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dataproc.v1alpha1 - 1.24.0.810 + 1.24.1.810 Google.Apis.Dataproc.v1alpha1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/Google.Apis.Dataproc.v1alpha1.csproj b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/Google.Apis.Dataproc.v1alpha1.csproj index f9749477e1..0592070fae 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/Google.Apis.Dataproc.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/Google.Apis.Dataproc.v1alpha1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/packages.config b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/NetStandard/project.json b/Src/Generated/Google.Apis.Dataproc.v1alpha1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/Google.Apis.Dataproc.v1alpha1.csproj b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/Google.Apis.Dataproc.v1alpha1.csproj index 65d6bd7e2b..8e9bb34a57 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/Google.Apis.Dataproc.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/Google.Apis.Dataproc.v1alpha1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/packages.config b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Properties/AssemblyInfo.cs index b4b5148d7e..310e29f446 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Dataproc.v1alpha1/project.json b/Src/Generated/Google.Apis.Dataproc.v1alpha1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1alpha1/project.json +++ b/Src/Generated/Google.Apis.Dataproc.v1alpha1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.cs b/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.cs index d088541fc1..7434afe12b 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1041,6 +1041,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectId { get; private set; } + /// Optional A filter constraining which clusters to list. Valid filters contain label terms + /// such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3) + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + /// The standard List page token. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1049,11 +1054,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// Optional A filter constraining which clusters to list. Valid filters contain label terms - /// such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3) - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - ///Gets the method name. public override string MethodName @@ -1088,27 +1088,27 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1510,15 +1510,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string projectId [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectId { get; private set; } - /// Optional The page token, returned by a previous call, to request the next page of - /// results. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Optional The number of results to return in each response. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// Optional If set, the returned jobs list includes only jobs that were submitted to the named /// cluster. [Google.Apis.Util.RequestParameterAttribute("clusterName", Google.Apis.Util.RequestParameterType.Query)] @@ -1544,6 +1535,15 @@ public enum JobStateMatcherEnum NONACTIVE, } + /// Optional The page token, returned by a previous call, to request the next page of + /// results. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Optional The number of results to return in each response. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -1578,45 +1578,45 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "clusterName", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "clusterName", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "clusterName", new Google.Apis.Discovery.Parameter + "jobStateMatcher", new Google.Apis.Discovery.Parameter { - Name = "clusterName", + Name = "jobStateMatcher", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "jobStateMatcher", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "jobStateMatcher", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.nuspec b/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.nuspec index df73e73170..654be5ef1b 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Google.Apis.Dataproc.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dataproc.v1beta1 - 1.24.0.810 + 1.24.1.810 Google.Apis.Dataproc.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/Google.Apis.Dataproc.v1beta1.csproj b/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/Google.Apis.Dataproc.v1beta1.csproj index 92d2db323d..de9817ea1a 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/Google.Apis.Dataproc.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/Google.Apis.Dataproc.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Dataproc.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/Google.Apis.Dataproc.v1beta1.csproj b/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/Google.Apis.Dataproc.v1beta1.csproj index 5e87814b4a..ed4c365aea 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/Google.Apis.Dataproc.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/Google.Apis.Dataproc.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dataproc.v1beta1/Properties/AssemblyInfo.cs index ae34a77a0f..bdfd0a823a 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Dataproc.v1beta1/project.json b/Src/Generated/Google.Apis.Dataproc.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Dataproc.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs index 4aed3aeb51..9e6a3431e3 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs +++ b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.nuspec b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.nuspec index 2de015d7ab..fd457cec63 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.nuspec +++ b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Datastore.v1 - 1.24.0.803 + 1.24.1.803 Google.Apis.Datastore.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1/Net45/Google.Apis.Datastore.v1.csproj b/Src/Generated/Google.Apis.Datastore.v1/Net45/Google.Apis.Datastore.v1.csproj index 7914861462..29ec01ccd5 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Net45/Google.Apis.Datastore.v1.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1/Net45/Google.Apis.Datastore.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Datastore.v1/Net45/packages.config b/Src/Generated/Google.Apis.Datastore.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Datastore.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1/Profile259/Google.Apis.Datastore.v1.csproj b/Src/Generated/Google.Apis.Datastore.v1/Profile259/Google.Apis.Datastore.v1.csproj index 6ee5f4e26e..f6c892fa7b 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Profile259/Google.Apis.Datastore.v1.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1/Profile259/Google.Apis.Datastore.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Datastore.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Datastore.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Datastore.v1/Properties/AssemblyInfo.cs index 183542375d..d67b78e51e 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Datastore.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.803")] +[assembly: AssemblyVersion("1.24.1.803")] diff --git a/Src/Generated/Google.Apis.Datastore.v1/project.json b/Src/Generated/Google.Apis.Datastore.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs index b3f1b2178c..77293cc73c 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.nuspec b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.nuspec index 8c2f24055a..75df6ad95f 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Datastore.v1beta1 - 1.24.0.438 + 1.24.1.438 Google.Apis.Datastore.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/Google.Apis.Datastore.v1beta1.csproj b/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/Google.Apis.Datastore.v1beta1.csproj index 25cf17de6e..24e486a7a4 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/Google.Apis.Datastore.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/Google.Apis.Datastore.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Datastore.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/Google.Apis.Datastore.v1beta1.csproj b/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/Google.Apis.Datastore.v1beta1.csproj index 0f61d89b3b..5b0ff29aab 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/Google.Apis.Datastore.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/Google.Apis.Datastore.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Datastore.v1beta1/Properties/AssemblyInfo.cs index f369153095..a0841fcce4 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.438")] +[assembly: AssemblyVersion("1.24.1.438")] diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/project.json b/Src/Generated/Google.Apis.Datastore.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.cs b/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.cs index 1ec5265f8e..da7ab4826e 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.nuspec b/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.nuspec index 67707e5fcb..8aa11d213f 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Google.Apis.Datastore.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Datastore.v1beta2 - 1.24.0.438 + 1.24.1.438 Google.Apis.Datastore.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/Google.Apis.Datastore.v1beta2.csproj b/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/Google.Apis.Datastore.v1beta2.csproj index 1f45bf097d..7722f8d43f 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/Google.Apis.Datastore.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/Google.Apis.Datastore.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.Datastore.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/Google.Apis.Datastore.v1beta2.csproj b/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/Google.Apis.Datastore.v1beta2.csproj index 0b5ee33bd7..3496ed3571 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/Google.Apis.Datastore.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/Google.Apis.Datastore.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Datastore.v1beta2/Properties/AssemblyInfo.cs index 99e4f0245d..b33e2622f1 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.438")] +[assembly: AssemblyVersion("1.24.1.438")] diff --git a/Src/Generated/Google.Apis.Datastore.v1beta2/project.json b/Src/Generated/Google.Apis.Datastore.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta2/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs index b11b980e4c..4d20f0a5e2 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.nuspec b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.nuspec index 282a4061a9..f8f55aff06 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.nuspec +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Datastore.v1beta3 - 1.24.0.803 + 1.24.1.803 Google.Apis.Datastore.v1beta3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/Google.Apis.Datastore.v1beta3.csproj b/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/Google.Apis.Datastore.v1beta3.csproj index b2c39d650b..cdcf5c93c0 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/Google.Apis.Datastore.v1beta3.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/Google.Apis.Datastore.v1beta3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/packages.config b/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/NetStandard/project.json b/Src/Generated/Google.Apis.Datastore.v1beta3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/Google.Apis.Datastore.v1beta3.csproj b/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/Google.Apis.Datastore.v1beta3.csproj index 299a6a29d1..b9a069acca 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/Google.Apis.Datastore.v1beta3.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/Google.Apis.Datastore.v1beta3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/packages.config b/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Datastore.v1beta3/Properties/AssemblyInfo.cs index 63d535bd8a..fad673d147 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.803")] +[assembly: AssemblyVersion("1.24.1.803")] diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/project.json b/Src/Generated/Google.Apis.Datastore.v1beta3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/project.json +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs index e25f574b7b..df7c38de85 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.nuspec b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.nuspec index d0047415a7..9e177ef8fd 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.nuspec +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.DeploymentManager.v2 - 1.24.0.804 + 1.24.1.804 Google.Apis.DeploymentManager.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/Google.Apis.DeploymentManager.v2.csproj b/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/Google.Apis.DeploymentManager.v2.csproj index 8b1a406872..fc927bba41 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/Google.Apis.DeploymentManager.v2.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/Google.Apis.DeploymentManager.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/packages.config b/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/NetStandard/project.json b/Src/Generated/Google.Apis.DeploymentManager.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/Google.Apis.DeploymentManager.v2.csproj b/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/Google.Apis.DeploymentManager.v2.csproj index 70526e6af2..eb206a9c4e 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/Google.Apis.DeploymentManager.v2.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/Google.Apis.DeploymentManager.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/packages.config b/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.DeploymentManager.v2/Properties/AssemblyInfo.cs index b9a8815f27..756376eff6 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.804")] +[assembly: AssemblyVersion("1.24.1.804")] diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/project.json b/Src/Generated/Google.Apis.DeploymentManager.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/project.json +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.cs b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.cs index e40b46f31b..c7e21d7479 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.cs +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.nuspec b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.nuspec index 3678a3d3b1..2a5aa08a2c 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.nuspec +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Google.Apis.DeploymentManagerAlpha.alpha.nuspec @@ -2,7 +2,7 @@ Google.Apis.DeploymentManagerAlpha.alpha - 1.24.0.804 + 1.24.1.804 Google.Apis.DeploymentManagerAlpha.alpha Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/Google.Apis.DeploymentManagerAlpha.alpha.csproj b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/Google.Apis.DeploymentManagerAlpha.alpha.csproj index 70598c96c7..853949f308 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/Google.Apis.DeploymentManagerAlpha.alpha.csproj +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/Google.Apis.DeploymentManagerAlpha.alpha.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/packages.config b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/packages.config +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/NetStandard/project.json b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/NetStandard/project.json +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/Google.Apis.DeploymentManagerAlpha.alpha.csproj b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/Google.Apis.DeploymentManagerAlpha.alpha.csproj index 4f87275aba..b3d5909200 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/Google.Apis.DeploymentManagerAlpha.alpha.csproj +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/Google.Apis.DeploymentManagerAlpha.alpha.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/packages.config b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/packages.config +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Properties/AssemblyInfo.cs index 22da797658..767087d906 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.804")] +[assembly: AssemblyVersion("1.24.1.804")] diff --git a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/project.json b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/project.json +++ b/Src/Generated/Google.Apis.DeploymentManagerAlpha.alpha/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.cs b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.cs index 9dda1365ba..a0cd238d89 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.cs +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.nuspec b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.nuspec index 69d5beeff7..7c7a675f43 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.nuspec +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Google.Apis.DeploymentManagerV2Beta.v2beta.nuspec @@ -2,7 +2,7 @@ Google.Apis.DeploymentManagerV2Beta.v2beta - 1.24.0.804 + 1.24.1.804 Google.Apis.DeploymentManagerV2Beta.v2beta Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj index 280560c4aa..a31bb109da 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/packages.config b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/packages.config +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/NetStandard/project.json b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/NetStandard/project.json +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj index 0173a50fef..7787bf53d6 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/Google.Apis.DeploymentManagerV2Beta.v2beta.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/packages.config b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/packages.config +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Properties/AssemblyInfo.cs index bd13e5907e..bf0f2fe1d1 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.804")] +[assembly: AssemblyVersion("1.24.1.804")] diff --git a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/project.json b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/project.json +++ b/Src/Generated/Google.Apis.DeploymentManagerV2Beta.v2beta/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.cs b/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.cs index 2a7dbd7e69..e8077c33b6 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.cs +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.nuspec b/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.nuspec index 8ee5b4849a..3ee168463f 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.nuspec +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Google.Apis.Dfareporting.v2_6.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dfareporting.v2_6 - 1.24.0.665 + 1.24.1.665 Google.Apis.Dfareporting.v2_6 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/Google.Apis.Dfareporting.v2_6.csproj b/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/Google.Apis.Dfareporting.v2_6.csproj index 72fd005210..2d212bf890 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/Google.Apis.Dfareporting.v2_6.csproj +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/Google.Apis.Dfareporting.v2_6.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/packages.config b/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/NetStandard/project.json b/Src/Generated/Google.Apis.Dfareporting.v2_6/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/Google.Apis.Dfareporting.v2_6.csproj b/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/Google.Apis.Dfareporting.v2_6.csproj index e0d03a1ff2..1245f513b1 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/Google.Apis.Dfareporting.v2_6.csproj +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/Google.Apis.Dfareporting.v2_6.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/packages.config b/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dfareporting.v2_6/Properties/AssemblyInfo.cs index 66a0e94b02..1c29ffa19d 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.665")] +[assembly: AssemblyVersion("1.24.1.665")] diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_6/project.json b/Src/Generated/Google.Apis.Dfareporting.v2_6/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_6/project.json +++ b/Src/Generated/Google.Apis.Dfareporting.v2_6/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.cs b/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.cs index 9adc7d71cd..b7510247ba 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.cs +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.nuspec b/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.nuspec index 4d973e35a3..23abd5f7c1 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.nuspec +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Google.Apis.Dfareporting.v2_7.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dfareporting.v2_7 - 1.24.0.665 + 1.24.1.665 Google.Apis.Dfareporting.v2_7 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/Google.Apis.Dfareporting.v2_7.csproj b/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/Google.Apis.Dfareporting.v2_7.csproj index 2ca4d2dcee..7b03f18748 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/Google.Apis.Dfareporting.v2_7.csproj +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/Google.Apis.Dfareporting.v2_7.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/packages.config b/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/NetStandard/project.json b/Src/Generated/Google.Apis.Dfareporting.v2_7/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/Google.Apis.Dfareporting.v2_7.csproj b/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/Google.Apis.Dfareporting.v2_7.csproj index e7f02f667d..a061a000e9 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/Google.Apis.Dfareporting.v2_7.csproj +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/Google.Apis.Dfareporting.v2_7.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/packages.config b/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dfareporting.v2_7/Properties/AssemblyInfo.cs index d15aca1a12..79f426caa2 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.665")] +[assembly: AssemblyVersion("1.24.1.665")] diff --git a/Src/Generated/Google.Apis.Dfareporting.v2_7/project.json b/Src/Generated/Google.Apis.Dfareporting.v2_7/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v2_7/project.json +++ b/Src/Generated/Google.Apis.Dfareporting.v2_7/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs index a812e64bbd..a841be1e09 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs +++ b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.nuspec b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.nuspec index 02bc9edf02..3ab837a16e 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.nuspec +++ b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Discovery.v1 - 1.24.0.0 + 1.24.1.0 Google.Apis.Discovery.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Discovery.v1/Net45/Google.Apis.Discovery.v1.csproj b/Src/Generated/Google.Apis.Discovery.v1/Net45/Google.Apis.Discovery.v1.csproj index fdf7f2414d..be99e9085a 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Net45/Google.Apis.Discovery.v1.csproj +++ b/Src/Generated/Google.Apis.Discovery.v1/Net45/Google.Apis.Discovery.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Discovery.v1/Net45/packages.config b/Src/Generated/Google.Apis.Discovery.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Discovery.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Discovery.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Discovery.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Discovery.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Discovery.v1/Profile259/Google.Apis.Discovery.v1.csproj b/Src/Generated/Google.Apis.Discovery.v1/Profile259/Google.Apis.Discovery.v1.csproj index 49cf4ddf1c..62a91c1ea5 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Profile259/Google.Apis.Discovery.v1.csproj +++ b/Src/Generated/Google.Apis.Discovery.v1/Profile259/Google.Apis.Discovery.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Discovery.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Discovery.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Discovery.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Discovery.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Discovery.v1/Properties/AssemblyInfo.cs index 01fdd52b34..b024b485b0 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Discovery.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.0")] +[assembly: AssemblyVersion("1.24.1.0")] diff --git a/Src/Generated/Google.Apis.Discovery.v1/project.json b/Src/Generated/Google.Apis.Discovery.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/project.json +++ b/Src/Generated/Google.Apis.Discovery.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs index 993f40a0a5..2119218946 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs +++ b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.nuspec b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.nuspec index 5965c956df..53be4b7b89 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.nuspec +++ b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dns.v1 - 1.24.0.811 + 1.24.1.811 Google.Apis.Dns.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dns.v1/Net45/Google.Apis.Dns.v1.csproj b/Src/Generated/Google.Apis.Dns.v1/Net45/Google.Apis.Dns.v1.csproj index 92d68fe6e5..cf1b620938 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Net45/Google.Apis.Dns.v1.csproj +++ b/Src/Generated/Google.Apis.Dns.v1/Net45/Google.Apis.Dns.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dns.v1/Net45/packages.config b/Src/Generated/Google.Apis.Dns.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dns.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dns.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Dns.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dns.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dns.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dns.v1/Profile259/Google.Apis.Dns.v1.csproj b/Src/Generated/Google.Apis.Dns.v1/Profile259/Google.Apis.Dns.v1.csproj index 32c2ebd234..0e67580a0b 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Profile259/Google.Apis.Dns.v1.csproj +++ b/Src/Generated/Google.Apis.Dns.v1/Profile259/Google.Apis.Dns.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dns.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Dns.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dns.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dns.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dns.v1/Properties/AssemblyInfo.cs index 1f47164ee4..901c860623 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dns.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.811")] +[assembly: AssemblyVersion("1.24.1.811")] diff --git a/Src/Generated/Google.Apis.Dns.v1/project.json b/Src/Generated/Google.Apis.Dns.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dns.v1/project.json +++ b/Src/Generated/Google.Apis.Dns.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.cs b/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.cs index 4eb21e152a..fab8d1cbd5 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.cs +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.nuspec b/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.nuspec index 35e5d8bebb..5977449600 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.nuspec +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Google.Apis.Dns.v2beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Dns.v2beta1 - 1.24.0.811 + 1.24.1.811 Google.Apis.Dns.v2beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Net45/Google.Apis.Dns.v2beta1.csproj b/Src/Generated/Google.Apis.Dns.v2beta1/Net45/Google.Apis.Dns.v2beta1.csproj index 1590ab32d3..a4198487ae 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Net45/Google.Apis.Dns.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Net45/Google.Apis.Dns.v2beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Net45/packages.config b/Src/Generated/Google.Apis.Dns.v2beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Dns.v2beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Dns.v2beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/Google.Apis.Dns.v2beta1.csproj b/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/Google.Apis.Dns.v2beta1.csproj index 8101abcba8..72b9437c9c 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/Google.Apis.Dns.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/Google.Apis.Dns.v2beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Dns.v2beta1/Properties/AssemblyInfo.cs index 8b0d40c182..287a83493d 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Dns.v2beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.811")] +[assembly: AssemblyVersion("1.24.1.811")] diff --git a/Src/Generated/Google.Apis.Dns.v2beta1/project.json b/Src/Generated/Google.Apis.Dns.v2beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Dns.v2beta1/project.json +++ b/Src/Generated/Google.Apis.Dns.v2beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.cs b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.cs index 0f8881c2b3..c360c35b0e 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.cs +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.nuspec b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.nuspec index eab9b4ae28..2f1c6265f2 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.nuspec +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Google.Apis.DoubleClickBidManager.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.DoubleClickBidManager.v1 - 1.24.0.785 + 1.24.1.785 Google.Apis.DoubleClickBidManager.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/Google.Apis.DoubleClickBidManager.v1.csproj b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/Google.Apis.DoubleClickBidManager.v1.csproj index 9f9abf27a9..d1c8bba333 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/Google.Apis.DoubleClickBidManager.v1.csproj +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/Google.Apis.DoubleClickBidManager.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/packages.config b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/NetStandard/project.json b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/Google.Apis.DoubleClickBidManager.v1.csproj b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/Google.Apis.DoubleClickBidManager.v1.csproj index ae943e9e15..a885e35f81 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/Google.Apis.DoubleClickBidManager.v1.csproj +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/Google.Apis.DoubleClickBidManager.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/packages.config b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Properties/AssemblyInfo.cs index 642d8d787c..8d163a8e49 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.785")] +[assembly: AssemblyVersion("1.24.1.785")] diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/project.json b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v1/project.json +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs index f1ce3195d5..21196488b3 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.nuspec b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.nuspec index 05db12132d..21e13e6a6a 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.nuspec +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Doubleclicksearch.v2 - 1.24.0.809 + 1.24.1.809 Google.Apis.Doubleclicksearch.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/Google.Apis.Doubleclicksearch.v2.csproj b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/Google.Apis.Doubleclicksearch.v2.csproj index 659f3a6083..0f432e5870 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/Google.Apis.Doubleclicksearch.v2.csproj +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/Google.Apis.Doubleclicksearch.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/packages.config b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Doubleclicksearch.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/Google.Apis.Doubleclicksearch.v2.csproj b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/Google.Apis.Doubleclicksearch.v2.csproj index 20732f3114..2954e5c052 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/Google.Apis.Doubleclicksearch.v2.csproj +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/Google.Apis.Doubleclicksearch.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Properties/AssemblyInfo.cs index adf6b3b247..3dda97e8bd 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/project.json b/Src/Generated/Google.Apis.Doubleclicksearch.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/project.json +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs index ff79a81de8..bdde97e4e2 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.nuspec b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.nuspec index 5718e8db47..93bbe3f28c 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.nuspec +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Drive.v2 - 1.24.0.809 + 1.24.1.809 Google.Apis.Drive.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Drive.v2/Net45/Google.Apis.Drive.v2.csproj b/Src/Generated/Google.Apis.Drive.v2/Net45/Google.Apis.Drive.v2.csproj index 7e320f039f..49e6e108c0 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Net45/Google.Apis.Drive.v2.csproj +++ b/Src/Generated/Google.Apis.Drive.v2/Net45/Google.Apis.Drive.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Drive.v2/Net45/packages.config b/Src/Generated/Google.Apis.Drive.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Drive.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Drive.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Drive.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Drive.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Drive.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Drive.v2/Profile259/Google.Apis.Drive.v2.csproj b/Src/Generated/Google.Apis.Drive.v2/Profile259/Google.Apis.Drive.v2.csproj index 9078e3d3bf..f90037c17c 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Profile259/Google.Apis.Drive.v2.csproj +++ b/Src/Generated/Google.Apis.Drive.v2/Profile259/Google.Apis.Drive.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Drive.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Drive.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Drive.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Drive.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Drive.v2/Properties/AssemblyInfo.cs index 5fa49f965c..22b8059f3c 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Drive.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Drive.v2/project.json b/Src/Generated/Google.Apis.Drive.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Drive.v2/project.json +++ b/Src/Generated/Google.Apis.Drive.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs index e5a69e9b3e..a1caa50f6b 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.nuspec b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.nuspec index b2c83efb3f..f748d50f1e 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.nuspec +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Drive.v3 - 1.24.0.809 + 1.24.1.809 Google.Apis.Drive.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Drive.v3/Net45/Google.Apis.Drive.v3.csproj b/Src/Generated/Google.Apis.Drive.v3/Net45/Google.Apis.Drive.v3.csproj index 34eee7c141..b9619e4d8b 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Net45/Google.Apis.Drive.v3.csproj +++ b/Src/Generated/Google.Apis.Drive.v3/Net45/Google.Apis.Drive.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Drive.v3/Net45/packages.config b/Src/Generated/Google.Apis.Drive.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Drive.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Drive.v3/NetStandard/project.json b/Src/Generated/Google.Apis.Drive.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Drive.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Drive.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Drive.v3/Profile259/Google.Apis.Drive.v3.csproj b/Src/Generated/Google.Apis.Drive.v3/Profile259/Google.Apis.Drive.v3.csproj index 444103a80d..ccd64bbf33 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Profile259/Google.Apis.Drive.v3.csproj +++ b/Src/Generated/Google.Apis.Drive.v3/Profile259/Google.Apis.Drive.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Drive.v3/Profile259/packages.config b/Src/Generated/Google.Apis.Drive.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Drive.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Drive.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Drive.v3/Properties/AssemblyInfo.cs index 141ff5e6ad..feb52f07cb 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Drive.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Drive.v3/project.json b/Src/Generated/Google.Apis.Drive.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Drive.v3/project.json +++ b/Src/Generated/Google.Apis.Drive.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs index bbd47b4093..b4134dac5e 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.nuspec b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.nuspec index 35eb8c7911..3ce4ca62cb 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.nuspec +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.FirebaseDynamicLinks.v1 - 1.24.0.812 + 1.24.1.812 Google.Apis.FirebaseDynamicLinks.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/Google.Apis.FirebaseDynamicLinks.v1.csproj b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/Google.Apis.FirebaseDynamicLinks.v1.csproj index 7639734dcb..e6659fb859 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/Google.Apis.FirebaseDynamicLinks.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/Google.Apis.FirebaseDynamicLinks.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/packages.config b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/NetStandard/project.json b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/Google.Apis.FirebaseDynamicLinks.v1.csproj b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/Google.Apis.FirebaseDynamicLinks.v1.csproj index 584589006a..c772ee47a1 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/Google.Apis.FirebaseDynamicLinks.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/Google.Apis.FirebaseDynamicLinks.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/packages.config b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Properties/AssemblyInfo.cs index 354204c7a6..a879532de1 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/project.json b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/project.json +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs index 6df782b46f..a48006cbb7 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -648,17 +648,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// Next page token for the next batch of `Release` instances. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the - /// service may choose to load fewer than `page_size` results due to the size of the output. To traverse - /// all of the releases, the caller should iterate until the `page_token` on the response is - /// empty. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// `Release` filter. The list method supports filters with restrictions on the `Release.name`, /// `Release.ruleset_name`, and `Release.test_suite_name`. /// @@ -682,6 +671,17 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } + /// Next page token for the next batch of `Release` instances. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the + /// service may choose to load fewer than `page_size` results due to the size of the output. To traverse + /// all of the releases, the caller should iterate until the `page_token` on the response is + /// empty. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -716,27 +716,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1123,6 +1123,12 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the + /// service may choose to load less than `page_size` due to the size of the output. To traverse all of + /// the releases, caller should iterate until the `page_token` is empty. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + /// `Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. /// /// Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to @@ -1136,12 +1142,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the - /// service may choose to load less than `page_size` due to the size of the output. To traverse all of - /// the releases, caller should iterate until the `page_token` is empty. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - ///Gets the method name. public override string MethodName @@ -1176,27 +1176,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.nuspec b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.nuspec index 43e0b55182..69905fb127 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.nuspec +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.FirebaseRules.v1 - 1.24.0.816 + 1.24.1.816 Google.Apis.FirebaseRules.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/Google.Apis.FirebaseRules.v1.csproj b/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/Google.Apis.FirebaseRules.v1.csproj index 4f89fbc4be..fe05934b93 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/Google.Apis.FirebaseRules.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/Google.Apis.FirebaseRules.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/packages.config b/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/NetStandard/project.json b/Src/Generated/Google.Apis.FirebaseRules.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/Google.Apis.FirebaseRules.v1.csproj b/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/Google.Apis.FirebaseRules.v1.csproj index 6f1a954321..009ee1186e 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/Google.Apis.FirebaseRules.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/Google.Apis.FirebaseRules.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/packages.config b/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.FirebaseRules.v1/Properties/AssemblyInfo.cs index ab20c17865..4746b9f099 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/project.json b/Src/Generated/Google.Apis.FirebaseRules.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/project.json +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs index 8963a7b5c7..4945a177e8 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs +++ b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.nuspec b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.nuspec index bbf6f82801..dd947066ad 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.nuspec +++ b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Fitness.v1 - 1.24.0.697 + 1.24.1.697 Google.Apis.Fitness.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Fitness.v1/Net45/Google.Apis.Fitness.v1.csproj b/Src/Generated/Google.Apis.Fitness.v1/Net45/Google.Apis.Fitness.v1.csproj index 910577762f..a9e1a28c5e 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Net45/Google.Apis.Fitness.v1.csproj +++ b/Src/Generated/Google.Apis.Fitness.v1/Net45/Google.Apis.Fitness.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Fitness.v1/Net45/packages.config b/Src/Generated/Google.Apis.Fitness.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Fitness.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Fitness.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Fitness.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Fitness.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Fitness.v1/Profile259/Google.Apis.Fitness.v1.csproj b/Src/Generated/Google.Apis.Fitness.v1/Profile259/Google.Apis.Fitness.v1.csproj index 17631151c6..0ea249dee6 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Profile259/Google.Apis.Fitness.v1.csproj +++ b/Src/Generated/Google.Apis.Fitness.v1/Profile259/Google.Apis.Fitness.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Fitness.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Fitness.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Fitness.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Fitness.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Fitness.v1/Properties/AssemblyInfo.cs index ca41f9318f..82f16bd814 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Fitness.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.697")] +[assembly: AssemblyVersion("1.24.1.697")] diff --git a/Src/Generated/Google.Apis.Fitness.v1/project.json b/Src/Generated/Google.Apis.Fitness.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/project.json +++ b/Src/Generated/Google.Apis.Fitness.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.cs b/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.cs index df6e22f8b3..93fd0e1310 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.cs +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.nuspec b/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.nuspec index 714e90c716..964ef4b4dd 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.nuspec +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Google.Apis.Fusiontables.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Fusiontables.v1 - 1.24.0.810 + 1.24.1.810 Google.Apis.Fusiontables.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Net45/Google.Apis.Fusiontables.v1.csproj b/Src/Generated/Google.Apis.Fusiontables.v1/Net45/Google.Apis.Fusiontables.v1.csproj index 415fdb639a..884c9b6ce0 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Net45/Google.Apis.Fusiontables.v1.csproj +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Net45/Google.Apis.Fusiontables.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Net45/packages.config b/Src/Generated/Google.Apis.Fusiontables.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Fusiontables.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Fusiontables.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/Google.Apis.Fusiontables.v1.csproj b/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/Google.Apis.Fusiontables.v1.csproj index de0d54c327..881269981f 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/Google.Apis.Fusiontables.v1.csproj +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/Google.Apis.Fusiontables.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Fusiontables.v1/Properties/AssemblyInfo.cs index a53e8fcc97..36a593c304 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Fusiontables.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Fusiontables.v1/project.json b/Src/Generated/Google.Apis.Fusiontables.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v1/project.json +++ b/Src/Generated/Google.Apis.Fusiontables.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.cs b/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.cs index 01ae289a62..7f944598ad 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.cs +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.nuspec b/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.nuspec index 02bde67aa9..1dbe277df4 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.nuspec +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Google.Apis.Fusiontables.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Fusiontables.v2 - 1.24.0.810 + 1.24.1.810 Google.Apis.Fusiontables.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Net45/Google.Apis.Fusiontables.v2.csproj b/Src/Generated/Google.Apis.Fusiontables.v2/Net45/Google.Apis.Fusiontables.v2.csproj index b3c822f86d..0edb230f31 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Net45/Google.Apis.Fusiontables.v2.csproj +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Net45/Google.Apis.Fusiontables.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Net45/packages.config b/Src/Generated/Google.Apis.Fusiontables.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Fusiontables.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Fusiontables.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/Google.Apis.Fusiontables.v2.csproj b/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/Google.Apis.Fusiontables.v2.csproj index cf7d2119fb..606f51ea69 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/Google.Apis.Fusiontables.v2.csproj +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/Google.Apis.Fusiontables.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Fusiontables.v2/Properties/AssemblyInfo.cs index 47a43e2337..c39cf3c291 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Fusiontables.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.Fusiontables.v2/project.json b/Src/Generated/Google.Apis.Fusiontables.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Fusiontables.v2/project.json +++ b/Src/Generated/Google.Apis.Fusiontables.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs index fe584a912b..01139b9e0f 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.nuspec b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.nuspec index 4e61263ff9..21e821aa44 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.nuspec +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Games.v1 - 1.24.0.812 + 1.24.1.812 Google.Apis.Games.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Games.v1/Net45/Google.Apis.Games.v1.csproj b/Src/Generated/Google.Apis.Games.v1/Net45/Google.Apis.Games.v1.csproj index 0135ca8978..e67bda9da5 100644 --- a/Src/Generated/Google.Apis.Games.v1/Net45/Google.Apis.Games.v1.csproj +++ b/Src/Generated/Google.Apis.Games.v1/Net45/Google.Apis.Games.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Games.v1/Net45/packages.config b/Src/Generated/Google.Apis.Games.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Games.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Games.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Games.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Games.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Games.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Games.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Games.v1/Profile259/Google.Apis.Games.v1.csproj b/Src/Generated/Google.Apis.Games.v1/Profile259/Google.Apis.Games.v1.csproj index f5fc6851f8..13b67ae160 100644 --- a/Src/Generated/Google.Apis.Games.v1/Profile259/Google.Apis.Games.v1.csproj +++ b/Src/Generated/Google.Apis.Games.v1/Profile259/Google.Apis.Games.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Games.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Games.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Games.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Games.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Games.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Games.v1/Properties/AssemblyInfo.cs index a7bf446bb0..defa86b08a 100644 --- a/Src/Generated/Google.Apis.Games.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Games.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.Games.v1/project.json b/Src/Generated/Google.Apis.Games.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Games.v1/project.json +++ b/Src/Generated/Google.Apis.Games.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs index 9c0594d748..d631943cee 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.nuspec b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.nuspec index c33512a448..fa837bded3 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.nuspec +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.nuspec @@ -2,7 +2,7 @@ Google.Apis.GamesConfiguration.v1configuration - 1.24.0.812 + 1.24.1.812 Google.Apis.GamesConfiguration.v1configuration Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/Google.Apis.GamesConfiguration.v1configuration.csproj b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/Google.Apis.GamesConfiguration.v1configuration.csproj index 05fcd5dc8b..2839380623 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/Google.Apis.GamesConfiguration.v1configuration.csproj +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/Google.Apis.GamesConfiguration.v1configuration.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/packages.config b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/packages.config +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/NetStandard/project.json b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/NetStandard/project.json +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/Google.Apis.GamesConfiguration.v1configuration.csproj b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/Google.Apis.GamesConfiguration.v1configuration.csproj index 935bca059a..3db4c09e20 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/Google.Apis.GamesConfiguration.v1configuration.csproj +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/Google.Apis.GamesConfiguration.v1configuration.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/packages.config b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/packages.config +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Properties/AssemblyInfo.cs index 35f7f6b72c..d46633082c 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/project.json b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/project.json +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs index 682f92ce47..41c55421b3 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.nuspec b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.nuspec index 974744922f..2f4be952a0 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.nuspec +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.nuspec @@ -2,7 +2,7 @@ Google.Apis.GamesManagement.v1management - 1.24.0.812 + 1.24.1.812 Google.Apis.GamesManagement.v1management Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/Google.Apis.GamesManagement.v1management.csproj b/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/Google.Apis.GamesManagement.v1management.csproj index a5692158d7..47dfe281bc 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/Google.Apis.GamesManagement.v1management.csproj +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/Google.Apis.GamesManagement.v1management.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/packages.config b/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/packages.config +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/NetStandard/project.json b/Src/Generated/Google.Apis.GamesManagement.v1management/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/NetStandard/project.json +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/Google.Apis.GamesManagement.v1management.csproj b/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/Google.Apis.GamesManagement.v1management.csproj index 63b4fb434a..7ec324804b 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/Google.Apis.GamesManagement.v1management.csproj +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/Google.Apis.GamesManagement.v1management.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/packages.config b/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/packages.config +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.GamesManagement.v1management/Properties/AssemblyInfo.cs index 5a2ef99213..a03712eb19 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/project.json b/Src/Generated/Google.Apis.GamesManagement.v1management/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/project.json +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs index 81e114bbfd..cc2cd06353 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs +++ b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1905,6 +1905,11 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// The continuation token, which is used to page through large result sets. To get the next page + /// of results, set this parameter to the value of `nextPageToken` from the previous response. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + /// The maximum number of results to return in a single page. If unspecified, defaults to 50. The /// maximum value is 1024. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] @@ -1914,11 +1919,6 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Query)] public virtual string ProjectId { get; set; } - /// The continuation token, which is used to page through large result sets. To get the next page - /// of results, set this parameter to the value of `nextPageToken` from the previous response. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - ///Gets the method name. public override string MethodName @@ -1944,27 +1944,27 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "projectId", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "projectId", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "projectId", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "projectId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2646,23 +2646,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string readGroup [Google.Apis.Util.RequestParameterAttribute("readGroupSetId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ReadGroupSetId { get; private set; } - /// The end position of the range on the reference, 0-based exclusive. If specified, - /// `referenceName` must also be specified. If unset or 0, defaults to the length of the - /// reference. - [Google.Apis.Util.RequestParameterAttribute("end", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable End { get; set; } - - /// The continuation token, which is used to page through large result sets. To get the next - /// page of results, set this parameter to the value of `nextPageToken` from the previous - /// response. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The maximum number of results to return in a single page. If unspecified, defaults to 1024. - /// The maximum value is 2048. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// The start position of the range on the reference, 0-based inclusive. If specified, /// `referenceName` must also be specified. Defaults to 0. [Google.Apis.Util.RequestParameterAttribute("start", Google.Apis.Util.RequestParameterType.Query)] @@ -2681,6 +2664,23 @@ public ListRequest(Google.Apis.Services.IClientService service, string readGroup [Google.Apis.Util.RequestParameterAttribute("referenceName", Google.Apis.Util.RequestParameterType.Query)] public virtual string ReferenceName { get; set; } + /// The end position of the range on the reference, 0-based exclusive. If specified, + /// `referenceName` must also be specified. If unset or 0, defaults to the length of the + /// reference. + [Google.Apis.Util.RequestParameterAttribute("end", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable End { get; set; } + + /// The continuation token, which is used to page through large result sets. To get the next + /// page of results, set this parameter to the value of `nextPageToken` from the previous + /// response. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// The maximum number of results to return in a single page. If unspecified, defaults to 1024. + /// The maximum value is 2048. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -2715,54 +2715,54 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "end", new Google.Apis.Discovery.Parameter + "start", new Google.Apis.Discovery.Parameter { - Name = "end", + Name = "start", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "targetBucketWidth", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "targetBucketWidth", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "referenceName", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "referenceName", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "start", new Google.Apis.Discovery.Parameter + "end", new Google.Apis.Discovery.Parameter { - Name = "start", + Name = "end", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "targetBucketWidth", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "targetBucketWidth", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "referenceName", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "referenceName", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -3412,11 +3412,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string reference [Google.Apis.Util.RequestParameterAttribute("referenceId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ReferenceId { get; private set; } - /// The end position (0-based, exclusive) of this query. Defaults to the length of this - /// reference. - [Google.Apis.Util.RequestParameterAttribute("end", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable End { get; set; } - /// The continuation token, which is used to page through large result sets. To get the next /// page of results, set this parameter to the value of `nextPageToken` from the previous /// response. @@ -3432,6 +3427,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string reference [Google.Apis.Util.RequestParameterAttribute("start", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Start { get; set; } + /// The end position (0-based, exclusive) of this query. Defaults to the length of this + /// reference. + [Google.Apis.Util.RequestParameterAttribute("end", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable End { get; set; } + ///Gets the method name. public override string MethodName @@ -3466,36 +3466,36 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "end", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "end", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "start", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "start", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "start", new Google.Apis.Discovery.Parameter + "end", new Google.Apis.Discovery.Parameter { - Name = "start", + Name = "end", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.nuspec b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.nuspec index 96387b9a17..103372e306 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.nuspec +++ b/Src/Generated/Google.Apis.Genomics.v1/Google.Apis.Genomics.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Genomics.v1 - 1.24.0.818 + 1.24.1.818 Google.Apis.Genomics.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Genomics.v1/Net45/Google.Apis.Genomics.v1.csproj b/Src/Generated/Google.Apis.Genomics.v1/Net45/Google.Apis.Genomics.v1.csproj index f448c202cf..e96a82ae40 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Net45/Google.Apis.Genomics.v1.csproj +++ b/Src/Generated/Google.Apis.Genomics.v1/Net45/Google.Apis.Genomics.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Genomics.v1/Net45/packages.config b/Src/Generated/Google.Apis.Genomics.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Genomics.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Genomics.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Genomics.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Genomics.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Genomics.v1/Profile259/Google.Apis.Genomics.v1.csproj b/Src/Generated/Google.Apis.Genomics.v1/Profile259/Google.Apis.Genomics.v1.csproj index 83d909ddfa..9e882965b6 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Profile259/Google.Apis.Genomics.v1.csproj +++ b/Src/Generated/Google.Apis.Genomics.v1/Profile259/Google.Apis.Genomics.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Genomics.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Genomics.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Genomics.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Genomics.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Genomics.v1/Properties/AssemblyInfo.cs index 507f3b61a1..33090065cf 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Genomics.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.Genomics.v1/project.json b/Src/Generated/Google.Apis.Genomics.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Genomics.v1/project.json +++ b/Src/Generated/Google.Apis.Genomics.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs index 82a64ce49c..d4c544a5a8 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -530,15 +530,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// The standard list page token. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The maximum number of results to return. If unspecified, defaults to 256. The maximum value is - /// 2048. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// A string for filtering Operations. The following filter fields are supported /// /// * projectId Required. Corresponds to OperationMetadata.projectId. * createTime The time this job was @@ -554,6 +545,15 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// The maximum number of results to return. If unspecified, defaults to 256. The maximum value is + /// 2048. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -588,27 +588,27 @@ protected override void InitParameters() Pattern = @"^operations$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -919,15 +919,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// Number of pipelines to return at once. Defaults to 256, and max is 2048. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// Required. The name of the project to search for pipelines. Caller must have READ access to this - /// project. - [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ProjectId { get; set; } - /// Pipelines with names that match this prefix should be returned. If unspecified, all pipelines /// in the project, up to `pageSize`, will be returned. [Google.Apis.Util.RequestParameterAttribute("namePrefix", Google.Apis.Util.RequestParameterType.Query)] @@ -938,6 +929,15 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Number of pipelines to return at once. Defaults to 256, and max is 2048. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Required. The name of the project to search for pipelines. Caller must have READ access to this + /// project. + [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ProjectId { get; set; } + ///Gets the method name. public override string MethodName @@ -963,36 +963,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "namePrefix", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "namePrefix", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "projectId", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "projectId", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "namePrefix", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "namePrefix", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "projectId", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "projectId", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.nuspec b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.nuspec index 23266ae647..ec94af5a8f 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.nuspec +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Google.Apis.Genomics.v1alpha2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Genomics.v1alpha2 - 1.24.0.818 + 1.24.1.818 Google.Apis.Genomics.v1alpha2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/Google.Apis.Genomics.v1alpha2.csproj b/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/Google.Apis.Genomics.v1alpha2.csproj index 0557a73970..142700cc72 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/Google.Apis.Genomics.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/Google.Apis.Genomics.v1alpha2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/packages.config b/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/NetStandard/project.json b/Src/Generated/Google.Apis.Genomics.v1alpha2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/Google.Apis.Genomics.v1alpha2.csproj b/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/Google.Apis.Genomics.v1alpha2.csproj index 366f6fbee3..49ea48eb2a 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/Google.Apis.Genomics.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/Google.Apis.Genomics.v1alpha2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/packages.config b/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Genomics.v1alpha2/Properties/AssemblyInfo.cs index d749769ec4..6253f6625e 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.Genomics.v1alpha2/project.json b/Src/Generated/Google.Apis.Genomics.v1alpha2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Genomics.v1alpha2/project.json +++ b/Src/Generated/Google.Apis.Genomics.v1alpha2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs index 8e4be82092..e8df5d5c5a 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs +++ b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.nuspec b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.nuspec index 107bf70b47..2c6903e7ed 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.nuspec +++ b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Gmail.v1 - 1.24.0.783 + 1.24.1.783 Google.Apis.Gmail.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Gmail.v1/Net45/Google.Apis.Gmail.v1.csproj b/Src/Generated/Google.Apis.Gmail.v1/Net45/Google.Apis.Gmail.v1.csproj index 3c3d3c85ea..0a0bf1e788 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Net45/Google.Apis.Gmail.v1.csproj +++ b/Src/Generated/Google.Apis.Gmail.v1/Net45/Google.Apis.Gmail.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Gmail.v1/Net45/packages.config b/Src/Generated/Google.Apis.Gmail.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Gmail.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Gmail.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Gmail.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Gmail.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Gmail.v1/Profile259/Google.Apis.Gmail.v1.csproj b/Src/Generated/Google.Apis.Gmail.v1/Profile259/Google.Apis.Gmail.v1.csproj index edf422331c..5929c97a90 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Profile259/Google.Apis.Gmail.v1.csproj +++ b/Src/Generated/Google.Apis.Gmail.v1/Profile259/Google.Apis.Gmail.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Gmail.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Gmail.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Gmail.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Gmail.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Gmail.v1/Properties/AssemblyInfo.cs index 169d8a17d2..91dc170200 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Gmail.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.783")] +[assembly: AssemblyVersion("1.24.1.783")] diff --git a/Src/Generated/Google.Apis.Gmail.v1/project.json b/Src/Generated/Google.Apis.Gmail.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/project.json +++ b/Src/Generated/Google.Apis.Gmail.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs index 98a427229a..5abfe01252 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.nuspec b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.nuspec index b27a14dc30..2a9dc7adb2 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.nuspec +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.GroupsMigration.v1 - 1.24.0.0 + 1.24.1.0 Google.Apis.GroupsMigration.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/Google.Apis.GroupsMigration.v1.csproj b/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/Google.Apis.GroupsMigration.v1.csproj index 8b271e3743..00a25fcda0 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/Google.Apis.GroupsMigration.v1.csproj +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/Google.Apis.GroupsMigration.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/packages.config b/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/NetStandard/project.json b/Src/Generated/Google.Apis.GroupsMigration.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/Google.Apis.GroupsMigration.v1.csproj b/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/Google.Apis.GroupsMigration.v1.csproj index 4aed99085e..72071ecde5 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/Google.Apis.GroupsMigration.v1.csproj +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/Google.Apis.GroupsMigration.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/packages.config b/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.GroupsMigration.v1/Properties/AssemblyInfo.cs index b3577c2e56..1b5d5e4666 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.0")] +[assembly: AssemblyVersion("1.24.1.0")] diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/project.json b/Src/Generated/Google.Apis.GroupsMigration.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/project.json +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs index d6cd8b0249..66978a15c8 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.nuspec b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.nuspec index f933702ff1..a90491b598 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.nuspec +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Groupssettings.v1 - 1.24.0.510 + 1.24.1.510 Google.Apis.Groupssettings.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Net45/Google.Apis.Groupssettings.v1.csproj b/Src/Generated/Google.Apis.Groupssettings.v1/Net45/Google.Apis.Groupssettings.v1.csproj index 0d00e45da4..e6d594b5fb 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Net45/Google.Apis.Groupssettings.v1.csproj +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Net45/Google.Apis.Groupssettings.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Net45/packages.config b/Src/Generated/Google.Apis.Groupssettings.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Groupssettings.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Groupssettings.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/Google.Apis.Groupssettings.v1.csproj b/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/Google.Apis.Groupssettings.v1.csproj index 487613fc03..ead9ee968d 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/Google.Apis.Groupssettings.v1.csproj +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/Google.Apis.Groupssettings.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Groupssettings.v1/Properties/AssemblyInfo.cs index f70a46212a..725031f293 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.510")] +[assembly: AssemblyVersion("1.24.1.510")] diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/project.json b/Src/Generated/Google.Apis.Groupssettings.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/project.json +++ b/Src/Generated/Google.Apis.Groupssettings.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs index 757b76437f..e8697af259 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs +++ b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -26,7 +26,7 @@ * API * Google Identity and Access Management (IAM) API * API Versionv1 - * API Rev20170317 (806) + * API Rev20170324 (813) * API Docs * * https://cloud.google.com/iam/ diff --git a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.nuspec b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.nuspec index 5b342d7951..e02386feec 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.nuspec +++ b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Iam.v1 - 1.24.0.806 + 1.24.1.813 Google.Apis.Iam.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Iam.v1/Net45/Google.Apis.Iam.v1.csproj b/Src/Generated/Google.Apis.Iam.v1/Net45/Google.Apis.Iam.v1.csproj index ec61b78092..33c5a495e4 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Net45/Google.Apis.Iam.v1.csproj +++ b/Src/Generated/Google.Apis.Iam.v1/Net45/Google.Apis.Iam.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Iam.v1/Net45/packages.config b/Src/Generated/Google.Apis.Iam.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Iam.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Iam.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Iam.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Iam.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Iam.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Iam.v1/Profile259/Google.Apis.Iam.v1.csproj b/Src/Generated/Google.Apis.Iam.v1/Profile259/Google.Apis.Iam.v1.csproj index b5337b12a9..55316aa59f 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Profile259/Google.Apis.Iam.v1.csproj +++ b/Src/Generated/Google.Apis.Iam.v1/Profile259/Google.Apis.Iam.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Iam.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Iam.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Iam.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Iam.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Iam.v1/Properties/AssemblyInfo.cs index 527a511bb4..07d77f3346 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Iam.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Iam.v1/project.json b/Src/Generated/Google.Apis.Iam.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Iam.v1/project.json +++ b/Src/Generated/Google.Apis.Iam.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.cs b/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.cs index 31ca7c3ade..3420657068 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.cs +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.nuspec b/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.nuspec index f6ffc5c5af..3d81f98e14 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.nuspec +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Google.Apis.IdentityToolkit.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.IdentityToolkit.v3 - 1.24.0.797 + 1.24.1.797 Google.Apis.IdentityToolkit.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/Google.Apis.IdentityToolkit.v3.csproj b/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/Google.Apis.IdentityToolkit.v3.csproj index f995ab3fad..58a354c5b8 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/Google.Apis.IdentityToolkit.v3.csproj +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/Google.Apis.IdentityToolkit.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/packages.config b/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/NetStandard/project.json b/Src/Generated/Google.Apis.IdentityToolkit.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/Google.Apis.IdentityToolkit.v3.csproj b/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/Google.Apis.IdentityToolkit.v3.csproj index 9f44818815..f423950642 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/Google.Apis.IdentityToolkit.v3.csproj +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/Google.Apis.IdentityToolkit.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/packages.config b/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.IdentityToolkit.v3/Properties/AssemblyInfo.cs index 6ff244831a..3172706410 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.797")] +[assembly: AssemblyVersion("1.24.1.797")] diff --git a/Src/Generated/Google.Apis.IdentityToolkit.v3/project.json b/Src/Generated/Google.Apis.IdentityToolkit.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.IdentityToolkit.v3/project.json +++ b/Src/Generated/Google.Apis.IdentityToolkit.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs index c7e5fbea09..368f67838d 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.nuspec b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.nuspec index e986401a59..8626c9a40d 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.nuspec +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Kgsearch.v1 - 1.24.0.739 + 1.24.1.739 Google.Apis.Kgsearch.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Net45/Google.Apis.Kgsearch.v1.csproj b/Src/Generated/Google.Apis.Kgsearch.v1/Net45/Google.Apis.Kgsearch.v1.csproj index 1f25988040..5fa63e64b5 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Net45/Google.Apis.Kgsearch.v1.csproj +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Net45/Google.Apis.Kgsearch.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Net45/packages.config b/Src/Generated/Google.Apis.Kgsearch.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Kgsearch.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Kgsearch.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/Google.Apis.Kgsearch.v1.csproj b/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/Google.Apis.Kgsearch.v1.csproj index 2a1c43c351..323e6d367d 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/Google.Apis.Kgsearch.v1.csproj +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/Google.Apis.Kgsearch.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Kgsearch.v1/Properties/AssemblyInfo.cs index 3a364df5bf..6476a5d2c4 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.739")] +[assembly: AssemblyVersion("1.24.1.739")] diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/project.json b/Src/Generated/Google.Apis.Kgsearch.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/project.json +++ b/Src/Generated/Google.Apis.Kgsearch.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs index 285d6c4cf0..ef1896446c 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs +++ b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.nuspec b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.nuspec index 11e83474e2..ec5f801316 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.nuspec +++ b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Licensing.v1 - 1.24.0.774 + 1.24.1.774 Google.Apis.Licensing.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Licensing.v1/Net45/Google.Apis.Licensing.v1.csproj b/Src/Generated/Google.Apis.Licensing.v1/Net45/Google.Apis.Licensing.v1.csproj index ac6d0ecfdd..6db9f5f9f2 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Net45/Google.Apis.Licensing.v1.csproj +++ b/Src/Generated/Google.Apis.Licensing.v1/Net45/Google.Apis.Licensing.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Licensing.v1/Net45/packages.config b/Src/Generated/Google.Apis.Licensing.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Licensing.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Licensing.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Licensing.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Licensing.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Licensing.v1/Profile259/Google.Apis.Licensing.v1.csproj b/Src/Generated/Google.Apis.Licensing.v1/Profile259/Google.Apis.Licensing.v1.csproj index 157f32f202..3971253f15 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Profile259/Google.Apis.Licensing.v1.csproj +++ b/Src/Generated/Google.Apis.Licensing.v1/Profile259/Google.Apis.Licensing.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Licensing.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Licensing.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Licensing.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Licensing.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Licensing.v1/Properties/AssemblyInfo.cs index ccc512baa6..58a52fce7c 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Licensing.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.774")] +[assembly: AssemblyVersion("1.24.1.774")] diff --git a/Src/Generated/Google.Apis.Licensing.v1/project.json b/Src/Generated/Google.Apis.Licensing.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/project.json +++ b/Src/Generated/Google.Apis.Licensing.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs index 26cf52bd1b..ba7db55129 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -884,18 +884,18 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Optional. The maximum number of results to return from this request. Non-positive values - /// are ignored. The presence of nextPageToken in the response indicates that more results might be - /// available. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// Optional. If present, then retrieve the next batch of results from the preceding call to /// this method. pageToken must be the value of nextPageToken from the previous response. The values of /// other method parameters should be identical to those in the previous call. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. The maximum number of results to return from this request. Non-positive values + /// are ignored. The presence of nextPageToken in the response indicates that more results might be + /// available. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -930,18 +930,18 @@ protected override void InitParameters() Pattern = @"^billingAccounts/[^/]+$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2411,18 +2411,18 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Optional. The maximum number of results to return from this request. Non-positive values - /// are ignored. The presence of nextPageToken in the response indicates that more results might be - /// available. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// Optional. If present, then retrieve the next batch of results from the preceding call to /// this method. pageToken must be the value of nextPageToken from the previous response. The values of /// other method parameters should be identical to those in the previous call. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. The maximum number of results to return from this request. Non-positive values + /// are ignored. The presence of nextPageToken in the response indicates that more results might be + /// available. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -2457,18 +2457,18 @@ protected override void InitParameters() Pattern = @"^organizations/[^/]+$", }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.nuspec b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.nuspec index a2d1ed4b45..48d9eccbed 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.nuspec +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Logging.v2 - 1.24.0.809 + 1.24.1.809 Google.Apis.Logging.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2/Net45/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Net45/Google.Apis.Logging.v2.csproj index 0b7d746eb0..f30fafa4f2 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Net45/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Net45/Google.Apis.Logging.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Logging.v2/Net45/packages.config b/Src/Generated/Google.Apis.Logging.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Logging.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Logging.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Logging.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Logging.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Logging.v2/Profile259/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Profile259/Google.Apis.Logging.v2.csproj index 3790bcbe53..8df77b188a 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Profile259/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Profile259/Google.Apis.Logging.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Logging.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Logging.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Logging.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Logging.v2/Properties/AssemblyInfo.cs index 7787b34e58..9a870a143c 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Logging.v2/project.json b/Src/Generated/Google.Apis.Logging.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Logging.v2/project.json +++ b/Src/Generated/Google.Apis.Logging.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.cs b/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.cs index 64ec4b6086..d60e3abc93 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.cs +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -526,18 +526,18 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Optional. If present, then retrieve the next batch of results from the preceding call to - /// this method. pageToken must be the value of nextPageToken from the previous response. The values of - /// other method parameters should be identical to those in the previous call. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - /// Optional. The maximum number of results to return from this request. Non-positive values /// are ignored. The presence of nextPageToken in the response indicates that more results might be /// available. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// Optional. If present, then retrieve the next batch of results from the preceding call to + /// this method. pageToken must be the value of nextPageToken from the previous response. The values of + /// other method parameters should be identical to those in the previous call. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -572,18 +572,18 @@ protected override void InitParameters() Pattern = @"^billingAccounts/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -753,18 +753,18 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// Optional. The maximum number of results to return from this request. Non-positive values are - /// ignored. The presence of nextPageToken in the response indicates that more results might be - /// available. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// Optional. If present, then retrieve the next batch of results from the preceding call to this /// method. pageToken must be the value of nextPageToken from the previous response. The values of other /// method parameters should be identical to those in the previous call. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. The maximum number of results to return from this request. Non-positive values are + /// ignored. The presence of nextPageToken in the response indicates that more results might be + /// available. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -790,18 +790,18 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.nuspec b/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.nuspec index 79783739e4..fc2fabff83 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.nuspec +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Google.Apis.Logging.v2beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Logging.v2beta1 - 1.24.0.809 + 1.24.1.809 Google.Apis.Logging.v2beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Net45/Google.Apis.Logging.v2beta1.csproj b/Src/Generated/Google.Apis.Logging.v2beta1/Net45/Google.Apis.Logging.v2beta1.csproj index 1e25eac4a1..42419916ff 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Net45/Google.Apis.Logging.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Net45/Google.Apis.Logging.v2beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Net45/packages.config b/Src/Generated/Google.Apis.Logging.v2beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Logging.v2beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Logging.v2beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/Google.Apis.Logging.v2beta1.csproj b/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/Google.Apis.Logging.v2beta1.csproj index 2cb07aa4d5..e569078345 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/Google.Apis.Logging.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/Google.Apis.Logging.v2beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Logging.v2beta1/Properties/AssemblyInfo.cs index 77bfb97757..1c4372b45f 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Logging.v2beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Logging.v2beta1/project.json b/Src/Generated/Google.Apis.Logging.v2beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Logging.v2beta1/project.json +++ b/Src/Generated/Google.Apis.Logging.v2beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs index c4dba29b67..af3ac4862a 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -504,14 +504,14 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// The token returned by the previous request. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - /// Maximum number of product statuses to return in the response, used for paging. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// The token returned by the previous request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -546,18 +546,18 @@ protected override void InitParameters() Pattern = @"^accounts/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.nuspec b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.nuspec index 79f540c582..6fc85487dd 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.nuspec +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.ManufacturerCenter.v1 - 1.24.0.811 + 1.24.1.811 Google.Apis.ManufacturerCenter.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/Google.Apis.ManufacturerCenter.v1.csproj b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/Google.Apis.ManufacturerCenter.v1.csproj index c9e6f35329..693dfc2c0a 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/Google.Apis.ManufacturerCenter.v1.csproj +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/Google.Apis.ManufacturerCenter.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/packages.config b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/NetStandard/project.json b/Src/Generated/Google.Apis.ManufacturerCenter.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/Google.Apis.ManufacturerCenter.v1.csproj b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/Google.Apis.ManufacturerCenter.v1.csproj index f73d4affe2..cfa903ac9d 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/Google.Apis.ManufacturerCenter.v1.csproj +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/Google.Apis.ManufacturerCenter.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/packages.config b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Properties/AssemblyInfo.cs index 80bb55d585..1919df2822 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.811")] +[assembly: AssemblyVersion("1.24.1.811")] diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/project.json b/Src/Generated/Google.Apis.ManufacturerCenter.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/project.json +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.cs b/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.cs index dca9a6c4e9..381c9655d0 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.cs +++ b/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.nuspec b/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.nuspec index 53045ec74e..751d156d45 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.nuspec +++ b/Src/Generated/Google.Apis.Mirror.v1/Google.Apis.Mirror.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Mirror.v1 - 1.24.0.803 + 1.24.1.803 Google.Apis.Mirror.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Mirror.v1/Net45/Google.Apis.Mirror.v1.csproj b/Src/Generated/Google.Apis.Mirror.v1/Net45/Google.Apis.Mirror.v1.csproj index 9818b9c506..0343962ac2 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Net45/Google.Apis.Mirror.v1.csproj +++ b/Src/Generated/Google.Apis.Mirror.v1/Net45/Google.Apis.Mirror.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Mirror.v1/Net45/packages.config b/Src/Generated/Google.Apis.Mirror.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Mirror.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Mirror.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Mirror.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Mirror.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Mirror.v1/Profile259/Google.Apis.Mirror.v1.csproj b/Src/Generated/Google.Apis.Mirror.v1/Profile259/Google.Apis.Mirror.v1.csproj index f04ab83a7a..08df866b95 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Profile259/Google.Apis.Mirror.v1.csproj +++ b/Src/Generated/Google.Apis.Mirror.v1/Profile259/Google.Apis.Mirror.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Mirror.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Mirror.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Mirror.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Mirror.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Mirror.v1/Properties/AssemblyInfo.cs index b851106d94..c6c5654691 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Mirror.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.803")] +[assembly: AssemblyVersion("1.24.1.803")] diff --git a/Src/Generated/Google.Apis.Mirror.v1/project.json b/Src/Generated/Google.Apis.Mirror.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Mirror.v1/project.json +++ b/Src/Generated/Google.Apis.Mirror.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs index e840019d28..4ab068a104 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs +++ b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -556,15 +556,15 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// A positive number that is the maximum number of results to return. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + /// Optional. The beginning of the time interval. The default value for the start time is /// the end time. The start time must not be later than the end time. [Google.Apis.Util.RequestParameterAttribute("interval.startTime", Google.Apis.Util.RequestParameterType.Query)] public virtual object IntervalStartTime { get; set; } - /// A positive number that is the maximum number of results to return. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - ///Gets the method name. public override string MethodName @@ -626,18 +626,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "interval.startTime", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "interval.startTime", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "interval.startTime", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "interval.startTime", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -880,6 +880,18 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose + /// parentName field contains the group name. If no groups have this parent, the results are + /// empty. + [Google.Apis.Util.RequestParameterAttribute("childrenOfGroup", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ChildrenOfGroup { get; set; } + + /// A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants + /// of the specified group. This is a superset of the results returned by the childrenOfGroup filter, + /// and includes children-of-children, and so forth. + [Google.Apis.Util.RequestParameterAttribute("descendantsOfGroup", Google.Apis.Util.RequestParameterType.Query)] + public virtual string DescendantsOfGroup { get; set; } + /// If this field is not empty then it must contain the nextPageToken value returned by a /// previous call to this method. Using this field causes the method to return additional results from /// the previous method call. @@ -897,18 +909,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("ancestorsOfGroup", Google.Apis.Util.RequestParameterType.Query)] public virtual string AncestorsOfGroup { get; set; } - /// A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose - /// parentName field contains the group name. If no groups have this parent, the results are - /// empty. - [Google.Apis.Util.RequestParameterAttribute("childrenOfGroup", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ChildrenOfGroup { get; set; } - - /// A group name: "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants - /// of the specified group. This is a superset of the results returned by the childrenOfGroup filter, - /// and includes children-of-children, and so forth. - [Google.Apis.Util.RequestParameterAttribute("descendantsOfGroup", Google.Apis.Util.RequestParameterType.Query)] - public virtual string DescendantsOfGroup { get; set; } - ///Gets the method name. public override string MethodName @@ -943,45 +943,45 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "childrenOfGroup", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "childrenOfGroup", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "descendantsOfGroup", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "descendantsOfGroup", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "ancestorsOfGroup", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "ancestorsOfGroup", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "childrenOfGroup", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "childrenOfGroup", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "descendantsOfGroup", new Google.Apis.Discovery.Parameter + "ancestorsOfGroup", new Google.Apis.Discovery.Parameter { - Name = "descendantsOfGroup", + Name = "ancestorsOfGroup", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1329,6 +1329,13 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// If this field is empty, all custom and system-defined metric descriptors are returned. + /// Otherwise, the filter specifies which metric descriptors are to be returned. For example, the + /// following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/") + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + /// If this field is not empty then it must contain the nextPageToken value returned by a /// previous call to this method. Using this field causes the method to return additional results from /// the previous method call. @@ -1339,13 +1346,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// If this field is empty, all custom and system-defined metric descriptors are returned. - /// Otherwise, the filter specifies which metric descriptors are to be returned. For example, the - /// following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/") - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - ///Gets the method name. public override string MethodName @@ -1380,27 +1380,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1733,6 +1733,18 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// The set of fields to preserve when crossSeriesReducer is specified. The groupByFields + /// determine how the time series are partitioned into subsets prior to applying the aggregation + /// function. Each subset contains time series that have the same value for each of the grouping fields. + /// Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to + /// each subset of time series. It is not possible to reduce across different resource types, so this + /// field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. + /// If groupByFields is not specified and all the time series have the same resource type, then the time + /// series are aggregated into a single output time series. If crossSeriesReducer is not defined, this + /// field is ignored. + [Google.Apis.Util.RequestParameterAttribute("aggregation.groupByFields", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable AggregationGroupByFields { get; set; } + /// Required. The end of the time interval. [Google.Apis.Util.RequestParameterAttribute("interval.endTime", Google.Apis.Util.RequestParameterType.Query)] public virtual object IntervalEndTime { get; set; } @@ -1885,18 +1897,6 @@ public enum ViewEnum HEADERS, } - /// The set of fields to preserve when crossSeriesReducer is specified. The groupByFields - /// determine how the time series are partitioned into subsets prior to applying the aggregation - /// function. Each subset contains time series that have the same value for each of the grouping fields. - /// Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to - /// each subset of time series. It is not possible to reduce across different resource types, so this - /// field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. - /// If groupByFields is not specified and all the time series have the same resource type, then the time - /// series are aggregated into a single output time series. If crossSeriesReducer is not defined, this - /// field is ignored. - [Google.Apis.Util.RequestParameterAttribute("aggregation.groupByFields", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable AggregationGroupByFields { get; set; } - ///Gets the method name. public override string MethodName @@ -1930,6 +1930,15 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+$", }); + RequestParameters.Add( + "aggregation.groupByFields", new Google.Apis.Discovery.Parameter + { + Name = "aggregation.groupByFields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add( "interval.endTime", new Google.Apis.Discovery.Parameter { @@ -2020,15 +2029,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add( - "aggregation.groupByFields", new Google.Apis.Discovery.Parameter - { - Name = "aggregation.groupByFields", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.nuspec b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.nuspec index 37a304f286..0249569e82 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.nuspec +++ b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Monitoring.v3 - 1.24.0.816 + 1.24.1.816 Google.Apis.Monitoring.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Net45/Google.Apis.Monitoring.v3.csproj b/Src/Generated/Google.Apis.Monitoring.v3/Net45/Google.Apis.Monitoring.v3.csproj index 8f769fe469..0fa8811e52 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Net45/Google.Apis.Monitoring.v3.csproj +++ b/Src/Generated/Google.Apis.Monitoring.v3/Net45/Google.Apis.Monitoring.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Net45/packages.config b/Src/Generated/Google.Apis.Monitoring.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Monitoring.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Monitoring.v3/NetStandard/project.json b/Src/Generated/Google.Apis.Monitoring.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Monitoring.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Profile259/Google.Apis.Monitoring.v3.csproj b/Src/Generated/Google.Apis.Monitoring.v3/Profile259/Google.Apis.Monitoring.v3.csproj index 417361551b..6a2465b15f 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Profile259/Google.Apis.Monitoring.v3.csproj +++ b/Src/Generated/Google.Apis.Monitoring.v3/Profile259/Google.Apis.Monitoring.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Profile259/packages.config b/Src/Generated/Google.Apis.Monitoring.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Monitoring.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Monitoring.v3/Properties/AssemblyInfo.cs index d8c30d50ad..fd0adef802 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Monitoring.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.Monitoring.v3/project.json b/Src/Generated/Google.Apis.Monitoring.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/project.json +++ b/Src/Generated/Google.Apis.Monitoring.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.cs b/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.cs index 2d02f39776..77b760ad78 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.cs +++ b/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.nuspec b/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.nuspec index 34073486c6..8579472efb 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.nuspec +++ b/Src/Generated/Google.Apis.Oauth2.v1/Google.Apis.Oauth2.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Oauth2.v1 - 1.24.0.672 + 1.24.1.672 Google.Apis.Oauth2.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Net45/Google.Apis.Oauth2.v1.csproj b/Src/Generated/Google.Apis.Oauth2.v1/Net45/Google.Apis.Oauth2.v1.csproj index 53c3215237..fc68519f80 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Net45/Google.Apis.Oauth2.v1.csproj +++ b/Src/Generated/Google.Apis.Oauth2.v1/Net45/Google.Apis.Oauth2.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Net45/packages.config b/Src/Generated/Google.Apis.Oauth2.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Oauth2.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Oauth2.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Oauth2.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Profile259/Google.Apis.Oauth2.v1.csproj b/Src/Generated/Google.Apis.Oauth2.v1/Profile259/Google.Apis.Oauth2.v1.csproj index d3ee368337..33dbab2b02 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Profile259/Google.Apis.Oauth2.v1.csproj +++ b/Src/Generated/Google.Apis.Oauth2.v1/Profile259/Google.Apis.Oauth2.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Oauth2.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Oauth2.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Oauth2.v1/Properties/AssemblyInfo.cs index 2fc51979cc..1e1b4ea646 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Oauth2.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.672")] +[assembly: AssemblyVersion("1.24.1.672")] diff --git a/Src/Generated/Google.Apis.Oauth2.v1/project.json b/Src/Generated/Google.Apis.Oauth2.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Oauth2.v1/project.json +++ b/Src/Generated/Google.Apis.Oauth2.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs index ae81c33120..2875685012 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs +++ b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.nuspec b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.nuspec index 3d16fdf8c9..c20eeb6db5 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.nuspec +++ b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Oauth2.v2 - 1.24.0.672 + 1.24.1.672 Google.Apis.Oauth2.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Net45/Google.Apis.Oauth2.v2.csproj b/Src/Generated/Google.Apis.Oauth2.v2/Net45/Google.Apis.Oauth2.v2.csproj index 658a1d6f55..7983666320 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Net45/Google.Apis.Oauth2.v2.csproj +++ b/Src/Generated/Google.Apis.Oauth2.v2/Net45/Google.Apis.Oauth2.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Net45/packages.config b/Src/Generated/Google.Apis.Oauth2.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Oauth2.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Oauth2.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Oauth2.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Profile259/Google.Apis.Oauth2.v2.csproj b/Src/Generated/Google.Apis.Oauth2.v2/Profile259/Google.Apis.Oauth2.v2.csproj index 63eadfef60..59005af807 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Profile259/Google.Apis.Oauth2.v2.csproj +++ b/Src/Generated/Google.Apis.Oauth2.v2/Profile259/Google.Apis.Oauth2.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Oauth2.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Oauth2.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Oauth2.v2/Properties/AssemblyInfo.cs index a5cca5c561..ed086a1c06 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Oauth2.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.672")] +[assembly: AssemblyVersion("1.24.1.672")] diff --git a/Src/Generated/Google.Apis.Oauth2.v2/project.json b/Src/Generated/Google.Apis.Oauth2.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/project.json +++ b/Src/Generated/Google.Apis.Oauth2.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.cs b/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.cs index 3f1e59615d..ef24daa64e 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.cs +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.nuspec b/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.nuspec index d8adc21e58..043469cf5a 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.nuspec +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Google.Apis.Pagespeedonline.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Pagespeedonline.v1 - 1.24.0.703 + 1.24.1.703 Google.Apis.Pagespeedonline.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/Google.Apis.Pagespeedonline.v1.csproj b/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/Google.Apis.Pagespeedonline.v1.csproj index 9e9b46a0fb..25b0f50022 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/Google.Apis.Pagespeedonline.v1.csproj +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/Google.Apis.Pagespeedonline.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/packages.config b/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Pagespeedonline.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/Google.Apis.Pagespeedonline.v1.csproj b/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/Google.Apis.Pagespeedonline.v1.csproj index e332210180..7f010d094f 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/Google.Apis.Pagespeedonline.v1.csproj +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/Google.Apis.Pagespeedonline.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Pagespeedonline.v1/Properties/AssemblyInfo.cs index 9e17b2155d..c22f256108 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.703")] +[assembly: AssemblyVersion("1.24.1.703")] diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v1/project.json b/Src/Generated/Google.Apis.Pagespeedonline.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v1/project.json +++ b/Src/Generated/Google.Apis.Pagespeedonline.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.cs b/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.cs index 530797343b..e531c7f10f 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.cs +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.nuspec b/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.nuspec index a491c7da3d..9c31518ea3 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.nuspec +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Google.Apis.Pagespeedonline.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Pagespeedonline.v2 - 1.24.0.703 + 1.24.1.703 Google.Apis.Pagespeedonline.v2 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/Google.Apis.Pagespeedonline.v2.csproj b/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/Google.Apis.Pagespeedonline.v2.csproj index 607cd5db07..48c06d0b53 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/Google.Apis.Pagespeedonline.v2.csproj +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/Google.Apis.Pagespeedonline.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/packages.config b/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Pagespeedonline.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/Google.Apis.Pagespeedonline.v2.csproj b/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/Google.Apis.Pagespeedonline.v2.csproj index 0dbf74a6be..9c2a080e48 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/Google.Apis.Pagespeedonline.v2.csproj +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/Google.Apis.Pagespeedonline.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Pagespeedonline.v2/Properties/AssemblyInfo.cs index 86a11caa24..490c2ef6fc 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.703")] +[assembly: AssemblyVersion("1.24.1.703")] diff --git a/Src/Generated/Google.Apis.Pagespeedonline.v2/project.json b/Src/Generated/Google.Apis.Pagespeedonline.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Pagespeedonline.v2/project.json +++ b/Src/Generated/Google.Apis.Pagespeedonline.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.cs b/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.cs index 0f831b23d3..5455f93e72 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.cs +++ b/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -450,31 +450,19 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// Locale to use for the current request. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataLocale { get; set; } - - /// IP address to use instead of the user's geo-located IP address. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesIpAddress { get; set; } - - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - /// Second level identifier to indicate where the traffic comes from. An identifier has multiple /// letters created by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } - /// Google Partners session ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataPartnersSessionId { get; set; } + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// A token identifying a page of results that the server returns. Typically, this is the value of /// `ListAnalyticsResponse.next_page_token` returned from the previous call to ListAnalytics. Will be a date /// string in `YYYY-MM-DD` format representing the end date of the date range of results to return. If @@ -494,6 +482,18 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } + /// Locale to use for the current request. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataLocale { get; set; } + + /// IP address to use instead of the user's geo-located IP address. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesIpAddress { get; set; } + + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + ///Gets the method name. public override string MethodName @@ -519,81 +519,81 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -808,23 +808,19 @@ public GetRequest(Google.Apis.Services.IClientService service, string companyId) [Google.Apis.Util.RequestParameterAttribute("companyId", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompanyId { get; private set; } - /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created - /// by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } - - /// IP address to use instead of the user's geo-located IP address. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesIpAddress { get; set; } + /// If the company's budget is in a different currency code than this one, then the converted + /// budget is converted to this currency code. + [Google.Apis.Util.RequestParameterAttribute("currencyCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CurrencyCode { get; set; } /// Experiment IDs the current request belongs to. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - /// If the company's budget is in a different currency code than this one, then the converted - /// budget is converted to this currency code. - [Google.Apis.Util.RequestParameterAttribute("currencyCode", Google.Apis.Util.RequestParameterType.Query)] - public virtual string CurrencyCode { get; set; } + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple + /// letters created by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } /// How to order addresses within the returned company. Currently, only `address` and `address /// desc` is supported which will sorted by closest to farthest in distance from given address and farthest @@ -832,19 +828,14 @@ public GetRequest(Google.Apis.Services.IClientService service, string companyId) [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] public virtual string OrderBy { get; set; } - /// Second level identifier to indicate where the traffic comes from. An identifier has multiple - /// letters created by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } /// Logged-in user ID to impersonate instead of the user's ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesUserId { get; set; } - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - /// The view of `Company` resource to be returned. This must not be /// `COMPANY_VIEW_UNSPECIFIED`. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] @@ -860,14 +851,23 @@ public enum ViewEnum CVGOOGLEPARTNERSEARCH, } + /// Locale to use for the current request. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataLocale { get; set; } + /// The address to use for sorting the company's addresses by proximity. If not given, the geo- /// located address of the request is used. Used when order_by is set. [Google.Apis.Util.RequestParameterAttribute("address", Google.Apis.Util.RequestParameterType.Query)] public virtual string Address { get; set; } - /// Locale to use for the current request. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataLocale { get; set; } + /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created + /// by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } + + /// IP address to use instead of the user's geo-located IP address. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesIpAddress { get; set; } ///Gets the method name. @@ -903,18 +903,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter - { - Name = "requestMetadata.trafficSource.trafficSourceId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "currencyCode", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "currencyCode", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -930,9 +921,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "currencyCode", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "currencyCode", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -948,9 +939,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -966,18 +957,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "view", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "view", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "view", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -993,9 +984,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.trafficSource.trafficSourceId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + { + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1022,95 +1022,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - - /// A token identifying a page of results that the server returns. Typically, this is the value of - /// `ListCompaniesResponse.next_page_token` returned from the previous call to ListCompanies. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Company name to search for. - [Google.Apis.Util.RequestParameterAttribute("companyName", Google.Apis.Util.RequestParameterType.Query)] - public virtual string CompanyName { get; set; } - - /// List of industries the company can help with. - [Google.Apis.Util.RequestParameterAttribute("industries", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Industries { get; set; } - - /// List of industries the company can help with. - public enum IndustriesEnum - { - [Google.Apis.Util.StringValueAttribute("INDUSTRY_UNSPECIFIED")] - INDUSTRYUNSPECIFIED, - [Google.Apis.Util.StringValueAttribute("I_AUTOMOTIVE")] - IAUTOMOTIVE, - [Google.Apis.Util.StringValueAttribute("I_BUSINESS_TO_BUSINESS")] - IBUSINESSTOBUSINESS, - [Google.Apis.Util.StringValueAttribute("I_CONSUMER_PACKAGED_GOODS")] - ICONSUMERPACKAGEDGOODS, - [Google.Apis.Util.StringValueAttribute("I_EDUCATION")] - IEDUCATION, - [Google.Apis.Util.StringValueAttribute("I_FINANCE")] - IFINANCE, - [Google.Apis.Util.StringValueAttribute("I_HEALTHCARE")] - IHEALTHCARE, - [Google.Apis.Util.StringValueAttribute("I_MEDIA_AND_ENTERTAINMENT")] - IMEDIAANDENTERTAINMENT, - [Google.Apis.Util.StringValueAttribute("I_RETAIL")] - IRETAIL, - [Google.Apis.Util.StringValueAttribute("I_TECHNOLOGY")] - ITECHNOLOGY, - [Google.Apis.Util.StringValueAttribute("I_TRAVEL")] - ITRAVEL, - } - - /// Website URL that will help to find a better matched company. . - [Google.Apis.Util.RequestParameterAttribute("websiteUrl", Google.Apis.Util.RequestParameterType.Query)] - public virtual string WebsiteUrl { get; set; } - - /// List of reasons for using Google Partner Search to get companies. - [Google.Apis.Util.RequestParameterAttribute("gpsMotivations", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable GpsMotivations { get; set; } - - /// List of reasons for using Google Partner Search to get companies. - public enum GpsMotivationsEnum - { - [Google.Apis.Util.StringValueAttribute("GPS_MOTIVATION_UNSPECIFIED")] - GPSMOTIVATIONUNSPECIFIED, - [Google.Apis.Util.StringValueAttribute("GPSM_HELP_WITH_ADVERTISING")] - GPSMHELPWITHADVERTISING, - [Google.Apis.Util.StringValueAttribute("GPSM_HELP_WITH_WEBSITE")] - GPSMHELPWITHWEBSITE, - [Google.Apis.Util.StringValueAttribute("GPSM_NO_WEBSITE")] - GPSMNOWEBSITE, - } - - /// List of language codes that company can support. Only primary language subtags are accepted as - /// defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages"). - [Google.Apis.Util.RequestParameterAttribute("languageCodes", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable LanguageCodes { get; set; } - - /// Requested page size. Server may return fewer companies than requested. If unspecified, server - /// picks an appropriate default. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// IP address to use instead of the user's geo-located IP address. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesIpAddress { get; set; } - - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - - /// How to order addresses within the returned companies. Currently, only `address` and `address - /// desc` is supported which will sorted by closest to farthest in distance from given address and farthest - /// to closest distance from given address respectively. - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - /// List of specializations that the returned agencies should provide. If this is not empty, any /// returned agency must have at least one of these specializations, or one of the services in the /// "services" field. @@ -1140,14 +1051,14 @@ public enum SpecializationsEnum [Google.Apis.Util.RequestParameterAttribute("maxMonthlyBudget.currencyCode", Google.Apis.Util.RequestParameterType.Query)] public virtual string MaxMonthlyBudgetCurrencyCode { get; set; } - /// The 3-letter currency code defined in ISO 4217. - [Google.Apis.Util.RequestParameterAttribute("minMonthlyBudget.currencyCode", Google.Apis.Util.RequestParameterType.Query)] - public virtual string MinMonthlyBudgetCurrencyCode { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// The 3-letter currency code defined in ISO 4217. + [Google.Apis.Util.RequestParameterAttribute("minMonthlyBudget.currencyCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string MinMonthlyBudgetCurrencyCode { get; set; } + /// The view of the `Company` resource to be returned. This must not be /// `COMPANY_VIEW_UNSPECIFIED`. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] @@ -1163,15 +1074,15 @@ public enum ViewEnum CVGOOGLEPARTNERSEARCH, } + /// Locale to use for the current request. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataLocale { get; set; } + /// The address to use when searching for companies. If not given, the geo-located address of the /// request is used. [Google.Apis.Util.RequestParameterAttribute("address", Google.Apis.Util.RequestParameterType.Query)] public virtual string Address { get; set; } - /// Locale to use for the current request. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataLocale { get; set; } - /// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US /// dollar. [Google.Apis.Util.RequestParameterAttribute("minMonthlyBudget.units", Google.Apis.Util.RequestParameterType.Query)] @@ -1211,16 +1122,16 @@ public enum ServicesEnum SMOBILEWEBSITESERVICES, } - /// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US - /// dollar. - [Google.Apis.Util.RequestParameterAttribute("maxMonthlyBudget.units", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxMonthlyBudgetUnits { get; set; } - /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created /// by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } + /// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US + /// dollar. + [Google.Apis.Util.RequestParameterAttribute("maxMonthlyBudget.units", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxMonthlyBudgetUnits { get; set; } + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple /// letters created by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] @@ -1233,6 +1144,95 @@ public enum ServicesEnum [Google.Apis.Util.RequestParameterAttribute("minMonthlyBudget.nanos", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable MinMonthlyBudgetNanos { get; set; } + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + + /// A token identifying a page of results that the server returns. Typically, this is the value of + /// `ListCompaniesResponse.next_page_token` returned from the previous call to ListCompanies. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Company name to search for. + [Google.Apis.Util.RequestParameterAttribute("companyName", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CompanyName { get; set; } + + /// List of industries the company can help with. + [Google.Apis.Util.RequestParameterAttribute("industries", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Industries { get; set; } + + /// List of industries the company can help with. + public enum IndustriesEnum + { + [Google.Apis.Util.StringValueAttribute("INDUSTRY_UNSPECIFIED")] + INDUSTRYUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("I_AUTOMOTIVE")] + IAUTOMOTIVE, + [Google.Apis.Util.StringValueAttribute("I_BUSINESS_TO_BUSINESS")] + IBUSINESSTOBUSINESS, + [Google.Apis.Util.StringValueAttribute("I_CONSUMER_PACKAGED_GOODS")] + ICONSUMERPACKAGEDGOODS, + [Google.Apis.Util.StringValueAttribute("I_EDUCATION")] + IEDUCATION, + [Google.Apis.Util.StringValueAttribute("I_FINANCE")] + IFINANCE, + [Google.Apis.Util.StringValueAttribute("I_HEALTHCARE")] + IHEALTHCARE, + [Google.Apis.Util.StringValueAttribute("I_MEDIA_AND_ENTERTAINMENT")] + IMEDIAANDENTERTAINMENT, + [Google.Apis.Util.StringValueAttribute("I_RETAIL")] + IRETAIL, + [Google.Apis.Util.StringValueAttribute("I_TECHNOLOGY")] + ITECHNOLOGY, + [Google.Apis.Util.StringValueAttribute("I_TRAVEL")] + ITRAVEL, + } + + /// Website URL that will help to find a better matched company. . + [Google.Apis.Util.RequestParameterAttribute("websiteUrl", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WebsiteUrl { get; set; } + + /// List of reasons for using Google Partner Search to get companies. + [Google.Apis.Util.RequestParameterAttribute("gpsMotivations", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable GpsMotivations { get; set; } + + /// List of reasons for using Google Partner Search to get companies. + public enum GpsMotivationsEnum + { + [Google.Apis.Util.StringValueAttribute("GPS_MOTIVATION_UNSPECIFIED")] + GPSMOTIVATIONUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("GPSM_HELP_WITH_ADVERTISING")] + GPSMHELPWITHADVERTISING, + [Google.Apis.Util.StringValueAttribute("GPSM_HELP_WITH_WEBSITE")] + GPSMHELPWITHWEBSITE, + [Google.Apis.Util.StringValueAttribute("GPSM_NO_WEBSITE")] + GPSMNOWEBSITE, + } + + /// List of language codes that company can support. Only primary language subtags are accepted as + /// defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages"). + [Google.Apis.Util.RequestParameterAttribute("languageCodes", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable LanguageCodes { get; set; } + + /// Requested page size. Server may return fewer companies than requested. If unspecified, server + /// picks an appropriate default. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// IP address to use instead of the user's geo-located IP address. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesIpAddress { get; set; } + + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + + /// How to order addresses within the returned companies. Currently, only `address` and `address + /// desc` is supported which will sorted by closest to farthest in distance from given address and farthest + /// to closest distance from given address respectively. + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + ///Gets the method name. public override string MethodName @@ -1258,225 +1258,225 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "specializations", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "specializations", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "maxMonthlyBudget.currencyCode", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "maxMonthlyBudget.currencyCode", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "companyName", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "companyName", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "industries", new Google.Apis.Discovery.Parameter + "minMonthlyBudget.currencyCode", new Google.Apis.Discovery.Parameter { - Name = "industries", + Name = "minMonthlyBudget.currencyCode", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "websiteUrl", new Google.Apis.Discovery.Parameter + "view", new Google.Apis.Discovery.Parameter { - Name = "websiteUrl", + Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "gpsMotivations", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "gpsMotivations", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "languageCodes", new Google.Apis.Discovery.Parameter + "address", new Google.Apis.Discovery.Parameter { - Name = "languageCodes", + Name = "address", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "minMonthlyBudget.units", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "minMonthlyBudget.units", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "maxMonthlyBudget.nanos", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "maxMonthlyBudget.nanos", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "services", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "services", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "orderBy", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "orderBy", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "specializations", new Google.Apis.Discovery.Parameter + "maxMonthlyBudget.units", new Google.Apis.Discovery.Parameter { - Name = "specializations", + Name = "maxMonthlyBudget.units", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "maxMonthlyBudget.currencyCode", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "maxMonthlyBudget.currencyCode", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "minMonthlyBudget.currencyCode", new Google.Apis.Discovery.Parameter + "minMonthlyBudget.nanos", new Google.Apis.Discovery.Parameter { - Name = "minMonthlyBudget.currencyCode", + Name = "minMonthlyBudget.nanos", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "view", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "view", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "address", new Google.Apis.Discovery.Parameter + "companyName", new Google.Apis.Discovery.Parameter { - Name = "address", + Name = "companyName", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "industries", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "industries", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "minMonthlyBudget.units", new Google.Apis.Discovery.Parameter + "websiteUrl", new Google.Apis.Discovery.Parameter { - Name = "minMonthlyBudget.units", + Name = "websiteUrl", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "maxMonthlyBudget.nanos", new Google.Apis.Discovery.Parameter + "gpsMotivations", new Google.Apis.Discovery.Parameter { - Name = "maxMonthlyBudget.nanos", + Name = "gpsMotivations", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "services", new Google.Apis.Discovery.Parameter + "languageCodes", new Google.Apis.Discovery.Parameter { - Name = "services", + Name = "languageCodes", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "maxMonthlyBudget.units", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "maxMonthlyBudget.units", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "minMonthlyBudget.nanos", new Google.Apis.Discovery.Parameter + "orderBy", new Google.Apis.Discovery.Parameter { - Name = "minMonthlyBudget.nanos", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1553,19 +1553,6 @@ public enum ExamTypeEnum CETMOBILESITES, } - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } - - /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created - /// by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } - /// Locale to use for the current request. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataLocale { get; set; } @@ -1583,6 +1570,19 @@ public enum ExamTypeEnum [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } + + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + + /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created + /// by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } + ///Gets the method name. public override string MethodName @@ -1617,63 +1617,63 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1719,6 +1719,20 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple + /// letters created by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + + /// How to order Leads. Currently, only `create_time` and `create_time desc` are + /// supported + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + /// Google Partners session ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataPartnersSessionId { get; set; } @@ -1750,20 +1764,6 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesIpAddress { get; set; } - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - - /// Second level identifier to indicate where the traffic comes from. An identifier has multiple - /// letters created by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - - /// How to order Leads. Currently, only `create_time` and `create_time desc` are - /// supported - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - ///Gets the method name. public override string MethodName @@ -1789,90 +1789,90 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "orderBy", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "orderBy", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "orderBy", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1940,6 +1940,14 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } + + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + /// Token to retrieve a specific page. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1961,18 +1969,13 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesIpAddress { get; set; } - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - /// if true, show history for the entire company. Requires user to be admin. [Google.Apis.Util.RequestParameterAttribute("entireCompany", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable EntireCompany { get; set; } - /// Second level identifier to indicate where the traffic comes from. An identifier has - /// multiple letters created by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } /// Comma-separated list of fields to order by, e.g.: "foo,bar,baz". Use "foo desc" to sort /// descending. List of valid field names is: name, offer_code, expiration_time, status, @@ -1980,13 +1983,10 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] public virtual string OrderBy { get; set; } - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// Second level identifier to indicate where the traffic comes from. An identifier has + /// multiple letters created by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } ///Gets the method name. @@ -2013,99 +2013,99 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "entireCompany", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "entireCompany", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "entireCompany", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "entireCompany", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "orderBy", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "orderBy", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "orderBy", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2133,6 +2133,10 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// Locale to use for the current request. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataLocale { get; set; } + /// IP address to use instead of the user's geo-located IP address. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesIpAddress { get; set; } @@ -2146,23 +2150,19 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } - /// Google Partners session ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataPartnersSessionId { get; set; } + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created /// by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } - /// Locale to use for the current request. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataLocale { get; set; } - ///Gets the method name. public override string MethodName @@ -2188,36 +2188,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2233,18 +2233,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2375,14 +2375,14 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created /// by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] @@ -2449,18 +2449,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2521,19 +2521,6 @@ public CreateCompanyRelationRequest(Google.Apis.Services.IClientService service, [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] public virtual string UserId { get; private set; } - /// Second level identifier to indicate where the traffic comes from. An identifier has multiple - /// letters created by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } - - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created /// by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] @@ -2551,6 +2538,19 @@ public CreateCompanyRelationRequest(Google.Apis.Services.IClientService service, [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple + /// letters created by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// Gets or sets the body of this request. Google.Apis.Partners.v2.Data.CompanyRelation Body { get; set; } @@ -2591,63 +2591,63 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -2680,6 +2680,10 @@ public DeleteCompanyRelationRequest(Google.Apis.Services.IClientService service, [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] public virtual string UserId { get; private set; } + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple /// letters created by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] @@ -2706,10 +2710,6 @@ public DeleteCompanyRelationRequest(Google.Apis.Services.IClientService service, [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesIpAddress { get; set; } - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - ///Gets the method name. public override string MethodName @@ -2743,6 +2743,15 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add( + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + { + Name = "requestMetadata.experimentIds", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add( "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { @@ -2797,15 +2806,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter - { - Name = "requestMetadata.experimentIds", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -2833,23 +2833,14 @@ public GetRequest(Google.Apis.Services.IClientService service, string userId) [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] public virtual string UserId { get; private set; } - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - - /// Second level identifier to indicate where the traffic comes from. An identifier has multiple - /// letters created by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } /// Google Partners session ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataPartnersSessionId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } - /// Specifies what parts of the user information to return. [Google.Apis.Util.RequestParameterAttribute("userView", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable UserView { get; set; } @@ -2878,6 +2869,15 @@ public enum UserViewEnum [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesIpAddress { get; set; } + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple + /// letters created by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + ///Gets the method name. public override string MethodName @@ -2912,72 +2912,72 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "userView", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "userView", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "userView", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "userView", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -3008,6 +3008,14 @@ public UpdateProfileRequest(Google.Apis.Services.IClientService service, Google. } + /// Logged-in user ID to impersonate instead of the user's ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesUserId { get; set; } + + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created /// by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] @@ -3030,14 +3038,6 @@ public UpdateProfileRequest(Google.Apis.Services.IClientService service, Google. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesUserId { get; set; } - - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - /// Gets or sets the body of this request. Google.Apis.Partners.v2.Data.UserProfile Body { get; set; } @@ -3069,63 +3069,63 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -3171,14 +3171,6 @@ public GetPartnersstatusRequest(Google.Apis.Services.IClientService service) } - /// Locale to use for the current request. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataLocale { get; set; } - - /// IP address to use instead of the user's geo-located IP address. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataUserOverridesIpAddress { get; set; } - /// Experiment IDs the current request belongs to. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } @@ -3188,19 +3180,27 @@ public GetPartnersstatusRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - /// Google Partners session ID. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataPartnersSessionId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesUserId { get; set; } + /// Google Partners session ID. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.partnersSessionId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataPartnersSessionId { get; set; } + /// Identifier to indicate where the traffic comes from. An identifier has multiple letters created /// by a team which redirected the traffic to us. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSourceId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataTrafficSourceTrafficSourceId { get; set; } + /// Locale to use for the current request. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.locale", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataLocale { get; set; } + + /// IP address to use instead of the user's geo-located IP address. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.ipAddress", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataUserOverridesIpAddress { get; set; } + ///Gets the method name. public override string MethodName @@ -3226,63 +3226,63 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -3311,15 +3311,6 @@ public UpdateCompaniesRequest(Google.Apis.Services.IClientService service, Googl } - /// Experiment IDs the current request belongs to. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } - - /// Second level identifier to indicate where the traffic comes from. An identifier has multiple - /// letters created by a team which redirected the traffic to us. - [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } - /// Logged-in user ID to impersonate instead of the user's ID. [Google.Apis.Util.RequestParameterAttribute("requestMetadata.userOverrides.userId", Google.Apis.Util.RequestParameterType.Query)] public virtual string RequestMetadataUserOverridesUserId { get; set; } @@ -3346,6 +3337,15 @@ public UpdateCompaniesRequest(Google.Apis.Services.IClientService service, Googl [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } + /// Experiment IDs the current request belongs to. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.experimentIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable RequestMetadataExperimentIds { get; set; } + + /// Second level identifier to indicate where the traffic comes from. An identifier has multiple + /// letters created by a team which redirected the traffic to us. + [Google.Apis.Util.RequestParameterAttribute("requestMetadata.trafficSource.trafficSubId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestMetadataTrafficSourceTrafficSubId { get; set; } + /// Gets or sets the body of this request. Google.Apis.Partners.v2.Data.Company Body { get; set; } @@ -3377,72 +3377,72 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.experimentIds", + Name = "requestMetadata.userOverrides.userId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter + "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSubId", + Name = "requestMetadata.partnersSessionId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.userId", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.userId", + Name = "requestMetadata.trafficSource.trafficSourceId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.partnersSessionId", new Google.Apis.Discovery.Parameter + "requestMetadata.locale", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.partnersSessionId", + Name = "requestMetadata.locale", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.trafficSource.trafficSourceId", new Google.Apis.Discovery.Parameter + "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.trafficSource.trafficSourceId", + Name = "requestMetadata.userOverrides.ipAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.locale", new Google.Apis.Discovery.Parameter + "updateMask", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.locale", + Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestMetadata.userOverrides.ipAddress", new Google.Apis.Discovery.Parameter + "requestMetadata.experimentIds", new Google.Apis.Discovery.Parameter { - Name = "requestMetadata.userOverrides.ipAddress", + Name = "requestMetadata.experimentIds", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "updateMask", new Google.Apis.Discovery.Parameter + "requestMetadata.trafficSource.trafficSubId", new Google.Apis.Discovery.Parameter { - Name = "updateMask", + Name = "requestMetadata.trafficSource.trafficSubId", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.nuspec b/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.nuspec index 4451939412..3bce1bffa0 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.nuspec +++ b/Src/Generated/Google.Apis.Partners.v2/Google.Apis.Partners.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Partners.v2 - 1.24.0.813 + 1.24.1.813 Google.Apis.Partners.v2 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Partners.v2/Net45/Google.Apis.Partners.v2.csproj b/Src/Generated/Google.Apis.Partners.v2/Net45/Google.Apis.Partners.v2.csproj index 28b3b3d4b0..cfe918d30b 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Net45/Google.Apis.Partners.v2.csproj +++ b/Src/Generated/Google.Apis.Partners.v2/Net45/Google.Apis.Partners.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Partners.v2/Net45/packages.config b/Src/Generated/Google.Apis.Partners.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Partners.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Partners.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Partners.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Partners.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Partners.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Partners.v2/Profile259/Google.Apis.Partners.v2.csproj b/Src/Generated/Google.Apis.Partners.v2/Profile259/Google.Apis.Partners.v2.csproj index e90e19af7f..f358f62e51 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Profile259/Google.Apis.Partners.v2.csproj +++ b/Src/Generated/Google.Apis.Partners.v2/Profile259/Google.Apis.Partners.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Partners.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Partners.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Partners.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Partners.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Partners.v2/Properties/AssemblyInfo.cs index 2ca991fe89..f9808cba07 100644 --- a/Src/Generated/Google.Apis.Partners.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Partners.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.813")] +[assembly: AssemblyVersion("1.24.1.813")] diff --git a/Src/Generated/Google.Apis.Partners.v2/project.json b/Src/Generated/Google.Apis.Partners.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Partners.v2/project.json +++ b/Src/Generated/Google.Apis.Partners.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.cs b/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.cs index fa436ff010..9a85d620cf 100644 --- a/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.cs +++ b/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -427,6 +427,15 @@ public ListRequest(Google.Apis.Services.IClientService service, string resourceN [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] public virtual string ResourceName { get; private set; } + /// Whether the response should include a sync token, which can be used to get all changes + /// since the last request. + [Google.Apis.Util.RequestParameterAttribute("requestSyncToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable RequestSyncToken { get; set; } + + /// The token of the page to be returned. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + /// Comma-separated list of fields to be included in the response. Omitting this field will /// include all fields except for connections.list requests, which have a default mask that includes /// common fields like metadata, name, photo, and profile url. Each path should start with `person.`: @@ -461,15 +470,6 @@ public enum SortOrderEnum LASTNAMEASCENDING, } - /// Whether the response should include a sync token, which can be used to get all changes - /// since the last request. - [Google.Apis.Util.RequestParameterAttribute("requestSyncToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable RequestSyncToken { get; set; } - - /// The token of the page to be returned. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - ///Gets the method name. public override string MethodName @@ -504,54 +504,54 @@ protected override void InitParameters() Pattern = @"^people/[^/]+$", }); RequestParameters.Add( - "requestMask.includeField", new Google.Apis.Discovery.Parameter + "requestSyncToken", new Google.Apis.Discovery.Parameter { - Name = "requestMask.includeField", + Name = "requestSyncToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "syncToken", new Google.Apis.Discovery.Parameter + "requestMask.includeField", new Google.Apis.Discovery.Parameter { - Name = "syncToken", + Name = "requestMask.includeField", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "sortOrder", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "sortOrder", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "requestSyncToken", new Google.Apis.Discovery.Parameter + "syncToken", new Google.Apis.Discovery.Parameter { - Name = "requestSyncToken", + Name = "syncToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "sortOrder", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "sortOrder", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.nuspec b/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.nuspec index c44f2e4d46..3557b84886 100644 --- a/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.nuspec +++ b/Src/Generated/Google.Apis.People.v1/Google.Apis.People.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.People.v1 - 1.24.0.817 + 1.24.1.817 Google.Apis.People.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.People.v1/Net45/Google.Apis.People.v1.csproj b/Src/Generated/Google.Apis.People.v1/Net45/Google.Apis.People.v1.csproj index b4476de3da..3dfeb9296e 100644 --- a/Src/Generated/Google.Apis.People.v1/Net45/Google.Apis.People.v1.csproj +++ b/Src/Generated/Google.Apis.People.v1/Net45/Google.Apis.People.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.People.v1/Net45/packages.config b/Src/Generated/Google.Apis.People.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.People.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.People.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.People.v1/NetStandard/project.json b/Src/Generated/Google.Apis.People.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.People.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.People.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.People.v1/Profile259/Google.Apis.People.v1.csproj b/Src/Generated/Google.Apis.People.v1/Profile259/Google.Apis.People.v1.csproj index 71448973ab..6367ec6fcc 100644 --- a/Src/Generated/Google.Apis.People.v1/Profile259/Google.Apis.People.v1.csproj +++ b/Src/Generated/Google.Apis.People.v1/Profile259/Google.Apis.People.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.People.v1/Profile259/packages.config b/Src/Generated/Google.Apis.People.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.People.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.People.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.People.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.People.v1/Properties/AssemblyInfo.cs index a8f56eeb1e..20fc1d66ff 100644 --- a/Src/Generated/Google.Apis.People.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.People.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.People.v1/project.json b/Src/Generated/Google.Apis.People.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.People.v1/project.json +++ b/Src/Generated/Google.Apis.People.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.cs b/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.cs index 39300a0435..b865bb4d42 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.cs +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -487,15 +487,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string accountId [Google.Apis.Util.RequestParameterAttribute("accountId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AccountId { get; private set; } - /// Filter Avails that match a case-insensitive, partner-specific custom id. NOTE: this field - /// is deprecated and will be removed on V2; `alt_ids` should be used instead. - [Google.Apis.Util.RequestParameterAttribute("altId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string AltId { get; set; } - - /// See _List methods rules_ for info about this field. - [Google.Apis.Util.RequestParameterAttribute("studioNames", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable StudioNames { get; set; } - /// Filter Avails that match (case-insensitive) any of the given country codes, using the "ISO /// 3166-1 alpha-2" format (examples: "US", "us", "Us"). [Google.Apis.Util.RequestParameterAttribute("territories", Google.Apis.Util.RequestParameterType.Query)] @@ -528,6 +519,15 @@ public ListRequest(Google.Apis.Services.IClientService service, string accountId [Google.Apis.Util.RequestParameterAttribute("pphNames", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable PphNames { get; set; } + /// Filter Avails that match a case-insensitive, partner-specific custom id. NOTE: this field + /// is deprecated and will be removed on V2; `alt_ids` should be used instead. + [Google.Apis.Util.RequestParameterAttribute("altId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AltId { get; set; } + + /// See _List methods rules_ for info about this field. + [Google.Apis.Util.RequestParameterAttribute("studioNames", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable StudioNames { get; set; } + ///Gets the method name. public override string MethodName @@ -561,24 +561,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add( - "altId", new Google.Apis.Discovery.Parameter - { - Name = "altId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add( - "studioNames", new Google.Apis.Discovery.Parameter - { - Name = "studioNames", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); RequestParameters.Add( "territories", new Google.Apis.Discovery.Parameter { @@ -642,6 +624,24 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add( + "altId", new Google.Apis.Discovery.Parameter + { + Name = "altId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add( + "studioNames", new Google.Apis.Discovery.Parameter + { + Name = "studioNames", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -802,26 +802,26 @@ public enum StatusEnum STATUSNOTAVAILABLE, } - /// See _List methods rules_ for info about this field. - [Google.Apis.Util.RequestParameterAttribute("studioNames", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable StudioNames { get; set; } - /// Filter that matches Orders with a `name`, `show`, `season` or `episode` that contains the /// given case-insensitive name. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Query)] public virtual string Name { get; set; } - /// Filter Orders that match any of the given `video_id`s. - [Google.Apis.Util.RequestParameterAttribute("videoIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable VideoIds { get; set; } + /// See _List methods rules_ for info about this field. + [Google.Apis.Util.RequestParameterAttribute("studioNames", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable StudioNames { get; set; } + + /// See _List methods rules_ for info about this field. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } /// Filter Orders that match a case-insensitive, partner-specific custom id. [Google.Apis.Util.RequestParameterAttribute("customId", Google.Apis.Util.RequestParameterType.Query)] public virtual string CustomId { get; set; } - /// See _List methods rules_ for info about this field. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } + /// Filter Orders that match any of the given `video_id`s. + [Google.Apis.Util.RequestParameterAttribute("videoIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable VideoIds { get; set; } /// See _List methods rules_ for info about this field. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] @@ -874,27 +874,27 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "studioNames", new Google.Apis.Discovery.Parameter + "name", new Google.Apis.Discovery.Parameter { - Name = "studioNames", + Name = "name", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "name", new Google.Apis.Discovery.Parameter + "studioNames", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "studioNames", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "videoIds", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "videoIds", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -910,9 +910,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "videoIds", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "videoIds", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1132,31 +1132,31 @@ public ListRequest(Google.Apis.Services.IClientService service, string accountId [Google.Apis.Util.RequestParameterAttribute("countries", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable Countries { get; set; } - /// See _List methods rules_ for info about this field. - [Google.Apis.Util.RequestParameterAttribute("studioNames", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable StudioNames { get; set; } - /// Filter that matches StoreInfos with a `name` or `show_name` that contains the given case- /// insensitive name. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Query)] public virtual string Name { get; set; } + /// See _List methods rules_ for info about this field. + [Google.Apis.Util.RequestParameterAttribute("studioNames", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable StudioNames { get; set; } + /// Filter StoreInfos that match any of the given `season_id`s. [Google.Apis.Util.RequestParameterAttribute("seasonIds", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable SeasonIds { get; set; } - /// Filter StoreInfos that match any of the given `video_id`s. - [Google.Apis.Util.RequestParameterAttribute("videoIds", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable VideoIds { get; set; } + /// See _List methods rules_ for info about this field. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } /// Filter StoreInfos that match a given `video_id`. NOTE: this field is deprecated and will be /// removed on V2; `video_ids` should be used instead. [Google.Apis.Util.RequestParameterAttribute("videoId", Google.Apis.Util.RequestParameterType.Query)] public virtual string VideoId { get; set; } - /// See _List methods rules_ for info about this field. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } + /// Filter StoreInfos that match any of the given `video_id`s. + [Google.Apis.Util.RequestParameterAttribute("videoIds", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable VideoIds { get; set; } ///Gets the method name. @@ -1228,18 +1228,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "studioNames", new Google.Apis.Discovery.Parameter + "name", new Google.Apis.Discovery.Parameter { - Name = "studioNames", + Name = "name", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "name", new Google.Apis.Discovery.Parameter + "studioNames", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "studioNames", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1255,9 +1255,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "videoIds", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "videoIds", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1273,9 +1273,9 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "videoIds", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "videoIds", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.nuspec b/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.nuspec index 7d98e52f7e..22192cebbc 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.nuspec +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Google.Apis.PlayMovies.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.PlayMovies.v1 - 1.24.0.810 + 1.24.1.810 Google.Apis.PlayMovies.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Net45/Google.Apis.PlayMovies.v1.csproj b/Src/Generated/Google.Apis.PlayMovies.v1/Net45/Google.Apis.PlayMovies.v1.csproj index d0f45b3408..6a65260377 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Net45/Google.Apis.PlayMovies.v1.csproj +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Net45/Google.Apis.PlayMovies.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Net45/packages.config b/Src/Generated/Google.Apis.PlayMovies.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/NetStandard/project.json b/Src/Generated/Google.Apis.PlayMovies.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.PlayMovies.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/Google.Apis.PlayMovies.v1.csproj b/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/Google.Apis.PlayMovies.v1.csproj index e44862539c..ca9ef42ec6 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/Google.Apis.PlayMovies.v1.csproj +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/Google.Apis.PlayMovies.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/packages.config b/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.PlayMovies.v1/Properties/AssemblyInfo.cs index 22e109dec8..34757228c4 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.PlayMovies.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.810")] +[assembly: AssemblyVersion("1.24.1.810")] diff --git a/Src/Generated/Google.Apis.PlayMovies.v1/project.json b/Src/Generated/Google.Apis.PlayMovies.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.PlayMovies.v1/project.json +++ b/Src/Generated/Google.Apis.PlayMovies.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.cs b/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.cs index da08d21daa..696ab463d2 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.cs +++ b/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.nuspec b/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.nuspec index 712497fc9c..4670cb34e2 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.nuspec +++ b/Src/Generated/Google.Apis.Plus.v1/Google.Apis.Plus.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Plus.v1 - 1.24.0.817 + 1.24.1.817 Google.Apis.Plus.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Plus.v1/Net45/Google.Apis.Plus.v1.csproj b/Src/Generated/Google.Apis.Plus.v1/Net45/Google.Apis.Plus.v1.csproj index a90604be3d..3d02b915b7 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Net45/Google.Apis.Plus.v1.csproj +++ b/Src/Generated/Google.Apis.Plus.v1/Net45/Google.Apis.Plus.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Plus.v1/Net45/packages.config b/Src/Generated/Google.Apis.Plus.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Plus.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Plus.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Plus.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Plus.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Plus.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Plus.v1/Profile259/Google.Apis.Plus.v1.csproj b/Src/Generated/Google.Apis.Plus.v1/Profile259/Google.Apis.Plus.v1.csproj index a23ea18c09..62ccd4f53b 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Profile259/Google.Apis.Plus.v1.csproj +++ b/Src/Generated/Google.Apis.Plus.v1/Profile259/Google.Apis.Plus.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Plus.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Plus.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Plus.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Plus.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Plus.v1/Properties/AssemblyInfo.cs index b3e6a5f995..b0ddeb0115 100644 --- a/Src/Generated/Google.Apis.Plus.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Plus.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.Plus.v1/project.json b/Src/Generated/Google.Apis.Plus.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Plus.v1/project.json +++ b/Src/Generated/Google.Apis.Plus.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.cs b/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.cs index 3a9c8ff8db..6b6724e084 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.cs +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.nuspec b/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.nuspec index a43c022e74..66e8b98036 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.nuspec +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Google.Apis.PlusDomains.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.PlusDomains.v1 - 1.24.0.817 + 1.24.1.817 Google.Apis.PlusDomains.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Net45/Google.Apis.PlusDomains.v1.csproj b/Src/Generated/Google.Apis.PlusDomains.v1/Net45/Google.Apis.PlusDomains.v1.csproj index 3ef5fe4107..3de5ad9d0c 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Net45/Google.Apis.PlusDomains.v1.csproj +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Net45/Google.Apis.PlusDomains.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Net45/packages.config b/Src/Generated/Google.Apis.PlusDomains.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/NetStandard/project.json b/Src/Generated/Google.Apis.PlusDomains.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.PlusDomains.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/Google.Apis.PlusDomains.v1.csproj b/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/Google.Apis.PlusDomains.v1.csproj index 3c454530bc..0a1aa24fa2 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/Google.Apis.PlusDomains.v1.csproj +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/Google.Apis.PlusDomains.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/packages.config b/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.PlusDomains.v1/Properties/AssemblyInfo.cs index 1baf02f249..f1c092c155 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.PlusDomains.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.PlusDomains.v1/project.json b/Src/Generated/Google.Apis.PlusDomains.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.PlusDomains.v1/project.json +++ b/Src/Generated/Google.Apis.PlusDomains.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.cs b/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.cs index df8fe02ccb..c46d414678 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.nuspec b/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.nuspec index 2c9c3b994b..488debaf15 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.nuspec +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Google.Apis.Prediction.v1_2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Prediction.v1_2 - 1.24.0.496 + 1.24.1.496 Google.Apis.Prediction.v1_2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Net45/Google.Apis.Prediction.v1_2.csproj b/Src/Generated/Google.Apis.Prediction.v1_2/Net45/Google.Apis.Prediction.v1_2.csproj index c6abd85e6e..d82fce4c07 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Net45/Google.Apis.Prediction.v1_2.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Net45/Google.Apis.Prediction.v1_2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Net45/packages.config b/Src/Generated/Google.Apis.Prediction.v1_2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/NetStandard/project.json b/Src/Generated/Google.Apis.Prediction.v1_2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/Google.Apis.Prediction.v1_2.csproj b/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/Google.Apis.Prediction.v1_2.csproj index af61511fc6..a94343d57f 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/Google.Apis.Prediction.v1_2.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/Google.Apis.Prediction.v1_2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/packages.config b/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Prediction.v1_2/Properties/AssemblyInfo.cs index 7970b996ef..e6768e1026 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.496")] +[assembly: AssemblyVersion("1.24.1.496")] diff --git a/Src/Generated/Google.Apis.Prediction.v1_2/project.json b/Src/Generated/Google.Apis.Prediction.v1_2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_2/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.cs b/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.cs index 22ff9401f2..bfae77c4d8 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.nuspec b/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.nuspec index c6ede91dad..07c7ceaf48 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.nuspec +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Google.Apis.Prediction.v1_3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Prediction.v1_3 - 1.24.0.496 + 1.24.1.496 Google.Apis.Prediction.v1_3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Net45/Google.Apis.Prediction.v1_3.csproj b/Src/Generated/Google.Apis.Prediction.v1_3/Net45/Google.Apis.Prediction.v1_3.csproj index 50bae99c9c..5f5b1becc4 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Net45/Google.Apis.Prediction.v1_3.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Net45/Google.Apis.Prediction.v1_3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Net45/packages.config b/Src/Generated/Google.Apis.Prediction.v1_3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/NetStandard/project.json b/Src/Generated/Google.Apis.Prediction.v1_3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/Google.Apis.Prediction.v1_3.csproj b/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/Google.Apis.Prediction.v1_3.csproj index be2ca4a784..1deb129489 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/Google.Apis.Prediction.v1_3.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/Google.Apis.Prediction.v1_3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/packages.config b/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Prediction.v1_3/Properties/AssemblyInfo.cs index 8b653f1033..83d9a37930 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.496")] +[assembly: AssemblyVersion("1.24.1.496")] diff --git a/Src/Generated/Google.Apis.Prediction.v1_3/project.json b/Src/Generated/Google.Apis.Prediction.v1_3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_3/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.cs b/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.cs index d0889750b1..869ac03bc1 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.nuspec b/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.nuspec index e52d85cf62..b6f02febe3 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.nuspec +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Google.Apis.Prediction.v1_4.nuspec @@ -2,7 +2,7 @@ Google.Apis.Prediction.v1_4 - 1.24.0.496 + 1.24.1.496 Google.Apis.Prediction.v1_4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Net45/Google.Apis.Prediction.v1_4.csproj b/Src/Generated/Google.Apis.Prediction.v1_4/Net45/Google.Apis.Prediction.v1_4.csproj index 1d986cb4f1..95b9c909b1 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Net45/Google.Apis.Prediction.v1_4.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Net45/Google.Apis.Prediction.v1_4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Net45/packages.config b/Src/Generated/Google.Apis.Prediction.v1_4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Net45/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/NetStandard/project.json b/Src/Generated/Google.Apis.Prediction.v1_4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/Google.Apis.Prediction.v1_4.csproj b/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/Google.Apis.Prediction.v1_4.csproj index b3311d98ed..48927010ee 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/Google.Apis.Prediction.v1_4.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/Google.Apis.Prediction.v1_4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/packages.config b/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Prediction.v1_4/Properties/AssemblyInfo.cs index cccdda1e3e..3e27d4dd63 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.496")] +[assembly: AssemblyVersion("1.24.1.496")] diff --git a/Src/Generated/Google.Apis.Prediction.v1_4/project.json b/Src/Generated/Google.Apis.Prediction.v1_4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_4/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.cs b/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.cs index b8e6733324..677d321f3d 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.nuspec b/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.nuspec index 18ba6fb555..a785f093b5 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.nuspec +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Google.Apis.Prediction.v1_5.nuspec @@ -2,7 +2,7 @@ Google.Apis.Prediction.v1_5 - 1.24.0.496 + 1.24.1.496 Google.Apis.Prediction.v1_5 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Net45/Google.Apis.Prediction.v1_5.csproj b/Src/Generated/Google.Apis.Prediction.v1_5/Net45/Google.Apis.Prediction.v1_5.csproj index 19ef944236..82d1e49b07 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Net45/Google.Apis.Prediction.v1_5.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Net45/Google.Apis.Prediction.v1_5.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Net45/packages.config b/Src/Generated/Google.Apis.Prediction.v1_5/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Net45/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/NetStandard/project.json b/Src/Generated/Google.Apis.Prediction.v1_5/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_5/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/Google.Apis.Prediction.v1_5.csproj b/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/Google.Apis.Prediction.v1_5.csproj index 62eb6b4dfe..91242a1ef7 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/Google.Apis.Prediction.v1_5.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/Google.Apis.Prediction.v1_5.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/packages.config b/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Prediction.v1_5/Properties/AssemblyInfo.cs index db881c8401..199eb388e5 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_5/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.496")] +[assembly: AssemblyVersion("1.24.1.496")] diff --git a/Src/Generated/Google.Apis.Prediction.v1_5/project.json b/Src/Generated/Google.Apis.Prediction.v1_5/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_5/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_5/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.cs b/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.cs index 269e867f89..5a43a2a4e4 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.nuspec b/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.nuspec index 0968a29bb4..87a7d72d23 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.nuspec +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Google.Apis.Prediction.v1_6.nuspec @@ -2,7 +2,7 @@ Google.Apis.Prediction.v1_6 - 1.24.0.496 + 1.24.1.496 Google.Apis.Prediction.v1_6 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Net45/Google.Apis.Prediction.v1_6.csproj b/Src/Generated/Google.Apis.Prediction.v1_6/Net45/Google.Apis.Prediction.v1_6.csproj index 0c8a3e43e0..5dd248a70c 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Net45/Google.Apis.Prediction.v1_6.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Net45/Google.Apis.Prediction.v1_6.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Net45/packages.config b/Src/Generated/Google.Apis.Prediction.v1_6/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Net45/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/NetStandard/project.json b/Src/Generated/Google.Apis.Prediction.v1_6/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_6/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/Google.Apis.Prediction.v1_6.csproj b/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/Google.Apis.Prediction.v1_6.csproj index 0d83d2a82b..0328637070 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/Google.Apis.Prediction.v1_6.csproj +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/Google.Apis.Prediction.v1_6.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/packages.config b/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Prediction.v1_6/Properties/AssemblyInfo.cs index 6b456b65bf..7314f7b205 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Prediction.v1_6/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.496")] +[assembly: AssemblyVersion("1.24.1.496")] diff --git a/Src/Generated/Google.Apis.Prediction.v1_6/project.json b/Src/Generated/Google.Apis.Prediction.v1_6/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Prediction.v1_6/project.json +++ b/Src/Generated/Google.Apis.Prediction.v1_6/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.cs b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.cs index d1dc83ead7..6aba046cbd 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.cs +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -530,11 +530,6 @@ public BatchDeleteRequest(Google.Apis.Services.IClientService service, string be [Google.Apis.Util.RequestParameterAttribute("beaconName", Google.Apis.Util.RequestParameterType.Path)] public virtual string BeaconName { get; private set; } - /// Specifies the namespace and type of attachments to delete in `namespace/type` format. - /// Accepts `*` to specify "all types in all namespaces". Optional. - [Google.Apis.Util.RequestParameterAttribute("namespacedType", Google.Apis.Util.RequestParameterType.Query)] - public virtual string NamespacedType { get; set; } - /// The project id to delete beacon attachments under. This field can be used when "*" is /// specified to mean all attachment namespaces. Projects may have multiple attachments with multiple /// namespaces. If "*" is specified and the projectId string is empty, then the project making the @@ -542,6 +537,11 @@ public BatchDeleteRequest(Google.Apis.Services.IClientService service, string be [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Query)] public virtual string ProjectId { get; set; } + /// Specifies the namespace and type of attachments to delete in `namespace/type` format. + /// Accepts `*` to specify "all types in all namespaces". Optional. + [Google.Apis.Util.RequestParameterAttribute("namespacedType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string NamespacedType { get; set; } + ///Gets the method name. public override string MethodName @@ -576,18 +576,18 @@ protected override void InitParameters() Pattern = @"^beacons/[^/]+$", }); RequestParameters.Add( - "namespacedType", new Google.Apis.Discovery.Parameter + "projectId", new Google.Apis.Discovery.Parameter { - Name = "namespacedType", + Name = "projectId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "projectId", new Google.Apis.Discovery.Parameter + "namespacedType", new Google.Apis.Discovery.Parameter { - Name = "projectId", + Name = "namespacedType", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1575,11 +1575,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// The project id to list beacons under. If not present then the project credential that made the - /// request is used as the project. Optional. - [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ProjectId { get; set; } - /// A pagination token obtained from a previous request to list beacons. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -1631,6 +1626,11 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// The project id to list beacons under. If not present then the project credential that made the + /// request is used as the project. Optional. + [Google.Apis.Util.RequestParameterAttribute("projectId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ProjectId { get; set; } + ///Gets the method name. public override string MethodName @@ -1656,36 +1656,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "projectId", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "projectId", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "q", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "q", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "q", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "q", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "projectId", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "projectId", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.nuspec b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.nuspec index a3486d102e..0c1438b9e8 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Google.Apis.Proximitybeacon.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Proximitybeacon.v1beta1 - 1.24.0.809 + 1.24.1.809 Google.Apis.Proximitybeacon.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/Google.Apis.Proximitybeacon.v1beta1.csproj b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/Google.Apis.Proximitybeacon.v1beta1.csproj index 76b1310042..cf3d3454a8 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/Google.Apis.Proximitybeacon.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/Google.Apis.Proximitybeacon.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/Google.Apis.Proximitybeacon.v1beta1.csproj b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/Google.Apis.Proximitybeacon.v1beta1.csproj index e0340e4af1..e4875bcdd9 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/Google.Apis.Proximitybeacon.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/Google.Apis.Proximitybeacon.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Properties/AssemblyInfo.cs index 331b092b2f..6ebe346fc6 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/project.json b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Proximitybeacon.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs index 487b06a37e..d9c89dbbf0 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -1525,16 +1525,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string topic) [Google.Apis.Util.RequestParameterAttribute("topic", Google.Apis.Util.RequestParameterType.Path)] public virtual string Topic { get; private set; } + /// Maximum number of subscription names to return. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + /// 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. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// Maximum number of subscription names to return. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - ///Gets the method name. public override string MethodName @@ -1569,18 +1569,18 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+/topics/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.nuspec b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.nuspec index 4535c506c7..0b493bce65 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.nuspec +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Pubsub.v1 - 1.24.0.797 + 1.24.1.797 Google.Apis.Pubsub.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Net45/Google.Apis.Pubsub.v1.csproj b/Src/Generated/Google.Apis.Pubsub.v1/Net45/Google.Apis.Pubsub.v1.csproj index 334812710c..7a6dc412ad 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Net45/Google.Apis.Pubsub.v1.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1/Net45/Google.Apis.Pubsub.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Net45/packages.config b/Src/Generated/Google.Apis.Pubsub.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Pubsub.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Pubsub.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Pubsub.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Profile259/Google.Apis.Pubsub.v1.csproj b/Src/Generated/Google.Apis.Pubsub.v1/Profile259/Google.Apis.Pubsub.v1.csproj index 6dc43c049a..10e9ec2baf 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Profile259/Google.Apis.Pubsub.v1.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1/Profile259/Google.Apis.Pubsub.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Pubsub.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Pubsub.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Pubsub.v1/Properties/AssemblyInfo.cs index ec4b022396..10de4ed3ad 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.797")] +[assembly: AssemblyVersion("1.24.1.797")] diff --git a/Src/Generated/Google.Apis.Pubsub.v1/project.json b/Src/Generated/Google.Apis.Pubsub.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/project.json +++ b/Src/Generated/Google.Apis.Pubsub.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs index ad06d2a75e..b6714d406a 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -627,10 +627,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// The value obtained in the last ListSubscriptionsResponse for continuation. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - /// A valid label query expression. [Google.Apis.Util.RequestParameterAttribute("query", Google.Apis.Util.RequestParameterType.Query)] public virtual string Query { get; set; } @@ -639,6 +635,10 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable MaxResults { get; set; } + /// The value obtained in the last ListSubscriptionsResponse for continuation. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -664,27 +664,27 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "query", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "query", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "query", new Google.Apis.Discovery.Parameter + "maxResults", new Google.Apis.Discovery.Parameter { - Name = "query", + Name = "maxResults", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "maxResults", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "maxResults", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.nuspec b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.nuspec index b520ede9b0..30a98ccc9d 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.nuspec +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.nuspec @@ -2,7 +2,7 @@ Google.Apis.Pubsub.v1beta1a - 1.24.0.797 + 1.24.1.797 Google.Apis.Pubsub.v1beta1a Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/Google.Apis.Pubsub.v1beta1a.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/Google.Apis.Pubsub.v1beta1a.csproj index 1ea0fa7a59..0a71ae8b17 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/Google.Apis.Pubsub.v1beta1a.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/Google.Apis.Pubsub.v1beta1a.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/packages.config b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/packages.config +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/NetStandard/project.json b/Src/Generated/Google.Apis.Pubsub.v1beta1a/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/Google.Apis.Pubsub.v1beta1a.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/Google.Apis.Pubsub.v1beta1a.csproj index 2e728a9bd5..3f5dc14845 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/Google.Apis.Pubsub.v1beta1a.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/Google.Apis.Pubsub.v1beta1a.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/packages.config b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Properties/AssemblyInfo.cs index 4c75e66987..18c46780df 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.797")] +[assembly: AssemblyVersion("1.24.1.797")] diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/project.json b/Src/Generated/Google.Apis.Pubsub.v1beta1a/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/project.json +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs index 759cb9781f..c56cd0bf78 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -757,16 +757,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } + /// Maximum number of subscriptions to return. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + /// 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. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// Maximum number of subscriptions to return. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - ///Gets the method name. public override string MethodName @@ -801,18 +801,18 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.nuspec b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.nuspec index 2e70ba4855..fb8e3850a1 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Pubsub.v1beta2 - 1.24.0.797 + 1.24.1.797 Google.Apis.Pubsub.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/Google.Apis.Pubsub.v1beta2.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/Google.Apis.Pubsub.v1beta2.csproj index 94d36a1951..0574d93953 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/Google.Apis.Pubsub.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/Google.Apis.Pubsub.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.Pubsub.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/Google.Apis.Pubsub.v1beta2.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/Google.Apis.Pubsub.v1beta2.csproj index f4fbfe8e22..8080fbcaf7 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/Google.Apis.Pubsub.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/Google.Apis.Pubsub.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Pubsub.v1beta2/Properties/AssemblyInfo.cs index b1ba2be2f8..4af3541553 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.797")] +[assembly: AssemblyVersion("1.24.1.797")] diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/project.json b/Src/Generated/Google.Apis.Pubsub.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/project.json +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.cs b/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.cs index c71e63c10a..e4d63dbbca 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.cs +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.nuspec b/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.nuspec index 8124e98fdc..9815461535 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.nuspec +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Google.Apis.QPXExpress.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.QPXExpress.v1 - 1.24.0.554 + 1.24.1.554 Google.Apis.QPXExpress.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Net45/Google.Apis.QPXExpress.v1.csproj b/Src/Generated/Google.Apis.QPXExpress.v1/Net45/Google.Apis.QPXExpress.v1.csproj index 3345379346..cdc6649aab 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Net45/Google.Apis.QPXExpress.v1.csproj +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Net45/Google.Apis.QPXExpress.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Net45/packages.config b/Src/Generated/Google.Apis.QPXExpress.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/NetStandard/project.json b/Src/Generated/Google.Apis.QPXExpress.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.QPXExpress.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/Google.Apis.QPXExpress.v1.csproj b/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/Google.Apis.QPXExpress.v1.csproj index 929480d73a..5dd1736c75 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/Google.Apis.QPXExpress.v1.csproj +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/Google.Apis.QPXExpress.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/packages.config b/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.QPXExpress.v1/Properties/AssemblyInfo.cs index 2a1e048f18..e1192ce225 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.QPXExpress.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.554")] +[assembly: AssemblyVersion("1.24.1.554")] diff --git a/Src/Generated/Google.Apis.QPXExpress.v1/project.json b/Src/Generated/Google.Apis.QPXExpress.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.QPXExpress.v1/project.json +++ b/Src/Generated/Google.Apis.QPXExpress.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.cs b/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.cs index 41437fb023..d2061fe78b 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.cs +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.nuspec b/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.nuspec index be9edbbcc7..cf416b989e 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Google.Apis.Replicapool.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Replicapool.v1beta1 - 1.24.0.497 + 1.24.1.497 Google.Apis.Replicapool.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/Google.Apis.Replicapool.v1beta1.csproj b/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/Google.Apis.Replicapool.v1beta1.csproj index e7cc320353..2ae073ae54 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/Google.Apis.Replicapool.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/Google.Apis.Replicapool.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Replicapool.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/Google.Apis.Replicapool.v1beta1.csproj b/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/Google.Apis.Replicapool.v1beta1.csproj index 8b703bdc8e..aeebc85161 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/Google.Apis.Replicapool.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/Google.Apis.Replicapool.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Replicapool.v1beta1/Properties/AssemblyInfo.cs index 3fa7200320..d4dd283996 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.497")] +[assembly: AssemblyVersion("1.24.1.497")] diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta1/project.json b/Src/Generated/Google.Apis.Replicapool.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Replicapool.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.cs b/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.cs index c69812a115..a20e56738f 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.cs +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.nuspec b/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.nuspec index a5db1b1235..a788a95829 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Google.Apis.Replicapool.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Replicapool.v1beta2 - 1.24.0.497 + 1.24.1.497 Google.Apis.Replicapool.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/Google.Apis.Replicapool.v1beta2.csproj b/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/Google.Apis.Replicapool.v1beta2.csproj index 6a76c92252..92e7c74092 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/Google.Apis.Replicapool.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/Google.Apis.Replicapool.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.Replicapool.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/Google.Apis.Replicapool.v1beta2.csproj b/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/Google.Apis.Replicapool.v1beta2.csproj index 7273fdb06e..38f73907bc 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/Google.Apis.Replicapool.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/Google.Apis.Replicapool.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Replicapool.v1beta2/Properties/AssemblyInfo.cs index ea52f576fc..9ffc0d7e71 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.497")] +[assembly: AssemblyVersion("1.24.1.497")] diff --git a/Src/Generated/Google.Apis.Replicapool.v1beta2/project.json b/Src/Generated/Google.Apis.Replicapool.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Replicapool.v1beta2/project.json +++ b/Src/Generated/Google.Apis.Replicapool.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.cs b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.cs index 4234034137..5fb121aa9f 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.cs +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.nuspec b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.nuspec index 97d1b5f905..674f1e4b2f 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Google.Apis.Replicapoolupdater.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Replicapoolupdater.v1beta1 - 1.24.0.641 + 1.24.1.641 Google.Apis.Replicapoolupdater.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/Google.Apis.Replicapoolupdater.v1beta1.csproj b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/Google.Apis.Replicapoolupdater.v1beta1.csproj index 9074fa3e50..6773100b06 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/Google.Apis.Replicapoolupdater.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/Google.Apis.Replicapoolupdater.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/Google.Apis.Replicapoolupdater.v1beta1.csproj b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/Google.Apis.Replicapoolupdater.v1beta1.csproj index e72ef421d8..49d8d1e71a 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/Google.Apis.Replicapoolupdater.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/Google.Apis.Replicapoolupdater.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Properties/AssemblyInfo.cs index 5ecff20699..ad06495319 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.641")] +[assembly: AssemblyVersion("1.24.1.641")] diff --git a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/project.json b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Replicapoolupdater.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs index 9259b245b0..03530d10f5 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs +++ b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.nuspec b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.nuspec index 3c1cfaf083..253ebdf1fc 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.nuspec +++ b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Reseller.v1 - 1.24.0.789 + 1.24.1.789 Google.Apis.Reseller.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Reseller.v1/Net45/Google.Apis.Reseller.v1.csproj b/Src/Generated/Google.Apis.Reseller.v1/Net45/Google.Apis.Reseller.v1.csproj index bc6f0846f0..42a7d08852 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Net45/Google.Apis.Reseller.v1.csproj +++ b/Src/Generated/Google.Apis.Reseller.v1/Net45/Google.Apis.Reseller.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Reseller.v1/Net45/packages.config b/Src/Generated/Google.Apis.Reseller.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Reseller.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Reseller.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Reseller.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Reseller.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Reseller.v1/Profile259/Google.Apis.Reseller.v1.csproj b/Src/Generated/Google.Apis.Reseller.v1/Profile259/Google.Apis.Reseller.v1.csproj index dbaeb4b765..38c243be2b 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Profile259/Google.Apis.Reseller.v1.csproj +++ b/Src/Generated/Google.Apis.Reseller.v1/Profile259/Google.Apis.Reseller.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Reseller.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Reseller.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Reseller.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Reseller.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Reseller.v1/Properties/AssemblyInfo.cs index 102ed25ee5..87bc570efb 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Reseller.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.789")] +[assembly: AssemblyVersion("1.24.1.789")] diff --git a/Src/Generated/Google.Apis.Reseller.v1/project.json b/Src/Generated/Google.Apis.Reseller.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/project.json +++ b/Src/Generated/Google.Apis.Reseller.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.cs b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.cs index 0256f7f6b8..7ecb5aea3b 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.cs +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.nuspec b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.nuspec index 22c8050fa1..584ee33194 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Google.Apis.Resourceviews.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Resourceviews.v1beta1 - 1.24.0.497 + 1.24.1.497 Google.Apis.Resourceviews.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/Google.Apis.Resourceviews.v1beta1.csproj b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/Google.Apis.Resourceviews.v1beta1.csproj index 771074f66a..e7b6ed6675 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/Google.Apis.Resourceviews.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/Google.Apis.Resourceviews.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Resourceviews.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/Google.Apis.Resourceviews.v1beta1.csproj b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/Google.Apis.Resourceviews.v1beta1.csproj index 6e7973adda..841f24a4ac 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/Google.Apis.Resourceviews.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/Google.Apis.Resourceviews.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Properties/AssemblyInfo.cs index f4744e5795..df22689746 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.497")] +[assembly: AssemblyVersion("1.24.1.497")] diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta1/project.json b/Src/Generated/Google.Apis.Resourceviews.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.cs b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.cs index e6b4b313f1..294121caf2 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.cs +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.nuspec b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.nuspec index 509093b702..bdf30f88e9 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Google.Apis.Resourceviews.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Resourceviews.v1beta2 - 1.24.0.497 + 1.24.1.497 Google.Apis.Resourceviews.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/Google.Apis.Resourceviews.v1beta2.csproj b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/Google.Apis.Resourceviews.v1beta2.csproj index 1544528e1f..8eeac2b0bf 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/Google.Apis.Resourceviews.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/Google.Apis.Resourceviews.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.Resourceviews.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/Google.Apis.Resourceviews.v1beta2.csproj b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/Google.Apis.Resourceviews.v1beta2.csproj index 5f30cde732..41895f1d84 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/Google.Apis.Resourceviews.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/Google.Apis.Resourceviews.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Properties/AssemblyInfo.cs index 67b5bcae73..d982d9cf84 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.497")] +[assembly: AssemblyVersion("1.24.1.497")] diff --git a/Src/Generated/Google.Apis.Resourceviews.v1beta2/project.json b/Src/Generated/Google.Apis.Resourceviews.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Resourceviews.v1beta2/project.json +++ b/Src/Generated/Google.Apis.Resourceviews.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.cs b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.cs index 094bcd5218..dc73c098cf 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.nuspec b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.nuspec index 1bd31a0c22..8a44b4a347 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.nuspec +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Google.Apis.SQLAdmin.v1beta3.nuspec @@ -2,7 +2,7 @@ Google.Apis.SQLAdmin.v1beta3 - 1.24.0.778 + 1.24.1.778 Google.Apis.SQLAdmin.v1beta3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/Google.Apis.SQLAdmin.v1beta3.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/Google.Apis.SQLAdmin.v1beta3.csproj index b76403af3d..908f6ca8c8 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/Google.Apis.SQLAdmin.v1beta3.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/Google.Apis.SQLAdmin.v1beta3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/packages.config b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/packages.config +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/NetStandard/project.json b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/Google.Apis.SQLAdmin.v1beta3.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/Google.Apis.SQLAdmin.v1beta3.csproj index 1160591a13..069c37cdb4 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/Google.Apis.SQLAdmin.v1beta3.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/Google.Apis.SQLAdmin.v1beta3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/packages.config b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Properties/AssemblyInfo.cs index c9d894bf73..5caf881027 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.778")] +[assembly: AssemblyVersion("1.24.1.778")] diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/project.json b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta3/project.json +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs index fd15005a42..86d499acbb 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.nuspec b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.nuspec index 2d121a1ab3..6d4d9f7f47 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.nuspec +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.nuspec @@ -2,7 +2,7 @@ Google.Apis.SQLAdmin.v1beta4 - 1.24.0.778 + 1.24.1.778 Google.Apis.SQLAdmin.v1beta4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/Google.Apis.SQLAdmin.v1beta4.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/Google.Apis.SQLAdmin.v1beta4.csproj index df21666512..98822c048a 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/Google.Apis.SQLAdmin.v1beta4.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/Google.Apis.SQLAdmin.v1beta4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/packages.config b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/packages.config +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/NetStandard/project.json b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/Google.Apis.SQLAdmin.v1beta4.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/Google.Apis.SQLAdmin.v1beta4.csproj index 1133a70e1a..4e4eaa35ca 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/Google.Apis.SQLAdmin.v1beta4.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/Google.Apis.SQLAdmin.v1beta4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/packages.config b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Properties/AssemblyInfo.cs index 7da5dee6ff..920bfb022e 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.778")] +[assembly: AssemblyVersion("1.24.1.778")] diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/project.json b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/project.json +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs index 7324edeb97..77c60d1a60 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -522,15 +522,15 @@ public GetRequest(Google.Apis.Services.IClientService service, string encodedReq [Google.Apis.Util.RequestParameterAttribute("encodedRequest", Google.Apis.Util.RequestParameterType.Path)] public virtual string EncodedRequest { get; private set; } + /// The version of the client implementation. + [Google.Apis.Util.RequestParameterAttribute("clientVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ClientVersion { get; set; } + /// A client ID that uniquely identifies the client implementation of the Safe Browsing /// API. [Google.Apis.Util.RequestParameterAttribute("clientId", Google.Apis.Util.RequestParameterType.Query)] public virtual string ClientId { get; set; } - /// The version of the client implementation. - [Google.Apis.Util.RequestParameterAttribute("clientVersion", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ClientVersion { get; set; } - ///Gets the method name. public override string MethodName @@ -565,18 +565,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "clientId", new Google.Apis.Discovery.Parameter + "clientVersion", new Google.Apis.Discovery.Parameter { - Name = "clientId", + Name = "clientVersion", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "clientVersion", new Google.Apis.Discovery.Parameter + "clientId", new Google.Apis.Discovery.Parameter { - Name = "clientVersion", + Name = "clientId", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.nuspec b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.nuspec index a0c1294f5f..c39b64bb8d 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.nuspec +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.nuspec @@ -2,7 +2,7 @@ Google.Apis.Safebrowsing.v4 - 1.24.0.808 + 1.24.1.808 Google.Apis.Safebrowsing.v4 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/Google.Apis.Safebrowsing.v4.csproj b/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/Google.Apis.Safebrowsing.v4.csproj index 82cf0e6e30..b9dc37484f 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/Google.Apis.Safebrowsing.v4.csproj +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/Google.Apis.Safebrowsing.v4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/packages.config b/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/packages.config +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/NetStandard/project.json b/Src/Generated/Google.Apis.Safebrowsing.v4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/Google.Apis.Safebrowsing.v4.csproj b/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/Google.Apis.Safebrowsing.v4.csproj index ea16d2b7b6..648f121f9a 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/Google.Apis.Safebrowsing.v4.csproj +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/Google.Apis.Safebrowsing.v4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/packages.config b/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Safebrowsing.v4/Properties/AssemblyInfo.cs index c0687c90a5..21adfcee11 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.808")] +[assembly: AssemblyVersion("1.24.1.808")] diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/project.json b/Src/Generated/Google.Apis.Safebrowsing.v4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/project.json +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs index 70bcb883b7..08ef6a5570 100644 --- a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs +++ b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.nuspec b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.nuspec index dd0c6338ff..f4f83b1559 100644 --- a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.nuspec +++ b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Script.v1 - 1.24.0.817 + 1.24.1.817 Google.Apis.Script.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Script.v1/Net45/Google.Apis.Script.v1.csproj b/Src/Generated/Google.Apis.Script.v1/Net45/Google.Apis.Script.v1.csproj index a9064ff98d..1feec76c49 100644 --- a/Src/Generated/Google.Apis.Script.v1/Net45/Google.Apis.Script.v1.csproj +++ b/Src/Generated/Google.Apis.Script.v1/Net45/Google.Apis.Script.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Script.v1/Net45/packages.config b/Src/Generated/Google.Apis.Script.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Script.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Script.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Script.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Script.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Script.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Script.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Script.v1/Profile259/Google.Apis.Script.v1.csproj b/Src/Generated/Google.Apis.Script.v1/Profile259/Google.Apis.Script.v1.csproj index 1bcbaf0b15..23efc6ed91 100644 --- a/Src/Generated/Google.Apis.Script.v1/Profile259/Google.Apis.Script.v1.csproj +++ b/Src/Generated/Google.Apis.Script.v1/Profile259/Google.Apis.Script.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Script.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Script.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Script.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Script.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Script.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Script.v1/Properties/AssemblyInfo.cs index f22cb48140..b210e00b08 100644 --- a/Src/Generated/Google.Apis.Script.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Script.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.Script.v1/project.json b/Src/Generated/Google.Apis.Script.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Script.v1/project.json +++ b/Src/Generated/Google.Apis.Script.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs index 27c298becc..a7f154b663 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.nuspec b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.nuspec index 0639aea0a6..973a3cf028 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.nuspec +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.SearchConsole.v1 - 1.24.0.814 + 1.24.1.814 Google.Apis.SearchConsole.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Net45/Google.Apis.SearchConsole.v1.csproj b/Src/Generated/Google.Apis.SearchConsole.v1/Net45/Google.Apis.SearchConsole.v1.csproj index 41e3fac7ec..c93ec962f0 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Net45/Google.Apis.SearchConsole.v1.csproj +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Net45/Google.Apis.SearchConsole.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Net45/packages.config b/Src/Generated/Google.Apis.SearchConsole.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/NetStandard/project.json b/Src/Generated/Google.Apis.SearchConsole.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.SearchConsole.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/Google.Apis.SearchConsole.v1.csproj b/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/Google.Apis.SearchConsole.v1.csproj index 14d4880a28..f917e93f30 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/Google.Apis.SearchConsole.v1.csproj +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/Google.Apis.SearchConsole.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/packages.config b/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.SearchConsole.v1/Properties/AssemblyInfo.cs index b8e4cfda95..3558921a13 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.814")] +[assembly: AssemblyVersion("1.24.1.814")] diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/project.json b/Src/Generated/Google.Apis.SearchConsole.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/project.json +++ b/Src/Generated/Google.Apis.SearchConsole.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs index f1bcdfd949..ef019c444c 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -26,7 +26,7 @@ * API * Google Service Control API * API Versionv1 - * API Rev20170319 (808) + * API Rev20170326 (815) * API Docs * * https://cloud.google.com/service-control/ diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.nuspec b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.nuspec index 6a30fca943..b9fd21d0e8 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.nuspec +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.ServiceControl.v1 - 1.24.0.808 + 1.24.1.815 Google.Apis.ServiceControl.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Net45/Google.Apis.ServiceControl.v1.csproj b/Src/Generated/Google.Apis.ServiceControl.v1/Net45/Google.Apis.ServiceControl.v1.csproj index 3050cf3465..20edb5458d 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Net45/Google.Apis.ServiceControl.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Net45/Google.Apis.ServiceControl.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Net45/packages.config b/Src/Generated/Google.Apis.ServiceControl.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/NetStandard/project.json b/Src/Generated/Google.Apis.ServiceControl.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ServiceControl.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/Google.Apis.ServiceControl.v1.csproj b/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/Google.Apis.ServiceControl.v1.csproj index c8f87faf45..c84742be0b 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/Google.Apis.ServiceControl.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/Google.Apis.ServiceControl.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/packages.config b/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ServiceControl.v1/Properties/AssemblyInfo.cs index 790d083f05..44bbe82928 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.808")] +[assembly: AssemblyVersion("1.24.1.815")] diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/project.json b/Src/Generated/Google.Apis.ServiceControl.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/project.json +++ b/Src/Generated/Google.Apis.ServiceControl.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs index fdea7d6550..d05008e5e7 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -453,6 +453,19 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// Not used. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Name { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// The maximum number of operations to return. If unspecified, defaults to 50. The maximum value + /// is 100. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + /// A string for filtering Operations. The following filter fields are supported /// /// * serviceName Required. Only `=` operator is allowed. * startTime The time this job was started, in ISO @@ -471,19 +484,6 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } - /// Not used. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Name { get; set; } - - /// The standard list page token. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The maximum number of operations to return. If unspecified, defaults to 50. The maximum value - /// is 100. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - ///Gets the method name. public override string MethodName @@ -509,36 +509,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "name", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "name", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "name", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -791,14 +791,14 @@ public ListRequest(Google.Apis.Services.IClientService service, string serviceNa [Google.Apis.Util.RequestParameterAttribute("serviceName", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServiceName { get; private set; } - /// The max number of items to include in the response list. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// The token of the page to retrieve. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// The max number of items to include in the response list. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -833,18 +833,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1147,14 +1147,14 @@ public ListRequest(Google.Apis.Services.IClientService service, string serviceNa [Google.Apis.Util.RequestParameterAttribute("serviceName", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServiceName { get; private set; } - /// The max number of items to include in the response list. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// The token of the page to retrieve. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// The max number of items to include in the response list. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -1189,18 +1189,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1644,6 +1644,10 @@ public GetConfigRequest(Google.Apis.Services.IClientService service, string serv [Google.Apis.Util.RequestParameterAttribute("serviceName", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServiceName { get; private set; } + /// The id of the service configuration resource. + [Google.Apis.Util.RequestParameterAttribute("configId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ConfigId { get; set; } + /// Specifies which parts of the Service Config should be returned in the response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } @@ -1657,10 +1661,6 @@ public enum ViewEnum FULL, } - /// The id of the service configuration resource. - [Google.Apis.Util.RequestParameterAttribute("configId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ConfigId { get; set; } - ///Gets the method name. public override string MethodName @@ -1695,18 +1695,18 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "view", new Google.Apis.Discovery.Parameter + "configId", new Google.Apis.Discovery.Parameter { - Name = "view", + Name = "configId", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "configId", new Google.Apis.Discovery.Parameter + "view", new Google.Apis.Discovery.Parameter { - Name = "configId", + Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.nuspec b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.nuspec index 916a9f4eac..038240837a 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.nuspec +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.ServiceManagement.v1 - 1.24.0.806 + 1.24.1.806 Google.Apis.ServiceManagement.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/Google.Apis.ServiceManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/Google.Apis.ServiceManagement.v1.csproj index 9e180bdcbb..243232a39e 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/Google.Apis.ServiceManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/Google.Apis.ServiceManagement.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/packages.config b/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/NetStandard/project.json b/Src/Generated/Google.Apis.ServiceManagement.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/Google.Apis.ServiceManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/Google.Apis.ServiceManagement.v1.csproj index cc66843b6d..48bf58a0db 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/Google.Apis.ServiceManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/Google.Apis.ServiceManagement.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/packages.config b/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ServiceManagement.v1/Properties/AssemblyInfo.cs index 496ccd3aae..240e4655e3 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.806")] diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/project.json b/Src/Generated/Google.Apis.ServiceManagement.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/project.json +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.cs b/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.cs index dc383b77e0..b1c02238f5 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.cs +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -688,14 +688,14 @@ public SearchRequest(Google.Apis.Services.IClientService service) } - /// Token identifying which result to start with; returned by a previous list call. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - /// Requested size of the next page of data. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// Token identifying which result to start with; returned by a previous list call. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -721,18 +721,18 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.nuspec b/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.nuspec index 240e561d9a..233a8e251b 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.nuspec +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Google.Apis.ServiceUser.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.ServiceUser.v1 - 1.24.0.806 + 1.24.1.806 Google.Apis.ServiceUser.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Net45/Google.Apis.ServiceUser.v1.csproj b/Src/Generated/Google.Apis.ServiceUser.v1/Net45/Google.Apis.ServiceUser.v1.csproj index f3e4e652f3..72c82be9cd 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Net45/Google.Apis.ServiceUser.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Net45/Google.Apis.ServiceUser.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Net45/packages.config b/Src/Generated/Google.Apis.ServiceUser.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/NetStandard/project.json b/Src/Generated/Google.Apis.ServiceUser.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ServiceUser.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/Google.Apis.ServiceUser.v1.csproj b/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/Google.Apis.ServiceUser.v1.csproj index 9cc84664a4..48008f5181 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/Google.Apis.ServiceUser.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/Google.Apis.ServiceUser.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/packages.config b/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ServiceUser.v1/Properties/AssemblyInfo.cs index fc36f6ea14..176c734c33 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ServiceUser.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.806")] diff --git a/Src/Generated/Google.Apis.ServiceUser.v1/project.json b/Src/Generated/Google.Apis.ServiceUser.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ServiceUser.v1/project.json +++ b/Src/Generated/Google.Apis.ServiceUser.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs index b6d68aad28..9b40ac9306 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs +++ b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -550,6 +550,38 @@ public AppendRequest(Google.Apis.Services.IClientService service, Google.Apis.Sh [Google.Apis.Util.RequestParameterAttribute("range", Google.Apis.Util.RequestParameterType.Path)] public virtual string Range { get; private set; } + /// How the input data should be interpreted. + [Google.Apis.Util.RequestParameterAttribute("valueInputOption", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValueInputOption { get; set; } + + /// How the input data should be interpreted. + public enum ValueInputOptionEnum + { + [Google.Apis.Util.StringValueAttribute("INPUT_VALUE_OPTION_UNSPECIFIED")] + INPUTVALUEOPTIONUNSPECIFIED, + [Google.Apis.Util.StringValueAttribute("RAW")] + RAW, + [Google.Apis.Util.StringValueAttribute("USER_ENTERED")] + USERENTERED, + } + + /// Determines how dates, times, and durations in the response should be rendered. This is + /// ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + /// [DateTimeRenderOption.SERIAL_NUMBER]. + [Google.Apis.Util.RequestParameterAttribute("responseDateTimeRenderOption", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ResponseDateTimeRenderOption { get; set; } + + /// Determines how dates, times, and durations in the response should be rendered. This is + /// ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + /// [DateTimeRenderOption.SERIAL_NUMBER]. + public enum ResponseDateTimeRenderOptionEnum + { + [Google.Apis.Util.StringValueAttribute("SERIAL_NUMBER")] + SERIALNUMBER, + [Google.Apis.Util.StringValueAttribute("FORMATTED_STRING")] + FORMATTEDSTRING, + } + /// Determines if the update response should include the values of the cells that were /// appended. By default, responses do not include the updated values. [Google.Apis.Util.RequestParameterAttribute("includeValuesInResponse", Google.Apis.Util.RequestParameterType.Query)] @@ -585,38 +617,6 @@ public enum InsertDataOptionEnum INSERTROWS, } - /// How the input data should be interpreted. - [Google.Apis.Util.RequestParameterAttribute("valueInputOption", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ValueInputOption { get; set; } - - /// How the input data should be interpreted. - public enum ValueInputOptionEnum - { - [Google.Apis.Util.StringValueAttribute("INPUT_VALUE_OPTION_UNSPECIFIED")] - INPUTVALUEOPTIONUNSPECIFIED, - [Google.Apis.Util.StringValueAttribute("RAW")] - RAW, - [Google.Apis.Util.StringValueAttribute("USER_ENTERED")] - USERENTERED, - } - - /// Determines how dates, times, and durations in the response should be rendered. This is - /// ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is - /// [DateTimeRenderOption.SERIAL_NUMBER]. - [Google.Apis.Util.RequestParameterAttribute("responseDateTimeRenderOption", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ResponseDateTimeRenderOption { get; set; } - - /// Determines how dates, times, and durations in the response should be rendered. This is - /// ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is - /// [DateTimeRenderOption.SERIAL_NUMBER]. - public enum ResponseDateTimeRenderOptionEnum - { - [Google.Apis.Util.StringValueAttribute("SERIAL_NUMBER")] - SERIALNUMBER, - [Google.Apis.Util.StringValueAttribute("FORMATTED_STRING")] - FORMATTEDSTRING, - } - /// Gets or sets the body of this request. Google.Apis.Sheets.v4.Data.ValueRange Body { get; set; } @@ -666,45 +666,45 @@ protected override void InitParameters() Pattern = null, }); RequestParameters.Add( - "includeValuesInResponse", new Google.Apis.Discovery.Parameter + "valueInputOption", new Google.Apis.Discovery.Parameter { - Name = "includeValuesInResponse", + Name = "valueInputOption", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "responseValueRenderOption", new Google.Apis.Discovery.Parameter + "responseDateTimeRenderOption", new Google.Apis.Discovery.Parameter { - Name = "responseValueRenderOption", + Name = "responseDateTimeRenderOption", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "insertDataOption", new Google.Apis.Discovery.Parameter + "includeValuesInResponse", new Google.Apis.Discovery.Parameter { - Name = "insertDataOption", + Name = "includeValuesInResponse", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "valueInputOption", new Google.Apis.Discovery.Parameter + "responseValueRenderOption", new Google.Apis.Discovery.Parameter { - Name = "valueInputOption", + Name = "responseValueRenderOption", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "responseDateTimeRenderOption", new Google.Apis.Discovery.Parameter + "insertDataOption", new Google.Apis.Discovery.Parameter { - Name = "responseDateTimeRenderOption", + Name = "insertDataOption", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.nuspec b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.nuspec index 4b5b023b7d..451266eb1e 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.nuspec +++ b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.nuspec @@ -2,7 +2,7 @@ Google.Apis.Sheets.v4 - 1.24.0.812 + 1.24.1.812 Google.Apis.Sheets.v4 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Sheets.v4/Net45/Google.Apis.Sheets.v4.csproj b/Src/Generated/Google.Apis.Sheets.v4/Net45/Google.Apis.Sheets.v4.csproj index 62589cde6f..23ca5374d1 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Net45/Google.Apis.Sheets.v4.csproj +++ b/Src/Generated/Google.Apis.Sheets.v4/Net45/Google.Apis.Sheets.v4.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Sheets.v4/Net45/packages.config b/Src/Generated/Google.Apis.Sheets.v4/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Net45/packages.config +++ b/Src/Generated/Google.Apis.Sheets.v4/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Sheets.v4/NetStandard/project.json b/Src/Generated/Google.Apis.Sheets.v4/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Sheets.v4/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Sheets.v4/Profile259/Google.Apis.Sheets.v4.csproj b/Src/Generated/Google.Apis.Sheets.v4/Profile259/Google.Apis.Sheets.v4.csproj index 6df34ab5fc..db3ef7f8b1 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Profile259/Google.Apis.Sheets.v4.csproj +++ b/Src/Generated/Google.Apis.Sheets.v4/Profile259/Google.Apis.Sheets.v4.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Sheets.v4/Profile259/packages.config b/Src/Generated/Google.Apis.Sheets.v4/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Sheets.v4/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Sheets.v4/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Sheets.v4/Properties/AssemblyInfo.cs index 68ec4921ba..d9c03157a8 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Sheets.v4/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.Sheets.v4/project.json b/Src/Generated/Google.Apis.Sheets.v4/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/project.json +++ b/Src/Generated/Google.Apis.Sheets.v4/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs index 9162af7149..7a0cf482b0 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.nuspec b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.nuspec index 930dddf5aa..6f0836f0dd 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.nuspec +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Google.Apis.ShoppingContent.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.ShoppingContent.v2 - 1.24.0.792 + 1.24.1.792 Google.Apis.ShoppingContent.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/Google.Apis.ShoppingContent.v2.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/Google.Apis.ShoppingContent.v2.csproj index 92f51577d8..627e3e6c09 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/Google.Apis.ShoppingContent.v2.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/Google.Apis.ShoppingContent.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/packages.config b/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/NetStandard/project.json b/Src/Generated/Google.Apis.ShoppingContent.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/Google.Apis.ShoppingContent.v2.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/Google.Apis.ShoppingContent.v2.csproj index a98e63efb4..a70fc4ed61 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/Google.Apis.ShoppingContent.v2.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/Google.Apis.ShoppingContent.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/packages.config b/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ShoppingContent.v2/Properties/AssemblyInfo.cs index 8ba392b9d8..21a016a1c1 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.792")] +[assembly: AssemblyVersion("1.24.1.792")] diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2/project.json b/Src/Generated/Google.Apis.ShoppingContent.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2/project.json +++ b/Src/Generated/Google.Apis.ShoppingContent.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.cs b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.cs index e37b2ceb1a..f6d2f358c3 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.nuspec b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.nuspec index 8dc8b980bd..c0b59aab90 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.nuspec +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Google.Apis.ShoppingContent.v2sandbox.nuspec @@ -2,7 +2,7 @@ Google.Apis.ShoppingContent.v2sandbox - 1.24.0.792 + 1.24.1.792 Google.Apis.ShoppingContent.v2sandbox Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/Google.Apis.ShoppingContent.v2sandbox.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/Google.Apis.ShoppingContent.v2sandbox.csproj index 1b21100428..3e9c94903e 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/Google.Apis.ShoppingContent.v2sandbox.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/Google.Apis.ShoppingContent.v2sandbox.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/packages.config b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/packages.config +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/NetStandard/project.json b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/Google.Apis.ShoppingContent.v2sandbox.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/Google.Apis.ShoppingContent.v2sandbox.csproj index 8d67958cb7..4dec9fe5f1 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/Google.Apis.ShoppingContent.v2sandbox.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/Google.Apis.ShoppingContent.v2sandbox.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/packages.config b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Properties/AssemblyInfo.cs index 4274196ed6..b0aa7562bc 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.792")] +[assembly: AssemblyVersion("1.24.1.792")] diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/project.json b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/project.json +++ b/Src/Generated/Google.Apis.ShoppingContent.v2sandbox/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs index 5e10540bdb..674ba73256 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.nuspec b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.nuspec index 1d07fee1b5..e948fb2d29 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.nuspec +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.SiteVerification.v1 - 1.24.0.683 + 1.24.1.683 Google.Apis.SiteVerification.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Net45/Google.Apis.SiteVerification.v1.csproj b/Src/Generated/Google.Apis.SiteVerification.v1/Net45/Google.Apis.SiteVerification.v1.csproj index d6f46b708e..bbbef3ad9b 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Net45/Google.Apis.SiteVerification.v1.csproj +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Net45/Google.Apis.SiteVerification.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Net45/packages.config b/Src/Generated/Google.Apis.SiteVerification.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/NetStandard/project.json b/Src/Generated/Google.Apis.SiteVerification.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.SiteVerification.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/Google.Apis.SiteVerification.v1.csproj b/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/Google.Apis.SiteVerification.v1.csproj index 9825c3cede..0ee4ab6588 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/Google.Apis.SiteVerification.v1.csproj +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/Google.Apis.SiteVerification.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/packages.config b/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.SiteVerification.v1/Properties/AssemblyInfo.cs index cb464fed52..671a8323aa 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.683")] +[assembly: AssemblyVersion("1.24.1.683")] diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/project.json b/Src/Generated/Google.Apis.SiteVerification.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/project.json +++ b/Src/Generated/Google.Apis.SiteVerification.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs index c936d1e05a..58eda24046 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs +++ b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.nuspec b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.nuspec index f634857d03..e5bd92b8ee 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.nuspec +++ b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Slides.v1 - 1.24.0.812 + 1.24.1.812 Google.Apis.Slides.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Slides.v1/Net45/Google.Apis.Slides.v1.csproj b/Src/Generated/Google.Apis.Slides.v1/Net45/Google.Apis.Slides.v1.csproj index 35f72dcec3..346eb77364 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Net45/Google.Apis.Slides.v1.csproj +++ b/Src/Generated/Google.Apis.Slides.v1/Net45/Google.Apis.Slides.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Slides.v1/Net45/packages.config b/Src/Generated/Google.Apis.Slides.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Slides.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Slides.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Slides.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Slides.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Slides.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Slides.v1/Profile259/Google.Apis.Slides.v1.csproj b/Src/Generated/Google.Apis.Slides.v1/Profile259/Google.Apis.Slides.v1.csproj index 086b2b0bca..a11e7ca616 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Profile259/Google.Apis.Slides.v1.csproj +++ b/Src/Generated/Google.Apis.Slides.v1/Profile259/Google.Apis.Slides.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Slides.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Slides.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Slides.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Slides.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Slides.v1/Properties/AssemblyInfo.cs index 5d9fb112b3..7dfcdc2610 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Slides.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.812")] +[assembly: AssemblyVersion("1.24.1.812")] diff --git a/Src/Generated/Google.Apis.Slides.v1/project.json b/Src/Generated/Google.Apis.Slides.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Slides.v1/project.json +++ b/Src/Generated/Google.Apis.Slides.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs index 8121fcf9cb..e14379a1b5 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs +++ b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -3037,16 +3037,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// If non-empty, `page_token` should contain a next_page_token from a previous - /// ListInstancesResponse. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Number of instances to be returned in the response. If 0 or less, defaults to the server's - /// maximum allowed page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - /// An expression for filtering the results of the request. Filter rules are case insensitive. /// The fields eligible for filtering are: /// @@ -3062,6 +3052,16 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } + /// If non-empty, `page_token` should contain a next_page_token from a previous + /// ListInstancesResponse. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Number of instances to be returned in the response. If 0 or less, defaults to the server's + /// maximum allowed page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + ///Gets the method name. public override string MethodName @@ -3096,27 +3096,27 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.nuspec b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.nuspec index ada8ee5559..1c775bb04a 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.nuspec +++ b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Spanner.v1 - 1.24.0.806 + 1.24.1.806 Google.Apis.Spanner.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Spanner.v1/Net45/Google.Apis.Spanner.v1.csproj b/Src/Generated/Google.Apis.Spanner.v1/Net45/Google.Apis.Spanner.v1.csproj index ab46e5993a..a63df05f5c 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Net45/Google.Apis.Spanner.v1.csproj +++ b/Src/Generated/Google.Apis.Spanner.v1/Net45/Google.Apis.Spanner.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Spanner.v1/Net45/packages.config b/Src/Generated/Google.Apis.Spanner.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Spanner.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Spanner.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Spanner.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Spanner.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Spanner.v1/Profile259/Google.Apis.Spanner.v1.csproj b/Src/Generated/Google.Apis.Spanner.v1/Profile259/Google.Apis.Spanner.v1.csproj index b37578a9c1..f5dc25a2f8 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Profile259/Google.Apis.Spanner.v1.csproj +++ b/Src/Generated/Google.Apis.Spanner.v1/Profile259/Google.Apis.Spanner.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Spanner.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Spanner.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Spanner.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Spanner.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Spanner.v1/Properties/AssemblyInfo.cs index 7a31af3aec..3494c1e40b 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Spanner.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.806")] diff --git a/Src/Generated/Google.Apis.Spanner.v1/project.json b/Src/Generated/Google.Apis.Spanner.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/project.json +++ b/Src/Generated/Google.Apis.Spanner.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.cs b/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.cs index 2cb1b82daa..ce6f7fd403 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.cs +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.nuspec b/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.nuspec index 04260be4f8..0a94e12b1e 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.nuspec +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Google.Apis.Spectrum.v1explorer.nuspec @@ -2,7 +2,7 @@ Google.Apis.Spectrum.v1explorer - 1.24.0.795 + 1.24.1.795 Google.Apis.Spectrum.v1explorer Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/Google.Apis.Spectrum.v1explorer.csproj b/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/Google.Apis.Spectrum.v1explorer.csproj index 123fef3521..f627acabee 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/Google.Apis.Spectrum.v1explorer.csproj +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/Google.Apis.Spectrum.v1explorer.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/packages.config b/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/packages.config +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/NetStandard/project.json b/Src/Generated/Google.Apis.Spectrum.v1explorer/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/Google.Apis.Spectrum.v1explorer.csproj b/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/Google.Apis.Spectrum.v1explorer.csproj index 255b9a3209..c04770e882 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/Google.Apis.Spectrum.v1explorer.csproj +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/Google.Apis.Spectrum.v1explorer.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/packages.config b/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Spectrum.v1explorer/Properties/AssemblyInfo.cs index ff53bb71d9..f23dff01c6 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.795")] +[assembly: AssemblyVersion("1.24.1.795")] diff --git a/Src/Generated/Google.Apis.Spectrum.v1explorer/project.json b/Src/Generated/Google.Apis.Spectrum.v1explorer/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Spectrum.v1explorer/project.json +++ b/Src/Generated/Google.Apis.Spectrum.v1explorer/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.cs b/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.cs index baab51fe1f..cbe2876e0d 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.cs +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -586,6 +586,10 @@ public ListRequest(Google.Apis.Services.IClientService service) } + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + /// The name of the operation collection. [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Query)] public virtual string Name { get; set; } @@ -598,10 +602,6 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// The standard list filter. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - ///Gets the method name. public override string MethodName @@ -627,36 +627,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "name", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "name", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "name", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.nuspec b/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.nuspec index 75f27d45c4..a1b1c4a3d0 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Google.Apis.Speech.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Speech.v1beta1 - 1.24.0.816 + 1.24.1.816 Google.Apis.Speech.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Net45/Google.Apis.Speech.v1beta1.csproj b/Src/Generated/Google.Apis.Speech.v1beta1/Net45/Google.Apis.Speech.v1beta1.csproj index 5cb51bfecf..921bf6a012 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Net45/Google.Apis.Speech.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Net45/Google.Apis.Speech.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Speech.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Speech.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Speech.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/Google.Apis.Speech.v1beta1.csproj b/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/Google.Apis.Speech.v1beta1.csproj index 87dc419167..87280e1697 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/Google.Apis.Speech.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/Google.Apis.Speech.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Speech.v1beta1/Properties/AssemblyInfo.cs index 93684b2c50..34286ec42d 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Speech.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.816")] +[assembly: AssemblyVersion("1.24.1.816")] diff --git a/Src/Generated/Google.Apis.Speech.v1beta1/project.json b/Src/Generated/Google.Apis.Speech.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Speech.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Speech.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs index 091f83a686..d6a730fd2e 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs +++ b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.nuspec b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.nuspec index fc5fa4e8ff..36da271277 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.nuspec +++ b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Storage.v1 - 1.24.0.806 + 1.24.1.806 Google.Apis.Storage.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1/Net45/Google.Apis.Storage.v1.csproj b/Src/Generated/Google.Apis.Storage.v1/Net45/Google.Apis.Storage.v1.csproj index 101e3fe96d..46f067dd1d 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Net45/Google.Apis.Storage.v1.csproj +++ b/Src/Generated/Google.Apis.Storage.v1/Net45/Google.Apis.Storage.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Storage.v1/Net45/packages.config b/Src/Generated/Google.Apis.Storage.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Storage.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Storage.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Storage.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Storage.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Storage.v1/Profile259/Google.Apis.Storage.v1.csproj b/Src/Generated/Google.Apis.Storage.v1/Profile259/Google.Apis.Storage.v1.csproj index 5c0be86901..92768366e2 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Profile259/Google.Apis.Storage.v1.csproj +++ b/Src/Generated/Google.Apis.Storage.v1/Profile259/Google.Apis.Storage.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Storage.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Storage.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Storage.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Storage.v1/Properties/AssemblyInfo.cs index 71ee2e0fcf..1a67a0155c 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Storage.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.806")] diff --git a/Src/Generated/Google.Apis.Storage.v1/project.json b/Src/Generated/Google.Apis.Storage.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Storage.v1/project.json +++ b/Src/Generated/Google.Apis.Storage.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.cs b/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.cs index aff4e25db0..b399ddb2a6 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.cs +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.nuspec b/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.nuspec index 84dc1d658b..00cfb59caa 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Google.Apis.Storage.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Storage.v1beta1 - 1.24.0.806 + 1.24.1.806 Google.Apis.Storage.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Net45/Google.Apis.Storage.v1beta1.csproj b/Src/Generated/Google.Apis.Storage.v1beta1/Net45/Google.Apis.Storage.v1beta1.csproj index c7f0d95069..ec62652dbc 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Net45/Google.Apis.Storage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Net45/Google.Apis.Storage.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Storage.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Storage.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Storage.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/Google.Apis.Storage.v1beta1.csproj b/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/Google.Apis.Storage.v1beta1.csproj index cd01397aa3..aa81dfb5d0 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/Google.Apis.Storage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/Google.Apis.Storage.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Storage.v1beta1/Properties/AssemblyInfo.cs index 38cec1164b..556fe7f66e 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Storage.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.806")] diff --git a/Src/Generated/Google.Apis.Storage.v1beta1/project.json b/Src/Generated/Google.Apis.Storage.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Storage.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.cs b/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.cs index 8496960e7d..bd26e6cf77 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.cs +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.nuspec b/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.nuspec index ec2d03d66c..f6b6bb7073 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Google.Apis.Storage.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Storage.v1beta2 - 1.24.0.806 + 1.24.1.806 Google.Apis.Storage.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Net45/Google.Apis.Storage.v1beta2.csproj b/Src/Generated/Google.Apis.Storage.v1beta2/Net45/Google.Apis.Storage.v1beta2.csproj index d263c7a46c..94d04e1a90 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Net45/Google.Apis.Storage.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Net45/Google.Apis.Storage.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.Storage.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.Storage.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Storage.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/Google.Apis.Storage.v1beta2.csproj b/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/Google.Apis.Storage.v1beta2.csproj index 19135ad713..c0da6320b6 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/Google.Apis.Storage.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/Google.Apis.Storage.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Storage.v1beta2/Properties/AssemblyInfo.cs index d1c384dbed..3db26978b3 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Storage.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.806")] +[assembly: AssemblyVersion("1.24.1.806")] diff --git a/Src/Generated/Google.Apis.Storage.v1beta2/project.json b/Src/Generated/Google.Apis.Storage.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Storage.v1beta2/project.json +++ b/Src/Generated/Google.Apis.Storage.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs index ea7782519d..500625e9ff 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.nuspec b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.nuspec index 6f7ab7358e..bb243e2e0c 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.nuspec +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Storagetransfer.v1 - 1.24.0.222 + 1.24.1.222 Google.Apis.Storagetransfer.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/Google.Apis.Storagetransfer.v1.csproj b/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/Google.Apis.Storagetransfer.v1.csproj index 423cfec843..2e6f9fbf71 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/Google.Apis.Storagetransfer.v1.csproj +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/Google.Apis.Storagetransfer.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/packages.config b/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Storagetransfer.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/Google.Apis.Storagetransfer.v1.csproj b/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/Google.Apis.Storagetransfer.v1.csproj index 1b93d7971d..0fc2bae28d 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/Google.Apis.Storagetransfer.v1.csproj +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/Google.Apis.Storagetransfer.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Storagetransfer.v1/Properties/AssemblyInfo.cs index 952cac4aed..1387812dc1 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.222")] +[assembly: AssemblyVersion("1.24.1.222")] diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/project.json b/Src/Generated/Google.Apis.Storagetransfer.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/project.json +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.cs b/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.cs index 261f4adc47..fea1620522 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.cs +++ b/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.nuspec b/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.nuspec index 8a7c2dcb5a..9a86f54026 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.nuspec +++ b/Src/Generated/Google.Apis.Surveys.v2/Google.Apis.Surveys.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Surveys.v2 - 1.24.0.672 + 1.24.1.672 Google.Apis.Surveys.v2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Surveys.v2/Net45/Google.Apis.Surveys.v2.csproj b/Src/Generated/Google.Apis.Surveys.v2/Net45/Google.Apis.Surveys.v2.csproj index 28b14be8b2..d28a7dd928 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Net45/Google.Apis.Surveys.v2.csproj +++ b/Src/Generated/Google.Apis.Surveys.v2/Net45/Google.Apis.Surveys.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Surveys.v2/Net45/packages.config b/Src/Generated/Google.Apis.Surveys.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Surveys.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Surveys.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Surveys.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Surveys.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Surveys.v2/Profile259/Google.Apis.Surveys.v2.csproj b/Src/Generated/Google.Apis.Surveys.v2/Profile259/Google.Apis.Surveys.v2.csproj index bbfe8e90b3..98290f9d39 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Profile259/Google.Apis.Surveys.v2.csproj +++ b/Src/Generated/Google.Apis.Surveys.v2/Profile259/Google.Apis.Surveys.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Surveys.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Surveys.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Surveys.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Surveys.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Surveys.v2/Properties/AssemblyInfo.cs index d2a8ec225d..7f05b5c228 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Surveys.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.672")] +[assembly: AssemblyVersion("1.24.1.672")] diff --git a/Src/Generated/Google.Apis.Surveys.v2/project.json b/Src/Generated/Google.Apis.Surveys.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Surveys.v2/project.json +++ b/Src/Generated/Google.Apis.Surveys.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs index a23abea59e..3583a9a83d 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs +++ b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.nuspec b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.nuspec index 8689abc727..8beee2aff2 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.nuspec +++ b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.TagManager.v1 - 1.24.0.434 + 1.24.1.434 Google.Apis.TagManager.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.TagManager.v1/Net45/Google.Apis.TagManager.v1.csproj b/Src/Generated/Google.Apis.TagManager.v1/Net45/Google.Apis.TagManager.v1.csproj index c5b0f57a05..cf19eb4117 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Net45/Google.Apis.TagManager.v1.csproj +++ b/Src/Generated/Google.Apis.TagManager.v1/Net45/Google.Apis.TagManager.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.TagManager.v1/Net45/packages.config b/Src/Generated/Google.Apis.TagManager.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.TagManager.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.TagManager.v1/NetStandard/project.json b/Src/Generated/Google.Apis.TagManager.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.TagManager.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.TagManager.v1/Profile259/Google.Apis.TagManager.v1.csproj b/Src/Generated/Google.Apis.TagManager.v1/Profile259/Google.Apis.TagManager.v1.csproj index a0d9a6b39f..8f20580937 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Profile259/Google.Apis.TagManager.v1.csproj +++ b/Src/Generated/Google.Apis.TagManager.v1/Profile259/Google.Apis.TagManager.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.TagManager.v1/Profile259/packages.config b/Src/Generated/Google.Apis.TagManager.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.TagManager.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.TagManager.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.TagManager.v1/Properties/AssemblyInfo.cs index 1e13b0469e..5a4d4b67cb 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.TagManager.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.434")] +[assembly: AssemblyVersion("1.24.1.434")] diff --git a/Src/Generated/Google.Apis.TagManager.v1/project.json b/Src/Generated/Google.Apis.TagManager.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/project.json +++ b/Src/Generated/Google.Apis.TagManager.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.cs b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.cs index 459e6b2348..2373232c8e 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.cs +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.nuspec b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.nuspec index a1dcba8efa..65c630deeb 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Google.Apis.Taskqueue.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Taskqueue.v1beta1 - 1.24.0.483 + 1.24.1.483 Google.Apis.Taskqueue.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/Google.Apis.Taskqueue.v1beta1.csproj b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/Google.Apis.Taskqueue.v1beta1.csproj index b59b228986..6c1f115ea6 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/Google.Apis.Taskqueue.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/Google.Apis.Taskqueue.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.Taskqueue.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/Google.Apis.Taskqueue.v1beta1.csproj b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/Google.Apis.Taskqueue.v1beta1.csproj index 923527f9f8..7c0755c8cc 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/Google.Apis.Taskqueue.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/Google.Apis.Taskqueue.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Properties/AssemblyInfo.cs index a8d1c317f4..13283b1360 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.483")] +[assembly: AssemblyVersion("1.24.1.483")] diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta1/project.json b/Src/Generated/Google.Apis.Taskqueue.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta1/project.json +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.cs b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.cs index 05ab197e6b..47f9daa2cb 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.cs +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.nuspec b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.nuspec index 368ccc01f3..df887398a2 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.nuspec +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Google.Apis.Taskqueue.v1beta2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Taskqueue.v1beta2 - 1.24.0.483 + 1.24.1.483 Google.Apis.Taskqueue.v1beta2 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/Google.Apis.Taskqueue.v1beta2.csproj b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/Google.Apis.Taskqueue.v1beta2.csproj index f7f9fff9ed..f200d591c1 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/Google.Apis.Taskqueue.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/Google.Apis.Taskqueue.v1beta2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/packages.config b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/NetStandard/project.json b/Src/Generated/Google.Apis.Taskqueue.v1beta2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/Google.Apis.Taskqueue.v1beta2.csproj b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/Google.Apis.Taskqueue.v1beta2.csproj index ce769ff622..ce2a7b3cdc 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/Google.Apis.Taskqueue.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/Google.Apis.Taskqueue.v1beta2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/packages.config b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Properties/AssemblyInfo.cs index 6fe49b0944..467af42737 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.483")] +[assembly: AssemblyVersion("1.24.1.483")] diff --git a/Src/Generated/Google.Apis.Taskqueue.v1beta2/project.json b/Src/Generated/Google.Apis.Taskqueue.v1beta2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Taskqueue.v1beta2/project.json +++ b/Src/Generated/Google.Apis.Taskqueue.v1beta2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs index 0dbcefcfef..c7c3f59ce7 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs +++ b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.nuspec b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.nuspec index de6419f0f0..d72328ed37 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.nuspec +++ b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Tasks.v1 - 1.24.0.0 + 1.24.1.0 Google.Apis.Tasks.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Tasks.v1/Net45/Google.Apis.Tasks.v1.csproj b/Src/Generated/Google.Apis.Tasks.v1/Net45/Google.Apis.Tasks.v1.csproj index 6ccbbd2eba..e17dc42d1b 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Net45/Google.Apis.Tasks.v1.csproj +++ b/Src/Generated/Google.Apis.Tasks.v1/Net45/Google.Apis.Tasks.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Tasks.v1/Net45/packages.config b/Src/Generated/Google.Apis.Tasks.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Tasks.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Tasks.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Tasks.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Tasks.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Tasks.v1/Profile259/Google.Apis.Tasks.v1.csproj b/Src/Generated/Google.Apis.Tasks.v1/Profile259/Google.Apis.Tasks.v1.csproj index 93445f6669..55ad47d9a8 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Profile259/Google.Apis.Tasks.v1.csproj +++ b/Src/Generated/Google.Apis.Tasks.v1/Profile259/Google.Apis.Tasks.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Tasks.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Tasks.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Tasks.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Tasks.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Tasks.v1/Properties/AssemblyInfo.cs index f09a591af7..5920956c76 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Tasks.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.0")] +[assembly: AssemblyVersion("1.24.1.0")] diff --git a/Src/Generated/Google.Apis.Tasks.v1/project.json b/Src/Generated/Google.Apis.Tasks.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/project.json +++ b/Src/Generated/Google.Apis.Tasks.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/Google.Apis.ToolResults.v1beta3.csproj b/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/Google.Apis.ToolResults.v1beta3.csproj index 9f70cf8cfa..5f7d8b1fd1 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/Google.Apis.ToolResults.v1beta3.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/Google.Apis.ToolResults.v1beta3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/packages.config b/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/packages.config +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/NetStandard/project.json b/Src/Generated/Google.Apis.ToolResults.v1beta3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/Google.Apis.ToolResults.v1beta3.csproj b/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/Google.Apis.ToolResults.v1beta3.csproj index 25f1db04f7..4126f3cd90 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/Google.Apis.ToolResults.v1beta3.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/Google.Apis.ToolResults.v1beta3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/packages.config b/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/project.json b/Src/Generated/Google.Apis.ToolResults.v1beta3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/project.json +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.cs b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.cs index 43c6abac46..2207036111 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.cs +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.nuspec b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.nuspec index 4673b37a8a..5076a9c26b 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.nuspec +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Google.Apis.ToolResults.v1beta3firstparty.nuspec @@ -2,7 +2,7 @@ Google.Apis.ToolResults.v1beta3firstparty - 1.24.0.818 + 1.24.1.818 Google.Apis.ToolResults.v1beta3firstparty Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/Google.Apis.ToolResults.v1beta3firstparty.csproj b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/Google.Apis.ToolResults.v1beta3firstparty.csproj index cc3bc44ad5..dba6e36e12 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/Google.Apis.ToolResults.v1beta3firstparty.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/Google.Apis.ToolResults.v1beta3firstparty.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/packages.config b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/packages.config +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/NetStandard/project.json b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/NetStandard/project.json +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/Google.Apis.ToolResults.v1beta3firstparty.csproj b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/Google.Apis.ToolResults.v1beta3firstparty.csproj index e73ac424c2..7004bacfc6 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/Google.Apis.ToolResults.v1beta3firstparty.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/Google.Apis.ToolResults.v1beta3firstparty.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/packages.config b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/packages.config +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Properties/AssemblyInfo.cs index 576daeac42..8052eef340 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/project.json b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/project.json +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3firstparty/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.cs b/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.cs index dc5396a3dd..8fa595076b 100644 --- a/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.cs +++ b/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.nuspec b/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.nuspec index 74d135d4a6..8623a03e06 100644 --- a/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.nuspec +++ b/Src/Generated/Google.Apis.Toolresults.v1beta3/Google.Apis.Toolresults.v1beta3.nuspec @@ -2,7 +2,7 @@ Google.Apis.ToolResults.v1beta3 - 1.24.0.818 + 1.24.1.818 Google.Apis.ToolResults.v1beta3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Toolresults.v1beta3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Toolresults.v1beta3/Properties/AssemblyInfo.cs index 4b40b4cb7e..540499c368 100644 --- a/Src/Generated/Google.Apis.Toolresults.v1beta3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Toolresults.v1beta3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.cs b/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.cs index 2766aede41..54cb0392aa 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.cs +++ b/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -543,21 +543,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// End of the time interval (inclusive) during which the trace data was collected from the - /// application. - [Google.Apis.Util.RequestParameterAttribute("endTime", Google.Apis.Util.RequestParameterType.Query)] - public virtual object EndTime { get; set; } - - /// Token identifying the page of results to return. If provided, use the value of the - /// `next_page_token` field from a previous request. Optional. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Start of the time interval (inclusive) during which the trace data was collected from the - /// application. - [Google.Apis.Util.RequestParameterAttribute("startTime", Google.Apis.Util.RequestParameterType.Query)] - public virtual object StartTime { get; set; } - /// Maximum number of traces to return. If not specified or <= 0, the implementation selects a /// reasonable value. The implementation may return fewer traces than the requested page size. /// Optional. @@ -582,6 +567,21 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } + /// End of the time interval (inclusive) during which the trace data was collected from the + /// application. + [Google.Apis.Util.RequestParameterAttribute("endTime", Google.Apis.Util.RequestParameterType.Query)] + public virtual object EndTime { get; set; } + + /// Start of the time interval (inclusive) during which the trace data was collected from the + /// application. + [Google.Apis.Util.RequestParameterAttribute("startTime", Google.Apis.Util.RequestParameterType.Query)] + public virtual object StartTime { get; set; } + + /// Token identifying the page of results to return. If provided, use the value of the + /// `next_page_token` field from a previous request. Optional. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + ///Gets the method name. public override string MethodName @@ -616,54 +616,54 @@ protected override void InitParameters() Pattern = @"^projects/[^/]+$", }); RequestParameters.Add( - "endTime", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "endTime", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "orderBy", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "startTime", new Google.Apis.Discovery.Parameter + "filter", new Google.Apis.Discovery.Parameter { - Name = "startTime", + Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "endTime", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "endTime", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "orderBy", new Google.Apis.Discovery.Parameter + "startTime", new Google.Apis.Discovery.Parameter { - Name = "orderBy", + Name = "startTime", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "filter", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.nuspec b/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.nuspec index 6fa2f8c1af..080433e030 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.nuspec +++ b/Src/Generated/Google.Apis.Tracing.v1/Google.Apis.Tracing.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Tracing.v1 - 1.24.0.809 + 1.24.1.809 Google.Apis.Tracing.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Tracing.v1/Net45/Google.Apis.Tracing.v1.csproj b/Src/Generated/Google.Apis.Tracing.v1/Net45/Google.Apis.Tracing.v1.csproj index d1e1703d26..d53aceb02d 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Net45/Google.Apis.Tracing.v1.csproj +++ b/Src/Generated/Google.Apis.Tracing.v1/Net45/Google.Apis.Tracing.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Tracing.v1/Net45/packages.config b/Src/Generated/Google.Apis.Tracing.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Tracing.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Tracing.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Tracing.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Tracing.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Tracing.v1/Profile259/Google.Apis.Tracing.v1.csproj b/Src/Generated/Google.Apis.Tracing.v1/Profile259/Google.Apis.Tracing.v1.csproj index 1e8133eadd..489ce17052 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Profile259/Google.Apis.Tracing.v1.csproj +++ b/Src/Generated/Google.Apis.Tracing.v1/Profile259/Google.Apis.Tracing.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Tracing.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Tracing.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Tracing.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Tracing.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Tracing.v1/Properties/AssemblyInfo.cs index 9026e11678..5e87a7f760 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Tracing.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")] diff --git a/Src/Generated/Google.Apis.Tracing.v1/project.json b/Src/Generated/Google.Apis.Tracing.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Tracing.v1/project.json +++ b/Src/Generated/Google.Apis.Tracing.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs index 33f9e84a38..c50e481fa2 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs +++ b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.nuspec b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.nuspec index 9df414aa56..818663c034 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.nuspec +++ b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.nuspec @@ -2,7 +2,7 @@ Google.Apis.Translate.v2 - 1.24.0.543 + 1.24.1.543 Google.Apis.Translate.v2 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Translate.v2/Net45/Google.Apis.Translate.v2.csproj b/Src/Generated/Google.Apis.Translate.v2/Net45/Google.Apis.Translate.v2.csproj index 9d6dd59773..8832fc96f4 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Net45/Google.Apis.Translate.v2.csproj +++ b/Src/Generated/Google.Apis.Translate.v2/Net45/Google.Apis.Translate.v2.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Translate.v2/Net45/packages.config b/Src/Generated/Google.Apis.Translate.v2/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Net45/packages.config +++ b/Src/Generated/Google.Apis.Translate.v2/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Translate.v2/NetStandard/project.json b/Src/Generated/Google.Apis.Translate.v2/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Translate.v2/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Translate.v2/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Translate.v2/Profile259/Google.Apis.Translate.v2.csproj b/Src/Generated/Google.Apis.Translate.v2/Profile259/Google.Apis.Translate.v2.csproj index 7f8fbac5d3..a0d265db81 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Profile259/Google.Apis.Translate.v2.csproj +++ b/Src/Generated/Google.Apis.Translate.v2/Profile259/Google.Apis.Translate.v2.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Translate.v2/Profile259/packages.config b/Src/Generated/Google.Apis.Translate.v2/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Translate.v2/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Translate.v2/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Translate.v2/Properties/AssemblyInfo.cs index 16e71e2844..0a5f501de7 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Translate.v2/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.543")] +[assembly: AssemblyVersion("1.24.1.543")] diff --git a/Src/Generated/Google.Apis.Translate.v2/project.json b/Src/Generated/Google.Apis.Translate.v2/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Translate.v2/project.json +++ b/Src/Generated/Google.Apis.Translate.v2/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.cs b/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.cs index 57b02c36c4..e816e5171d 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.cs +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.nuspec b/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.nuspec index 06fdff082b..dcec72b30f 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.nuspec +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Google.Apis.Urlshortener.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Urlshortener.v1 - 1.24.0.138 + 1.24.1.138 Google.Apis.Urlshortener.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Net45/Google.Apis.Urlshortener.v1.csproj b/Src/Generated/Google.Apis.Urlshortener.v1/Net45/Google.Apis.Urlshortener.v1.csproj index cb9eaa89ce..3067b51860 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Net45/Google.Apis.Urlshortener.v1.csproj +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Net45/Google.Apis.Urlshortener.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Net45/packages.config b/Src/Generated/Google.Apis.Urlshortener.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Urlshortener.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Urlshortener.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/Google.Apis.Urlshortener.v1.csproj b/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/Google.Apis.Urlshortener.v1.csproj index 9c76e2e5ca..89d71d4ddd 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/Google.Apis.Urlshortener.v1.csproj +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/Google.Apis.Urlshortener.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Urlshortener.v1/Properties/AssemblyInfo.cs index 7b4b6b7edd..74abc9be40 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Urlshortener.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.138")] +[assembly: AssemblyVersion("1.24.1.138")] diff --git a/Src/Generated/Google.Apis.Urlshortener.v1/project.json b/Src/Generated/Google.Apis.Urlshortener.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Urlshortener.v1/project.json +++ b/Src/Generated/Google.Apis.Urlshortener.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs index 3a03f2381d..524ed16d55 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs +++ b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.nuspec b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.nuspec index 4e91602823..5323bff7e9 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.nuspec +++ b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Vision.v1 - 1.24.0.817 + 1.24.1.817 Google.Apis.Vision.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Vision.v1/Net45/Google.Apis.Vision.v1.csproj b/Src/Generated/Google.Apis.Vision.v1/Net45/Google.Apis.Vision.v1.csproj index 50dcecb086..d4be221c21 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Net45/Google.Apis.Vision.v1.csproj +++ b/Src/Generated/Google.Apis.Vision.v1/Net45/Google.Apis.Vision.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Vision.v1/Net45/packages.config b/Src/Generated/Google.Apis.Vision.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Vision.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Vision.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Vision.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Vision.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Vision.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Vision.v1/Profile259/Google.Apis.Vision.v1.csproj b/Src/Generated/Google.Apis.Vision.v1/Profile259/Google.Apis.Vision.v1.csproj index b4eb868ae0..c4378456a5 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Profile259/Google.Apis.Vision.v1.csproj +++ b/Src/Generated/Google.Apis.Vision.v1/Profile259/Google.Apis.Vision.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Vision.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Vision.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Vision.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Vision.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Vision.v1/Properties/AssemblyInfo.cs index 08f9ac6d31..e3d6796c2d 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Vision.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.817")] diff --git a/Src/Generated/Google.Apis.Vision.v1/project.json b/Src/Generated/Google.Apis.Vision.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Vision.v1/project.json +++ b/Src/Generated/Google.Apis.Vision.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs index 4ac034b1f2..58f7da8f3c 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs +++ b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.nuspec b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.nuspec index 32d77c4784..cb4cbfe79e 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.nuspec +++ b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Webfonts.v1 - 1.24.0.426 + 1.24.1.426 Google.Apis.Webfonts.v1 Client Library Google Inc. google-apis-packages @@ -34,10 +34,10 @@ Google - + - + - + diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Net45/Google.Apis.Webfonts.v1.csproj b/Src/Generated/Google.Apis.Webfonts.v1/Net45/Google.Apis.Webfonts.v1.csproj index 04e45b2908..8ff84b6321 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Net45/Google.Apis.Webfonts.v1.csproj +++ b/Src/Generated/Google.Apis.Webfonts.v1/Net45/Google.Apis.Webfonts.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Net45/packages.config b/Src/Generated/Google.Apis.Webfonts.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.Webfonts.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Webfonts.v1/NetStandard/project.json b/Src/Generated/Google.Apis.Webfonts.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Webfonts.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Profile259/Google.Apis.Webfonts.v1.csproj b/Src/Generated/Google.Apis.Webfonts.v1/Profile259/Google.Apis.Webfonts.v1.csproj index 4e028f3dc5..1991606c5f 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Profile259/Google.Apis.Webfonts.v1.csproj +++ b/Src/Generated/Google.Apis.Webfonts.v1/Profile259/Google.Apis.Webfonts.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Profile259/packages.config b/Src/Generated/Google.Apis.Webfonts.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Webfonts.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Webfonts.v1/Properties/AssemblyInfo.cs index ecdca4b917..3fbe10326c 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Webfonts.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.426")] +[assembly: AssemblyVersion("1.24.1.426")] diff --git a/Src/Generated/Google.Apis.Webfonts.v1/project.json b/Src/Generated/Google.Apis.Webfonts.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/project.json +++ b/Src/Generated/Google.Apis.Webfonts.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.cs b/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.cs index af0c2814a5..1f31ad17f4 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.cs +++ b/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.nuspec b/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.nuspec index 8ba900a380..e49663f485 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.nuspec +++ b/Src/Generated/Google.Apis.Webmasters.v3/Google.Apis.Webmasters.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.Webmasters.v3 - 1.24.0.811 + 1.24.1.811 Google.Apis.Webmasters.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Net45/Google.Apis.Webmasters.v3.csproj b/Src/Generated/Google.Apis.Webmasters.v3/Net45/Google.Apis.Webmasters.v3.csproj index 5fadd22da2..343b9eeea2 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Net45/Google.Apis.Webmasters.v3.csproj +++ b/Src/Generated/Google.Apis.Webmasters.v3/Net45/Google.Apis.Webmasters.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Net45/packages.config b/Src/Generated/Google.Apis.Webmasters.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.Webmasters.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Webmasters.v3/NetStandard/project.json b/Src/Generated/Google.Apis.Webmasters.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.Webmasters.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Profile259/Google.Apis.Webmasters.v3.csproj b/Src/Generated/Google.Apis.Webmasters.v3/Profile259/Google.Apis.Webmasters.v3.csproj index 204b95f132..edc6638f18 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Profile259/Google.Apis.Webmasters.v3.csproj +++ b/Src/Generated/Google.Apis.Webmasters.v3/Profile259/Google.Apis.Webmasters.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Profile259/packages.config b/Src/Generated/Google.Apis.Webmasters.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.Webmasters.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.Webmasters.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.Webmasters.v3/Properties/AssemblyInfo.cs index df381d9987..7c44a77f16 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.Webmasters.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.811")] +[assembly: AssemblyVersion("1.24.1.811")] diff --git a/Src/Generated/Google.Apis.Webmasters.v3/project.json b/Src/Generated/Google.Apis.Webmasters.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.Webmasters.v3/project.json +++ b/Src/Generated/Google.Apis.Webmasters.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs index d0b506a133..4f06848e9a 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.nuspec b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.nuspec index edc95d1665..46a8796aa1 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.nuspec +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.nuspec @@ -2,7 +2,7 @@ Google.Apis.YouTube.v3 - 1.24.0.760 + 1.24.1.760 Google.Apis.YouTube.v3 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.YouTube.v3/Net45/Google.Apis.YouTube.v3.csproj b/Src/Generated/Google.Apis.YouTube.v3/Net45/Google.Apis.YouTube.v3.csproj index dcc0d6cf2f..6bf0da22b7 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Net45/Google.Apis.YouTube.v3.csproj +++ b/Src/Generated/Google.Apis.YouTube.v3/Net45/Google.Apis.YouTube.v3.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.YouTube.v3/Net45/packages.config b/Src/Generated/Google.Apis.YouTube.v3/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Net45/packages.config +++ b/Src/Generated/Google.Apis.YouTube.v3/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTube.v3/NetStandard/project.json b/Src/Generated/Google.Apis.YouTube.v3/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/NetStandard/project.json +++ b/Src/Generated/Google.Apis.YouTube.v3/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.YouTube.v3/Profile259/Google.Apis.YouTube.v3.csproj b/Src/Generated/Google.Apis.YouTube.v3/Profile259/Google.Apis.YouTube.v3.csproj index 8c3d863a86..de0f05e784 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Profile259/Google.Apis.YouTube.v3.csproj +++ b/Src/Generated/Google.Apis.YouTube.v3/Profile259/Google.Apis.YouTube.v3.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.YouTube.v3/Profile259/packages.config b/Src/Generated/Google.Apis.YouTube.v3/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Profile259/packages.config +++ b/Src/Generated/Google.Apis.YouTube.v3/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTube.v3/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.YouTube.v3/Properties/AssemblyInfo.cs index db23b3ea8b..c3bd2dca6c 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.YouTube.v3/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.760")] +[assembly: AssemblyVersion("1.24.1.760")] diff --git a/Src/Generated/Google.Apis.YouTube.v3/project.json b/Src/Generated/Google.Apis.YouTube.v3/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/project.json +++ b/Src/Generated/Google.Apis.YouTube.v3/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs index 3ae2fc1e89..9d3aa5c626 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -26,7 +26,7 @@ * API * YouTube Analytics API * API Versionv1 - * API Rev20170328 (817) + * API Rev20170329 (818) * API Docs * * http://developers.google.com/youtube/analytics/ diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.nuspec b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.nuspec index 4319d072fd..2a51609018 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.nuspec +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Google.Apis.YouTubeAnalytics.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.YouTubeAnalytics.v1 - 1.24.0.817 + 1.24.1.818 Google.Apis.YouTubeAnalytics.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/Google.Apis.YouTubeAnalytics.v1.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/Google.Apis.YouTubeAnalytics.v1.csproj index 3d04c6e8ae..f638255a8c 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/Google.Apis.YouTubeAnalytics.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/Google.Apis.YouTubeAnalytics.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/packages.config b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/NetStandard/project.json b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/Google.Apis.YouTubeAnalytics.v1.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/Google.Apis.YouTubeAnalytics.v1.csproj index 2bba208d6d..cc586b7358 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/Google.Apis.YouTubeAnalytics.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/Google.Apis.YouTubeAnalytics.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/packages.config b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Properties/AssemblyInfo.cs index 5a5aa15f51..2e9a92d799 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/project.json b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1/project.json +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.cs index 1abe9942a8..10919e955e 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -26,7 +26,7 @@ * API * YouTube Analytics API * API Versionv1beta1 - * API Rev20170328 (817) + * API Rev20170329 (818) * API Docs * * http://developers.google.com/youtube/analytics/ diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.nuspec b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.nuspec index c3d128840b..4567ad1f2a 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.nuspec +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Google.Apis.YouTubeAnalytics.v1beta1.nuspec @@ -2,7 +2,7 @@ Google.Apis.YouTubeAnalytics.v1beta1 - 1.24.0.817 + 1.24.1.818 Google.Apis.YouTubeAnalytics.v1beta1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/Google.Apis.YouTubeAnalytics.v1beta1.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/Google.Apis.YouTubeAnalytics.v1beta1.csproj index 0d406e9be3..4e6aefb605 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/Google.Apis.YouTubeAnalytics.v1beta1.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/Google.Apis.YouTubeAnalytics.v1beta1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/packages.config b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/packages.config +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/NetStandard/project.json b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/Google.Apis.YouTubeAnalytics.v1beta1.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/Google.Apis.YouTubeAnalytics.v1beta1.csproj index 48446ea8be..086f2a7f93 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/Google.Apis.YouTubeAnalytics.v1beta1.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/Google.Apis.YouTubeAnalytics.v1beta1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/packages.config b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Properties/AssemblyInfo.cs index b0a672e528..17641e8e56 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.817")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/project.json b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/project.json +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v1beta1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs index 0ba4bd64c4..b705d5e8f2 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -868,11 +868,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// 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). - [Google.Apis.Util.RequestParameterAttribute("onBehalfOfContentOwner", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OnBehalfOfContentOwner { get; set; } - /// 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. @@ -889,6 +884,11 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// 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). + [Google.Apis.Util.RequestParameterAttribute("onBehalfOfContentOwner", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OnBehalfOfContentOwner { get; set; } + ///Gets the method name. public override string MethodName @@ -914,36 +914,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "onBehalfOfContentOwner", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "onBehalfOfContentOwner", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "includeSystemManaged", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "includeSystemManaged", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "includeSystemManaged", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "includeSystemManaged", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "onBehalfOfContentOwner", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "onBehalfOfContentOwner", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -1089,11 +1089,6 @@ public ListRequest(Google.Apis.Services.IClientService service) } - /// 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). - [Google.Apis.Util.RequestParameterAttribute("onBehalfOfContentOwner", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OnBehalfOfContentOwner { get; set; } - /// 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. @@ -1110,6 +1105,11 @@ public ListRequest(Google.Apis.Services.IClientService service) [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } + /// 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). + [Google.Apis.Util.RequestParameterAttribute("onBehalfOfContentOwner", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OnBehalfOfContentOwner { get; set; } + ///Gets the method name. public override string MethodName @@ -1135,36 +1135,36 @@ protected override void InitParameters() base.InitParameters(); RequestParameters.Add( - "onBehalfOfContentOwner", new Google.Apis.Discovery.Parameter + "pageToken", new Google.Apis.Discovery.Parameter { - Name = "onBehalfOfContentOwner", + Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageToken", new Google.Apis.Discovery.Parameter + "includeSystemManaged", new Google.Apis.Discovery.Parameter { - Name = "pageToken", + Name = "includeSystemManaged", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "includeSystemManaged", new Google.Apis.Discovery.Parameter + "pageSize", new Google.Apis.Discovery.Parameter { - Name = "includeSystemManaged", + Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add( - "pageSize", new Google.Apis.Discovery.Parameter + "onBehalfOfContentOwner", new Google.Apis.Discovery.Parameter { - Name = "pageSize", + Name = "onBehalfOfContentOwner", IsRequired = false, ParameterType = "query", DefaultValue = null, diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.nuspec b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.nuspec index 86c897ec47..f5308da55f 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.nuspec +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.YouTubeReporting.v1 - 1.24.0.818 + 1.24.1.818 Google.Apis.YouTubeReporting.v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/Google.Apis.YouTubeReporting.v1.csproj b/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/Google.Apis.YouTubeReporting.v1.csproj index a0dd85ebe4..f70a923f6d 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/Google.Apis.YouTubeReporting.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/Google.Apis.YouTubeReporting.v1.csproj @@ -46,11 +46,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\net45\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\net45\Google.Apis.Core.dll True - ..\..\packages\Google.Apis.1.24.0\lib\net45\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\net45\Google.Apis.dll True diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/packages.config b/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/packages.config index f5255d4a1e..703c7de685 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/packages.config +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Net45/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/NetStandard/project.json b/Src/Generated/Google.Apis.YouTubeReporting.v1/NetStandard/project.json index 6cffd4fa91..c06ae93068 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/NetStandard/project.json +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/NetStandard/project.json @@ -1,8 +1,8 @@ { "supports": {}, "dependencies": { - "Google.Apis": "1.24.0", - "Google.Apis.Core": "1.24.0", + "Google.Apis": "1.24.1", + "Google.Apis.Core": "1.24.1", "NETStandard.Library": "1.6.1", "Newtonsoft.Json": "9.0.1" }, diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/Google.Apis.YouTubeReporting.v1.csproj b/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/Google.Apis.YouTubeReporting.v1.csproj index 28344b4c57..8f54791475 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/Google.Apis.YouTubeReporting.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/Google.Apis.YouTubeReporting.v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/packages.config b/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.YouTubeReporting.v1/Properties/AssemblyInfo.cs index 421504a57b..952e12ac9d 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.818")] +[assembly: AssemblyVersion("1.24.1.818")] diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/project.json b/Src/Generated/Google.Apis.YouTubeReporting.v1/project.json index 08cc938ec4..1ec55ea335 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/project.json +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/project.json @@ -1,5 +1,5 @@ { - "version": "1.24.0", + "version": "1.24.1", "dependencies": { "GoogleApis_dotnetcore": { "target": "project" }, diff --git a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.cs b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.cs index 27d9128ef2..7076a17602 100644 --- a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.cs +++ b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.nuspec b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.nuspec index d109ef5bf5..79bc97dd1a 100644 --- a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.nuspec +++ b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Google.Apis.admin.DataTransfer.datatransfer_v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Admin.DataTransfer.datatransfer_v1 - 1.24.0.418 + 1.24.1.418 Google.Apis.Admin.DataTransfer.datatransfer_v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj index b3ae073434..d717783238 100644 --- a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj +++ b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/packages.config b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Properties/AssemblyInfo.cs index d228f3d826..ee6be0d9f6 100644 --- a/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.admin.DataTransfer.datatransfer_v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.418")] +[assembly: AssemblyVersion("1.24.1.418")] diff --git a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.cs b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.cs index d52eba67d9..0d2b6f0e0e 100644 --- a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.cs +++ b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.nuspec b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.nuspec index 99e27310b4..9269647494 100644 --- a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.nuspec +++ b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Google.Apis.admin.Directory.directory_v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Admin.Directory.directory_v1 - 1.24.0.777 + 1.24.1.777 Google.Apis.Admin.Directory.directory_v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/Google.Apis.Admin.Directory.directory_v1.csproj b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/Google.Apis.Admin.Directory.directory_v1.csproj index e1e01749ae..ea19760018 100644 --- a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/Google.Apis.Admin.Directory.directory_v1.csproj +++ b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/Google.Apis.Admin.Directory.directory_v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/packages.config b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Properties/AssemblyInfo.cs index e0d34346c9..b4d4726ae6 100644 --- a/Src/Generated/Google.Apis.admin.Directory.directory_v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.admin.Directory.directory_v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.777")] +[assembly: AssemblyVersion("1.24.1.777")] diff --git a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.cs b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.cs index dce95fe781..e8e7cdac7b 100644 --- a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.cs +++ b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.cs @@ -10,7 +10,7 @@ //------------------------------------------------------------------------------ // // This code was generated by google-apis-code-generator 1.5.1 -// C# generator version: 1.24.0 +// C# generator version: 1.24.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.nuspec b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.nuspec index 62eecaac63..efc3b82139 100644 --- a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.nuspec +++ b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Google.Apis.admin.Reports.reports_v1.nuspec @@ -2,7 +2,7 @@ Google.Apis.Admin.Reports.reports_v1 - 1.24.0.809 + 1.24.1.809 Google.Apis.Admin.Reports.reports_v1 Client Library Google Inc. google-apis-packages @@ -34,12 +34,12 @@ Google - - + + - - + + - - + + diff --git a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/Google.Apis.Admin.Reports.reports_v1.csproj b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/Google.Apis.Admin.Reports.reports_v1.csproj index 3236a85867..79698d5532 100644 --- a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/Google.Apis.Admin.Reports.reports_v1.csproj +++ b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/Google.Apis.Admin.Reports.reports_v1.csproj @@ -49,11 +49,11 @@ - ..\..\packages\Google.Apis.Core.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll + ..\..\packages\Google.Apis.Core.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.Core.dll False - ..\..\packages\Google.Apis.1.24.0\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll + ..\..\packages\Google.Apis.1.24.1\lib\portable-net45+sl50+netcore45+wpa81+wp8\Google.Apis.dll False diff --git a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/packages.config b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/packages.config index 06e160a4a2..1a02ff2f92 100644 --- a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/packages.config +++ b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Profile259/packages.config @@ -1,7 +1,7 @@  - - + + diff --git a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Properties/AssemblyInfo.cs b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Properties/AssemblyInfo.cs index bd09481c9f..42f7ecee7e 100644 --- a/Src/Generated/Google.Apis.admin.Reports.reports_v1/Properties/AssemblyInfo.cs +++ b/Src/Generated/Google.Apis.admin.Reports.reports_v1/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ limitations under the License. [assembly: AssemblyCopyright("Copyright © Google Inc. 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("1.24.0.809")] +[assembly: AssemblyVersion("1.24.1.809")]